NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Malware Knowledge Graph Generation

Sharmishtha Dutta, Nidhi Rastogi, Destin Yee, Chuqiao Gu, Qicheng Ma · DOI

Abstract

Cyber threat and attack intelligence information are often available in non-standard, heterogeneous formats, requiring significant expert effort to extract and utilize. Knowledge graphs (KGs) offer a solution by converting unstructured data into structured representations of factual knowledge, enabling tasks like predicting future threat trends. However, existing large-scale KGs are often too general for the cybersecurity domain. To address this gap, we present TINKER (Threat INtelligence KnowlEdge gRaph), a domain-specific KG generated from 83 threat reports published between 2006 and 2021. TINKER utilizes RDF triples based on open-source malware ontologies and hand-annotated data. This paper discusses the construction, challenges, and ongoing research surrounding TINKER.

Introduction

The landscape of cybersecurity threat intelligence is a fragmented puzzle. While there is no shortage of data on emerging attacks, much of it remains trapped in unstructured formats such as PDF reports and blog posts. This lack of standardization hinders automated analysis and contextualization.

Researchers from Rensselaer Polytechnic Institute have introduced TINKER (Threat INtelligence KnowlEdge gRaph) to bridge this gap. TINKER is a framework designed to transform natural language threat reports into a structured, machine-readable map, allowing for more sophisticated reasoning about the relationships between attackers, malware, and vulnerabilities.

The Need for Domain-Specific Knowledge Graphs

Security professionals are currently overwhelmed by data. While sharing platforms like STIX and TAXII provide indicators, they often lack the contextual depth required for advanced threat hunting. General-purpose knowledge graphs, such as DBpedia or Google’s Knowledge Graph, are insufficient because they do not capture the specific technical "DNA" of malware campaigns—such as the specific drivers used by wiper malware or the unique tactics of specific threat actors.

TINKER provides an open-source, domain-specific alternative that enables researchers to answer complex "competency questions" via SPARQL queries, such as identifying similar features across different adversaries to predict future actions.

Methodology: The TINKER Pipeline

The construction of TINKER involves a multi-stage pipeline designed to ensure both accuracy and depth:

  1. Ontology Selection: The graph's schema is built upon existing malware ontologies, defining classes like Malware, Vulnerability, and Indicator, and relations such as involves or similarTo.
  2. Manual Annotation: To create a "gold standard" dataset, the team used the Brat annotation tool to hand-label entities and relations within 83 high-profile threat reports (e.g., Stuxnet, Shamoon).
  3. RDF Triple Generation: Data is extracted as RDF triples (Subject-Predicate-Object). For example: (DUSTMAN, similarTo, ZeroCleare).
  4. Automated Reasoning: Unlike flat databases, TINKER utilizes a reasoner to infer new facts. If Malware A is similar to Malware B, and Malware B is known to target a specific sector, the system can flag that sector as potentially vulnerable to Malware A.
Conceptual model of the malware ontology used to define TINKER's schema, showing relationships between attackers, malware, hosts, and software.

Results and Key Insights

The TINKER project successfully integrated 15 years of heterogeneous threat data into a functional knowledge graph containing approximately 3,000 verified triples.

Key findings from the research include:

  • NLP Performance: In testing various Named Entity Recognition (NER) models, Flair emerged as the most effective for mapping extracted entities back to the security ontology. General-purpose tools often failed to maintain context (e.g., misidentifying "Aurora" as a general term rather than a malware class).
  • The 95% Rule: The researchers observed that a small subset of entity types accounted for 95% of the useful data in reports, suggesting that focused, domain-specific extraction is highly efficient.
  • Structural Lineage: By using triples, TINKER can link disparate pieces of information to reveal the lineage of an attack, such as connecting specific malware variants to their underlying drivers and executables.
Example RDF triples extracted for the DUSTMAN and ZeroCleare malware, illustrating the structured representation of threat data.

Conclusion and Future Directions

TINKER demonstrates the power of structured knowledge graphs in the cybersecurity domain. However, challenges remain, particularly the "manual bottleneck" of curation and the difficulty of extracting "document-level" relations across long reports.

Future work focuses on scaling TINKER through ensemble techniques that combine general knowledge bases with specialized vulnerability databases (CVE/NVD) and advanced NER models. This will allow the graph to evolve at the pace of modern cyber threats while maintaining the high fidelity of expert-curated data.

Summary updated

BibTeX
@misc{dutta2021malware,
  author = {Sharmishtha Dutta and Nidhi Rastogi and Destin Yee and Chuqiao Gu and Qicheng Ma},
  title = {{Malware Knowledge Graph Generation}},
  year = {2021},
  eprint = {2102.05583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05583},
}
Figure