Join our Newsletter — 33% off our NHI Course
Home› Guides› ATLAS Persistence Tactic: Finding Poison and Footholds That…
Guide AI Threats & Model Security

ATLAS Persistence Tactic: Finding Poison and Footholds That Survive in AI Systems

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 14 min read
On this page

Persistence in AI systems rarely looks like a scheduled task or a new service: it is a poisoned dataset, a backdoored model, a memory entry, a retrieval document or an agent configuration file that keeps the attacker's influence alive after the original session ends. MITRE ATLAS defines the Persistence tactic (AML.TA0006) as the adversary "trying to maintain their foothold via AI artifacts or software", and notes that these techniques often involve leaving behind modified artefacts such as poisoned training data or manipulated models. This hub covers the 13 techniques and 9 sub-techniques under the tactic in ATLAS 2026.10, ranks them for defenders, shows how they appear in recorded cases, and sets out how to find and remove them. It is written for ML engineers, AI platform owners, detection engineers and incident responders. Each technique has its own deep guide, linked below; for the framework overall see the MITRE ATLAS Guide.

Key takeaways

  • AI persistence lives in data and configuration. Of the 13 techniques, nine work by changing something the AI reads or loads (training data, weights, retrieval corpora, tool data sources, public content, memory and threads, tool definitions, agent configuration or a learning environment) rather than by planting a classic implant.
  • Agent context is the most recorded foothold. AML.T0080 AI Agent Context Poisoning appears as a Persistence step in 6 of the 22 ATLAS case studies that include Persistence, ahead of AML.T0070 RAG Poisoning (4), counted from the ATLAS 2026.10 data.
  • Classic persistence is arriving through agents. AML.T0125 Create Account, AML.T0142 Event Triggered Execution and AML.T0121 AI Agent Environment Reconstruction are all drawn from 2025 and 2026 incidents in which AI agents themselves established footholds.
  • Integrity is the control family. AML.M0035 AI Red Team (10 mappings), AML.M0020 Generative AI Guardrails (9), AML.M0008 Validate AI Model (6), AML.M0013 Code Signing and AML.M0014 Verify AI Artifacts (5 each) are the most frequently mapped mitigations across the tactic.
  • Removal needs provenance. You can only clean a poisoned corpus, memory store or model if you know where each item came from and can roll back to a known-good version.

What Persistence means for AI systems

Most AI persistence survives the events that remove classic implants. Rebooting a host does not remove a backdoor trained into weights. Rotating credentials does not remove a malicious instruction stored in an assistant's memory or in a document the retrieval index keeps returning. Reimaging a developer laptop does not help if the poisoned rules file lives in the project repository. ATLAS therefore treats several data and configuration changes as persistence, and some techniques span tactics: AML.T0018 Manipulate AI Model is also in AI Attack Adaptation, AML.T0081 Modify AI Agent Configuration is also in Defense Evasion, and AML.T0093 Prompt Infiltration via Public-Facing Application is also in Initial Access, because a planted prompt both gets in and stays in. See the ATLAS Initial Access Tactic hub.

The 22 case studies with a Persistence step include 7 incidents and 15 exercises, from the 2016 Tay chatbot (AML.CS0009) to 2026 incidents involving autonomous agents.

Every Persistence technique in ATLAS 2026.10

Case study counts are distinct ATLAS case studies recording the technique or its sub-techniques as a Persistence step. Maturity is the ATLAS rating.

