1-minute read
What a defender needs to know
Palo Alto Networks Unit 42 investigated more than ten AI-agent campaigns from July through September 2026. Every observed intrusion started with a web shell on a vulnerable web application. In a subset with measured phases, the median gap between commands dropped from 23.9 seconds during manual operation to 1.4 seconds once an agent took over. Human operators still chose targets and objectives.
Start with exposed application servers and the accounts and cloud roles those servers can reach. Correlate web-worker child processes, rapid unique-command bursts, structured output, ===[Title]=== delimiters and reasoning comments with server file writes and outbound connections. In one reported case an agent moved from a Linux PHP web shell to a Windows IIS server using stolen SMB credentials, then placed ASPX shells in more than 40 locations. On EC2, inspect the instance role’s permissions and CloudTrail for unusual service and region enumeration; an agent in another case obtained an IMDSv2 token after IMDSv1 was blocked. Use 204.194.54[.]240 to pivot through network logs for this campaign, then corroborate a match with the web-host process chain.
Patch the vulnerable web application, remove unauthorized shells, rotate exposed credentials and narrow role and SMB access. Verify the repaired entry path, then reconcile the host process and file timeline with role activity, SMB logons and destination web-root changes. A command delimiter by itself is a weak lead; trace the whole process chain before attributing it to an agent.