An Ontology-driven Knowledge Graph for Android Malware

Christian Ryan, Sharmishtha Dutta, Youngja Park, Nidhi Rastogi

Introduction

Cyber Threat Intelligence (CTI) is an essential component of modern cybersecurity, yet it remains largely unstructured, scattered across blogs, whitepapers, and social media. This research introduces MalONT2.0 and MalKG, a framework designed to convert fragmented Android malware data into a structured, searchable knowledge graph. By integrating expert-annotated reports with technical data from sources like VirusTotal, the system enables analysts to uncover hidden relationships between malware samples, infrastructure, and threat actors.

The Challenge of Fragmented Intelligence

While standards such as STIX and TAXII provide a baseline for categorizing threat data, they often fail to capture the deep contextual nuances required for comprehensive defense. Security analysts frequently encounter "siloed" information: a report from years ago might describe a malware's behavior, while a recent social media post identifies the infrastructure used by the same group. Without a unified semantic structure, connecting these disparate dots is a manual, labor-intensive process. The authors address this by automating the extraction and linking of intelligence from diverse sources.

Methodology: MalONT2.0 and Triple Extraction

The foundation of the system is MalONT2.0, an expanded ontology that defines the domain's vocabulary. It includes classes for attack patterns, infrastructure, and malware analysis, ensuring compatibility with the STIX 2.1 framework.

The MalONT2.0 class and object property hierarchies.

Information is represented as "triples" (head entity → relation → tail entity), such as [Pegasus] → [is_a] → [Malware]. To ensure high data quality, the researchers manually annotated 25 high-profile CTI reports from 2011–2021 using the BRAT (Brat Rapid Annotation Tool). This ground-truth data was then ingested into MalKG, a knowledge graph hosted in a Neo4j database. To keep the graph current, the team developed TINKER, which leverages machine learning and the Twitter API to extract and append real-time threat data.

Key Insights: Semantic and Syntactic Fusion

A primary strength of MalKG is its ability to fuse "soft" intelligence (analyst observations) with "hard" technical data (e.g., file hashes from VirusTotal). This fusion provides a richer description of attack vectors than any single source could offer. Furthermore, the graph structure allows for automated reasoning. For instance, if Malware A is linked to Infrastructure X, and Infrastructure X is known to be operated by Actor Y, the graph can infer a relationship between Malware A and Actor Y even if no single report explicitly makes that claim.

Results and Visualization

The manual annotation process yielded a dense dataset of approximately 3,400 tags, 1,100 entities, and 2,300 relations. The authors demonstrated that MalKG can answer complex "competency questions" that traditional databases struggle with, such as identifying missing intelligence across multiple reports for a specific attack vector.

A visualization of the MalKG knowledge graph in Neo4j Bloom, showing the interconnectedness of threat entities.

Using Neo4j Bloom, the researchers visualized complex threat landscapes, such as the evolution and relationships within the "Zitmo" malware family. This visual mapping provides analysts with an intuitive way to explore the interconnected nature of modern threats.

Limitations and Future Work

While MalKG represents a significant step forward, the authors identify several areas for improvement. Currently, the system is primarily descriptive; future work aims to leverage the patterns within MalKG to build predictive models for forecasting threat vectors. Additionally, while TINKER enables dynamic updates, more rigorous validation is needed to prevent automated extraction from introducing noise. Finally, the researchers plan to scale the system by expanding the initial 25-report corpus to include thousands of reports, testing its performance at an enterprise level.

Summary updated

BibTeX
@inproceedings{ryan2021ontology,
  author = {Christian Ryan and Sharmishtha Dutta and Youngja Park and Nidhi Rastogi},
  title = {{An Ontology-driven Knowledge Graph for Android Malware}},
  booktitle = {CCS},
  year = {2021},
  doi = {10.1145/3460120.3485353},
}
Figure