MITRE ATLAS 2026.10 · AML.T0144 · High severity
Recover AI Model Internals
Adversaries recover internal model parameters (including projection matrices, hidden layer widths, tokenizer mappings, or raw weights) through algebraic logit queries (Carlini et al., 2024), timing/cache side channels, or misconfigured storage artifacts. Recovering internals reveals proprietary IP and unlocks white-box adversarial transfer attacks.
Technique dossier overview
- Category
- Inference privacy
- Severity
- High
- Attack surface
- Inference API & Hosting · Model Weights & Supply Chain
- Framework maturity
- Feasible
- Platforms
- Predictive AI, Generative AI
- Tactics
- Discovery, Collection
- Aliases
- Model internals recovery
- Catalog entry modified
- Earliest cited research
- · Stealing Machine Learning Models via Prediction APIs · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- In black-box logit-recovery scenarios, an attacker submits structured input batches and collects exact token logprobs or logit-bias responses to reconstruct final embedding subspaces via singular-value decomposition.
- In infrastructure scenarios, misconfigured object buckets, unauthenticated weight caches, or shared GPU side channels expose exact architecture dimensions and checkpoint files.
- Recovered matrices or weights enable high-fidelity surrogate cloning and white-box adversarial optimization against the target service.
Detection & telemetry signals
- API accounts issuing systematic batches requesting `logit_bias` sweeps, full top-k `logprobs`, or singular perturbation vectors across high-dimensional probes.
- Unusual access patterns against model-weight storage buckets, Triton model repositories, or container image registries from non-deployment principals.
- Repeated inference probes crafted to measure exact token latency or batch-size side channels on shared GPU endpoints.
- Concurrent probing of identical prompts with single-token logit perturbation sweeps.
Architectural defensive countermeasures
- Disable raw `logit_bias` manipulation and limit or suppress exposed `logprobs` on external production APIs (`AML.M0002`), returning sampled text only where exact logits are unnecessary.
- Protect model checkpoints, quantization caches, and tokenizer configs with strict encryption and least-privilege IAM (`AML.M0005`), treating weights as high-value secrets.
- Apply adaptive noise, per-identity query rate caps, and logit-sweep anomaly detection (`AML.M0040`) to raise algebraic extraction cost above economic value.
- Isolate dedicated enterprise GPU serving pools rather than co-locating sensitive proprietary models with untrusted multi-tenant workloads.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Recovering weight subspaces and model internals through intensive API probing exploits Unbounded Consumption/extraction exposure (LLM10) and leaks proprietary model secrets (LLM02).
- NIST AI RMF functions
- NIST AI RMF guidance
- Classify internal model artifacts and logit surfaces as sensitive IP under MAP, and enforce logprobs suppression, checkpoint IAM lockdown, and extraction throttling under MANAGE.
Mapped defensive controls
- Limit Model Artifact Release AML.M0001
Gate distribution of raw model weights, checkpoints, gradients, and curated training datasets behind explicit licensing, access reviews, and risk-tier approvals.
- 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.
- 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.
- Control Access to AI Models and Data at Rest AML.M0005
Lock down stored model weights, LoRA adapters, training corpora, vector indexes, and backups with strict least-privilege IAM, private networking, and zero public bucket ACLs.
- 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.
Documented incidents & exercises (5)
- LeftoverLocals Multi-Tenant GPU Local Memory Leakage Across LLM Inference INC-2023-4969 · Incident · Jan 16, 2024 · High · Cloud & AI Infrastructure
CVE-2023-4969 (LeftoverLocals, disclosed by Trail of Bits on January 16, 2024) exposed a hardware/driver isolation vulnerability across Apple, Qualcomm, AMD, and Imagination GPU frameworks. Because GPU local memory buffers were not zeroed between kernel invocations from…
- High-Accuracy and High-Fidelity Direct Weight Extraction of Neural Networks OBS.EX0102 · Exercise · Sep 3, 2019 · ReLU Neural Networks & 1B-Image Proprietary Classifier · Cryptanalytic Extraction
Jagielski et al. (2019/USENIX Security 2020) separated accuracy-focused learning extraction from cryptanalytic high-fidelity extraction, demonstrating direct functionally equivalent weight recovery on neural networks alongside high-accuracy extraction against a production image…
- Stealing Embedding Projection Layers from Black-Box Production LLMs OBS.EX0103 · Exercise · Mar 11, 2024 · OpenAI Ada, Babbage, GPT-3.5-Turbo & Google PaLM-2 · Logit-Bias Weight Recovery
Carlini et al. (ICML 2024) executed the first black-box parameter-recovery attack against commercial production LLMs, recovering exact hidden dimensions and full embedding projection matrices (up to linear symmetries) via standard API logit queries. For under $20 USD in API…
- Hardware Cache Side-Channel Eavesdropping on Local LLM Inference OBS.EX0109 · Exercise · May 10, 2025 · Local Llama, Falcon & Gemma Deployments · Unprivileged CPU Cache Timing
Gao et al. (2025) evaluated unprivileged hardware cache side-channel leakage during local open-weight LLM inference across Llama, Falcon, and Gemma deployments by monitoring token-embedding cache accesses and autoregressive decoding timing. Without direct interaction or…
- Side-Channel Extraction of FPGA Dataflow AI Accelerator Parameters OBS.EX0110 · Exercise · Jun 18, 2025 · FINN-Generated FPGA CNN Accelerators · Unsupervised Power/EM Trace Recovery
Lomet et al. (2025) evaluated physical side-channel extraction against FPGA dataflow neural network accelerators built with the FINN framework, using unsupervised dimensionality reduction and random forest classifiers over hardware traces. Under full accelerator load, the…
Source citation records
- MITRE ATLAS: Recover AI Model Internals · MITRE ·
- Stealing Machine Learning Models via Prediction APIs · arXiv (author preprint; peer-review status not inferred) ·
- Stealing Part of a Production Language Model · arXiv (author preprint; peer-review status not inferred) ·
- High Accuracy and High Fidelity Extraction of Neural Networks · arXiv (author preprint; peer-review status not inferred) ·
- Membership Inference Attacks against Machine Learning Models · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Recover AI Model Internals (AML.T0144)?
- Adversaries recover internal model parameters (including projection matrices, hidden layer widths, tokenizer mappings, or raw weights) through algebraic logit queries (Carlini et al., 2024), timing/cache side channels, or misconfigured storage artifacts. Recovering internals reveals proprietary IP and unlocks white-box adversarial transfer attacks.
- How do you mitigate Recover AI Model Internals?
- MITRE ATLAS maps 5 mitigations to AML.T0144: Limit Model Artifact Release, Predictive AI Output Obfuscation, Limit AI Service Query Volume and Rate, Control Access to AI Models and Data at Rest, and Adaptive AI Response Degradation. Disable raw `logit_bias` manipulation and limit or suppress exposed `logprobs` on external production APIs (`AML.M0002`), returning sampled text only where exact logits are unnecessary.