{
  "licence": "https://creativecommons.org/licenses/by/4.0/",
  "credit": "Saulius Beconis, sbeconis.com",
  "page": "https://sbeconis.com/lab/attack-mapping/",
  "url": "https://sbeconis.com/lab/attack-mapping/attack-mapping-2026-10-11.json",
  "note": "Measurements and text are CC BY 4.0. Source data and quoted excerpts keep their own licences: see \"attribution\".",
  "lab": "LAB/020",
  "title": "Offline ATT&CK mapping of reports on Russian and Chinese state groups",
  "date": "2026-10-11",
  "method": {
    "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"
  },
  "tables": {
    "methods": {
      "caption": "1,160 test sentences from ATT&CK procedure examples of 8 Russian and 13 Chinese state groups, names masked; 222 techniques to choose from.",
      "columns": [
        {
          "key": "top1",
          "label": "Right technique first",
          "suffix": "%"
        },
        {
          "key": "top5",
          "label": "Right technique in top 5",
          "suffix": "%"
        },
        {
          "key": "sec",
          "label": "Seconds per sentence",
          "decimals": 3
        }
      ],
      "rows": [
        {
          "label": "(a) Embedding similarity, no training",
          "highlight": false,
          "cells": {
            "top1": 33.6,
            "top5": 58.8,
            "sec": 0.001
          }
        },
        {
          "label": "(b) Classifier on other groups' examples",
          "highlight": false,
          "cells": {
            "top1": 70.3,
            "top5": 90.9,
            "sec": 0.001
          }
        },
        {
          "label": "(d) Embedding and classifier combined",
          "highlight": false,
          "cells": {
            "top1": 61.9,
            "top5": 91.7,
            "sec": 0.001
          }
        },
        {
          "label": "(c) Qwen3-8B picks from the top 20 of (d)",
          "highlight": false,
          "cells": {
            "top1": 55.7,
            "top5": 91.1,
            "sec": 0.884
          }
        },
        {
          "label": "(c) Qwen3-14B picks from the top 20 of (d)",
          "highlight": true,
          "cells": {
            "top1": 65.1,
            "top5": 92.7,
            "sec": 1.525
          }
        }
      ],
      "note": "The right technique was among the 20 candidates given to the language models for 97.5% of sentences."
    },
    "origin": {
      "caption": "Right technique in top 5, by the state the group is attributed to.",
      "columns": [
        {
          "key": "ru",
          "label": "Russian groups (496 sentences)",
          "suffix": "%"
        },
        {
          "key": "cn",
          "label": "Chinese groups (664 sentences)",
          "suffix": "%"
        }
      ],
      "rows": [
        {
          "label": "(a) Embedding similarity, no training",
          "highlight": false,
          "cells": {
            "ru": 61.1,
            "cn": 57.1
          }
        },
        {
          "label": "(b) Classifier on other groups' examples",
          "highlight": false,
          "cells": {
            "ru": 90.9,
            "cn": 90.8
          }
        },
        {
          "label": "(d) Embedding and classifier combined",
          "highlight": false,
          "cells": {
            "ru": 92.3,
            "cn": 91.3
          }
        },
        {
          "label": "(c) Qwen3-8B picks from the top 20 of (d)",
          "highlight": false,
          "cells": {
            "ru": 91.1,
            "cn": 91.1
          }
        },
        {
          "label": "(c) Qwen3-14B picks from the top 20 of (d)",
          "highlight": true,
          "cells": {
            "ru": 92.5,
            "cn": 92.8
          }
        }
      ]
    },
    "tactics": {
      "caption": "By tactic (the technique's first listed tactic), Qwen3-14B picks from the top 20 of (d); tactics with at least 20 test sentences.",
      "columns": [
        {
          "key": "n",
          "label": "Sentences",
          "decimals": 0
        },
        {
          "key": "top1",
          "label": "Right first",
          "suffix": "%"
        },
        {
          "key": "top5",
          "label": "In top 5",
          "suffix": "%"
        }
      ],
      "rows": [
        {
          "label": "Exfiltration",
          "cells": {
            "n": 23,
            "top1": 69.6,
            "top5": 100
          }
        },
        {
          "label": "Collection",
          "cells": {
            "n": 97,
            "top1": 75.3,
            "top5": 96.9
          }
        },
        {
          "label": "Initial access",
          "cells": {
            "n": 55,
            "top1": 89.1,
            "top5": 96.4
          }
        },
        {
          "label": "Credential access",
          "cells": {
            "n": 85,
            "top1": 75.3,
            "top5": 95.3
          }
        },
        {
          "label": "Execution",
          "cells": {
            "n": 122,
            "top1": 65.6,
            "top5": 94.3
          }
        },
        {
          "label": "Defence impairment",
          "cells": {
            "n": 33,
            "top1": 45.5,
            "top5": 93.9
          }
        },
        {
          "label": "Lateral movement",
          "cells": {
            "n": 47,
            "top1": 51.1,
            "top5": 93.6
          }
        },
        {
          "label": "Discovery",
          "cells": {
            "n": 152,
            "top1": 68.4,
            "top5": 92.8
          }
        },
        {
          "label": "Stealth",
          "cells": {
            "n": 184,
            "top1": 65.8,
            "top5": 91.3
          }
        },
        {
          "label": "Persistence",
          "cells": {
            "n": 65,
            "top1": 53.8,
            "top5": 90.8
          }
        },
        {
          "label": "Command and control",
          "cells": {
            "n": 96,
            "top1": 67.7,
            "top5": 90.6
          }
        },
        {
          "label": "Privilege escalation",
          "cells": {
            "n": 20,
            "top1": 60,
            "top5": 90
          }
        },
        {
          "label": "Resource development",
          "cells": {
            "n": 115,
            "top1": 51.3,
            "top5": 89.6
          }
        },
        {
          "label": "Reconnaissance",
          "cells": {
            "n": 52,
            "top1": 51.9,
            "top5": 86.5
          }
        }
      ]
    }
  },
  "examples": {
    "right": {
      "title": "Right first",
      "verdict": "correct",
      "fields": [
        {
          "label": "Sentence (names masked)",
          "text": "The group has replaced indicators mentioned in open-source threat intelligence publications at times under a week after their release."
        },
        {
          "label": "ATT&CK says",
          "text": "T1681 Search Threat Vendor Data",
          "mono": false
        },
        {
          "label": "Top 5",
          "text": "T1681 Search Threat Vendor Data; T1553 Subvert Trust Controls; T1070 Indicator Removal; T1593 Search Open Websites/Domains; T1588 Obtain Capabilities"
        }
      ],
      "source": "MITRE ATT&CK procedure example, UNC3886 (China)"
    },
    "wrong": {
      "title": "Missed",
      "verdict": "wrong",
      "fields": [
        {
          "label": "Sentence (names masked)",
          "text": "The group has replaced atomic indicators mentioned in threat intelligence publications, sometimes as quickly as under a week after release."
        },
        {
          "label": "ATT&CK says",
          "text": "T1027 Obfuscated Files or Information",
          "mono": false
        },
        {
          "label": "Top 5",
          "text": "T1070 Indicator Removal; T1681 Search Threat Vendor Data; T1568 Dynamic Resolution; T1678 Delay Execution; T1553 Subvert Trust Controls"
        }
      ],
      "source": "MITRE ATT&CK procedure example, UNC3886 (China)"
    }
  },
  "scatters": {
    "speed": {
      "title": "Accuracy against time per sentence",
      "meta": "Test set · top left is better",
      "x": {
        "label": "Milliseconds per sentence (log scale)",
        "min": 0.5,
        "max": 3000,
        "log": true,
        "decimals": 0,
        "suffix": " ms",
        "better": "lower"
      },
      "y": {
        "label": "Right technique first",
        "min": 0,
        "max": 100,
        "decimals": 0,
        "suffix": "%",
        "better": "higher"
      },
      "points": [
        {
          "label": "Embedding similarity, no training",
          "x": 0.59,
          "y": 33.6,
          "highlight": false,
          "labelled": true
        },
        {
          "label": "Classifier on other groups' examples",
          "x": 0.59,
          "y": 70.3,
          "highlight": false,
          "labelled": true
        },
        {
          "label": "Embedding and classifier combined",
          "x": 0.59,
          "y": 61.9,
          "highlight": false,
          "labelled": true
        },
        {
          "label": "Qwen3-8B (from 20)",
          "x": 884.21,
          "y": 55.7,
          "highlight": false,
          "labelled": true
        },
        {
          "label": "Qwen3-14B (from 20)",
          "x": 1525.2,
          "y": 65.1,
          "highlight": true,
          "labelled": true
        }
      ]
    }
  },
  "stats": {
    "headline": {
      "items": [
        {
          "value": "92.7%",
          "label": "right technique in the top 5, Qwen3-14B (from 20)",
          "signal": true
        },
        {
          "value": "65.1%",
          "label": "right technique first"
        },
        {
          "value": "90.9%",
          "label": "top 5 with the classifier alone, under a millisecond per sentence"
        }
      ]
    }
  },
  "headline": {
    "value": "93%",
    "label": "of sentences about Russian and Chinese state groups mapped to the right ATT&CK technique (top 5), on one GPU, offline"
  },
  "attribution": "MITRE ATT&CK® is a registered trademark of The MITRE Corporation; data © The MITRE Corporation, used under the ATT&CK Terms of Use."
}
