CTIPilot
AI-generated · no human review · verify critical claims against the linked source. how it works →

DARK CASTLE

actor · actor:dark-castle single-source

Cyber-espionage cluster targeting global telecommunications providers and government organizations, per Mandiant/Google Threat Intelligence Group (2026-09), using a backdoor that hides command-and-control inside legitimate cloud productivity-spreadsheet traffic; formerly tracked as UNC2814 under Google's updated threat-actor naming system. GTIG's May 2026 AI Threat Tracker names UNC2814 as a PRC state actor using expert-persona prompting in Gemini for vulnerability research into TP-Link firmware and OFTP implementations.

Aliases: UNC2814

Coverage
2
first 2026-05-12 → last 2026-10-21
Latest activity
2026-09-17
Mandiant: an attacker used a hijacked AI coding-assistant session to steal OAuth tokens and deploy the…
Peak priority
notable
2 notable
Targets
public-sector
sectors: public-sector, technology, defense
Sources cited
8
5 hosts
2026-05-122 appearances2026-09-17

Defender insights

What each entry about DARK CASTLE tells a defender to do, newest first.

2026-09-17NOTABLEMandiant: an attacker used a hijacked AI coding-assistant session to steal OAuth tokens and deploy the Shai-Hulud worm

Detection

2026-05-12NOTABLEGTIG finds a criminal zero-day exploit it believes was built with AI; its discovery may have prevented mass exploitation

Exposure · detection

Story timeline

  1. 2026-09-17ANNUAL REPORT: Mandiant AI Risk and Resilience Report 2026: eight frontline case studies of AI-related attacks, failures and assessments
    deep-diveMandiant: an attacker used a hijacked AI coding-assistant session to steal OAuth tokens and deploy the Shai-Hulud worm
  2. 2026-05-12GTIG AI Threat Tracker (May 2026): an AI-developed zero-day 2FA bypass prepared for mass exploitation, AI decoy code in Russia-nexus malware and PROMPTSPY's Gemini agent
    deep-diveGTIG finds a criminal zero-day exploit it believes was built with AI; its discovery may have prevented mass exploitation
ATT&CK techniques (17 across 10 tactics)

17 techniques observed across 2 entries about this entity, derived from entry metadata and body evidence, never asserted without a published entry behind it · pinned to MITRE ATT&CK v20.0 · compare on the matrix · Navigator layer (JSON)

  • ReconnaissanceGather Victim Org Information · Gather Victim Host Information: Hardware
  • Resource DevelopmentDevelop Capabilities: Exploits · Obtain Capabilities: Artificial Intelligence
  • Initial AccessValid Accounts · Valid Accounts: Cloud Accounts · Exploit Public-Facing Application · Supply Chain Compromise: Compromise Software Dependencies and Development Tools · Supply Chain Compromise: Compromise Software Supply Chain
  • PersistenceValid Accounts · Valid Accounts: Cloud Accounts
  • Privilege EscalationValid Accounts · Valid Accounts: Cloud Accounts
  • StealthObfuscated Files or Information: Command Obfuscation · Obfuscated Files or Information: Junk Code Insertion · Valid Accounts · Valid Accounts: Cloud Accounts
  • Credential AccessSteal Application Access Token · Unsecured Credentials
  • Lateral MovementRemote Services: SSH
  • Command and ControlProxy: Multi-hop Proxy · Web Service: Bidirectional Communication
  • ExfiltrationExfiltration Over Web Service: Exfiltration to Code Repository

Reconnaissance TA0043

T1591Gather Victim Org Information×1

Adversaries may gather information about the victim's organization that can be used during targeting. Information about an organization may include a variety of details, including the names of divisions/departments, specifics of business operations, as well as the roles and responsibilities of key employees.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1592.001Gather Victim Host Information: Hardware×1

Adversaries may gather information about the victim's host hardware that can be used during targeting. Information about hardware infrastructure may include a variety of details such as types and versions on specific hosts, as well as the presence of additional components that might be indicative of added defensive protections (ex: card/biometric readers, dedicated encryption hardware, etc.).

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

Resource Development TA0042

T1587.004Develop Capabilities: Exploits×1

