Offline ATT&CK Mapping of Reports on Russian and Chinese State Groups
Can a model on one GPU name the attacker technique in threat-report sentences about Russian and Chinese state groups? The right ATT&CK technique was in the top five 92.7% of the time, offline. A plain classifier came within two points, in under a millisecond.
- Our analysts tag incident reports with ATT&CK techniques by hand, and the reports cannot leave the building. Can a local model do the first pass well enough to save them time?
- On 1,160 sentences about 21 Russian and Chinese state groups, Qwen3-14B choosing from 20 retrieved candidates put the right technique in its top five 92.7% of the time, and first 65.1%. A small classifier trained only on other groups did 90.9% and 70.3%, in under a millisecond per sentence. Results were the same for Russian and Chinese groups.
- A local first pass is good enough to suggest five techniques for an analyst to confirm, not to tag on its own. Most of the value comes from a cheap classifier; the language model adds two points at the top five and costs 1.5 seconds per sentence.
Security teams describe attacks in a shared vocabulary, MITRE ATT&CK: about 220 techniques, from phishing to data exfiltration. Tagging each sentence of an incident report with the right technique is slow, expert work, and the reports are often too sensitive to paste into an online AI service. The question here: can a model running on one office GPU do the first pass, and how often is it right?
The test
- Test set: 1,160 sentences from ATT&CK’s own procedure examples for groups it attributes to Russian state services (APT28, APT29, Sandworm Team, Turla and four others) or Chinese ones (APT41, Volt Typhoon, Mustang Panda, APT40 and nine others). Each sentence describes one thing a group did, labelled with its technique.
- No shortcuts: group, malware and campaign names were masked (“the group”, “the tool”), sentences that link the answer were dropped, and examples for malware used by or campaigns of the test groups were removed from training.
- Methods: (a) embedding similarity between the sentence and each technique’s description, no training; (b) a small classifier trained on other groups’ examples; (d) the two combined; (c) Qwen3-8B or Qwen3-14B choosing five from the top 20 of (d). Every setting, including the prompt, was chosen on a separate development set.
- Pre-set pass: the right technique in the top five for at least 80% of sentences.
Results
- right technique in the top 5, Qwen3-14B (from 20)
- 92.7%
- right technique first
- 65.1%
- top 5 with the classifier alone, under a millisecond per sentence
- 90.9%
| Right technique first | Right technique in top 5 | Seconds per sentence | |
|---|---|---|---|
| (a) Embedding similarity, no training | 33.6% | 58.8% | 0.001 |
| (b) Classifier on other groups' examples | 70.3% | 90.9% | 0.001 |
| (d) Embedding and classifier combined | 61.9% | 91.7% | 0.001 |
| (c) Qwen3-8B picks from the top 20 of (d) | 55.7% | 91.1% | 0.884 |
| (c) Qwen3-14B picks from the top 20 of (d) | 65.1% | 92.7% | 1.525 |
Every trained method passes the bar; matching sentences to technique descriptions without training does not (58.8%). The classifier, trained only on other groups’ examples, gets the first answer right most often. The 14B model, choosing from candidates the classifier helped find, is best at the top five. The 8B model makes the first answer worse.
| Russian groups (496 sentences) | Chinese groups (664 sentences) | |
|---|---|---|
| (a) Embedding similarity, no training | 61.1% | 57.1% |
| (b) Classifier on other groups' examples | 90.9% | 90.8% |
| (d) Embedding and classifier combined | 92.3% | 91.3% |
| (c) Qwen3-8B picks from the top 20 of (d) | 91.1% | 91.1% |
| (c) Qwen3-14B picks from the top 20 of (d) | 92.5% | 92.8% |
Where it is wrong
| Sentences | Right first | In top 5 | |
|---|---|---|---|
| Exfiltration | 23 | 69.6% | 100.0% |
| Collection | 97 | 75.3% | 96.9% |
| Initial access | 55 | 89.1% | 96.4% |
| Credential access | 85 | 75.3% | 95.3% |
| Execution | 122 | 65.6% | 94.3% |
| Defence impairment | 33 | 45.5% | 93.9% |
| Lateral movement | 47 | 51.1% | 93.6% |
| Discovery | 152 | 68.4% | 92.8% |
| Stealth | 184 | 65.8% | 91.3% |
| Persistence | 65 | 53.8% | 90.8% |
| Command and control | 96 | 67.7% | 90.6% |
| Privilege escalation | 20 | 60.0% | 90.0% |
| Resource development | 115 | 51.3% | 89.6% |
| Reconnaissance | 52 | 51.9% | 86.5% |
Reconnaissance and resource development are hardest: the sentences describe research and buying infrastructure in ordinary words, and several techniques fit. Some misses are disagreements with the label rather than mistakes:
- The group has replaced atomic indicators mentioned in threat intelligence publications, sometimes as quickly as under a week after release.
- T1027 Obfuscated Files or Information
- T1070 Indicator Removal; T1681 Search Threat Vendor Data; T1568 Dynamic Resolution; T1678 Delay Execution; T1553 Subvert Trust Controls
- The group has replaced indicators mentioned in open-source threat intelligence publications at times under a week after their release.
- T1681 Search Threat Vendor Data
- T1681 Search Threat Vendor Data; T1553 Subvert Trust Controls; T1070 Indicator Removal; T1593 Search Open Websites/Domains; T1588 Obtain Capabilities
What this means in practice
- Use it to suggest, not to decide. Five suggestions with the right one among them 9 times in 10 saves an analyst the search; the analyst still picks.
- Start with the classifier. It is nearly as good, more than a thousand times faster (under a millisecond per sentence on the same GPU, embedding included), and can be retrained on your own team’s tagged reports. A language model is worth adding when you need it to explain its choice, or to read text the classifier was not trained on.
- Nothing leaves the building. Every step here ran on one desktop GPU with no network access.
Method and environment
- data
MITRE ATT&CK Enterprise v19.2: procedure examples; test = groups ATT&CK attributes to Russian (APT28, APT29, Sandworm Team, Turla, Dragonfly, Ember Bear, Gamaredon Group, Star Blizzard) or Chinese (APT41, Volt Typhoon, Mustang Panda, Leviathan, Salt Typhoon, HAFNIUM, menuPass, Threat Group-3390, APT1, APT3, Ke3chang, UNC3886, Earth Lusca) state services- training
11,246 examples of other groups, software and campaigns; dev 1,599 (split by source); software used by and campaigns of test groups removed (3,017 examples)- masking
group, software and campaign names replaced with 'the group', 'the tool', 'the campaign'; sentences that link the technique page dropped- label
parent technique (sub-techniques folded into their parent)- embedding
BAAI/bge-m3; classifier: logistic regression, C chosen on dev; fusion weight chosen on dev- language_models
Qwen3-8B and Qwen3-14B (Q4_K_M, llama.cpp), no thinking, answer constrained to the 20 candidate IDs; prompt chosen on dev- limit
language models and bge-m3 have seen ATT&CK text in training; the classifier trained only on other groups is the clean comparison- environment
gpu: RTX 4070 12 GB- measured
- 2026-10-11
Limits
ATT&CK’s procedure examples are short, clean sentences; real reports are longer and messier, so expect lower numbers on them. Language models and the embedding model have read ATT&CK during training, so their scores may be flattering; the classifier, trained only on other groups, is the clean comparison. The plan’s machine-translated Russian and Lithuanian versions were not run. ATT&CK data is used under its terms of use, with attribution. The code is in labs/attack-mapping in this site’s repository.
Public data only; this Lab is about defending networks by classifying what attackers did.
New Lab results by email
A short email when a new measurement is published, a few times a year. No newsletter fluff, reply to unsubscribe.