Skip to navigation

Threat reportThreat IntelligenceTL-2026-6797

Agentic AI Intrusion Campaigns: 10+ Autonomous AI Agent Operations Following Web Shell Access (Unit 42, CVE-2026-31431 / CVE-2024-1086 attempted)

highACTIVE

Unit 42 tracked more than 10 global intrusion campaigns between July and September 2026 in which a human operator gained initial access through a web shell on a vulnerable web application and then handed reconnaissance, credential harvesting, privilege escalation and lateral movement to an autonomous AI agent. First disclosed .

Key facts

IdentifiersTL-2026-6797, CVE-2026-31431, CVE-2024-1086, CVE-2021-4034
Also known asAgentic AI attacks, Autonomous AI agent intrusion campaigns
SeverityHIGH
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-31431 (added ), CVE-2024-1086 (added ), CVE-2021-4034 (added )
EPSSCVE-2021-4034: 94.3% (99.8th percentile); CVE-2024-1086: 28.0% (98.0th percentile); CVE-2026-31431: 3.4% (88.6th percentile)
Affected productsLinux Linux kernel (algif_aead / AF_ALG, CVE-2026-31431; targeted by local privilege escalation attempts); Various Internet-facing web applications vulnerable to web shell deployment (specific products not named by Unit 42); Microsoft Windows IIS servers reachable via stolen SMB credentials; Apache Tomcat with exposed Spring Batch job-submission endpoint (ReliaQuest case; misconfiguration)
Weaknesses (CWE)CWE-416, CWE-787
ToolsCairn, CyberStrikeAI, GSocket, GodPotato, PrintSpoofer, paramiko
MITRE ATT&CK techniquesT1021.002 Remote Services: SMB/Windows Admin Shares, T1027 Obfuscated Files or Information, T1046 Network Service Discovery, T1047 Windows Management Instrumentation, T1059.001 Command and Scripting Interpreter: PowerShell, T1059.004 Command and Scripting Interpreter: Unix Shell, T1059.006 Command and Scripting Interpreter: Python, T1071.001 Application Layer Protocol: Web Protocols, T1078 Valid Accounts, T1110 Brute Force, T1190 Exploit Public-Facing Application, T1505.003 Server Software Component: Web Shell and 5 more in the attack flow
MotivationUNKNOWN
Target sectorsgovernment administration, logistics, hospitality, gaming, manufacturing, agriculture, education
Target regionsGlobal
Detection rules9 (1 shown free)
Sources13 cited sources

Detection coverage

As of 2026-11-24, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6797 across Splunk SPL, Microsoft KQL and Sigma, covering 23 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Web Server Process Spawning Shell or Recon Child - Agentic AI Web Shell Foothold (TL-2026-6797)

Detects a PHP/Apache/nginx/httpd worker spawning a shell, recon utility, downloader or compiler on Linux (Sysmon for Linux process creation). In every campaign tracked by Unit 42 for TL-2026-6797 the foothold was a web shell (T1190 -> T1505.003) from which a human operator and then an autonomous AI agent ran commands. The search tags children whose command line contains campaign infrastructure (204.194.54.240, webhook.site, pastebin raw) or the ===[Title]=== section-header delimiter that Unit 42 saw in every campaign.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1505.003, T1059.004
  • Data sources: sysmon_for_linux (index=linux, sourcetype=sysmon:linux), microsoft_defender_for_endpoint (DeviceProcessEvents), linux process_creation
  • Severity: high
  • Confidence: high

Splunk SPL