Adversaries may develop exploits that can be used during targeting. An exploit takes advantage of a bug or vulnerability in order to cause unintended or unanticipated behavior to occur on computer hardware or software. Rather than finding/modifying exploits from online or purchasing them from exploit vendors, an adversary may develop their own exploits. Adversaries may use information acquired via Vulnerabilities to focus exploit development efforts. As part of the exploit development process, adversaries may uncover exploitable vulnerabilities through methods such as fuzzing and patch analysis.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1588.007Obtain Capabilities: Artificial Intelligence×1

Adversaries may obtain access to generative artificial intelligence (AI) tools, such as large language models (LLMs), to aid various techniques during targeting. These tools may be used to inform, bolster, and enable a variety of malicious tasks, including creating scripts, assisting social engineering, developing payloads, and to Query Public AI Services in support of Reconnaissance.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

Initial Access TA0001

T1078Valid Accounts×1

Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Compromised credentials may be used to bypass access controls placed on various resources on systems within the network and may even be used for persistent access to remote systems and externally available services, such as VPNs, Outlook Web Access, network devices, and remote desktop. Compromised credentials may also grant an adversary increased privilege to specific systems or access to restricted areas of the network. Adversaries may choose not to use malware or tools in conjunction with the legitimate access those credentials provide to make it harder to detect their presence.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1078.004Valid Accounts: Cloud Accounts×1

Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application. Cloud Accounts can exist solely in the cloud; alternatively, they may be hybrid-joined between on-premises systems and the cloud through syncing or federation with other identity sources such as Windows Active Directory.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

T1190Exploit Public-Facing Application×1

Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network. The weakness in the system can be a software bug, a temporary glitch, or a misconfiguration.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1195.001Supply Chain Compromise: Compromise Software Dependencies and Development Tools×1

Adversaries may manipulate software dependencies and development tools prior to receipt by a final consumer for the purpose of data or system compromise. Applications often depend on external software to function properly. Popular open source projects that are used as dependencies in many applications, such as pip and NPM packages, may be targeted as a means to add malicious code to users of the dependency. This may also include abandoned packages, which in some cases could be re-registered by threat actors after being removed by adversaries. Adversaries may also employ "typosquatting" or name-confusion by choosing names similar to existing popular libraries or packages in order to deceive a user.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

T1195.002Supply Chain Compromise: Compromise Software Supply Chain×1

Adversaries may manipulate application software prior to receipt by a final consumer for the purpose of data or system compromise. Supply chain compromise of software can take place in a number of ways, including manipulation of the application source code, manipulation of the update/distribution mechanism for that software, or replacing compiled releases with a modified version.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

Persistence TA0003

T1078Valid Accounts×1

Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Compromised credentials may be used to bypass access controls placed on various resources on systems within the network and may even be used for persistent access to remote systems and externally available services, such as VPNs, Outlook Web Access, network devices, and remote desktop. Compromised credentials may also grant an adversary increased privilege to specific systems or access to restricted areas of the network. Adversaries may choose not to use malware or tools in conjunction with the legitimate access those credentials provide to make it harder to detect their presence.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1078.004Valid Accounts: Cloud Accounts×1

Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application. Cloud Accounts can exist solely in the cloud; alternatively, they may be hybrid-joined between on-premises systems and the cloud through syncing or federation with other identity sources such as Windows Active Directory.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Privilege Escalation TA0004

T1078Valid Accounts×1

Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Compromised credentials may be used to bypass access controls placed on various resources on systems within the network and may even be used for persistent access to remote systems and externally available services, such as VPNs, Outlook Web Access, network devices, and remote desktop. Compromised credentials may also grant an adversary increased privilege to specific systems or access to restricted areas of the network. Adversaries may choose not to use malware or tools in conjunction with the legitimate access those credentials provide to make it harder to detect their presence.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1078.004Valid Accounts: Cloud Accounts×1

Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application. Cloud Accounts can exist solely in the cloud; alternatively, they may be hybrid-joined between on-premises systems and the cloud through syncing or federation with other identity sources such as Windows Active Directory.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Stealth TA0005

T1027.010Obfuscated Files or Information: Command Obfuscation×1

