Unit 42 details machine-speed agentic AI intrusion campaigns

src-da64b5aa

Attackers used autonomous AI agents to conduct more than 10 campaigns worldwide between July and September 2026, according to research published by Palo Alto Networks’ Unit 42 on November 24. The campaigns targeted organizations in sectors including government, logistics, hospitality, manufacturing, agriculture and education. Investigators said the agents accelerated familiar intrusion techniques, carrying out reconnaissance, credential harvesting, privilege escalation and lateral movement at a pace that would be difficult for a human operator to match.

Across the campaigns analyzed, initial access came through web shells deployed on vulnerable internet-facing applications. Human operators typically provided the initial foothold and a broad objective; an AI agent then carried out operational tasks, reported findings in structured formats and adapted its actions to the environment. Humans remained involved in strategic decisions, such as which assets to prioritize or whether to pursue persistence.

Familiar techniques, compressed timelines

Unit 42 emphasized that the observed campaigns did not depend on fundamentally new attack methods. Instead, the agents combined open-source tools and lightweight, often single-use scripts to perform established tasks quickly and repeatedly. In one investigation, an agent issued about 800 unique commands during roughly 140 minutes of activity spread across two days. Another campaign involved more than 8,000 unique commands over 12 days.

In a subset of cases where researchers could compare human and agent-operated phases, the median gap between commands fell from 23.9 seconds during manual reconnaissance to 1.4 seconds after the operation passed to an AI agent. Such speed can shorten the interval defenders have to detect an intrusion, investigate activity and contain compromised systems.

The researchers also identified behavioral clues that may distinguish agentic activity from conventional operator workflows. Every campaign they observed used section headers or delimiters in commands and scripts to organize output. In more than half, scripts included conversational reasoning comments explaining the logic behind actions. Machine-readable reporting and rapid, iterative command execution were additional indicators. These are not, on their own, proof that an AI agent is involved, but they can help analysts assess unusual activity in context.

Agents adapted across systems and cloud services

The campaigns often began on Linux web servers before moving to other environments. In one case, an agent used stolen SMB credentials to pivot from a compromised Linux server to a Windows IIS server. Within two minutes of identifying that system, it began deploying ASPX web shells over SMB; over the next 26 minutes, it placed web shells in more than 40 locations and used five variants.

Unit 42 also described activity against cloud infrastructure. In a campaign involving a U.S.-based hospitality and gaming company, an agent found an AWS EC2 instance role and attempted to obtain credentials through the Instance Metadata Service. After IMDSv1 was blocked, it shifted to IMDSv2 and succeeded after repeated attempts. It then enumerated 20 AWS services across eight regions, collecting information about storage buckets, email services and secrets management. The agent searched for payment and financial data paths after finding bucket names in configuration files. Researchers assessed that a human operator had directed it to gather information in preparation for possible later action; they reported no harmful action in the production environment in this case.

Another investigation showed how a foothold could expose risks beyond the initially compromised organization. An agent found credentials for a vendor’s self-managed GitLab instance on a victim’s web server, then probed the vendor and attempted to access GitLab. Unit 42 said no GitLab vulnerability was exploited: the credentials had been exposed through the compromised third-party server. The agent also examined related organizations on the internal network and attempted further access using information gathered from the original target.

Detection and response implications

The agents were fast, but their activity was not necessarily quiet. Unit 42 reported that they generated large numbers of commands and tailored payloads, while also showing awareness of defensive tools. In some cases, agents excluded endpoint security directories from file searches, checked for installed security scanners or examined security product components. Researchers also observed an agent using system-call tracing to inspect Microsoft Defender for Endpoint activity.

That combination presents a challenge for security operations teams: high-volume behavior may be conspicuous, while the actions themselves can adapt to findings and probe defensive boundaries. Analysts should correlate command velocity and script structure with the access path, account activity, host telemetry and subsequent movement across systems. A single marker, such as a scripted header or an unusual command burst, should be treated as an investigative lead rather than a definitive attribution.

Because web shells were the initial foothold in every campaign analyzed, organizations should prioritize the security of internet-facing applications, investigate unexpected web-shell activity and review systems for unauthorized command execution. Teams should also examine cloud identity and instance-role permissions, protect credentials stored in configuration files, and monitor for unusual access to cloud services and sensitive data. Rapid containment matters: the observed command rates show that an attacker can move from an exposed web application to broader infrastructure quickly.

Unit 42’s findings describe campaigns observed during a specific period and do not establish that every rapid or highly scripted intrusion involves AI. They do show that autonomous agents can make conventional attack chains faster and more adaptive, while leaving behavioral traces defenders can use in detection and investigation.