index=linux sourcetype="sysmon:linux" EventCode=1 (ParentImage="*/php-fpm*" OR ParentImage="*/php" OR ParentImage="*/php-cgi" OR ParentImage="*/apache2" OR ParentImage="*/httpd" OR ParentImage="*/nginx" OR ParentImage="*/lighttpd") (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/whoami" OR Image="*/id" OR Image="*/uname" OR Image="*/curl" OR Image="*/wget" OR Image="*/python*" OR Image="*/perl" OR Image="*/nc" OR Image="*/base64" OR Image="*/gcc") | eval behaviour=case(match(CommandLine,"(?i)204[.]194[.]54[.]240|204[.]194[.]55[.]189|94[.]177[.]131[.]113|150[.]242[.]254[.]199|206[.]123[.]152[.]217|38[.]253[.]224[.]12|webhook[.]site|pastebin[.]com/raw"),"campaign_infrastructure",match(CommandLine,"={3}[^A-Za-z0-9 =][A-Za-z0-9 _.-]{2,60}[^A-Za-z0-9 =]={3}"),"ai_agent_delimiter",true(),"web_shell_child_process") | stats count AS events dc(CommandLine) AS unique_cmds values(Image) AS children values(CommandLine) AS cmdlines min(_time) AS firstTime max(_time) AS lastTime by host ParentImage User behaviour | convert ctime(firstTime) ctime(lastTime)

Microsoft KQL

let WebServerParents = dynamic(["php-fpm","php","php-cgi","apache2","httpd","nginx","lighttpd"]);
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ (WebServerParents) or InitiatingProcessFileName startswith "php-fpm"
| where FileName in~ ("sh","bash","dash","whoami","id","uname","curl","wget","python","python3","perl","nc","base64","gcc")
| extend Behaviour = case(
    ProcessCommandLine has_any ("204.194.54.240","204.194.55.189","94.177.131.113","150.242.254.199","206.123.152.217","38.253.224.12","webhook.site","pastebin.com/raw"), "campaign_infrastructure",
    ProcessCommandLine contains "===[", "ai_agent_delimiter",
    "web_shell_child_process")
| summarize Events=count(), UniqueCmds=dcount(ProcessCommandLine), Children=make_set(FileName, 20), CmdLines=make_set(ProcessCommandLine, 20), FirstSeen=min(Timestamp), LastSeen=max(Timestamp) by DeviceName, InitiatingProcessFileName, AccountName, Behaviour

Sigma

title: Web Server Process Spawning Shell or Recon Child - Agentic AI Web Shell Foothold
id: a3c1f0d2-6b7e-4a58-9c41-7e2d5b8f0a11
status: experimental
description: Detects a PHP, Apache, nginx, httpd or lighttpd process spawning a shell, recon utility, downloader or compiler on Linux, or any child command line containing TL-2026-6797 campaign infrastructure or the ===[Title]=== AI-agent delimiter. Matches the web shell foothold used in Unit 42 agentic AI intrusion campaigns.
references:
  - https://unit42.paloaltonetworks.com/autonomous-ai-agent-threat-campaigns/
  - https://reliaquest.com/blog/threat-spotlight-how-ai-agents-turned-one-exposed-endpoint-into-a-server-takeover/
author: Threadlinqs Team
date: 2026-11-24
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - attack.execution
  - attack.t1059.004
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|contains:
      - '/php-fpm'
      - '/php-cgi'
      - '/apache2'
      - '/httpd'
      - '/nginx'
      - '/lighttpd'
  selection_parent_php:
    ParentImage|endswith: '/php'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/whoami'
      - '/id'
      - '/uname'
      - '/curl'
      - '/wget'
      - '/python'
      - '/python3'
      - '/perl'
      - '/nc'
      - '/base64'
      - '/gcc'
  selection_ioc:
    CommandLine|contains:
      - '204.194.54.240'
      - '204.194.55.189'
      - '94.177.131.113'
      - '150.242.254.199'
      - '206.123.152.217'
      - '38.253.224.12'
      - 'webhook.site'
      - 'pastebin.com/raw'
      - '==='
  condition: (selection_parent or selection_parent_php) and (selection_child or selection_ioc)
falsepositives:
  - PHP or CGI applications that legitimately call exec(), shell_exec() or system()
  - Web server health-check or deployment scripts spawned by the web server user
level: high

Known false positives:

  • PHP/CGI applications that legitimately invoke exec(), shell_exec() or system() (image processing, PDF generation, backup plugins)
  • Deployment or health-check scripts launched by the web server account

Tuning notes: Baseline legitimate web-app child processes for 7-14 days and exclude known (ParentImage, CommandLine) pairs. Raise priority when behaviour is campaign_infrastructure or ai_agent_delimiter, or when unique_cmds is high within minutes (AI-agent tempo: median 1.4 s between commands). Replace index=linux with your Sysmon-for-Linux or auditd index; add Tomcat/java parents only if you can baseline them.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • IIS Worker Process (w3wp.exe) Spawning Shell, LOLBin or WMI Tooling (TL-2026-6797) · unlock with TL Creds
  • Windows Privilege Escalation Tooling - certutil Base64 Reassembly, GodPotato and PrintSpoofer (TL-2026-6797) · unlock with TL Creds
  • Download Cradles, Webhook Beacons and GSocket Tunnels Referencing Campaign Infrastructure (TL-2026-6797) · unlock with TL Creds
  • ASPX Web Shell and web.config Writes to IIS Web Roots over SMB Admin Shares (TL-2026-6797) · unlock with TL Creds
  • On-Target Exploit Compilation and AI-Agent Recon/Spray Artifacts on Linux (TL-2026-6797) · unlock with TL Creds
  • EC2 Instance Role Bulk AWS Service Enumeration (IMDS Credential Use, TL-2026-6797) · unlock with TL Creds
  • Linux EDR Awareness Probing - strace of Defender Daemon, EDR Directory Enumeration, Scanner Checks (TL-2026-6797) · unlock with TL Creds
  • Network Connections to Agentic AI Campaign C2, Staging and Tunnel Infrastructure (TL-2026-6797) · unlock with TL Creds

Indicators of compromise

As of 2026-11-24, Threadlinqs Intelligence tracks 23 indicators of compromise for TL-2026-6797.

Sample indicators (3 of 23)

  • IP address: 204.194.54[.]240
  • IP address: 150.242.254[.]199
  • IP address: 206.123.152[.]217

Defanged, TLP:CLEAR. Full set of 23 indicators: unlock with TL Creds.

23 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Targets spanned government, logistics, hospitality, manufacturing, agriculture and education; ReliaQuest independently documented overlapping infrastructure (204.194.54.240) in an AI-assisted server takeover.

Unit 42 (Noa Dekel, Tom Fakterman; published 2026-11-24) describes more than 10 campaigns observed July-September 2026 where attackers combined conventional initial access with autonomous AI agents. In every observed campaign the foothold was a web shell deployed through a vulnerable internet-facing web application. A human operator found the target, obtained access and sometimes ran the first assessment; the AI agent then took over recon, credential harvesting, privilege escalation and lateral movement, emitting machine-readable output and periodically checking in with orchestration APIs, while the human reviewed findings and set strategy (for example targeting payment systems or persistence). The article found no behavioral marker tying the activity to a specific LLM or framework and concludes a human decided targets and timing. No named threat actor is given.

Tempo is the clearest signal: one intrusion saw roughly 800 unique commands in 140 minutes across two days; a 12-day campaign exceeded 8,000 unique commands; the median inter-command gap fell from 23.9 seconds (human recon) to 1.4 seconds (AI phase); 40-100 unique Base64 payloads were used per session. Agents ran scan.sh then scan2.sh 21 seconds later, built a custom C network probe (charon_lite.c) and paramiko-based SSH spray scripts. Behavioral fingerprints: ===[Title]=== section-header delimiters in every campaign, chain-of-thought style comments in more than half of campaigns, overly descriptive comments, structured output, adaptive exploit selection and mixed-language comments (Chinese comments in one WMI backdoor).

Observed post-exploitation: (1) Cloud - IMDSv1 was blocked, the agent then acquired an IMDSv2 token and enumerated 20 AWS services across 8 regions, targeting payment-related S3 paths and testing write access by writing and deleting a test object; no harmful action was reported. (2) Lateral movement - from a Linux PHP web shell the agent pivoted to a Windows IIS server with stolen SMB credentials; within 2 minutes of discovery ASPX web shells were deployed and over 26 minutes pushed to 40+ locations rotating five variants with custom web.config files. (3) Supply chain - stolen web-server credentials were used against a vendor's self-managed GitLab (brute force using marketing staff names; no GitLab vulnerability was exploited), and the agent attacked sister companies on the same network with CSRF-token harvesting, password reuse and four iterative SQL-injection scripts. (4) Privilege escalation - the agent attempted Copy Fail (CVE-2026-31431), PwnKit (CVE-2021-4034, pre-compiled then compiled on target), and CVE-2024-1086, then wrote C code on target, iterated on compilers and tried Python rewrites; the article does not state whether any exploit succeeded. (5) EDR awareness - find commands excluding three security vendors' directories on six endpoints, a check for 16 security scanners (nmap, nessus, openvas, nikto, masscan, nuclei, lynis, etc.), attempts to enumerate and exfiltrate EDR local directories and stored credentials, and strace against wdavdaemon (Microsoft Defender for Endpoint).

Infrastructure: 204.194.54.240 served as C2 and payload staging (hard-coded in PowerShell download cradles and cURL probes) and hosted a CyberStrikeAI instance (open-source AI-native offensive platform by Ed1s0nZ; reportedly acquired by ThreatBook in Oct 2026). ReliaQuest (2026-10-07) separately reported a Tomcat/Spring Batch job-submission endpoint abused via Nashorn JavaScript, with 204.194.55.189 as attack origin and 204.194.54.240 staging PrintSpoofer/GodPotato; ReliaQuest attributes that entry to misconfiguration, not a vulnerability or zero-day, and could not confirm the role of CyberStrikeAI. Unit 42 recovered an accidental path (/home/kali/exploitmasteryai/targets/warranty/shell5.php) as the only concrete identifier of the AI framework. No hashes or compiled implants were recovered.

MITRE ATT&CK techniques by tactic:

Lateral Movement

T1021.002 Remote Services: SMB/Windows Admin Shares

Defense Evasion

T1027 Obfuscated Files or Information

Discovery

T1046 Network Service Discovery; T1580 Cloud Infrastructure Discovery

Execution

T1047 Windows Management Instrumentation; T1059.001 Command and Scripting Interpreter: PowerShell; T1059.004 Command and Scripting Interpreter: Unix Shell; T1059.006 Command and Scripting Interpreter: Python

Command and Control

T1071.001 Application Layer Protocol: Web Protocols; T1572 Protocol Tunneling

Initial Access

T1078 Valid Accounts; T1190 Exploit Public-Facing Application

Credential Access

T1110 Brute Force; T1552.005 Unsecured Credentials: Cloud Instance Metadata API

Persistence

T1505.003 Server Software Component: Web Shell

Collection

T1530 Data from Cloud Storage

defense-impairment

T1685 Disable or Modify Tools

Remediation

Patches

  • Patch the Linux kernel for CVE-2026-31431 (Copy Fail), CVE-2024-1086 and the polkit fix for CVE-2021-4034 per vendor advisories
  • Palo Alto Threat Prevention signature 97176 covers CVE-2026-31431

Immediate actions

  • Block the listed IPs (204.194.54.240, 204.194.55.189, 150.242.254.199, 206.123.152.217, 38.253.224.12, 94.177.131.113) and the webhook.site / pastebin.com/raw URLs at URL, DNS and IP layers; blocking the exploitation source alone does not stop retrieval from the collection address
  • Hunt web roots for unexpected PHP/ASPX web shells and web.config files, and for scripts containing ===[Title]=== delimiters or chain-of-thought style comments
  • Audit internet-facing job-submission, batch-configuration and admin endpoints; require authentication and restrict exposure
  • Rotate credentials stored in web-server and application configuration files and reset any credentials reachable from compromised web servers

Workarounds

  • Copy Fail interim mitigation (oss-security): echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif.conf and unload the algif_aead module
  • Patch or take offline vulnerable internet-facing web applications that permit web shell upload

Longer-term hardening

  • Move application secrets to a secrets store or managed identity; restrict service accounts holding database-owner rights
  • Enforce IMDSv2 only, minimise instance-role permissions and alert on bulk cloud service enumeration across regions
  • Harden self-managed GitLab: MFA, sign-in rate limiting, IP allow-listing, keep current
  • Deploy EDR with tamper protection and behavioral detection that does not rely on tool signatures; alert on strace/ptrace of EDR daemons and EDR directory enumeration
  • Retain web, database, endpoint and application job/execution history long enough to support investigations

Affected and fixed versions

  • Linux — Linux kernel (algif_aead / AF_ALG, CVE-2026-31431; targeted by local privilege escalation attempts)
    Vulnerable versions: Copy Fail: introduced in 4.14, per oss-security mailing list; also CVE-2024-1086 and CVE-2021-4034 vulnerable builds
    Fixed in: See distribution vendor advisories for fixed kernel versions
  • Various — Internet-facing web applications vulnerable to web shell deployment (specific products not named by Unit 42)
    Vulnerable versions: Not specified
  • Microsoft — Windows IIS servers reachable via stolen SMB credentials
    Vulnerable versions: Not version-specific; credential and exposure issue
  • Apache — Tomcat with exposed Spring Batch job-submission endpoint (ReliaQuest case; misconfiguration)
    Vulnerable versions: Misconfigured unauthenticated deployments

Timeline

  • Start of the window (to 2026-02-26) in which Team Cymru observed 21 unique IPs running CyberStrikeAI, per search coverage; not stated to be uniformly malicious
  • Copy Fail (CVE-2026-31431), a Linux kernel algif_aead local privilege escalation with public PoC, publicly disclosed (reported to kernel security team 2026-03-23)
  • Unit 42 observation window begins (July 2026, month-level precision): 10+ global campaigns using autonomous AI agents after web shell access
  • Unit 42 observation window ends (September 2026, month-level precision)
  • TechNode reports ThreatBook acquired the CyberStrikeAI open-source AI penetration testing platform
  • ReliaQuest publishes analysis of an AI-agent server takeover via an exposed Tomcat/Spring Batch endpoint using locked-ioc-11 and locked-ioc-10
  • Unit 42 publishes 'Recent Trends and Tactics of Agentic AI Attacks' with IOCs and behavioral fingerprints

Sources cited

Other reports on CVE-2026-31431

Other reports on CVE-2024-1086

Further reading

Drafted by the Threadlinqs research pipeline from 13 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats