Skip to the stories
AI & ML

Agentic AI Attackers Compress Intrusions Into Hours, Leaving Behavioral Clues

  • Noa Dekel and Tom Fakterman
  • 747 reads

More than 10 campaigns show AI agents accelerating familiar attack methods, adapting across cloud and operating systems, and exposing clues defenders can track.

Agentic AI Attackers Compress Intrusions Into Hours, Leaving Behavioral Clues

AI agents are changing the pace of cyber intrusions more than the underlying techniques. In more than 10 campaigns tracked between July and September 2026, attackers used autonomous agents to carry out familiar steps—from web server access to network reconnaissance and cloud discovery—at a speed that can compress work spanning days or weeks into hours. The activity reached organizations in logistics, hospitality, manufacturing, agriculture and education, among other sectors.

The practical shift is scale and adaptability. Agents issued hundreds of distinct commands in minutes, moved between operating systems, and adjusted scripts to match what they found. Yet the same activity often exposed signs of machine directed operation: unusually rapid command sequences, shell output separated with distinctive headers, and scripts containing conversational reasoning notes. Those clues give defenders ways to spot activity that can otherwise vary from target to target.

A human sets the direction; the agent runs the steps

An agentic attacker is an autonomous system, usually built around a large language model with tool calling, that can plan and execute a sequence of actions and then adapt based on the results. Unlike a chatbot that answers one prompt at a time, an agent works in a loop: it observes its environment, decides what to try, takes action and examines the outcome before continuing.

In the observed intrusions, this autonomy sat within a human run operation. A person selected the target and initiated the work; the agent handled much of the reconnaissance and execution. That division matters. The agents could move at machine speed, but human intent still shaped which organizations and assets they pursued.

All the campaigns began with a web shell placed on an internet facing server through a vulnerable web application. A web shell gives an attacker a way to run commands through the compromised site, making it a straightforward foothold for agent driven activity. From there, the agents used established tools and techniques rather than a new class of exploit. The difference was their ability to repeat, adjust and combine those techniques rapidly.

One investigation captured the pace. An agent was active for about 140 minutes across two days, moving from web shell access into reconnaissance of the victim’s cloud environment, website and databases. It issued roughly 800 unique commands. Another operation ran over 12 days and generated more than 8,000 distinct commands.

Command timing provides a sharper comparison. In one set of intrusions, an early phase of human led reconnaissance had a median gap of 23.9 seconds between commands. After the work passed to an AI agent, the median fell to 1.4 seconds. The agent could sustain that tempo while changing its next action in response to discoveries.

Machine behavior left visible traces

Speed did not make these operations quiet. In every observed campaign, commands and scripts used section labels such as ===[Title]=== to divide output into parts. These headers can help an agent parse command results, but they are uncommon in commands typed directly by a person, except in prewritten scripts.

More than half of the campaigns also included scripts with explanatory, step by step comments. The notes described why a script was taking particular actions, resembling the reasoning language used when instructing an AI system. Neither marker alone proves that an agent is involved, but together with rapid, varied command execution they provide useful hunting leads.

The broader pattern was consistent: agents started with simple footholds, then used whatever information they uncovered to choose subsequent actions. They made use of existing open source tools before writing custom code, and often generated small scripts for a specific step instead of relying on a single, long lived implant.

Cloud discovery and movement between platforms

Linux web servers were a common starting point, but the activity did not stay there. Agents sought to spread across the victim’s network and could work across Linux and Windows systems as well as cloud environments. The ability to switch platforms lowers the operational burden for an attacker who might otherwise need deeper experience with each environment.

Investigators saw cloud activity involving three major providers. The agents appeared to identify the platform as they went and then choose relevant techniques, rather than relying on a fixed setup prepared in advance.

In one intrusion at a US hospitality and gaming company, an agent found an AWS EC2 instance role and tried to obtain credentials through the Instance Metadata Service (IMDS). When IMDSv1 was blocked, it shifted to the token based IMDSv2 method and succeeded after several attempts.

With access, the agent enumerated 20 AWS services across eight regions, gathering information about storage buckets, email services and secrets. It then found S3 bucket names in configuration files and focused on paths containing payment and financial data. The activity suggests the human operator had directed attention toward valuable financial assets.

The agent also tested whether it could write to production cloud storage, then removed the test files. It inspected bucket policies and access control lists to assess whether resources were publicly reachable or exposed through their configuration. Investigators reported no harmful changes in this case; the activity appeared focused on gathering information for a possible later takeover.

A separate intrusion illustrates how fast agents could cross from one operating system to another. After compromising a Linux server through a PHP web shell, the agent used stolen SMB credentials to reach a Windows IIS server. Within two minutes of identifying that system, it began placing ASPX web shells over SMB. Over the next 26 minutes, it pushed shells to more than 40 locations, rotated among five variants and uploaded custom web.config files to enable script execution.

Discovery could broaden the target set

