Lesson 6 of 10 · 15 min read
Data and model threats: poisoning, evasion and model theft
Last updated:
Data poisoning inserts or alters training records so a model learns wrong or hidden behaviour. Direct model poisoning tampers with the model itself or supplies a backdoored pre-trained model. Evasion crafts inputs that look normal but cause a wrong output. Model exfiltration rebuilds a copy of the model by querying it. ISO/IEC 27090 describes each with its consequences, detection signals and mitigations.
In this lesson you will learn to
- 01
Describe data poisoning and direct model poisoning and how they differ
- 02
Explain evasion attacks and why detection is difficult
- 03
Explain model exfiltration and its second-order consequences
- 04
Match each threat to its detection signals and mitigations
Threat 1: data poisoning
An attacker inserts, alters or relabels records in the training or fine-tuning data so that the model learns wrong or hidden behaviour. A common form plants a backdoor: a trigger pattern that makes the model misbehave on demand while it behaves normally on everything else. The asset hit is the training data; the objective broken is integrity; it concerns both predictive and generative systems.
The consequences are wrong decisions at scale, hidden backdoors in production, degraded accuracy and loss of trust in results, plus the cost of retraining from clean data. Retraining cycles reopen the window, which is why the life cycle in lesson 3 marks re-evaluation as a poisoning stage.
Detection relies on provenance and integrity checks on every data source, statistical outlier analysis of training sets, behaviour tests with candidate trigger inputs, and watching for accuracy drift after each retraining. The standard is candid that automated detection remains an open research problem: separating malicious records from harmless outliers is unsolved. Prevention therefore carries most of the weight.
Mitigate: control who and what can write to training pipelines
Mitigate: verify and contract data suppliers; keep data snapshots for forensics
Mitigate: sanitise and validate data before use
Mitigate: monitor post-deployment performance and roll back on anomalies
Threat 6: direct model poisoning
Here the model itself is altered. Parameters or code are changed in the development or deployment environment, or a supplied pre-trained model arrives with a backdoor already in it. The standard notes a property that makes this the supply-chain version of threat 1: a maliciously trained model keeps its behaviour after the deployer fine-tunes it.
The consequence is hidden malicious behaviour in production that passes normal testing, and dependence on an untrusted supplier for a critical function. Detection uses integrity verification, hashes and signatures on model artefacts, behaviour testing against trigger patterns, and supplier assurance with provenance records.
Mitigate: secure development environment with access control and change control
Mitigate: signed, versioned model artefacts from trusted sources only
Mitigate: an AI bill of materials covering models, data sets and tools
Mitigate: treat supplied models as supply-chain components under ISO/IEC 27002 supplier controls
For a deployer that uses vendor or open models, direct model poisoning is the most relevant integrity threat, because the deployer never sees the training process.
Threat 2: evasion
Inputs are crafted so that they look normal to a person but push the model to a wrong output. A slightly altered image passes a content filter; a transaction is shaped to evade fraud scoring; a malware sample is modified to pass a classifier. The asset hit is the model at inference time; the objective is integrity; it mainly concerns predictive systems.
The consequence is that controls which rely on the model silently fail. Fraud passes, prohibited content passes, safety checks pass, and the failure is often discovered only after the loss. Detection uses out-of-distribution and anomaly detection on inputs, flagging of low-confidence or unstable outputs, comparison across an ensemble of models, and adversarial test cases in the validation stage.
Mitigation includes adversarial training, input validation and preprocessing, human review for high-impact low-confidence cases, and not relying on a single model for a critical decision. The standard adds a caution that recurs in clause 7: adversarial training can increase exposure to other attacks. A documented case shows training on adversarial data improved resistance to evasion but increased vulnerability to patch attacks. Controls must be tested together.
Threat 5: model exfiltration
Also called model stealing. The attacker builds a functionally equivalent copy by querying the model many times and training a surrogate on the answers, or obtains the parameters through weak access control. The asset is the model; the objective is confidentiality.
The direct consequence is loss of intellectual property and competitive advantage. The second-order consequence matters more for security: the copy lets the attacker develop evasion and inversion attacks offline, against a model that behaves like the real one, before launching them.
Detection looks for high-volume, systematic query patterns from one client, API usage anomalies against a baseline, and watermark checks on suspected copies. Mitigation combines authentication and per-client rate limiting, output perturbation and limited detail, watermarking of models and outputs, and monitoring backed by contractual terms on API use.
The four threats compared
The table summarises the four threats in this lesson in the standard’s own structure.
| Threat | Asset / objective | Key detection signal | Key mitigation |
|---|---|---|---|
| Data poisoning | Training data / integrity | Provenance failures, outliers, drift after retraining | Write control on pipelines, supplier verification, data snapshots |
| Direct model poisoning | Model / integrity | Hash or signature mismatch, trigger-pattern tests | Signed artefacts, trusted sources, AI bill of materials |
| Evasion | Model at inference / integrity | Out-of-distribution inputs, low-confidence outputs | Adversarial training with combined testing, human review |
| Model exfiltration | Model / confidentiality | Systematic high-volume queries from one client | Authentication, rate limits, output perturbation, watermarking |
Key terms
- Backdoor
- Hidden behaviour planted in a model that activates on a specific trigger pattern while the model behaves normally otherwise.
- Adversarial example
- An input deliberately altered so that a model produces a wrong output while a person sees nothing unusual.
- Surrogate model
- A copy of a model trained by an attacker on the query-and-answer pairs obtained from the original.
- AI bill of materials
- A record of every model, data set, library and tool that went into an AI system, used for supply-chain assurance.
- Watermarking
- Embedding a detectable signature in a model or its outputs so copies can be identified.
In one paragraph
Data poisoning and direct model poisoning are integrity attacks on what the model learns and on the model itself; the standard warns that automated poisoning detection is unsolved, so provenance, access control and signed artefacts carry the weight. Evasion crafts inputs that defeat a predictive model, and adversarial training against it can weaken other defences. Model exfiltration copies a model through its API, giving attackers an offline target for further attacks.
Lesson 6 quiz
Five questions. Score 4 or more to mark the lesson complete. Each answer shows an explanation, so a wrong answer teaches as much as a right one.
Questions people ask
- What is data poisoning in ISO/IEC 27090?
- The insertion, alteration or relabelling of training or fine-tuning records so a model learns wrong or hidden behaviour, often a backdoor triggered by a specific pattern. It is an integrity attack on training data.
- Can a backdoor survive fine-tuning?
- Yes. The standard notes that a maliciously trained model keeps its behaviour after fine-tuning, which is why supplied pre-trained models must be treated as supply-chain components with provenance and integrity checks.
- How is model exfiltration detected?
- By watching for high-volume, systematic query patterns from a single client, API usage that departs from the baseline, and by checking suspected copies for watermarks.
Shahzad Asghar
Senior IT Strategy and Portfolio Officer at UNRWA, with more than twenty years building and securing data and AI systems across UN agencies. He holds the CISM and CISSP security certifications and writes on AI governance, AI security and assurance, and digital transformation. Connect on LinkedIn.
This course is an independent educational resource by Shahzad Asghar. It is not affiliated with, endorsed by or published by ISO or IEC. ISO/IEC 27090:2026 is copyrighted and is sold through the ISO Store and national standards bodies; this course summarises it and does not reproduce its text. Last reviewed: .