AI Agents Are Now Running Real Attacks, Compressing Intrusions From Days to Hours
Palo Alto Networks' Unit 42 team reports that autonomous AI agents are no longer a theoretical risk. Between July and September 2026, researchers identified and tracked more than 10 global campaigns in which attackers used agentic AI to enhance their operations. Targets spanned government, logistics, hospitality, manufacturing, agriculture and education.
An agentic AI attacker is an AI system, usually a large language model with the ability to use tools, that plans, runs and adjusts attack steps without constant human direction. It works in a loop: it observes its environment, decides what to do next, acts, then studies the result. In every campaign observed, the initial foothold came from web shells deployed through vulnerable web applications.
The novelty was speed rather than technique. The agents used familiar open-source tools and lightweight custom scripts, matching proficient human attackers while working at machine scale. In one case, an agent was active for only 140 minutes across two days. It moved from web shell access to reconnaissance of the victim's cloud environment, website and databases, running about 800 unique commands. Another campaign ran for 12 days and involved more than 8,000 unique commands. In one set of attacks, the median gap between commands fell from 23.9 seconds under human control to 1.4 seconds once an AI took over.
The speed came at a cost to stealth. AI operators left clear fingerprints, including section headers such as ===[Title]=== in shell commands and scripts, which help the AI parse output. In more than half of the campaigns, scripts also contained conversational reasoning comments explaining each step. Unit 42 also found that the most successful intrusions combined human oversight with AI agents.
Why it matters
Any organisation running public web applications is exposed, and the assumption that defenders have days to detect and respond after initial access no longer holds when an agent can cover reconnaissance of cloud, website and databases in about two hours. The entry point is unchanged, so the control that matters is still preventing and spotting web shells, but detection must now work at machine pace. The behavioural fingerprints give defenders something concrete to hunt for.
What to do
- Patch vulnerable internet-facing web applications and scan them for unexpected web shells.
- Hunt for shell commands or scripts containing section headers such as ===[Title]===.
- Look for scripts with conversational, step-by-step reasoning comments left by an AI operator.
- Alert on bursts of hundreds of commands with gaps of around one to two seconds between them.