By NHI Mgmt Group Editorial TeamBased on Lumia Security: “AIKatz – All Your Chats Are Belong To Us” (November 12, 2025)

TL;DR: AIKatz can harvest authentication tokens from desktop GenAI apps such as ChatGPT, Claude and Copilot, then reuse them to read, tamper with or inject into user conversations, creating post-breach exposure that extends beyond the model itself, according to Lumia Security. Desktop AI clients now need the same memory, token and privilege scrutiny normally applied to high-value identity surfaces.


At a glance

What this is: AIKatz is a post-breach attack against desktop GenAI applications that steals local authentication material and uses it to access, alter and inject content into user LLM conversations.

Why it matters: It matters because desktop AI clients now sit inside identity and data governance scope, so token handling, process isolation and conversation integrity become controls IAM and AI security teams must treat as enterprise concerns.


Context

Desktop GenAI applications are not just user interfaces. They are authenticated clients with local process memory, stored tokens and conversation state, which makes them a security boundary as much as an experience layer.

The weakness here is familiar in identity terms: if a local client can be coerced into exposing bearer material, the attacker inherits the user’s session trust without needing to break the underlying model. That creates a post-compromise path that looks less like classic malware and more like delegated access abuse.


Key questions

Q: What breaks when a desktop AI client leaks session tokens after a workstation compromise?

A: The attacker does not need to bypass the model itself. Valid session material lets them impersonate the user, read conversation history, inject prompts and often persist hidden instructions, so the failure is identity reuse inside the client trust boundary rather than a traditional model exploit.

Q: Why do desktop GenAI apps create more risk than browser-only AI use?

A: Desktop clients keep local process state, runtime permissions and replayable authentication material on the endpoint, which expands the attack surface beyond the browser session. Once those artefacts can be read from memory, the user’s AI access becomes an identity issue as much as an application issue.

Q: How can security teams tell whether AI conversation integrity controls are working?

A: Look for whether users can still verify message history, whether hidden prompt changes are impossible to replay without detection, and whether stolen session material can be used from a compromised endpoint. If any of those remain possible, conversation integrity is not under control.

Q: Should organisations separate desktop AI access from high-trust business workflows?

A: Yes, when those clients can access sensitive data or business-critical summaries. If a local compromise can expose tokens and rewrite chat state, the AI client should be treated like an identity-bearing endpoint with tighter segmentation, narrower permissions and more aggressive session governance.


Technical breakdown

How desktop LLM clients expose usable authentication material

ChatGPT, Claude and Copilot desktop apps sit on browser-style runtimes, so they inherit process structures, storage behaviour and inter-process communication patterns that can be inspected locally. In the report, the attack relies on reading memory or adjacent storage from permissive worker processes to recover cookies, bearer tokens or session keys. Once an attacker has that material, the backend sees the requests as legitimate because the client is replaying valid identity artefacts, not bypassing the model itself. See the Prompt Injection Guide.

Practical implication: Restrict process permissions so local memory scraping cannot reach authentication material, and treat the desktop runtime as part of the identity attack surface.

Why conversation tampering works after token theft

The attack is not limited to passive data extraction. With a valid session token, the attacker can query chat history, delete conversations, send new messages and inject prompts into active threads. The report also shows that message trees and persistent memory features can let an attacker overwrite user-visible history or leave hidden instructions behind. That means the trust problem extends from authentication into conversation integrity and state persistence.

Practical implication: Separate identity proof from conversation state controls so stolen session material cannot silently rewrite or persist user instructions.

Why this resembles credential abuse more than model compromise

AIKatz targets the client side, not the model weights or backend service. The operational pattern is credential harvesting, reuse and post-breach impersonation, followed by lateral abuse of whatever the authenticated session can reach. That is why the report’s MITRE ATLAS mapping also resembles classic ATT&CK behaviour: discovery of credentials, use of alternate authentication material, and manipulation of the active environment. For practitioners, the important point is that the AI surface is only as safe as the session material sitting next to it. See the MITRE ATLAS Guide.

Practical implication: Map desktop AI client abuse to credential theft and replay, then monitor it with the same suspicion you apply to stolen session material.


Threat narrative

Attacker objective: The attacker wants to impersonate the user inside desktop GenAI applications and exploit that trusted session to steal, alter or poison conversation content.

  1. Entry occurs after the victim’s machine is already compromised, allowing the attacker to inspect desktop AI client processes and local storage.
  2. Credential harvesting follows when the attacker extracts bearer tokens, cookies or session keys from memory or adjacent runtime state.
  3. Escalation happens when the stolen identity artefact is replayed against the AI service, giving the attacker the user’s authenticated conversation context.
  4. Impact includes conversation theft, prompt tampering, false memory injection and denial of service inside the user’s LLM workflow.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI desktop clients have become identity-bearing endpoints, not disposable interfaces. The report shows that a local compromise can expose tokens, cookies and session keys that are sufficient to act as the user inside the AI workflow. That shifts the security question from model trust to session trust, because the attacker is no longer attacking the LLM directly. Practitioners should treat desktop AI clients as governed identity surfaces, not just productivity software.

Conversation integrity is now part of AI governance. The ability to delete chats, alter message history and inject hidden prompts means the control problem is not only who authenticated, but what state that authentication can modify. Persistent memory makes the risk more durable because the attacker can leave instructions behind after the original session is over. Agentic AI security guide is relevant here because the same governance gap appears wherever a runtime can quietly act on behalf of the user. Practitioners should extend governance to state, memory and replay resistance, not just login events.