Adversaries may obfuscate content during command execution to impede detection. Command-line obfuscation is a method of making strings and patterns within commands and scripts more difficult to signature and analyze. This type of obfuscation can be included within commands executed by delivered payloads (e.g., Phishing and Drive-by Compromise) or interactively via Command and Scripting Interpreter.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

T1027.016Obfuscated Files or Information: Junk Code Insertion×1

Adversaries may use junk code / dead code to obfuscate a malware’s functionality. Junk code is code that either does not execute, or if it does execute, does not change the functionality of the code. Junk code makes analysis more difficult and time-consuming, as the analyst steps through non-functional code instead of analyzing the main code. It also may hinder detections that rely on static code analysis due to the use of benign functionality, especially when combined with Compression or Software Packing.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1078Valid Accounts×1

Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Compromised credentials may be used to bypass access controls placed on various resources on systems within the network and may even be used for persistent access to remote systems and externally available services, such as VPNs, Outlook Web Access, network devices, and remote desktop. Compromised credentials may also grant an adversary increased privilege to specific systems or access to restricted areas of the network. Adversaries may choose not to use malware or tools in conjunction with the legitimate access those credentials provide to make it harder to detect their presence.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1078.004Valid Accounts: Cloud Accounts×1

Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application. Cloud Accounts can exist solely in the cloud; alternatively, they may be hybrid-joined between on-premises systems and the cloud through syncing or federation with other identity sources such as Windows Active Directory.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Credential Access TA0006

T1528Steal Application Access Token×1

Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

T1552Unsecured Credentials×1

Adversaries may search compromised systems to find and obtain insecurely stored credentials. These credentials can be stored and/or misplaced in many locations on a system, including plaintext files (e.g. Shell History), operating system or application-specific repositories (e.g. Credentials in Registry), or other specialized files/artifacts (e.g. Private Keys).

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

Lateral Movement TA0008

T1021.004Remote Services: SSH×1

Adversaries may use Valid Accounts to log into remote machines using Secure Shell (SSH). The adversary may then perform actions as the logged-on user.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Command and Control TA0011

T1090.003Proxy: Multi-hop Proxy×1

Adversaries may chain together multiple proxies to disguise the source of malicious traffic. Typically, a defender will be able to identify the last proxy traffic traversed before it enters their network; the defender may or may not be able to identify any previous proxies before the last-hop proxy. This technique makes identifying the original source of the malicious traffic even more difficult by requiring the defender to trace malicious traffic through several proxies to identify its source.

Evidence: 2026-05-12/gtig-ai-threat-tracker-may-2026-first-confirmed-ai-generated · ATT&CK page ↗

T1102.002Web Service: Bidirectional Communication×1

Adversaries may use an existing, legitimate external Web service as a means for sending commands to and receiving output from a compromised system over the Web service channel. Compromised systems may leverage popular websites and social media to host command and control (C2) instructions. Those infected systems can then send the output from those commands back over that Web service channel. The return traffic may occur in a variety of ways, depending on the Web service being utilized. For example, the return traffic may take the form of the compromised system posting a comment on a forum, issuing a pull request to development project, updating a document hosted on a Web service, or by sending a Tweet.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Exfiltration TA0010

T1567.001Exfiltration Over Web Service: Exfiltration to Code Repository×1

