LAB/020 · Running · Self-directed, not client work

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.

The question
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?
What it showed
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.
What it means in practice
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%
1,160 test sentences from ATT&CK procedure examples of 8 Russian and 13 Chinese state groups, names masked; 222 techniques to choose from.
Right technique firstRight technique in top 5Seconds per sentence
(a) Embedding similarity, no training33.6%58.8%0.001
(b) Classifier on other groups' examples70.3%90.9%0.001
(d) Embedding and classifier combined61.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
The right technique was among the 20 candidates given to the language models for 97.5% of sentences. · LAB/020 · measured 2026-10-11 · RTX 4070 12 GB
Accuracy against time per sentenceTest set · top left is better
1 ms10 ms100 ms1,000 ms0%20%40%60%80%100%Milliseconds per sentence (log scale)Right technique firstEmbedding similarity, no training: Milliseconds per sentence (log scale) 1 ms, Right technique first 34%Embedding similarity, no trainingClassifier on other groups' examples: Milliseconds per sentence (log scale) 1 ms, Right technique first 70%Classifier on other groups' examplesEmbedding and classifier combined: Milliseconds per sentence (log scale) 1 ms, Right technique first 62%Embedding and classifier combinedQwen3-8B (from 20): Milliseconds per sentence (log scale) 884 ms, Right technique first 56%Qwen3-8B (from 20)Qwen3-14B (from 20): Milliseconds per sentence (log scale) 1,525 ms, Right technique first 65%Qwen3-14B (from 20)

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.

Right technique in top 5, by the state the group is attributed to.
Russian groups (496 sentences)Chinese groups (664 sentences)
(a) Embedding similarity, no training61.1%57.1%
(b) Classifier on other groups' examples90.9%90.8%
(d) Embedding and classifier combined92.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%
LAB/020 · measured 2026-10-11 · RTX 4070 12 GB

Where it is wrong

By tactic (the technique's first listed tactic), Qwen3-14B picks from the top 20 of (d); tactics with at least 20 test sentences.
SentencesRight firstIn top 5
Exfiltration2369.6%100.0%
Collection9775.3%96.9%
Initial access5589.1%96.4%
Credential access8575.3%95.3%
Execution12265.6%94.3%
Defence impairment3345.5%93.9%
Lateral movement4751.1%93.6%
Discovery15268.4%92.8%
Stealth18465.8%91.3%
Persistence6553.8%90.8%
Command and control9667.7%90.6%
Privilege escalation2060.0%90.0%
Resource development11551.3%89.6%
Reconnaissance5251.9%86.5%
LAB/020 · measured 2026-10-11 · RTX 4070 12 GB

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:

MissedWrong
Sentence (names masked)
The group has replaced atomic indicators mentioned in threat intelligence publications, sometimes as quickly as under a week after release.
ATT&CK says
T1027 Obfuscated Files or Information
Top 5
T1070 Indicator Removal; T1681 Search Threat Vendor Data; T1568 Dynamic Resolution; T1678 Delay Execution; T1553 Subvert Trust Controls

MITRE ATT&CK procedure example, UNC3886 (China)

Right firstCorrect
Sentence (names masked)
The group has replaced indicators mentioned in open-source threat intelligence publications at times under a week after their release.
ATT&CK says
T1681 Search Threat Vendor Data
Top 5
T1681 Search Threat Vendor Data; T1553 Subvert Trust Controls; T1070 Indicator Removal; T1593 Search Open Websites/Domains; T1588 Obtain Capabilities

MITRE ATT&CK procedure example, UNC3886 (China)

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.

Data: attack-mapping-2026-10-11.json (JSON), free to reuse under CC BY 4.0 with credit to Saulius Beconis.Source data and quoted excerpts keep their own licences, listed in the file.

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.