Unit 7 · Lesson 7.1
Threat models for machine learning
Before asking whether a model is secure, one has to ask secure against whom, and against what. A claim that a detector is robust is empty without a threat model that states the attacker's goal, what the attacker knows, and what the attacker can do. The same model can be easy to defeat under one threat model and hard under another, so an evaluation that leaves the threat model unstated is not interpretable. This lesson sets out the three dimensions of a machine-learning threat model, following the framework of Biggio and Roli (2018) and the taxonomy of Vassilev et al. (2025), then places them in the operational vocabulary of MITRE ATLAS and explains transferability through surrogate models, one of the mechanisms that make black-box attacks practical.
The three dimensions: goal, knowledge, capability
A threat model for a learning system has three parts, and leaving out any one of them makes it incomplete. Figure 7.1 lists them.
Figure 7.1. The three dimensions of a machine-learning threat model. The attacker's goal is a kind of security violation (integrity, availability or privacy) and a specificity (targeted or indiscriminate, with a specific or generic error). The attacker's knowledge ranges from white-box to black-box. The attacker's capability is what can be modified and when (training or test time, feature space or problem space). A complete threat model specifies all three. Drawn as a schematic, after the framework of Biggio and Roli (2018) and the taxonomy of NIST AI 100-2e2025.
The attacker's goal is described by the security violation it seeks and by its specificity. Biggio and Roli (2018) and Vassilev et al. (2025) distinguish three violations. An integrity violation makes the model misperform, for example causing an attack to be classified as normal, without disrupting normal operation. An availability violation degrades the service for legitimate users, for example by driving the false positive rate so high that the system is unusable. A privacy violation extracts information about the model or its training data. Biggio and Roli (2018) describe specificity along two axes. The attack specificity is targeted when the attacker aims at particular inputs (a given user, service or its own traffic) and indiscriminate when any input will do. The error specificity is specific when an input must be classified as a particular class and generic when any wrong class will do, which is the sense in which Vassilev et al. (2025) and Lesson 7.2 call an evasion attack targeted or untargeted. This unit concentrates on integrity violations at test time, which are evasion attacks; Unit 8 covers poisoning, which can violate availability or integrity, and privacy attacks.
The attacker's knowledge ranges along a spectrum. In a white-box setting the attacker knows everything: the training data, the features, the architecture, and the trained parameters. This is the strongest assumption and is used to measure worst-case robustness. In a black-box setting the attacker knows almost nothing and interacts only through queries, observing outputs for chosen inputs. Gray-box settings lie between, where the attacker knows some components, for example the feature representation and architecture but not the parameters or training data. Vassilev et al. (2025) note that the gray-box assumption of knowing the feature representation is especially relevant in security, finance and healthcare, where feature extraction precedes the model.
The attacker's capability is what it can modify and when. In a review of 88 adversarial machine-learning papers published at four top security conferences from 2019 to 2021, Apruzzese et al. (2023) found the attackers' capabilities difficult to identify and their definitions inconsistent. Two distinctions matter. The first is timing. A causative capability modifies the training data (a poisoning attack, Unit 8), while an exploratory capability modifies only the test input (an evasion attack, this unit). The second is where the modification lives. A feature-space attack changes the numeric feature vector directly, which may not correspond to any realizable input. A problem-space attack changes the actual object, a network flow or a file, subject to the constraints of the domain, and the feature vector changes only as a side effect. Lesson 7.2 and Lab 7b make this distinction central, because an attack that is trivial in feature space can be impossible in problem space.
Show the answer
The goal is an integrity violation, and it is targeted at the attacker's own traffic rather than indiscriminate. The knowledge is gray-box if the attacker knows the feature representation and black-box otherwise; in either case any feedback it gets from the detector comes through queries, such as observing whether its traffic is blocked. The capability is exploratory (test-time only) and problem-space, since the attacker modifies real packets, not the feature vector directly, and the modifications must preserve the traffic's function.
MITRE ATLAS
The academic framework above has an operational counterpart. MITRE ATLAS, whose name expands to Adversarial Threat Landscape for AI Systems, is a knowledge base of adversary tactics and techniques involving AI systems, patterned on the ATT&CK matrix. ATLAS states that it is based on observations of real-world attacks together with realistic demonstrations by AI red teams and security groups, so it is not a record of real attacks alone, and reading it as a catalog of incidents would overstate it. The names and identifiers here are from content release 2026.09, dated 15 September 2026, which was still the current release on 15 October 2026 (MITRE Corporation, 2026).
ATLAS organizes techniques under tactics, which are the attacker's objectives at each stage. Figure 7.2 lists the tactics of the release and marks the ones the evasion techniques of this unit map to. The central technique for this unit is Evade AI Model (AML.T0015), which in this release achieves the tactics Initial Access (AML.TA0004), Defense Evasion (AML.TA0007) and Impact (AML.TA0011). Evasion of an AI-based malware or network detector is a Defense Evasion technique, not an Execution technique. The adversarial inputs themselves are produced by Craft Adversarial Data (AML.T0043), a technique under the tactic AI Attack Adaptation (AML.TA0001). Its sub-techniques include white-box optimization (AML.T0043.000), black-box optimization (AML.T0043.001), black-box transfer (AML.T0043.002) and manual modification (AML.T0043.003). Gaining the access needed to craft and test these inputs is covered by the tactic AI Model Access (AML.TA0000), whose techniques include AI Model Inference API Access (AML.T0040) and Full AI Model Access (AML.T0044). Other units touch other tactics. Poisoning is the technique Training Data Poisoning (AML.T0020), and the privacy attacks of Unit 8 appear under Exfiltration via AI Inference API (AML.T0024), whose sub-techniques include Infer Training Data Membership (AML.T0024.000) and Extract AI Model (AML.T0024.002).
Figure 7.2. The MITRE ATLAS tactics in matrix order, content release 2026.09. Tactics with a light blue background (the others are gray) are those the techniques of this unit map to. Arrows connect each technique (right) to the tactics it achieves. Evade AI Model reaches Initial Access, Defense Evasion and Impact; Craft Adversarial Data and Create Proxy AI Model sit under AI Attack Adaptation; and the two model-access techniques sit under AI Model Access. Built from the ATLAS data file (release 2026.09).
Transferability through surrogate models
A black-box attacker who cannot compute gradients of the target model can still attack it, because adversarial examples transfer. Szegedy et al. (2014) observed that an input crafted to fool one network often fools another trained on different data or with different hyperparameters. Papernot et al. (2017) turned this into a practical black-box attack. The attacker trains a substitute (also called a surrogate) model to imitate the target, using inputs it labels by querying the target, then crafts adversarial examples against the substitute with full white-box access and transfers them to the target. The substitute is a model trained to agree with the target on the queried inputs, not a copy of it; the attack works when the substitute's decision boundaries are close enough to the target's that an example crossing one crosses the other. In ATLAS terms this is Create Proxy AI Model (AML.T0005) followed by black-box transfer. Figure 7.3 shows the flow.
Figure 7.3. Transferability through a substitute. The attacker queries the target for labels, trains a substitute (surrogate) model to imitate it, crafts adversarial examples against the substitute with white-box access, and applies them to the target. The substitute is trained, not copied, and transfer works when it is close enough to the target. Drawn as a schematic, after Papernot et al. (2017).
The query cost of building a substitute can be modest. Papernot et al. (2017) grow the substitute's training set with Jacobian-based dataset augmentation, which roughly doubles the set each round by adding points perturbed along the substitute's most sensitive direction. Starting from 150 seed inputs and doubling over 6 rounds queries the target about \(150 \times 2^6 = 9{,}600\) times, and in their experiment against a model hosted as an online service the resulting substitute produced adversarial examples (crafted with the fast gradient sign method of Lesson 7.2, which changed each pixel intensity, on a \([0, 1]\) scale, by at most 0.3) that the target misclassified 84.24% of the time. Transferability is why white-box robustness is the right thing to measure even when the deployed attacker is black-box, because an attacker who cannot see the model can still craft against a surrogate and transfer. Lab 7a measures transfer between two independently trained MNIST classifiers.
Show the answer
A defense that merely hides the model's gradients may stop a direct black-box query attack while remaining vulnerable to adversarial examples transferred from a surrogate the attacker trains. If the evaluation never tries a transfer or white-box attack, it misses this path and reports a security the defense does not have. Lesson 7.3 develops this point as part of avoiding gradient masking.
Summary
A threat model for a learning system specifies three things: the attacker's goal (an integrity, availability or privacy violation, targeted or indiscriminate), the attacker's knowledge (white-box, gray-box or black-box), and the attacker's capability (what is modified and when, in feature space or problem space). A vague capability dimension is a serious gap, because capability decides whether an attack is feasible. MITRE ATLAS gives an operational vocabulary for these, in which evasion of an AI detector is a Defense Evasion technique (Evade AI Model, AML.T0015) and the adversarial inputs are produced under AI Attack Adaptation, with ATLAS describing its basis as real-world observations plus realistic red-team demonstrations. Transferability through a trained substitute model makes black-box attacks practical and is why white-box robustness, measured against a worst-case attacker, is the right benchmark even when the deployed adversary is weaker.
References
- Apruzzese, G., Anderson, H. S., Dambra, S., Freeman, D., Pierazzi, F., and Roundy, K. (2023). 'Real attackers don't compute gradients': Bridging the gap between adversarial ML research and practice. 2023 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), 339-364. https://doi.org/10.1109/SaTML54575.2023.00031
- Biggio, B., and Roli, F. (2018). Wild patterns: Ten years after the rise of adversarial machine learning. Pattern Recognition, 84, 317-331. https://doi.org/10.1016/j.patcog.2018.07.023
- MITRE Corporation (2026). MITRE ATLAS (Adversarial Threat Landscape for AI Systems). Content release 2026.09, dated 15 September 2026, accessed 15 October 2026. https://atlas.mitre.org/
- Papernot, N., McDaniel, P., Goodfellow, I., Jha, S., Celik, Z. B., and Swami, A. (2017). Practical black-box attacks against machine learning. Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security (ASIA CCS), 506-519. https://doi.org/10.1145/3052973.3053009
- Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I., and Fergus, R. (2014). Intriguing properties of neural networks. International Conference on Learning Representations (ICLR). arXiv preprint arXiv:1312.6199. https://arxiv.org/abs/1312.6199
- Vassilev, A., Oprea, A., Fordyce, A., Anderson, H., Davies, X., and Hamin, M. (2025). Adversarial machine learning: A taxonomy and terminology of attacks and mitigations. National Institute of Standards and Technology. NIST AI 100-2e2025, March 2025. https://doi.org/10.6028/NIST.AI.100-2e2025