Some agents did more than expand within the initially compromised organization. In one case, an agent found credentials for a vendor’s self managed GitLab instance on the victim’s web server. It then probed the vendor’s site, used WHOIS information to map infrastructure and attempted to gain access to GitLab, in a possible effort to reach the vendor’s clients.

The credentials had been exposed on the compromised third party server; investigators did not find an exploited GitLab vulnerability. During access attempts, the agent used real names of marketing staff, suggesting that it had gathered additional information about specific employees.

Configuration files provided another path outward. After reading NGINX virtual host settings, the agent found more than a dozen related companies on the same internal network and systematically probed them. The sequence shows how a small clue on one system can redirect an agent toward connected organizations without a person manually mapping each relationship.

Agents also tailored reconnaissance quickly. In one case, an initial port sweep was followed 21 seconds later by a second script. The new script contained commands matched to the technologies detected on individual ports during the first sweep. This observe, adjust and act cycle is central to agent operation: the next step can be written around fresh findings rather than selected from a fixed script.

Web shells and custom payloads

Web shells were the initial access method in every campaign examined. They offer a direct way to run commands on a compromised web server and can be simpler to establish and maintain than alternatives such as reverse shells, remote access Trojans or remote monitoring software. In some intrusions, agents also dropped and used additional web shells themselves, giving them continued code execution.

Investigators frequently saw Base64 encoded payloads delivered through web shells. Encoding multiline commands is common in this setting because it helps preserve special characters as code passes through a shell interface. The distinguishing feature was the volume and variety: agents produced 40 to 100 unique encoded payloads in a single session, tailored to the target. Payloads did not match across victims, and investigators found no known tool signature that covered them all.

That variability makes static signatures less useful. A human operator might reuse a small set of prepared tools, producing recognizable files or hashes across intrusions. These agents instead generated numerous one off scripts as they learned about each environment.

Despite collecting hundreds of unique script payloads, investigators found no compiled backdoors, custom command and control frameworks, DLL implants or shellcode loaders. The custom tools were generally simpler: PHP web shells, PowerShell WMI backdoors and Python credential harvesters. This differs from the tooling often associated with advanced intrusions, where operators may invest in compiled implants designed to preserve long term access.

Agents did not immediately resort to custom code, however. They first tried available open source tools and public exploits. The Copy Fail Linux kernel vulnerability, CVE-2026-31431, appeared in several organizations. In three cases, agents tried to download the exploit from external sources, including its GitHub repository or website.

Another sequence began with a precompiled PwnKit binary. When multiple ways of running it failed, the agent fetched a precompiled exploit for CVE-2024-1086. After those attempts, it wrote C code on the compromised system and tried different compilers and linkers. When compilation failed, it attempted to express the exploit logic in Python.

A related operation also tried Copy Fail for local privilege escalation, then compiled PwnKit from source after the first attempt failed. For network reconnaissance, it wrote a small C probe named charon_lite.c and built Python scripts on top of the open source paramiko library. The pattern is pragmatic: try an available tool, diagnose failure, then build a narrower alternative.

Agents examined defensive tools

High command volume made the intrusions noticeable, but agents also showed awareness of security software. In one campaign, file discovery commands excluded endpoint detection directories. The agent ran the same find command on six compromised systems while excluding directories associated with three security vendors.

It separately checked for 16 security scanning tools, including Nmap, Nessus, OpenVAS, Nikto, Masscan, Nuclei and Lynis. The aim was to understand what defenses and assessment tools were present before continuing. Across multiple campaigns, agents did more than attempt to evade sensors: they probed the installed security stack and appeared to investigate why a tool had blocked an action.

This is a meaningful change from basic automation. An agent can test a technique, read the response and revise its approach. Defenders should therefore watch for sequences of discovery and adjustment, including repeated checks of security directories, scanner inventories and commands that change after a denial.

Detection needs behavioral context

The investigation found no reliable markers tying activity to a particular language model or orchestration framework. Base64 delivery and systematic reconnaissance were common, but implementations varied too much to identify a specific model. Since code was tailored to each target, signatures based on a fixed payload were an especially poor fit.

Human decisions and operational artifacts offer better clues. A person still chose the target, launch time and assets of interest. The resulting activity could expose intent through its focus on payment data, vendor credentials or related companies. Meanwhile, command speed, distinctive section headers, reasoning comments, and the sequence of tool use can help identify an agent’s role in the operation.

For defenders, the useful unit of analysis is the chain of behavior. A rapid series of commands, followed by environment specific scripts and security product checks, is more informative than any one encoded payload. Correlating those actions with exposed credentials, vulnerable web applications and reused infrastructure can help analysts distinguish agent directed activity from ordinary administrative scripts.

The campaigns show that familiar attack methods can become more dangerous when an agent handles reconnaissance and adapts in real time. The key change is operational: faster execution, a greater volume of target specific code and the ability to move across platforms without a prebuilt playbook. The same systems still make mistakes and leave traces. Defenders should build detection around those behavioral patterns and keep watching how agents respond when an environment blocks their next step.

Source: Noa Dekel and Tom Fakterman · unit42.paloaltonetworks.com

From the same set