Skip to content
AI Security Wire

Published

- 6 min read

By

CL-UNK-1211: Suspected AI-Written Payloads in Government Linux Intrusions

img of CL-UNK-1211: Suspected AI-Written Payloads in Government Linux Intrusions

Incident Classification: Confirmed | Incident Type: Reported | Severity: High (our assessment) | Sector: Government | Date of Activity: October 2025 to April 2026 | Documented by Unit 42: 15 October 2026

Palo Alto Networks’ Unit 42 has documented a campaign it tracks as CL-UNK-1211 against government entities and state-affiliated infrastructure, with activity seen from October 2025 to April 2026. The attackers ran a conventional Linux intrusion: web shells, credential theft, a custom Go remote access trojan and heavy log cleanup. What stands out is the code. Several scripts carried the kind of explanatory, step-by-step comments an AI model produces, which led Unit 42 to suggest the payloads were generated by an LLM or run by an automated agent. Its executive summary says the attackers “relied on AI-generated payloads”.

Everything here rests on one vendor report. As of 1 Dec 2026 we found no independent confirmation; the only other coverage we opened, SOC Prime, is a rewrite of the Unit 42 report.

Incident Summary

FieldDetail
Cluster nameCL-UNK-1211 (Unit 42 designation; “UNK” means nation-state or cybercrime affiliation not determined)
TargetsGovernment entities and state-affiliated infrastructure
PlatformEnterprise Linux, PHP hosting and database environments
Activity windowOctober 2025 to April 2026
Initial accessWeb shell deployment and credential harvesting; the report does not state how the web shells were first placed (as of 1 Dec 2026, no update note seen)
Custom malwareSysGoRAT, a multi-platform RAT written in Go
AI indicatorConversational reasoning comments in PHP and shell scripts
ObjectiveIntelligence gathering: database dumps and government mailbox theft
Outcome of EDR evasionAttempts to terminate Cortex XDR processes were detected and mitigated, per Palo Alto
AttributionNone published as of 1 Dec 2026 in the Unit 42 report

Timeline

  • October 2025: Earliest activity Unit 42 attributes to the cluster.
  • October 2025 to April 2026: Unit 42 observes web shell deployment, credential harvesting, mailbox targeting and cleanup in the environments it examined. As of 1 Dec 2026 the report gives no per-victim timeline.
  • 15 October 2026: Unit 42 publishes its analysis of the campaign.

How the intrusion worked

Persistence through PHP configuration. The attackers deployed a mix of custom and open-source web shells from GitHub. To achieve persistence they edited the auto_prepend_file value in every PHP configuration under /etc/php/ and /opt/plesk/php/, so a chosen file runs before any other PHP script. In one case the shell was named /usr/lib/php/plesk_sys_driver.php to look like part of Plesk.

Credential theft. Three methods are described. A replaced .bashrc set an alias for sudo that showed a fake password prompt, wrote the password to a log file, then passed it to the real sudo. The log was named Solarwinds.StatusLog.txt; Unit 42 states it has no evidence SolarWinds systems were compromised and that the name was misused as camouflage. A line inserted into a PHP login page forwarded administrator credentials to the attackers. They also searched configuration and history files for cleartext email, SMTP and database passwords.

SysGoRAT. The custom Go RAT runs on Linux and Windows, talks to its command server over WebSocket and supports seven command types, including arbitrary shell commands, directory listing, an interactive shell and TCP proxying. Binaries were renamed per host, for example sys-control-client, pip2.7, ea_install and ./semanage. Unit 42 also saw in-memory reverse shells (named pipes with Netcat, bash /dev/tcp redirects and Python sockets) across at least seven command servers.

Privilege escalation and reconnaissance. After access, the attackers ran the open-source LinPEAS enumeration tool and PwnKit, an exploit Unit 42 ties to CVE-2021-4034, then left root backdoors: a renamed Python interpreter (.libpython-helper), a custom SUID shell (.libsystemd-helper) and a SUID copy of bash named .tourch. PHP scripts scanned for SQL servers and enumerated databases, and Unit 42 reports a custom Go scanner for CVE-2025-55182 (React2Shell). Unit 42 does not say whether the PwnKit attempt succeeded, or that React2Shell was exploited, and we make no claim about the scanner’s results. For context, we checked both CVEs on 1 Dec 2026. CVE-2021-4034 is a local privilege escalation, CVSS 3.1 7.8 High (NVD), and has been in CISA KEV since 27 June 2022. CVE-2025-55182 is a pre-authentication remote code execution flaw published 3 December 2025 and in CISA KEV since 5 December 2025. NVD shows only a CNA-secondary score for it, 10.0, and we saw no NVD-primary score. We did not open the vendor advisory.

