Unit 42: more than ten campaigns in July to September 2026 ran autonomous AI agents from web-shell footholds on vulnerable web applications, with a command-gap median of 1.4 seconds, ===[Title]=== script headers and 40 to 100 unique Base64 payloads per session
Unit 42: AI agents behind web shells in 10+ campaigns; hunt 1.4 s command gaps and ===[Title]=== headers
Analysis
Unit 42 tracked more than ten global campaigns between July and September 2026 in which different attackers deployed autonomous AI agents, against sectors including government, logistics, manufacturing, agriculture and education. Every campaign began with a web shell deployed through a vulnerable web application, typically supplied by the human operator, after which the agent did reconnaissance, credential harvesting, privilege escalation and lateral movement; Unit 42 names no product, CVE or flaw class for the entry vectors and says the novelty was speed and efficiency, not technique (Unit 42, 2026-11-24).
The traces: a median gap of 1.4 seconds between commands once an agent took over, against 23.9 seconds in the human phase of a subset of attacks; about 800 unique commands in 140 minutes in one case; section headers such as ===[Title]=== in shell commands and scripts in every campaign and step-by-step reasoning notes in more than half; 40 to 100 unique, target-tailored Base64 payloads per session; and no compiled implants, the arsenal being in most cases simple single-use scripts such as PHP web shells, PowerShell WMI backdoors and Python credential harvesters. The agents probed defences: the same find command ran on six endpoints excluding three security vendors, and one agent applied strace to the Microsoft Defender for Endpoint daemon (Unit 42, 2026-11-24).
The Copy Fail exploit recurred across several organisations; in a different attack sequence an agent tried the public PwnKit and CVE-2024-1086 binaries, then wrote custom C on the target and rewrote the exploit in Python, and Unit 42 saw agents try five techniques in sequence when earlier ones failed. In one AWS case it switched to IMDSv2 token acquisition after IMDSv1 was blocked and enumerated 20 services across eight regions; in another it pushed web shells to more than 40 locations on a Windows IIS server within 26 minutes, and Unit 42 describes another agent that found a vendor's GitLab credentials on a victim's web server and tried to brute-force access to that GitLab instance, exploiting no GitLab flaw (Unit 42, 2026-11-24).
Unit 42 found no behavioural marker tying the activity to a model or framework; a command-and-control address in one campaign also hosted a CyberStrikeAI instance, from which it infers the orchestration platform (Unit 42, 2026-11-24). ReliaQuest saw a credential-gated CyberStrikeAI login page on a staging host and could not determine whether the tool played a part (ReliaQuest, 2026-10-07).
Triage: Base64 commands and reconnaissance appear in human-operated intrusions; Unit 42's discriminators are the volume and uniqueness of payloads, the command cadence and the headers, which it says rarely appear in human-operated attacks except with pre-coded scripts.
Cited evidence
Once an AI operator took command, the median inter-command gap dropped to 1.4 seconds.
In every campaign that we observed, AI operators used section headers in shell commands and scripts, such as ===[Title]===.
Sources2
AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.