AIKatz is a post-breach exploitation pattern, not an isolated prompt-injection story. The article is strongest when it frames local token theft as the enabling condition for prompt tampering, exfiltration and disruption. That makes the attack relevant to identity security teams, because stolen session material is the bridge between endpoint compromise and cloud AI misuse. The practitioner lesson is to govern the whole access chain, from local runtime permissions to authenticated AI actions.

Client-side credential leakage: this attack illustrates a specific governance failure mode where the desktop app can read enough of its own execution context to become an identity extraction point. Once that happens, normal session controls no longer distinguish legitimate use from attacker replay. The right conclusion is not that AI is uniquely fragile, but that unmanaged client runtimes create a hidden authentication bypass path. Practitioners should inventory desktop AI clients as part of privileged session governance.

MITRE ATLAS adoption shows the category is maturing faster than many control models. The article says the attack was added as a case study in the November 2025 update, which signals that AI-specific adversary behaviour is now being formalised rather than treated as an edge case. That matters because governance frameworks lag when they assume the only risk is model abuse. Practitioners should align AI controls with adversarial behaviour models, not with application convenience alone.

From our research library:

  • Only 23% of IT leaders were very confident in their organisation's ability to manage security and governance for GenAI deployments, according to a 2025 Gartner survey of 360 IT leaders.
  • Read next: Prompt Injection Guide

What this signals

Desktop AI clients are now part of the trust boundary around enterprise identity data, because the session token is often more important than the model output. If a local process can expose that token, the organisation has a client-side identity problem that conventional LLM content filtering will not solve.

Client-side identity replay gap: this is the practical failure mode AIKatz exposes. The issue is not prompt injection alone, but the combination of local token theft, hidden conversation state and replayable access that lets an attacker operate as the user without ever touching the model itself. Practitioners should adapt monitoring to session abuse, not just content abuse.

Governance teams should expect more attacks that begin on the endpoint and terminate inside the AI workflow, especially where memory features, persistent chats or business-facing assistants are in play. That makes desktop AI security a workload-identity and secrets-management problem as much as an AI safety problem.


For practitioners

  • Harden local process permissions on AI desktop clients Remove broad read access from worker processes and restrict memory inspection paths so tokens and cookies cannot be scraped from the client runtime.
  • Treat AI session tokens as high-value secrets Inventory bearer tokens, session cookies and replayable credentials used by desktop GenAI clients, then rotate or revoke them when endpoint compromise is suspected.
  • Isolate prompt state from persistent memory Disable or tightly govern conversation memory features where they are not required, and separate user-visible chat state from any hidden instructions that can persist across sessions.
  • Detect replay, overwrite and hidden prompt activity Look for unusual conversation deletions, message tree anomalies, repeated authentication from the same workstation and unexpected prompt changes that do not match user behaviour.

Key takeaways

  • AIKatz shows that desktop AI clients can turn endpoint compromise into authenticated misuse of LLM conversations.
  • The key weakness is not the model alone but the local session material, memory state and message history attached to it.
  • Defending this class of attack requires endpoint hardening, secret governance and controls over conversation persistence, not just prompt filtering.

Related NHI Mgmt Group resources: Prompt Injection Guide · AI Agent Authorisation Guide · Agentic AI Security Guide · Data Security Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, MITRE ATLAS and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe attack abuses authenticated AI client identity and privilege after local token theft.
ASI09 — Human-Agent Trust ExploitationThe attack exploits user trust in chat history, memory and visible conversation state.
Recommendation — Apply ASI03 controls to limit what a compromised AI client session can access or modify. Audit human-agent trust assumptions and prevent hidden state from being treated as user-approved input.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe article is about governance of AI clients, state persistence and post-compromise misuse.
Recommendation — Establish governance for desktop AI client identity, memory and replayable access.
MITRE ATLASTA0006; TA0008 — Credential Access; Lateral MovementThe attack harvests credentials and reuses them to move into the authenticated AI session.
Recommendation — Map token theft and session replay to credential access patterns and hunt for reuse from compromised endpoints.
MITRE ATT&CKTA0006; TA0005 — Credential Access; StealthThe attacker extracts secrets from local process memory and stays hidden inside normal app behaviour.
Recommendation — Correlate local memory access with covert credential extraction and stealthy session abuse.

Key terms

  • Desktop AI Client: A desktop application that provides access to a generative AI service while storing local state, authentication material and conversation history on the endpoint. In governance terms, it behaves like a hybrid of application, browser and identity-bearing session, which makes endpoint compromise directly relevant to AI access control.
  • Session Replay: A technique where an attacker reuses a captured authenticated session token to act as the victim without knowing the password. In modern cloud environments, replay can bypass traditional login controls and persist until the token is revoked or naturally expires.
  • Conversation Integrity: The assurance that an AI chat history, its hidden state and any persistent memory remain authentic, complete and unmodified unless the legitimate user changes them. This is broader than prompt filtering because it covers state tampering, message overwrites and unseen instructions that can survive across sessions.
  • Bearer Token: A bearer token is a credential that grants access to whoever possesses it, without requiring strong proof that the holder is the intended client. In NHI environments, that makes theft and replay the main risk, especially when tokens are long-lived, broadly scoped, or stored in local files.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity and secrets management in the context of modern identity risk. It helps security practitioners connect endpoint compromise, session abuse and delegated access into one governance model.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org