← Lab /Security & privacy

Domain-adapted DarkBERT extracts strategic CTI from X with 89.33% F1

DarkBERT achieves a strict F1-score of 89.33% on the STINER dataset for strategic CTI extraction

Security & privacy arXiv 14 Aug 2026 Benchmark Prototype evidence

Published as “STINER: Automated Extraction of Strategic Cyber Threat Intelligence from X”

Why it matters

The extractor can provide security teams with a multi-week early warning of emerging ransomware campaigns, enabling proactive defenses before official reports are published.

Summary

The paper shows that a domain- and medium-adapted encoder, DarkBERT, reaches 89.33% strict span-level F1 on a chronologically split, real-world tweet dataset, while operating under 1 ms latency, enabling near-real-time strategic CTI extraction. Fine-tuned generative LLMs improve dramatically (e.g., Llama-3 from 27.78% to 74.55% F1) but still lag by ~15 points and are orders of magnitude slower. The authors also demonstrate that the extractor can flag emerging ransomware campaigns (SafePay) 6-7 weeks before they appear in official ENISA reports, offering actionable early-warning value. The evidence is limited to English tweets from X and may miss non-English or non-public platforms.

What they found 3

  1. DarkBERT achieves the highest strict F1 of 89.33% on the STINER test set.

    “DarkBERT [35] 89.33 87.76 90.95 0.71”

  2. Fine-tuned Llama-3 improves from 27.78% to 74.55% strict F1, a 47-point gain.

    “Llama-3 improves from 27.78% to 74.55% strict F1 - a 47-point gain”

  3. CRF decoding reduces DarkBERT's F1 by more than 5 points.

    “DarkBERT and Twitter-RoBERTa experience F1 drops exceeding 5 points when constrained by CRF decoding.”

Caveats 4

  • Zero-shot generative LLMs have high precision (86-89%) but very low recall (16-45%), limiting their usefulness without fine-tuning.
  • Applying a CRF decoding layer to strong encoders (DarkBERT, Twitter-RoBERTa) degrades accuracy by over 5 F1 points while increasing latency ~7×.
  • The current dataset is restricted to English-language content, potentially under-representing threats discussed exclusively in Russian or Chinese cybercriminal communities.
  • Reliance on a single platform (X/Twitter) introduces a visibility bias towards "loud" extortion campaigns while potentially missing stealthier operations discussed on closed forums.

What’s new here 4

  • Provides the first expert-annotated NER corpus of 2,100 strategic CTI tweets covering victim, sector, and impact entities.
  • Shows that cybersecurity-specific encoders combined with social-media syntax exposure (DarkBERT) outperform both general encoders and large generative models on this task.
  • Demonstrates a temporal evaluation protocol that tests models on future, unseen threat campaigns to avoid contamination.
  • Applies the extractor to real-world European threat monitoring, revealing a 6-7-week early-warning lead over official reports.