Abstract
We present MalONT2.0 -- an ontology for malware threat intelligence. New classes (attack patterns, infrastructural resources to enable attacks, malware analysis to incorporate static analysis, and dynamic analysis of binaries) and relations have been added following a broadened scope of core competency questions. MalONT2.0 allows researchers to extensively capture all requisite classes and relations that gather semantic and syntactic characteristics of an android malware attack. This ontology forms the basis for the malware threat intelligence knowledge graph, MalKG, which we exemplify using three different, non-overlapping demonstrations. Malware features have been extracted from CTI reports on android threat intelligence shared on the Internet and written in the form of unstructured text. In this paper, we discuss MalONT2.0, MalKG, as well as the dynamically growing knowledge graph, TINKER.
Introduction: The Challenge of Unstructured Threat Intelligence
Cyber Threat Intelligence (CTI) is a critical resource for security analysts, yet it remains largely disorganized. Valuable insights are often trapped in blog posts, tweets, and technical reports written in varying formats. While industry standards like STIX and TAXII facilitate data sharing, they frequently lack the deep context required to understand attacker motivations or the subtle infrastructure links between disparate campaigns.
Researchers struggle to perform longitudinal studies on Android malware without a structured framework to link technical indicators (like file hashes) to behavioral patterns and threat actors. Building proactive defenses requires moving beyond isolated logs to a connected understanding of the threat landscape.
Methodology: From Text to Knowledge Graph
The researchers developed a multi-stage pipeline to transform unstructured text into a queryable Knowledge Graph (MalKG).
1. Ontology Design (MalONT2.0)
The foundation of this work is MalONT2.0, an expanded ontology that includes classes for attack patterns, infrastructure, and analysis results. This structure allows for the categorization of both semantic (narrative) and syntactic (technical) data.
2. Extraction and Fusion
Using the BRAT annotation tool, experts identified entities and relationships within 25 high-quality CTI reports (2011–2021), resulting in approximately 3,400 tags and 2,300 relations. These annotations were converted into RDF triples—the building blocks of the knowledge graph (e.g., <Malware: Pegasus, uses, Vulnerability: CVE-XXXX>). These semantic triples were then enriched with factual data from VirusTotal, linking high-level descriptions to specific file hashes and timestamps.
3. Dynamic Growth with TINKER
To ensure the graph remains current, the "TINKER" interface utilizes the Twitter API to ingest real-time mentions of Android malware, automatically extracting new triples using trained NLP models. This treats social media as a real-time sensor for emerging threats.
Results and Analysis
The resulting MalKG is hosted in Neo4j, enabling complex visual queries that reveal hidden interconnections between threats. The graph successfully grounded abstract report data into a concrete, searchable network.
Case Study: Pegasus/Chrysaor
The system successfully demonstrated its ability to link the Pegasus malware to its alias "Chrysaor" and construct a timeline of activity by aggregating data from disparate sources. This queryability allows analysts to answer complex security questions—such as identifying shared infrastructure across malware families—in a fraction of the time required for manual research.
Discussion and Future Work
While MalONT2.0 provides a robust framework, the current reliance on manual annotation for the initial corpus presents a scaling challenge. Future work will focus on improving automated extraction to handle thousands of reports. Additionally, the TINKER component requires further validation to filter noise from social media data. The ultimate objective is to leverage this structured data for predictive modeling, forecasting future threat vectors before they manifest.
Summary updated