Adversaries may exfiltrate data to a code repository rather than over their primary command and control channel. Code repositories are often accessible via an API (ex: https://api.github.com). Access to these APIs are often over HTTPS, which gives the adversary an additional level of protection.

Evidence: 2026-09-17/mandiant-ai-risk-resilience-report-2026 · ATT&CK page ↗

Entries about DARK CASTLE (2)

2026-09-17 · view entry permalink →

NOTABLEupdatedNATOB2

ANNUAL REPORT: Mandiant AI Risk and Resilience Report 2026: eight frontline case studies of AI-related attacks, failures and assessments

Mandiant's 2025 edition of this annual report documented enterprise AI adoption centred on assistive, human-guided knowledge retrieval. The 2026 edition, published in September 2026 and covered by Help Net Security on 2026-09-16 (Help Net Security, 2026-09-16), tracks the shift Mandiant and Google Threat Intelligence Group (GTIG) observed since: distributed, autonomous agentic systems executing API calls, optimising production configurations and analysing telemetry across hybrid-cloud environments with far less human-in-the-loop oversight (Mandiant, 2026-09). The report's eight case studies, which Mandiant presents as observed in its own work (Mandiant, 2026-09), are its most operationally useful content for defenders: each pairs an attack pattern with concrete detection and hardening guidance.

Case study 1: an attacker uses a hijacked AI coding-assistant session to deploy the Shai-Hulud worm. A threat actor compromised a SaaS provider and hijacked an active AI coding-assistant session on a developer's workstation; the assistant, operating as a trusted interpreter, recommended installing an external package the attacker had poisoned (Mandiant, 2026-09). The attacker used the resulting access to install a PyPI-packaged infostealer, harvest GitHub OAuth tokens (T1528), and deploy the self-propagating Shai-Hulud worm across roughly 100 internal repositories, automating theft of repository secrets and exfiltration of proprietary source code; the actor then poisoned a package inside the organization's official namespace, triggering a secondary infection when another employee pulled the compromised version (Mandiant, 2026-09). Hardening: enforce IDE/CLI verification hooks that validate every AI-recommended dependency against cryptographic checksums and approved allowlists, isolate local credentials from extensions, and route dependency traffic through an internal package repository (Mandiant, 2026-09).

Case study 2: a stolen CI/CD credential becomes a live AI co-debugging hub. At a global healthcare organization, an attacker used a compromised long-lived CI/CD credential (T1078.004) to seize an unisolated VM and worked an LLM interactively, in real time, rather than developing malware offline: first synchronizing code and loading README files to align the model with campaign goals, then co-debugging a multi-worker data-harvesting framework to raise its exfiltration frequency to a three-hour cycle, then having the model write dynamic IP-rotation scripts and co-develop a Rust tool to validate stolen financial-account balances. The campaign compromised thousands of credentials (Mandiant, 2026-09). Hardening: replace long-lived access keys with short-lived Workload Identity Federation trust relationships, enforce egress containment (e.g. VPC Service Controls) against unapproved external LLM providers, and run continuous secrets scanning with a runtime prompt firewall (Mandiant names Model Armor) to block hardcoded credentials and offensive script execution in real time (Mandiant, 2026-09).

Case study 3: tampered CLI hooks turn an AI assistant's own extensibility into RCE. At an IT and software-development organization, an attacker poisoned an internal AI repository and tampered with an AI assistant's CLI hooks, achieving native remote code execution through the assistant's own standard operational workflow; the same report also notes attackers separately using AI CLIs to manage command-and-control infrastructure through natural-language queries (Mandiant, 2026-09). Hardening: require all local AI-assistant binaries, CLI helpers, plugins and MCP servers to be signed and verified before execution; enforce multi-party approval and continuous monitoring on internal AI repositories; and sandbox AI-assistant execution engines in micro-segmented, containerized runtimes (gVisor or microVMs) so a subverted hook cannot reach the host, with human-in-the-loop approval required before shell execution, configuration changes or outbound network calls (Mandiant, 2026-09).

Case study 4: just-in-time polymorphic malware. Malware using embedded, lightweight local AI inference fingerprints the active security tools on a host, then dynamically rewrites its own command-execution strings at runtime (T1027.010), never writing a predictable payload to disk, so it evades static EDR signatures while it persists and reconnoiters (Mandiant, 2026-09). Hunt/detection: tune EDR and SIEM for in-memory compilation (unexpected native-compiler process spawns from non-developer parent processes and rapid file-create-execute-delete cycles in temp directories) and baseline endpoint CPU/GPU consumption to catch sudden, unexplained spikes from otherwise-lightweight background processes; response playbooks should suspend the entire parent execution tree (not just the worker thread) and capture a memory snapshot before network isolation (Mandiant, 2026-09).

Case study 5: "Confused Deputy" exfiltration via an allowlisted domain. Mandiant's own offensive-security team used role-confusion prompt injection to convince a client's internal AI assistant, scoped to specific internal repositories, that it was assisting an authorized security test; because GitHub was an allowed external domain, the assistant used its native CLI to clone sensitive internal repositories and push them to an external, tester-controlled account (T1567.001): a sanctioned tool weaponized through semantic manipulation of the assistant's own trust in its task (Mandiant, 2026-09). Hunt/detection: cross-correlate application logs with network egress telemetry, and alert when an internal-facing AI service account initiates unauthorized outbound transfers or opens anomalous external API connections; on detection, invalidate the agent's active OAuth tokens and downgrade its container's egress privileges while keeping the instance alive for prompt-history forensics (Mandiant, 2026-09).

Case study 6: a runaway reasoning loop triggers a $50,000 "denial-of-wallet." A financial-services accounting-reconciliation agent with read/write access to billing databases hit a corrupted null-value formatting bug and entered an unconstrained recursive reasoning loop trying to self-correct, firing over 15,000 high-cost API calls in under an hour, spiking cloud billing roughly $50,000 and causing severe local database locking that halted active business transactions (Mandiant, 2026-09). This is an operational-resilience failure rather than an external attack, but the mechanics are identical to a denial-of-service condition. Hardening: define cost-cap thresholds and bounded recursion limits at the service-identity and project level, and implement automated financial circuit breakers that halt agent operations after a set number of consecutive task failures (Mandiant, 2026-09).

Case study 7: indirect prompt injection could leak cross-tenant PII. Mandiant assessed a public-facing customer-service agent that used Retrieval-Augmented Generation over community forum comments and support tickets: the customer had not considered indirect prompt injection, so hidden instructions in retrieved entries could be read by the model as system-level commands and could potentially hijack its reasoning to expose other customers' PII from their support tickets in its responses (Mandiant, 2026-09). This is a weakness Mandiant identified, not an observed leak. Hardening: treat all RAG-retrieved content (forum posts, tickets, partner feeds) as untrusted input; enforce tenant-isolated vector indexing so a public-facing agent cannot query cross-tenant data; and route incoming context and generated responses through a semantic firewall (Model Armor or equivalent) to strip injected instructions and screen for PII before it reaches an end user (Mandiant, 2026-09).

Case study 8: agentic SOC triage catches DARK CASTLE (ex-UNC2814). A backdoor hid its command-and-control inside legitimate cloud productivity-spreadsheet traffic (T1102.002) as part of an espionage campaign targeting global telecommunications providers and government organizations (Mandiant, 2026-09). A single, low-frequency anomalous command execution, the kind a human analyst would typically triage as low-severity, was escalated by the defending team's agentic AI triage pipeline, which autonomously correlated it with subtle outbound-traffic signals to reconstruct a complete attack timeline, letting engineers trace the actor's lateral movement over SSH (T1021.004) and privilege escalation by an unstated mechanism, and sever its access before it spread further (Mandiant, 2026-09).

Mandiant's cross-cutting architectural recommendation is to replace static service-account identities with cryptographically bound, lifecycle-integrated agent identities (such as Google's Agent Identity) across five pillars: hyper-segmented identity perimeters, dual-execution authority requiring human re-authorization for high-risk bulk actions, data/tool/operational governance (financial circuit breakers, bounded recursion), active multi-layered telemetry (semantic firewalls, behavioral monitoring), and treating AI coding assistants and MCP servers as privileged sessions requiring cryptographic CLI-hook integrity checks (Mandiant, 2026-09).