Mailbox targeting. Scripts counted mail in /var/qmail/mailnames/ directories, then a PHP script named search_social.php looked for emails tied to social media accounts, apparently to reach accounts linked to government addresses. A zip_mails.sh script meant to archive whole mailboxes contained a syntax error and would have failed as written.

Where AI shows up

Unit 42 points to three signs in the scripts: conversational reasoning notes addressed to an operator, section headers that help a model read command output, and heavy Base64 use with quick switches between PHP, JavaScript, Bash and Python. It states the code was “either copied directly from an AI prompt output or deployed by an automated AI agent”. We read that as strong circumstantial evidence, not proof.

Defense evasion

The attackers tried to kill Cortex XDR processes with pgrep and pkill, attempted to delete authentication, command-history, email, OS, web server and PHP session logs, then ran a second cleanup script that attempts the same, used touch -t to backdate long-lived files, and removed single-use scripts in the same command that ran them. Unit 42 describes RedTeamOps2025 in a script and a user with the password pentest123 as planted deception meant to mislead post-incident analysis by making the activity look like a red team exercise. Unit 42 says endpoint controls effectively neutralized the activity, which is Palo Alto’s claim about its own product.

Remediation and detection guidance

Unit 42’s published indicators include 17 IP addresses, four domains and several SHA-256 hashes, which we do not reproduce here; use the source report. The items below are our detection suggestions, based on the behaviors it describes:

  1. Audit auto_prepend_file in every PHP configuration, including Plesk paths.
  2. Inspect shell profiles for sudo aliases or functions and for unexpected password prompts.
  3. Alert on web server or php-fpm processes that spawn shells or open outbound sockets.
  4. Alert on pkill or pgrep aimed at security agent names.
  5. Treat mass log deletion and timestomping as high-severity events, and ship logs off-host.
  6. Restrict outbound traffic from web servers.

What this means

This is not a story about a novel exploit. Unit 42 documents ordinary Linux tradecraft, which defenders already know how to detect, produced faster and with less manual effort. For defenders, the practical point is that AI-generated payloads still leave the same host artifacts. Palo Alto says Cortex XDR detected and prevented specific actions, such as the process-kill attempts and a Python reverse shell; as of 1 Dec 2026 the report does not say how or when the campaign was first found. The attribution gap matters too: with no actor named, teams cannot lean on actor-specific intelligence and should detect on behavior.

References

Frequently Asked Questions

How do we know AI was involved in the CL-UNK-1211 attacks?
Unit 42 found conversational, step-by-step reasoning comments inside several malicious PHP and shell scripts, where a human developer would normally leave terse notes. It suggested the code was either generated with large language models or executed by an automated AI agent. This rests on code artifacts, so it is an inference, not a confirmed finding about the attackers' tooling.
Who is behind CL-UNK-1211?
As of 1 Dec 2026, the Unit 42 report (published 15 Oct 2026, update stamp 15 Oct 9:56 AM PDT, no later note seen) names no actor and no country. The CL-UNK label marks a cluster whose affiliation with a nation-state or cybercrime has not been determined. Unit 42 describes the goal as intelligence gathering against government entities and state-affiliated infrastructure.
Did the attackers succeed in stealing data?
Unit 42 describes attempts to dump databases and exfiltrate government mailboxes, and says it found indications the attackers intended to take multiple databases. Palo Alto says its Cortex XDR detected and mitigated the attempts to disable it. As of 1 Dec 2026, the Unit 42 report (published 15 Oct 2026, update stamp 15 Oct 9:56 AM PDT, no later note seen) gives no confirmed volume of stolen data.
What should defenders on Linux web hosts check first?
Check PHP configurations for unexpected auto_prepend_file values, shell profiles for a sudo alias that prompts for a password, outbound connections from web server processes, and any process that tries to kill endpoint agents. Also review whether log deletion or timestomped files appear around the same time.