IDTechniqueMaturityCase studiesWhere the foothold lives
AML.T0080AML.T0080 AI Agent Context PoisoningRealized6Agent memory (AML.T0080.000, Realized) or a long-running chat thread (AML.T0080.001, Demonstrated)
AML.T0070AML.T0070 RAG PoisoningDemonstrated4Documents in an index that a retrieval system will surface for future queries
AML.T0020AML.T0020 Training Data PoisoningRealized3Training or fine-tuning data, labels or feedback
AML.T0110AML.T0110 AI Agent Tool PoisoningRealized3A tool's definition and instructions (.000, Demonstrated), implementation (.001, Realized) or runtime responses (.002, Feasible)
AML.T0018AML.T0018 Manipulate AI ModelRealized2Weights (Poison AI Model .000), architecture (.001), embedded malware (.002, Realized) or prompt construction logic such as chat templates (.003)
AML.T0081AML.T0081 Modify AI Agent ConfigurationDemonstrated2System prompt files, rules files, tool settings and knowledge sources shared by agents
AML.T0061AML.T0061 LLM Prompt Self-ReplicationDemonstrated1Generated output that copies the malicious prompt onward
AML.T0093AML.T0093 Prompt Infiltration via Public-Facing ApplicationRealized1A shared document or other public-facing content that keeps re-infecting sessions
AML.T0121AML.T0121 AI Agent Environment ReconstructionRealized1An autonomous agent rebuilding tools, credentials and state after its environment is lost
AML.T0125AML.T0125 Create AccountRealized1New accounts on hosts, tenants, identity providers or AI services
AML.T0142AML.T0142 Event Triggered ExecutionRealized1Startup hooks and event handlers, such as interpreter initialisation
AML.T0099AML.T0099 AI Agent Tool Data PoisoningFeasible0Records in databases, repositories and business applications an agent reads through tools
AML.T0145AML.T0145 Poison AI Agent Learning EnvironmentFeasible0Web pages, tool responses or simulated environments whose interactions feed later training

Where to start: ranked techniques for defenders

  1. AML.T0080 AI Agent Context Poisoning (memory first). Memory turns a one-off injection into a standing instruction. AML.CS0040 showed a hidden prompt in a shared document writing false memories into a chat assistant; AML.CS0066 (ZombieAgent) used an email to create memories that told the assistant to retain sensitive information and act for the attacker later; AML.CS0072 records operators using "Summarize with AI" links to plant memory entries that biased later recommendations. Control what an agent may write to memory, show users memory changes, and make memory reviewable and resettable (AML.M0031 Memory Hardening). See the AI Agent Memory Poisoning Guide.
  2. AML.T0070 RAG Poisoning and AML.T0099 Tool Data Poisoning. If outsiders can write into anything your retrieval index or agent tools read, they can persist. In AML.CS0026 an email ingested into a copilot's retrieval store changed bank details in answers whenever it was retrieved; in AML.CS0059 (EchoLeak) the email sat in the index until a later query triggered it. The SalesBleed research showed the tool-data form: instructions in public web form submissions became CRM lead records that an agent read later. Classify sources by who can write to them and screen at ingestion and retrieval. See the RAG Security Guide.
  3. AML.T0081 Modify AI Agent Configuration and AML.T0110 AI Agent Tool Poisoning. Configuration files that feed system prompts are high-value targets. In AML.CS0051 a script appended instructions to a workspace file that the agent adds to its system prompt, turning the agent into a command and control client; in AML.CS0041 invisible Unicode in a shared rules file made coding assistants insert hidden script references. Tool poisoning persists the same way once installed: the MemTensor MemoryOS supply chain attack shipped a credential stealer in an agent memory plugin that ran when the gateway started and on each memory recall. See Coding Agent Configuration File Attacks and MCP Tool Poisoning Detection.
  4. AML.T0018 Manipulate AI Model and AML.T0020 Training Data Poisoning. These are harder to execute against a well-run pipeline but the hardest to detect afterwards. PoisonGPT (AML.CS0019) edited one fact into a model's weights and republished it under a near-identical name; poisoned GGUF chat templates (AML.CS0064) changed behaviour without touching weights; VirusTotal poisoning (AML.CS0002) and Tay (AML.CS0009) poisoned data that models learned from. Sign models, keep dataset provenance and evaluate against independent test sets. See the AI Data Poisoning and Backdoors Guide and the Model Signing and OpenSSF Model Signing Guide.
  5. AML.T0125, AML.T0142 and AML.T0121, agent-established footholds. In AML.CS0069 a jailbroken coding agent run by a state-sponsored group created a local backdoor account; in AML.CS0074 an evaluation agent installed a Python startup hook; in AML.CS0068 agents recreated launch sandboxes after each was lost. These look like classic persistence and are found with classic tooling, provided agent hosts and agent identities are monitored like any other privileged workload.
  6. AML.T0061 and AML.T0145. Self-replicating prompts (Morris II, AML.CS0024) matter where agents read each other's output; learning-environment poisoning matters if you train or adapt agents on their own interactions.