By executing this recommendation, the assistant inadvertently functioned as a trojan horse, facilitating the installation of malicious software.

deploy the self-propagating Shai-Hulud worm across approximately 100 internal code repositories

In under an hour it generated over 15,000 high-frequency, high-cost reasoning API calls, triggering a sudden ~$50,000 cloud-billing spike and causing severe local database locking that halted active business transactions.

the malware dynamically rewrites its own command execution strings at runtime to bypass detection

Behavior-based detection successfully thwarted a global cyber espionage campaign (threat actor DARK CASTLE, formerly tracked as UNC2814) targeting global telecommunications providers and government organizations.

Mandiant
Correctionrun 2026-10-11T1307Z-auditheadlinesummarytechniquesbodysourcestitleevent_date

Mandiant's report describes case study 1 as a threat actor who compromised a SaaS provider and hijacked an active AI coding-assistant session, after which the assistant recommended a package the attacker had poisoned; the actor later poisoned a package inside the organization's official namespace (Mandiant, 2026-09). Case study 7 is a weakness Mandiant identified in a customer's RAG agent, which "could potentially hijack the model's reasoning" and expose other customers' PII (Mandiant, 2026-09); it is not a reported leak. Case study 2's AI-built tool was a data-harvesting framework, case study 6's runaway agent caused "severe local database locking that halted active business transactions", and Mandiant's example of a cryptographically bound agent identity is Agent Identity (Mandiant, 2026-09).

