Skip to content
AI Security Wire

Published

- 4 min read

By

Unit 42: Over 10 Agentic AI Attack Campaigns Seen, All Entered by Web Shell

img of Unit 42: Over 10 Agentic AI Attack Campaigns Seen, All Entered by Web Shell

Palo Alto Networks’ Unit 42 published research on 24 November 2026 on what it calls agentic AI attackers: autonomous, LLM-driven operators working inside victim networks. Between July and September 2026 it says it identified and tracked more than 10 campaigns in which different attackers deployed such agents. Targets included, among others, government, logistics, hospitality, manufacturing, agriculture and education organisations.

Everything below is Unit 42’s own account. We read the Unit 42 post only, and could not independently confirm its telemetry or the victim details.

Web shell in, agent takes over

Unit 42 says all of the campaigns began the same way: a web shell on a vulnerable web application. A human operator typically chose the target and supplied that foothold, sometimes running an initial assessment. The agent then took over reconnaissance, credential harvesting, privilege escalation and lateral movement, reported back in machine-readable output, and waited for the human to set strategy, for example to go after a payment system or establish persistence.

Unit 42 is blunt that the techniques were not new. The novelty was pace. In one case the agent was active for 140 minutes across two days and ran about 800 unique commands. Another campaign ran 12 days and more than 8,000 unique commands. In a subset of attacks, the median gap between commands was 23.9 seconds while a human did manual recon, then 1.4 seconds after the agent took command.

What the agents did

Unit 42 describes several cases:

  • Cloud pivots. At a US hospitality and gaming company, an agent that found an AWS EC2 instance role tried to steal credentials through the instance metadata service. When IMDSv1 was blocked it switched to IMDSv2 token acquisition and succeeded after several attempts, then enumerated 20 AWS services across eight regions. Unit 42 assesses that no harmful actions were taken and that the agent was collecting information ahead of a possible takeover.
  • Linux to Windows. One agent compromised a Linux server through a PHP web shell, used stolen SMB credentials to reach a Windows IIS server, and within two minutes of identifying the Windows IIS server began deploying ASPX web shells. Over 26 minutes it pushed web shells to more than 40 locations.
  • Supply chain reach. After finding credentials for an IT vendor’s self-managed GitLab on the victim’s web server, one agent probed the vendor and attempted brute-force access, using real names of marketing staff. Unit 42 says no GitLab vulnerability was exploited.
  • Security tool awareness. One agent excluded EDR directories from file searches on six endpoints and checked for 16 security scanners. Another ran strace against the Microsoft Defender for Endpoint process.

Unit 42 also reports no compiled backdoors, custom C2 frameworks or shellcode loaders were recovered. The agents used short, single-use scripts and public exploits first, including the Copy Fail Linux kernel flaw (CVE-2026-31431), PwnKit (CVE-2021-4034, our mapping; Unit 42 names only PwnKit) and a CVE-2024-1086 exploit. In our check of the CISA KEV feed, version 2026.11.25, all three CVEs are listed; that shows exploitation has been observed in general, not that these campaigns’ attempts succeeded. All three are local privilege escalations, used after the web shell foothold. NVD carries a primary 7.8 for CVE-2024-1086 and CVE-2021-4034; for CVE-2026-31431 we found only CNA-supplied 7.8 scores.

Fingerprints defenders can hunt

The agents were noisy. Unit 42 lists section headers like ===[Title]=== in shell commands in every campaign, and reasoning-style comments inside scripts in more than half. It also saw 40 to 100 unique Base64 payloads in a single session, none matching known tool signatures, so hash-based detection will struggle.

On attribution, Unit 42 says it found no markers linking activity to a specific model or framework. It did tie one hard-coded C2 address, 204.194.54[.]240, to a host running an instance of CyberStrikeAI, and says ReliaQuest documented the same address in a separate agent-driven attack (we did not open that report). An accidentally pasted path containing exploitmasteryai was, in Unit 42’s words, the only concrete indicator of a framework identity in that campaign.

What to do

Our assessment: the entry point is the part you can control. Patch and monitor internet-facing web applications, look for new web shells, and alert on command bursts with sub-two-second spacing, section-header delimiters and cloud enumeration that follows a web server compromise. Enforce IMDSv2, and review whether IT vendors’ credentials sit on web servers. Unit 42 also recommends multi-factor authentication on self-managed source code platforms. For related reading, see our coverage of Unit 42’s Cairn findings and behavioural hunts for ARTEX-style attackers.

References

Frequently Asked Questions

How did the agentic attackers get in?
Unit 42 says every campaign it observed began with a web shell deployed through a vulnerable web application. A human operator usually supplied that foothold, then handed the agent the next stages: reconnaissance, credential harvesting, privilege escalation and lateral movement.
How can defenders tell an AI operator from a human one?
Unit 42 points to command pace and to habits in the scripts. In a subset of attacks the median gap between commands fell from 23.9 seconds (human phase) to 1.4 seconds (agent phase). Section headers such as ===[Title]=== appeared in every campaign, and reasoning-style comments in more than half.
Did Unit 42 link the activity to one group or one model?
No. Unit 42 says it found no behavioural markers tying the activity to a specific model or orchestration framework. It did find one C2 address also hosting an instance of CyberStrikeAI, which it says pinpoints a specific orchestration platform in that case, and an accidentally pasted file path containing exploitmasteryai. Unit 42 calls such artifacts attribution leads and says attribution is increasingly difficult.