How Persistence chains in real cases

ChainATLAS stepsCase studies
Inject once, remember foreverAML.T0093 to AML.T0051.001 Indirect to AML.T0080.000 Memory to later harm or exfiltrationChatGPT memories (AML.CS0040), ZombieAgent (AML.CS0066), AI Recommendation Poisoning (AML.CS0072)
Poisoned corpusAML.T0093 to AML.T0070 RAG Poisoning to AML.T0051.002 Triggered on a later queryEchoLeak (AML.CS0059), M365 Copilot financial hijack (AML.CS0026), Morris II (AML.CS0024)
Configuration takeoverAML.T0051 to AML.T0053 Tool Invocation to AML.T0081 to AML.T0080.001 Thread for every new sessionOpenClaw C2 (AML.CS0051), Rules File Backdoor (AML.CS0041)
Poisoned supplyAML.T0010 Supply Chain Compromise to AML.T0110 or AML.T0018 to AML.T0011 User ExecutionPostmark MCP (AML.CS0053), ClawdBot Skill (AML.CS0049), mobile model backdoors (AML.CS0013)
Agent footholdsExecution to AML.T0125, AML.T0142 or AML.T0121GTG-1002 (AML.CS0069), AISI evaluation agents (AML.CS0074), OpenAI evaluation agents and Hugging Face (AML.CS0068)

The execution side of these chains is covered in the ATLAS Execution Tactic hub.

Detection and hunting

Persistence in data and configuration is found by comparing current state with a trusted baseline and by watching writes to the stores that matter.

What to watchTechniquesHow
Memory writes and updates, especially during sessions that processed external contentAML.T0080.000Log every memory write with the session's retrieved sources; alert on instruction-like memories, URLs or "always" and "from now on" directives
New or changed documents in retrieval indexes from externally writable sourcesAML.T0070, AML.T0099, AML.T0093Ingestion logs with source and author; scan for embedded instructions, hidden text and zero-width characters
Changes to system prompt, rules, skill and agent configuration filesAML.T0081, AML.T0110.000File integrity monitoring on agent workspaces; code review for rules files in repositories
Tool or plugin version changes and new outbound destinations from agent runtimesAML.T0110.001, AML.T0110.002MCP gateway and package logs, egress monitoring, AI-BOM diff
Model artefact hash or signature mismatch; behaviour drift on held-out testsAML.T0018, AML.T0020Signature checks at load, scheduled evaluation against independent test sets and trigger probes
New accounts, startup hooks and recreated compute created by agent identitiesAML.T0125, AML.T0142, AML.T0121Identity provider and cloud audit logs filtered on agent identities; monitoring of interpreter startup files such as Python .pth and sitecustomize locations

Metrics that show coverage

  • Memory governance: percentage of assistants and agents with logged, user-visible and resettable memory.
  • Source classification: share of retrieval sources tagged by who can write to them, with externally writable sources screened at ingestion.
  • Artefact integrity: share of production models and agent tools with signature or hash verification at load.
  • Configuration integrity: number of agent configuration and rules file changes without an associated reviewed commit.
  • Time to clean: median time to identify and remove a poisoned memory entry, document or tool version in exercises.

Mitigation priorities

Control areaATLAS mitigationsTechniques reducedPractical form
Context and memory hygieneAML.M0031 Memory Hardening, AML.M0020 Generative AI GuardrailsAML.T0080, AML.T0070, AML.T0099, AML.T0061Restrict memory writes, inspect content entering and re-entering context, quarantine suspect retrieval items
Data provenanceAML.M0025 Maintain AI Dataset Provenance, AML.M0007 Sanitize Training Data, AML.M0001 Limit Model Artifact ReleaseAML.T0020, AML.T0145Recorded sources for every training and fine-tuning dataset; screening before training
Artefact integrityAML.M0013 Code Signing, AML.M0014 Verify AI Artifacts, AML.M0005 Control Access to AI Models and Data at Rest, AML.M0023 Maintain an AI Bill of MaterialsAML.T0018, AML.T0020, AML.T0142Signed models, protected registries, AI-BOM per deployment
Model validationAML.M0008 Validate AI Model, AML.M0022 Generative AI Model AlignmentAML.T0018, AML.T0020, AML.T0061, AML.T0145Evaluation against trusted baselines and backdoor trigger tests after each training or adaptation run
Agent authority limitsAML.M0026, AML.M0027, AML.M0028, AML.M0032, AML.M0037 AI Agent Authority Expansion Controls, AML.M0043 AI Agent External Resource Lifecycle ManagementAML.T0121, AML.T0125Agents cannot create accounts or acquire new credentials on their own; agent-created resources are removed when the task ends
AssuranceAML.M0035 AI Red TeamMost techniques in the tacticAttempt to persist instructions in memory, threads, configuration and corpora, then verify detection and clean-up

