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

TINKER: A framework for Open source Cyberthreat Intelligence

Nidhi Rastogi, Sharmishtha Dutta, Mohammed J. Zaki, Alex Gittens, Charu C. Aggarwal · DOI

TL;DR

This paper introduces TINKER, an open-source framework that leverages knowledge graphs to structure and analyze cyber threat intelligence (CTI). By transforming unstructured CTI reports into a structured Cyberthreat Intelligence Knowledge Graph (CTI-KG), TINKER enables more effective threat analysis and inference of previously unknown connections between malware, vulnerabilities, and authors.

What Problem Does This Paper Address?

The cybersecurity landscape is awash in threat intelligence, but much of it is unstructured and difficult to integrate into automated defense systems. Security analysts spend considerable effort sifting through reports, blogs, and advisories to identify indicators of compromise, attack techniques, and vulnerabilities. While initiatives like STIX and CVE provide some structure, they often lack the rich semantic and contextual associations needed for deep analysis. This makes it challenging to connect disparate pieces of information and infer higher-level threats. TINKER aims to bridge this gap by providing a systematic way to extract, structure, and analyze CTI, making it more actionable for security professionals.

Methods

TINKER employs a multi-module approach to build and utilize its CTI-KG:

  • Automated Data Collection: The framework aggregates CTI reports from various sources, including GitHub repositories, security company publications, and bulletins, spanning from 2010 to 2022.
  • Information Extraction: This core module uses semi-supervised learning for Named Entity Recognition (NER) and Relationship Extraction (RE) to identify and link entities (like malware, vulnerabilities, IP addresses) and their relationships within the unstructured text. This process transforms raw text into fundamental CTI triples.
  • CTI-KG Construction: The extracted triples are used to build a directed, multi-modal knowledge graph. This graph represents entities as nodes and relationships as edges, capturing complex interconnections.
  • Vector Embeddings: The framework generates vector embeddings for the triples within the CTI-KG. These embeddings represent the semantic meaning of the entities and relationships in a continuous vector space.
  • Inferring Threat Intelligence: Using a tensor factorization model (specifically, TuckER), TINKER can infer missing entities in incomplete triples. This allows for predicting potential vulnerabilities associated with a piece of malware, or identifying likely authors of an attack campaign, along with a confidence score.

Datasets

The paper utilizes two primary datasets:

  • CS3K: A smaller, hand-annotated dataset created by the authors for initial development and evaluation. It comprises 5,741 unique named entities and 3,027 relationships.
  • CS40K: A larger, open-source dataset containing approximately 40,000 triples generated from over 1,100 threat advisory reports downloaded from GitHub repositories. This dataset features 27,354 unique entities and 11 relations.

The authors note that CS3K shares properties with established knowledge graph benchmark datasets like FB15K-237 and WN18RR, making it suitable for comparative analysis.

Key Insights and Ideas

  • Knowledge Graphs as a Unifying Structure: The paper highlights the power of knowledge graphs to unify diverse and unstructured CTI sources, preserving semantic context that is often lost in simpler structured formats.
  • Semi-Supervised Learning for Scalability: The reliance on semi-supervised learning for information extraction is crucial for building a large-scale CTI-KG, as manual annotation of the vast amount of CTI data is infeasible.
  • Inferring Hidden Connections: The ability to infer missing links in the CTI-KG is a significant advancement, allowing analysts to uncover previously unknown relationships between threats, vulnerabilities, and actors.
  • Contextual Understanding: TINKER's approach emphasizes preserving context, which is vital for accurately interpreting threat intelligence and avoiding misinterpretations that can arise from decontextualized data.

Key Results

  • TINKER Framework: The paper presents TINKER as the first end-to-end, semi-supervised framework for capturing and analyzing multi-modal threat intelligence.
  • Open-Source CTI-KG: An open-access CTI-KG is generated, comprising over 52K unique named entities and 22 relationships (from the CS3K dataset, as described in the abstract).
  • Effective Threat Inference: Through case studies, TINKER successfully inferred:
  • The malware family associated with a given indicator (e.g., identifying "Stealer" for the indicator "intel update[.]com").
  • Potential targets of specific attack types (e.g., identifying "India" as a target for "coronavirus-themed attacks").
  • Performance Metrics: In entity prediction tasks on the CS40K dataset, TINKER (using the TuckER model) achieved a Hits@10 score of 80.4%, indicating that the true entity appeared in the top 10 predictions 80.4% of the time. Hits@1 was 73.9%.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the CS40K dataset is larger, it still relies on semi-supervised methods for extraction, which can introduce noise or inaccuracies.
  • The performance of the inference model is evaluated based on metrics like Hits@n, which indicate the presence of the true entity within a ranked list, but further work could explore more nuanced evaluation of the confidence scores.
  • Future Work:
    • The authors suggest extending the framework to incorporate more sophisticated machine learning models for inference.
  • Further research could focus on integrating TINKER with existing intrusion detection systems for real-time defense.
  • Expanding the corpus and refining the ontology to cover a broader spectrum of cyber threats is also a potential direction.

Summary updated

BibTeX
@inproceedings{rastogi2021tinker,
  author = {Nidhi Rastogi and Sharmishtha Dutta and Mohammed J. Zaki and Alex Gittens and Charu C. Aggarwal},
  title = {{TINKER: A framework for Open source Cyberthreat Intelligence}},
  booktitle = {TrustCom},
  year = {2021},
  doi = {10.1109/trustcom56396.2022.00225},
}
Figure