Unit 42: AI Agents Drove 10+ Intrusions, What to Hunt
TL;DR · the short version
On 24 November 2026 Unit 42 (Palo Alto Networks) published "Recent Trends and Tactics of Agentic AI Attacks", describing more than 10 campaigns between July and September 2026 in which attackers used autonomous AI agents after getting in through web shells on vulnerable internet-facing web apps. The agents enumerated cloud services (20 AWS services across eight regions in one case), stole credentials through the instance metadata service and from a compromised web server, tried privilege escalation exploits one after another and compiled code on the target, and moved laterally, in one case pushing ASPX web shells to more than 40 locations in 26 minutes. In one campaign the agent was active for 140 minutes across two days and ran about 800 unique commands. Unit 42 says the techniques are familiar ("not a new class of attack sophistication"); what changes is the pace: the median gap between commands fell from 23.9 seconds to 1.4 seconds when the agent took over. It names no actor, victim or model, and concludes a human operator was behind the agent infrastructure.
On 24 November 2026, Unit 42, Palo Alto Networks' threat research team, reported more than 10 campaigns between July and September 2026 in which attackers let autonomous AI agents drive the intrusion after getting in through web shells. The agents ran reconnaissance, harvested credentials, tried privilege escalation and moved laterally; in one campaign an agent ran about 800 unique commands in 140 minutes of activity. Unit 42 is clear that the techniques are familiar. What is new is the pace. It names no actor, victim or model.
Who this is for: CISOs, SOC and detection leads, cloud security teams and anyone who owns internet-facing web applications.
Based on Unit 42's report "Recent Trends and Tactics of Agentic AI Attacks" by Noa Dekel and Tom Fakterman (24 November 2026), read on 25 November 2026. Every number is Unit 42's. Unit 42 sells the defensive products its report recommends; we leave those out. PlayCISO is not affiliated with Palo Alto Networks.
Confirmed vs not yet known
Unit 42 reports: 10+ campaigns, July to September 2026; web shells as the initial foothold in every one; sectors government, logistics, hospitality, manufacturing, agriculture and education; the 800-commands-in-140-minutes and 8,000-commands-over-12-days campaigns; the behavioural signs listed below.
Unit 42 assesses: a human operator stood behind the agent infrastructure; in one cloud case the agent was told only to collect information.
Not stated: which threat actor, which victims, which AI model or framework (Unit 42 says it found no markers tying the activity to one), how the web shells were planted in each case, and what data was taken.
What the agents did
- Reconnaissance. Enumerated cloud services, websites and databases; in one cloud case, 20 AWS services across eight regions. Agents also probed sister companies of the victim.
- Credential harvesting. Tried to steal instance-role credentials through the instance metadata service, switching from IMDSv1 to IMDSv2 when v1 was blocked. Used a credential exposed on a compromised web server to try a vendor's GitLab instance. Unit 42 notes the GitLab credential came from a compromised third-party server, not a GitLab flaw.
- Privilege escalation. Tried five techniques in a row when earlier ones failed, including PwnKit (CVE-2021-4034) (a pre-compiled binary, then compiled from source on the target) and a pre-compiled CVE-2024-1086 exploit. Unit 42 also mentions the Linux kernel flaw CVE-2026-31431 ("Copy Fail").
- Lateral movement. Moved from a Linux server to a Windows IIS server with stolen SMB credentials and pushed ASPX web shells to more than 40 locations in 26 minutes.
- Going after money. Targeted payment and financial data, harvested CSRF tokens, tried credential reuse and SQL injection.
Unit 42's verdict: "What we observed is not a new class of attack sophistication." It also notes that no compiled backdoors, custom C2 frameworks, DLL implants or shellcode loaders were recovered, a departure from what it usually sees from advanced actors.
How to tell an agent from a person
Unit 42 lists the behaviour that gave the agents away. These are your hunting leads:
- Speed: the median gap between commands dropped from 23.9 seconds under a human operator to 1.4 seconds once the agent took over.
- Section headers in output: delimiters like
===[Title]===appeared in every campaign. - Reasoning comments: conversational, step-by-step comments inside scripts in more than half of the campaigns.
- Payload volume: 40 to 100 unique Base64-encoded payloads per session, no two identical across victims, which is why Unit 42 calls signature-based attribution "largely ineffective".
- Adaptive retries: one technique fails, the next starts seconds later; exploit code is rewritten and recompiled on the box.
Practise spotting those rhythms in the Human or Agent lab and the AI pentesting detector lab.
Useful next, if this was relevant to you
Who was behind it
Unit 42 names no threat actor and says "we did not encounter behavioral markers that link agentic activity to specific LLM models or orchestration frameworks." Infrastructure pivoting tied one IP address to CyberStrikeAI, which Unit 42 describes as an AI-native offensive security platform, and it reports that ReliaQuest saw the same IP in a separate case. An accidental file path and Chinese-language code comments are noted as leads. Its conclusion: "a human operator was behind these agentic infrastructures." For the open-source agentic frameworks other researchers have tied to intrusions, see our coverage of ARTEX and the PHP2Shell campaign run by 39 AI agent workers.
Timeline
| Date | Event | Source |
|---|---|---|
| July to September 2026 | More than 10 campaigns in which AI agents drove intrusions after web-shell access | Unit 42 |
| Two days (dates not given) | One campaign: agent active 140 minutes, about 800 unique commands | Unit 42 |
| 12 days (dates not given) | Another campaign: more than 8,000 unique commands | Unit 42 |
| 24 November 2026 | Unit 42 publishes "Recent Trends and Tactics of Agentic AI Attacks" | Unit 42 |
What security leaders should do this week
- Close the door the agents walked through. Every campaign began with a web shell on a vulnerable internet-facing web app. List those apps, patch them, and hunt for unexpected
.aspx,.phpand.jspfiles in web roots. - Write detections for machine pace. Alert on interactive shells issuing commands seconds apart for long stretches,
===[...]===output markers, and bursts of unique Base64 payloads. Signatures will not keep up; behaviour will. - Lock down cloud credentials. Enforce IMDSv2 with a hop limit of 1, give instance roles least privilege, and alert on enumeration of many services or regions from one role.
- Patch Linux privilege escalation. PwnKit, CVE-2024-1086 and CVE-2026-31431 are named in the report. Check internet-facing Linux servers first.
- Harden internal tools. Unit 42's GitLab list: enforce MFA, enable sign-in rate limiting, restrict access by IP where possible, keep instances up to date. The same applies to any code or CI platform an agent could reach with a stolen credential.
- Measure where you stand. Run the Agentic Attack Readiness Scorecard and map the techniques in the AI Attack Technique Map.
Frequently asked questions
What did Unit 42 find about AI agents in real attacks?
In a report published on 24 November 2026, Unit 42 (Palo Alto Networks) says it tracked more than 10 campaigns worldwide between July and September 2026 in which attackers handed parts of an intrusion to autonomous AI agents. After getting in through web shells, the agents ran reconnaissance, harvested credentials, tried privilege escalation and moved laterally at machine speed. Targets were in government, logistics, hospitality, manufacturing, agriculture and education.
How did the attackers get in?
Through web shells. Unit 42: "In every observed campaign the attackers gained their initial foothold through web shells," deployed through vulnerable web applications on internet-facing servers. The report does not say the AI agent found or exploited the initial vulnerability; the agentic activity Unit 42 describes starts after the web shell was in place.
Did an AI agent really run 800 commands in 140 minutes?
That is what Unit 42 reports for one campaign: "the AI attacker was active for only 140 minutes across two days" and "the AI agent executed about 800 unique commands at an inhuman pace." It also describes another campaign that ran over 12 days with more than 8,000 unique commands, and an agent that pushed ASPX web shells to more than 40 locations in 26 minutes.
How did Unit 42 know it was an AI agent and not a person?
By behaviour. Unit 42 says the median gap between commands fell from 23.9 seconds while a human was operating to 1.4 seconds once the agent took over; output was wrapped in section headers like ===[Title]=== in every campaign; scripts carried conversational, step-by-step reasoning comments in more than half of the campaigns; and agents delivered 40 to 100 unique Base64-encoded payloads per session, none identical across victims. Unit 42 says it did not find markers tying the activity to a specific model or orchestration framework.
Are AI-agent attacks a new kind of attack?
Unit 42 says no: "What we observed is not a new class of attack sophistication." The agents used familiar techniques and public exploits, such as PwnKit (CVE-2021-4034) and a pre-compiled CVE-2024-1086 exploit, and IMDS credential theft in the cloud. What changed is speed, persistence across failures (one agent tried five privilege escalation techniques in a row and compiled exploit code on the target when binaries failed) and per-target custom code that defeats signature matching.
Who was behind the AI agent attacks?
Unit 42 names no threat actor and no victim. It concludes that "a human operator was behind these agentic infrastructures." Infrastructure pivoting tied one IP address to CyberStrikeAI, which Unit 42 describes as an AI-native offensive security platform, and it notes a file path and Chinese-language code comments as leads. Those are leads, not an attribution.
What should defenders do about AI agent intrusions?
Close the entry point first: Unit 42 saw web shells on vulnerable internet-facing web apps in every campaign, so patch and inventory those servers and hunt for web shells. Then hunt for the behaviour Unit 42 describes (sub-second command bursts, ===[Title]=== headers, reasoning comments in scripts, many unique Base64 payloads), enforce IMDSv2 and least-privilege instance roles, harden internal tools like GitLab (Unit 42 lists MFA, sign-in rate limiting, IP restrictions and patching), and patch Linux kernel privilege escalation bugs such as CVE-2026-31431.
Sources
- Unit 42 (Palo Alto Networks): Recent Trends and Tactics of Agentic AI Attacks by Noa Dekel and Tom Fakterman (24 November 2026; read 25 November 2026), the primary source for every finding above
- NVD: CVE-2021-4034 (PwnKit) and NVD: CVE-2024-1086
- AWS: configuring the instance metadata service (IMDSv2)
This article is educational guidance for security leaders. Findings and assessments are Unit 42's; check its report for updates and indicators.