Skip to main content
QUICK REVIEW

[Paper Review] STIXnet: A Novel and Modular Solution for Extracting All STIX Objects in CTI Reports

Francesco Marchiori, Mauro Conti|arXiv (Cornell University)|Mar 17, 2023
Software Engineering ResearchComputer Science4 citations
TL;DR

STIXnet is a novel, modular framework for the automated extraction of all Structured Threat Information Expression (STIX) entities and relationships from unstructured Cyber Threat Intelligence (CTI) reports. It combines NLP, rule-based methods, and a dynamic Knowledge Base to achieve state-of-the-art F1 scores of 0.916 for entity extraction and 0.724 for relation extraction, while supporting all STIX-standardized object types and relationships in a scalable, extensible pipeline.

ABSTRACT

The automatic extraction of information from Cyber Threat Intelligence (CTI) reports is crucial in risk management. The increased frequency of the publications of these reports has led researchers to develop new systems for automatically recovering different types of entities and relations from textual data. Most state-of-the-art models leverage Natural Language Processing (NLP) techniques, which perform greatly in extracting a few types of entities at a time but cannot detect heterogeneous data or their relations. Furthermore, several paradigms, such as STIX, have become de facto standards in the CTI community and dictate a formal categorization of different entities and relations to enable organizations to share data consistently. This paper presents STIXnet, the first solution for the automated extraction of all STIX entities and relationships in CTI reports. Through the use of NLP techniques and an interactive Knowledge Base (KB) of entities, our approach obtains F1 scores comparable to state-of-the-art models for entity extraction (0.916) and relation extraction (0.724) while considering significantly more types of entities and relations. Moreover, STIXnet constitutes a modular and extensible framework that manages and coordinates different modules to merge their contributions uniquely and exhaustively. With our approach, researchers and organizations can extend their Information Extraction (IE) capabilities by integrating the efforts of several techniques without needing to develop new tools from scratch.

Motivation & Objective

  • To address the growing challenge of manually extracting heterogeneous cyber threat intelligence from increasingly frequent CTI reports.
  • To overcome the limitations of existing NLP models that extract only a subset of STIX entities and relationships, often with poor interoperability.
  • To develop a modular, extensible framework that supports full compliance with the STIX standard across all entity and relationship types.
  • To reduce error propagation between modules by enabling independent evaluation and selective filtering of misclassified entities.
  • To provide a scalable, interactive system for threat analysts to visualize and explore extracted intelligence as a knowledge graph.

Proposed method

  • STIXnet employs a modular pipeline architecture that separates entity extraction, relation extraction, and knowledge base integration into distinct, composable components.
  • Entity extraction leverages pre-trained NLP models (e.g., spaCy, BERT-based models) combined with rule-based regular expressions and a dynamic Knowledge Base (KB) for entity normalization and disambiguation.
  • Relation extraction uses a hybrid approach: a deep learning model (based on sentence embeddings) and a rule-based system, with confidence scores normalized to a [0,1] range for thresholding (set at 0.5).
  • A confidence threshold of 0.5 is applied to filter low-confidence relations, reducing false positives while preserving recall.
  • The system uses a graphical interface to visualize results as a knowledge graph, where nodes represent STIX objects and edges represent relationships, with expandable metadata from the KB.
  • The Knowledge Base is incrementally enriched with each report processing, enabling continual learning and improved model generalization over time.

Experimental results

Research questions

  • RQ1Can a modular, extensible framework achieve high-performance extraction of all STIX-standardized entities and relationships from unstructured CTI reports?
  • RQ2How does the integration of NLP, rule-based logic, and a dynamic Knowledge Base improve extraction accuracy and coverage compared to monolithic models?
  • RQ3To what extent does error propagation from entity to relation extraction affect performance, and can it be mitigated?
  • RQ4What is the optimal confidence threshold for relation extraction that balances precision and recall in a hybrid DL and rule-based system?
  • RQ5Can the framework support real-time updates and extensibility for evolving threat intelligence needs?

Key findings

  • STIXnet achieves an F1 score of 0.916 for entity extraction, matching state-of-the-art models despite supporting a broader range of STIX object types.
  • The relation extraction module attains an F1 score of 0.724, demonstrating strong performance on complex, heterogeneous relationships in CTI reports.
  • When error propagation is mitigated by excluding misclassified entities, precision improves from 0.721 to 0.828, though recall decreases due to reduced true positive count.
  • The optimal confidence threshold for relation extraction is 0.5, providing a balanced trade-off between false positives and false negatives.
  • The modular design allows for plug-and-play integration of new extraction modules, enabling customization for specific threat intelligence use cases.
  • The dynamic Knowledge Base enables continuous enrichment and supports long-term system improvement with each new report processed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.