Correctionrun 2026-10-20T0835Z-auditbodyheadlinesummarytitle

Mandiant does not say the poisoned package spread the worm: after the hijacked AI coding-assistant session recommended a package the attacker had poisoned, the attacker used the developer's active session to install an infostealer through a poisoned PyPI package, harvest GitHub OAuth tokens and deploy the Shai-Hulud worm across approximately 100 internal code repositories (Mandiant, 2026-09). The hardening and hunting guidance under each case study is Mandiant's own, from the defensive controls the report lists for that case (Mandiant, 2026-09).

annual-report17 Sep 04:52Zsingle-sourceOpen finding →

2026-05-12 · view entry permalink →

NOTABLEupdatedNATOB2

GTIG AI Threat Tracker (May 2026): an AI-developed zero-day 2FA bypass prepared for mass exploitation, AI decoy code in Russia-nexus malware and PROMPTSPY's Gemini agent

Google Threat Intelligence Group's AI Threat Tracker of 2026-05-11, drawn from Mandiant incident response engagements, Gemini and GTIG's own research, follows its February 2026 report on AI-related threat activity (GTIG, 2026-05-11).

An AI-developed zero-day prepared for mass exploitation

GTIG observed prominent cybercrime actors partnering to plan a mass vulnerability-exploitation operation around a zero-day exploit, implemented in a Python script, that bypasses two-factor authentication on a popular open-source, web-based system administration tool; GTIG worked with the vendor to disclose the flaw and disrupt the activity, and says its counter-discovery may have prevented the exploit's use (GTIG, 2026-05-11). The bypass requires valid user credentials and stems from a high-level semantic logic flaw, a trust assumption the developer hardcoded, rather than from memory corruption or input sanitisation (GTIG, 2026-05-11). GTIG does not believe Gemini was used but has high confidence that an AI model supported the discovery and weaponisation, citing abundant educational docstrings, a hallucinated CVSS score and a textbook Pythonic structure with detailed help menus and a clean _C ANSI colour class (GTIG, 2026-05-11). Google did not name the tool (The Hacker News, 2026-05-11). Contradiction: The Hacker News calls this the first time AI was put to use in the wild for exploit generation (The Hacker News, 2026-05-11), whereas GTIG says the planned mass exploitation may have been prevented (GTIG, 2026-05-11).

State actors using AI for vulnerability research and infrastructure

UNC2814 prompted Gemini with expert security personas to support vulnerability research into embedded targets including TP-Link firmware and Odette File Transfer Protocol (OFTP) implementations, and APT45 sent thousands of repetitive prompts that recursively analyse different CVEs and validate proof-of-concept exploits (GTIG, 2026-05-11). APT27 used Gemini to develop a fleet-management application likely meant for an operational relay box network, with the hop count hardcoded to three and mobile Wi-Fi and router devices among the supported types (GTIG, 2026-05-11). Actors also prompt models for the organisational hierarchies and third-party relationships of large enterprises to tailor phishing lures, one tried to identify the exact computer model a high-value target used, and a suspected PRC-nexus actor ran the agentic tools Hexstrike and Strix against a Japanese technology firm and an East Asian cybersecurity platform (GTIG, 2026-05-11).

Malware with AI-generated decoys and an AI-driven Android backdoor