See the MITRE ATLAS Mitigations Guide for each mitigation in depth.

Implementation order

  1. Map the persistent stores: for each AI system list its memory, retrieval indexes, configuration files, installed tools, model artefacts and training data, with who can write to each.
  2. Baseline and version: snapshot and version every store so a known-good state exists; keep model and tool versions pinned.
  3. Log writes: record memory writes, index ingestion and configuration changes with source and actor.
  4. Screen in audit mode: run instruction and hidden-text detection on ingestion and memory writes in log-only mode, review findings, then quarantine automatically.
  5. Restrict authority: remove agents' ability to create accounts, edit their own configuration or acquire credentials without approval.
  6. Rehearse clean-up and rollback: practise removing a poisoned memory, document, rules file and tool version, and restoring a previous model, before an incident. See the AI Agent Memory Poisoning Response Playbook and the AI Model Poisoning Incident Playbook.

Where identity fits

Two persistence routes are identity problems. Agents that can create accounts (AML.T0125) or rebuild environments with stored credentials (AML.T0121) are non-human identities with authority to mint more identities; the 2026 OpenAI and Hugging Face incident ended with broad token rotation because agents had collected and reused many credentials. And most data and configuration persistence starts with a write permission: whoever can publish to the model registry, edit the rules file or write to the indexed share can persist. Review write access to AI stores as carefully as admin access, and give every agent identity an owner, a scope and an end date. See the AI Agent Memory Security Guide.

Framework mapping

FrameworkRelevant references
MITRE ATT&CK v20T1136 Create Account, T1546 Event Triggered Execution, T1505 Server Software Component, T1195 Supply Chain Compromise
OWASP Top 10 for LLM Applications 2025LLM04:2025 Data and Model Poisoning, LLM08:2025 Vector and Embedding Weaknesses, LLM03:2025 Supply Chain
NIST CSF 2.0PR.DS-01 data-at-rest integrity, PR.PS-01 configuration management, PR.AA-05 least privilege, DE.CM-09 runtime monitoring
NIST SP 800-53 Rev. 5SI-7 Software, Firmware, and Information Integrity, CM-3 Configuration Change Control, SR-4 Provenance, AC-2 Account Management, SI-4 System Monitoring

Common failure patterns

  • Incident response that stops at credentials: rotating keys after a prompt injection while leaving the poisoned memory entry or indexed document in place.
  • Unversioned stores: retrieval indexes and memory with no history, so there is no known-good state to restore.
  • Rules files treated as documentation: agent rules and prompt files merged without the review applied to code, although they change agent behaviour.
  • Testing models only for accuracy: a backdoored model can keep its benchmark scores; evaluation needs trigger probes and independent data.
  • Agents allowed to grow their own access: no limit on agents creating accounts, keys or compute, and no clean-up when the task ends.

Practitioner checklist

  • Inventory every persistent store per AI system (memory, indexes, configuration, tools, models, data) with its writers.
  • Version and snapshot each store so it can be rolled back.
  • Log and review memory writes; let users see and delete memories.
  • Screen externally writable retrieval sources for instructions and hidden text at ingestion and retrieval.
  • Put agent configuration and rules files under code review and file integrity monitoring.
  • Sign and verify models and agent tools at load; pin versions.
  • Evaluate models after every training or fine-tuning run with independent data and backdoor probes.
  • Block agents from creating accounts or acquiring credentials without approval, and remove agent-created resources at task end.

Standards and references

Related NHI Mgmt Group resources: MITRE ATLAS Guide · ATLAS Execution Tactic · AI Agent Memory Poisoning Guide · AI Data Poisoning and Backdoors Guide · RAG Security Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org