MITRE ATLAS 2026.10 · AML.T0043.001 · High severity
Craft Adversarial Data: Black-Box Optimization
Without access to internal model weights or gradients, adversaries optimize adversarial inputs solely through repeated API queries, confidence-score feedback, or local surrogate transfer. Black-box optimization enables evasion of proprietary cloud moderation, antimalware, and edge-browser classifiers over standard public interfaces.
Technique dossier overview
- Category
- Model robustness
- Severity
- High
- Attack surface
- Inference API & Hosting · Multimodal Inputs · LLM / Prompt Layer
- Framework maturity
- Demonstrated
- Platforms
- Predictive AI
- Tactics
- AI Attack Adaptation
- Catalog entry modified
How the mechanism works
- An attacker submits seed inputs and small randomized or structural mutations to a black-box prediction endpoint.
- Using returned scores, top-k labels, or binary decision flips, zeroth-order or evolutionary search estimates ascent directions toward misclassification.
- Alternatively, queries train a local surrogate model whose white-box gradients generate high-transfer black-box perturbations.
Detection & telemetry signals
- Sequential bursts of near-duplicate inputs (high cosine or perceptual similarity) differing only by small local edits from the same tenant.
- Monotonic confidence-score drift across a rapid series of queries converging cleanly on a classification threshold boundary.
- High volume of boundary-straddling probes distributed across multiple fresh accounts or proxy endpoints.
Architectural defensive countermeasures
- Suppress continuous confidence scores and raw logits from external prediction APIs, returning only the coarsest required operational verdict.
- Deploy stateful similarity-based query monitoring (such as perceptual or embedding hashing over recent window history) to detect iterative black-box search.
- Enforce strict per-tenant rate limits and adaptive degradation (throttling, temporary blocks, or human-review escalation) when iterative probing is detected.
- Combine adversarial training with input restoration and diverse ensemble verification to reduce both query-search efficiency and surrogate transferability.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Black-box optimization relies on high-frequency iterative API probing (LLM10) to bypass safety/guardrail filters (LLM01) and induce misclassification (LLM09).
- NIST AI RMF functions
- NIST AI RMF guidance
- Apply NIST AI RMF MEASURE (NIST AI 100-2e2025) and MANAGE (MANAGE 4.1) by minimizing prediction score leakage and detecting near-duplicate optimization query streams.
Mapped defensive controls
- Predictive AI Output Obfuscation AML.M0002
Reduce inference API telemetry to the minimum required signal—suppressing raw probabilities, full logprobs, and fine-grained confidence scores that accelerate extraction and inversion.
- Predictive AI Model Hardening AML.M0003
Improve intrinsic model robustness using adversarial training, randomized smoothing, Lipschitz constraints, and certified bounds evaluated under explicit perturbation threat models.
- Limit AI Service Query Volume and Rate AML.M0004
Enforce per-tenant RPM/TPM quotas, concurrency caps, and behavioral burst throttling to blunt automated extraction, probing, and denial-of-wallet amplification.
- Predictive AI Ensembles AML.M0006
Combine architecturally diverse models or orthogonal decision signals with measured failure independence so single-model adversarial perturbations fail to transfer uniformly.
- Predictive AI Input Restoration AML.M0010
Normalize and sanitize untrusted text, image, audio, and document inputs—re-encoding media, stripping hidden layers, and canonicalizing Unicode—before model ingestion.
- Predictive AI Adversarial Input Detection AML.M0015
Detect out-of-distribution inputs, high-frequency adversarial perturbations, sponge payloads, and query anomalies before they reach downstream predictive models.
- Control Access to AI Models and Data in Production AML.M0019
Enforce deterministic runtime authentication, tenant isolation, and per-document RAG authorization outside the LLM context window for every inference and retrieval request.
- Adaptive AI Response Degradation AML.M0040
Progressively throttle, coarsen, or step-up challenge suspicious clients exhibiting extraction, inversion, or adversarial probing patterns without letting attackers trigger false DoS on legitimate users.
Published empirical measurements (2)
- Attack success rate · 1.8%
PEZ soft-prompt projection optimization. Evaluated on HarmBench Standard split (200 behaviors) with Llama-2-7B-Chat default safety prompt. Earlier catalog numerator 4/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Mitigation effectiveness · 98.2%
Derived resistance complement (100% - published ASR) on HarmBench Standard split (200 behaviors). Earlier catalog numerator 196/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors — Resistance Rate (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (100% - Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
Related technique records
Documented incidents & exercises (5)
- Botnet Domain Generation Algorithm (DGA) Detection Evasion AML.CS0001 · Exercise · 2020 · Elevated · Network Security & Malware Analysis
Documented in MITRE ATLAS (2020) referencing Degas and character-level DGA classifiers (Yu et al., IJCNN 2018), this exercise showed how adversaries evade machine-learning botnet domain generation algorithm detectors. Using publicly available datasets and black-box optimization…
- Microsoft Edge AI Evasion AML.CS0011 · Exercise · February 2020 · Elevated · Edge Computing & Cloud AI
Documented in MITRE ATLAS (February 2020) from a Microsoft red-team engagement, evaluators targeted an edge-deployed AI inference service without internal weight access. After gathering public model documentation and related open artifacts, the team ran black-box optimization…
- PAIR Black-Box Iterative Semantic Jailbreak Evaluation OBS.EX0005 · Exercise · Oct 12, 2023 · Closed & Open-Weight LLMs · Attacker-LLM Query-Efficient Red Teaming
Chao et al. (2023) developed Prompt Automatic Iterative Refinement (PAIR), using an automated attacker LLM to iteratively probe and refine semantic jailbreak prompts against black-box target models. Tested across GPT-3.5, GPT-4, Vicuna, and Gemini, PAIR frequently bypassed…
- Tree of Attacks with Pruning (TAP) Automated Jailbreak Study OBS.EX0006 · Exercise · Dec 4, 2023 · Frontier LLMs & Guardrail Models · Tree-Search Black-Box Red Teaming
Mehrotra et al. (2023) introduced Tree of Attacks with Pruning (TAP), employing branching attacker-LLM exploration and an off-topic evaluator to prune unpromising branches before querying victim models. Empirical testing showed TAP elicited policy-violating outputs on over 80%…
- Query-Limited & Label-Only Black-Box Evasion of Google Cloud Vision OBS.EX0166 · Exercise · Apr 23, 2018 · ImageNet Classifiers & Google Cloud Vision API · Restricted-Oracle Evasion
Ilyas et al. (ICML 2018) formalized three realistic restricted-access threat models, query-limited, partial-information (top-k), and label-only, and evaluated natural-evolution gradient estimation against ImageNet classifiers and the commercial Google Cloud Vision API. Even…
Source citation records
- MITRE ATLAS: Black-Box Optimization · MITRE ·
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Craft Adversarial Data: Black-Box Optimization (AML.T0043.001)?
- Without access to internal model weights or gradients, adversaries optimize adversarial inputs solely through repeated API queries, confidence-score feedback, or local surrogate transfer. Black-box optimization enables evasion of proprietary cloud moderation, antimalware, and edge-browser classifiers over standard public interfaces.
- How do you mitigate Craft Adversarial Data: Black-Box Optimization?
- MITRE ATLAS maps 8 mitigations to AML.T0043.001: Predictive AI Output Obfuscation, Predictive AI Model Hardening, Limit AI Service Query Volume and Rate, Predictive AI Ensembles, Predictive AI Input Restoration, Predictive AI Adversarial Input Detection, Control Access to AI Models and Data in Production, and Adaptive AI Response Degradation. Suppress continuous confidence scores and raw logits from external prediction APIs, returning only the coarsest required operational verdict.