TL;DR
This paper demonstrates how fine-tuning a language model (GPT-2) on cybersecurity data can automatically generate highly realistic, fake Cyber Threat Intelligence (CTI). The authors show that this synthetic text easily deceives professional threat hunters and can successfully execute data poisoning attacks on automated cyber-defense knowledge graphs.
What Problem Does This Paper Address?
Modern cyber-defense systems are increasingly automated, scraping Open-Source Intelligence (OSINT) from blogs, forums, and databases to build Cybersecurity Knowledge Graphs (CKGs). These graphs help analysts map out threat actors, vulnerabilities, and attack patterns.
However, this reliance on open-source data introduces a massive vulnerability: data poisoning. If an adversary can flood the web with plausible but false threat intelligence, automated systems might ingest it, leading to corrupted models, incorrect reasoning, and missed or false security alerts. This paper investigates whether current AI language models can generate fake CTI that is convincing enough to fool both automated pipelines and human experts.
Methods
The authors developed a pipeline to generate and evaluate fake CTI:
- Corpus Creation: Compiled a specialized cybersecurity text corpus from trusted OSINT sources.
- Fine-Tuning: Took a standard, pre-trained GPT-2 model (117M parameters) and fine-tuned it on this corpus so it could learn domain-specific jargon, syntax, and context.
- Generation: Fed the model initial prompt sentences (e.g., naming a specific threat group or vulnerability) to generate realistic-sounding paragraphs of fake threat intelligence.
- Poisoning Simulation: Passed the generated fake CTI through an existing automated ingestion pipeline to see how it alters a Cybersecurity Knowledge Graph (CKG).
- Evaluation: Evaluated the text using perplexity scores and a formal human study with 10 experienced cybersecurity professionals.
Datasets
The authors built a custom "gold standard" cybersecurity corpus consisting of:
- Security News: 1,000 articles from Krebs on Security.
- Vulnerability Databases: 16,000 Common Vulnerabilities and Exposures (CVE) records from MITRE and the National Vulnerability Database (NVD) spanning 2019–2020.
- APT Reports: 500 technical reports on Advanced Persistent Threats from the APTNotes repository.
Key Insights and Ideas
- The "Grammar Over Fact" Bias: Human experts are highly susceptible to well-structured text. If the generated fake CTI had solid sentence structure and proper grammar, threat hunters frequently accepted it as true, even if the underlying technical facts (like attributing a Chinese threat group to Russia) were completely fabricated.
- Automated Ingestion is Blind: Automated Named Entity Recognition (NER) and relationship extraction tools will faithfully parse and ingest fake text if it matches the expected semantic structure of real threat reports.
- Cascading Failures: Poisoning a knowledge graph doesn't just break that graph; it corrupts downstream AI systems (like intrusion detection systems or alert generators) that rely on that graph for reasoning.
Key Results
- Human Evaluation Failure: In a study with 10 professional threat hunters (averaging 15 years of experience), participants misidentified fake CTI as authentic 78.5% of the time. The overall accuracy in distinguishing true from fake text was just 36.8%—worse than a coin flip.
- Model Performance: The fine-tuned GPT-2 model achieved a perplexity score of 35.9 on a held-out test set, indicating a strong ability to generate fluent, domain-specific text.
- Successful CKG Poisoning: When fake text about the SolarWinds hack was fed into a CTI pipeline, the system incorrectly mapped benign or unrelated actions (like "clicks an icon") as malicious attack patterns associated with the campaign, corrupting subsequent database queries (SPARQL).
Limitations and Future Work
- Basic Entity Replacement: The current model generates text based on prompts but doesn't yet allow an adversary to precisely inject specific malicious entities (like a targeted IP address or process name) into a precise spot in the graph. The authors note this multi-stage targeted generation is a logical next step for attackers.
- Defense Mechanisms: The paper highlights the urgent need for defenses. Future work will focus on training classifiers to detect subtle linguistic disfluencies unique to transformer models, as well as developing multi-factor trust frameworks that score CTI based on novelty, consistency, and data provenance.
Summary updated