Russia-nexus activity against Ukrainian organisations delivers CANFAIL and LONGSTREAM, which use LLM-generated decoy code to obfuscate their malicious functionality: CANFAIL's source carries LLM comments labelling unused filler blocks, and LONGSTREAM queries the system's daylight-saving status 32 times to pad the script with benign-looking activity (GTIG, 2026-05-11). PROMPTFLUX and HONESTCUE, which call the Gemini API to generate or obfuscate code, featured in GTIG's earlier reports (GTIG, 2026-05-11). The Android backdoor PROMPTSPY, first identified by ESET, runs an agent module that serialises the visible user interface through the Accessibility API, sends it to the gemini-2.5-flash-lite model in an HTTP POST and turns the JSON reply into simulated taps and swipes; it can replay captured PINs or lock patterns, lays an invisible overlay over the uninstall button and can rotate its Gemini API keys and VNC relay through its C2 (GTIG, 2026-05-11).

Pooled LLM access and attacks on AI components

UNC6201 tried a public script that registers and immediately cancels premium LLM accounts, and UNC5673, a PRC-nexus cluster with notable overlaps with TEMP.Hex that has targeted government sectors mainly in South and Southeast Asia, uses Claude-Relay-Service and CLI-Proxy-API to pool Gemini, Claude and OpenAI accounts (GTIG, 2026-05-11). TeamPCP (UNC6780) gained initial access through compromised PyPI packages and malicious pull requests to GitHub repositories including those of Trivy, Checkmarx, LiteLLM and BerriAI, embedded the SANDCLOCK credential stealer to extract AWS keys and GitHub tokens from build environments and monetised them with ransomware and data-theft extortion groups; GTIG adds that the LiteLLM compromise could expose considerable AI API secrets (GTIG, 2026-05-11).

For the first time, GTIG has identified a threat actor using a zero-day exploit that we believe was developed with AI. The criminal threat actor planned to use it in a mass exploitation event but our proactive counter discovery may have prevented its use.

The vulnerability can be classified as a 2FA bypass, though it requires valid user credentials in the first place.

Analysis confirms the use of CANFAIL and LONGSTREAM, which utilize LLM-generated decoy code to obfuscate their malicious functionality.

For example, they employ "Claude-Relay-Service" to aggregate multiple Gemini, Claude, and OpenAI accounts, enabling account pooling and cost-sharing.

TeamPCP gained initial access through compromised PyPI packages and malicious pull requests to these GitHub repositories.

Google Threat Intelligence Group 2026-05-11

marking the first time the technology has been put to use in the wild in a malicious context for vulnerability discovery and exploit generation.

The Hacker News 2026-05-11
Correctionrun 2026-10-21T1148Z-auditaffected_productsbodyclassificationentitiesevidenceheadlineprioritysourcessourcing_notesummarytechniquestitle

GTIG reports the first zero-day exploit it believes was developed with AI, prepared by criminals for a planned mass-exploitation event that its counter-discovery may have prevented, not an exploit confirmed in use in the wild; the 2FA bypass also requires valid user credentials (GTIG, 2026-05-11). CANFAIL and LONGSTREAM do not call an LLM at runtime: they carry LLM-generated decoy code to obfuscate their functionality, and the report's example of malware driven by an LLM at runtime is the Android backdoor PROMPTSPY (GTIG, 2026-05-11). UNC5673 overlaps with TEMP.Hex rather than being it, and uses relay tooling to pool LLM accounts; the report does not describe stolen LLM API keys as a primary objective or a criminal market for them, and its only point on AI API secrets is that the LiteLLM compromise could expose them (GTIG, 2026-05-11). TeamPCP entered through compromised PyPI packages and malicious pull requests to GitHub repositories, and embedded SANDCLOCK to take AWS keys and GitHub tokens from build environments (GTIG, 2026-05-11).

threat12 May 05:00Zmulti-sourceOpen finding →

Co-occurring entities

Derived: referenced by the same focused operational entries (weekly summaries and report roundups don't count); ×N counts the shared entries.

Where this entity is cited

  • Deep dive2

Source distribution

  • cloud.google.com3 (38%)
  • helpnetsecurity.com2 (25%)
  • securityweek.com1 (12%)
  • thehackernews.com1 (12%)
  • theregister.com1 (12%)