unit42-agentic-machine-speed-intrusions
Autonomous AI agents run web shell takeovers at machine speed
Posted · Spectrum Delta Research Team
Summary
Unattributed attackers pointed autonomous AI agents at vulnerable web applications and let the agents run post-exploitation at machine speed against government, logistics, hospitality, manufacturing, agriculture and education organizations in more than 10 campaigns from July through September 2026. Unit 42 measured a median inter-command gap of 1.4 seconds once agents took over from human operators, about 800 unique commands in a 140-minute intrusion, ASPX web shells pushed to more than 40 locations within 26 minutes and 40 to 100 unique Base64 payloads per session with no signature match. Agents adapted blocked IMDSv1 into IMDSv2 token theft, enumerated 20 AWS services across eight regions, attacked victims' IT vendors and sister companies, applied strace to an endpoint security daemon, excluded EDR directories from file discovery and left agent-style section headers and reasoning comments. No compiled backdoors were recovered; the arsenal was single-use scripts plus public exploits Copy Fail, PwnKit and CVE-2024-1086. Hunt for machine-speed command bursts, agent-style script artifacts, metadata-service token bursts and egress to the campaign's relay and beacon infrastructure.
Breakdown
Countries
- US
Targets
- Industry: Government
- Industry: Logistics
- Industry: Hospitality
- Industry: Manufacturing
- Industry: Agriculture
- Industry: Education
Technical exposure
- Internet-facing web applications allowing web shell upload and execution
- Cloud instances with IMDS reachable and over-permissive instance roles
- Unpatched Linux kernels on servers reachable after initial foothold
- Windows servers with writable web roots reachable over SMB
Adversary
Unattributed human operators of autonomous AI agents; one campaign leaked the exploitmasteryai framework path and staged tools on a CyberStrikeAI host
Procedures (6)
Web shell foothold seeds agentic takeover
Logs
- Web server access and error logs · Requests to newly appeared PHP or ASPX files in web roots of internet-facing servers followed by shell commands piped through sh -c with Base64-encoded bodies, where every observed campaign gained initial access this way
Detectors
- Advanced Threat Prevention · Next-Generation Firewall with Advanced Threat Prevention blocks exploit attempts and web shell delivery; signature 97176 blocks CVE-2026-31431 exploitation
Agentic command bursts with reasoning comments
Logs
- Endpoint process and shell telemetry · Command bursts at a median 1.4-second inter-command gap, about 800 unique commands in 140 minutes, section headers like ===[Title]=== and chain-of-thought reasoning comments inside scripts, and 40 to 100 unique Base64 payloads in a single session with no payload matching a known tool signature
Detectors
- Cortex XDR AI-generated detection · On-device small language model flags AI-generated script execution and agentic process chains spanning Python, PHP and Bash under one process tree
Agent steals cloud role via metadata service
Logs
AWS CloudTrail management events · Instance-role enumeration of about 20 services across eight regions after IMDSv1 is blocked and IMDSv2 token acquisition succeeds through iterative attempts, including bucket, email and secret-management enumeration followed by probes of payment data paths
Detectors
- Cortex XDR behavioral detection · Flags cloud-native payment-resource enumeration spawned by the agentic process chain
Fast cross-OS lateral movement seeds web shells
Logs
Windows file share and IIS logs · ASPX web shells written to more than 40 locations within 26 minutes of the first SMB access using stolen credentials, rotating five web shell variants and uploading custom web.config files to enable script execution
Iterative privilege escalation with public exploits
Logs
- Endpoint process telemetry · Downloads of pre-compiled PwnKit and CVE-2024-1086 binaries and Copy Fail exploit fetches from GitHub or the exploit website, followed by on-target C compilation through successive compilers and linkers and rewrites of failed exploit logic in Python
Detectors
- Threat Prevention signature 97176 · Next-Generation Firewall with Advanced Threat Prevention blocks CVE-2026-31431 Copy Fail exploitation via best practices
Security-tool probing and relayed command traffic
- T1518.001Software Discovery: Security Software Discovery
- T1090.003Proxy: Multi-hop Proxy
- T1071.001Application Layer Protocol: Web Protocols
Logs
- DNS and egress flow logs · find commands excluding three endpoint security vendors' directories, strace attached to the Defender wdavdaemon process, enumeration of 16 security scanners, and egress to GSocket and SSH tunnel relays, webhook beacon callbacks and the CyberStrikeAI staging server
Detectors
- Advanced URL Filtering and Advanced DNS Security · Identify the campaign indicators including the staging server, reverse shell endpoints and the webhook beacon as malicious
Indicators of compromise
IPs (4)
- 204.194.54.240C2 and payload staging server hosting a CyberStrikeAI instance, embedded in PowerShell download cradles and cURL probes, also documented by ReliaQuest in a separate agent-driven intrusion
- 150.242.254.199Reverse shell target
- 206.123.152.217Reverse shell C2
- 38.253.224.12GSocket and SSH tunnel relay
Domains (1)
- webhook.siteWebhook service abused as a C2 beacon channel
URLs (2)
- https://webhook.site/72f421ea-5576-4a4a-8c55-a2a79c19c8b8C2 beacon URL
- https://pastebin.com/raw/swqSMxYsWeb shell download URL
CVEs (3)
- CVE-2026-31431Copy Fail Linux kernel flaw; exploitation attempted across several targeted organizations, exploit fetched from GitHub or the exploit website
- CVE-2021-4034PwnKit privilege escalation; pre-compiled binary uploaded and later compiled from source on target
- CVE-2024-1086nf_tables privilege escalation; pre-compiled exploit fetched after PwnKit failed
Sources
Grades are source reliability (A–F) and information credibility (1–6).
Questions, detections or sightings of unit42-agentic-machine-speed-intrusions? Bring them to the community.