Hacking

CL-UNK-1211: AI-Powered Linux Espionage Campaign

Eng. Donya Bino Published  ·  6 min read

CL-UNK-1211

Unit 42 spent six months watching a cluster they now call CL-UNK-1211 work its way through government Linux servers across multiple regions. The campaign ran from October 2025 into April 2026, and the name is deliberately unhelpful. "CL" means cluster. "UNK" means they still don't know who is behind it.

What they do know is more interesting than attribution. The attackers stopped writing their own scripts.

The Tell Was in the Comments

Recovered PHP and shell scripts didn't look like normal developer work. Instead of terse function names and terse comments, the files carried conversational, step-by-step reasoning notes. Explanations of what the code was doing, written for whoever had handed down the instructions.

That is not how a human developer documents code. That is how a model explains itself.

Unit 42's conclusion is measured but clear. The scripts were either copied straight out of an AI prompt output or dropped by an automated AI agent running the show.

What They Were Actually After

The objective wasn't ransomware, and it wasn't a smash-and-grab. This was intelligence collection.

The operators focused on Linux environments specifically, running deep reconnaissance and building persistent access they could sit on. From there the targets were databases, government mailboxes, and eventually the social media accounts tied to those mailboxes.

One detail stands out as especially deliberate. The attackers planted fake red-team markers and wiped system logs. If an incident responder stumbles on what looks like a sanctioned penetration test, they may pause and check with management before escalating. That pause is the point.

Three Ways They Took Credentials

Once inside, the credential harvesting followed a playbook that has worked for a decade.

Method

Technique

Target

Shell hijack

Replaced .bashrc with a version that steals passwords on every login

User credentials

Web injection

Injected code into PHP login pages

Administrator credentials

Config scraping

Searched configuration files and shell history for cleartext passwords

Email, SMTP, database credentials

None of this is sophisticated. All of it works on servers where nobody is watching file integrity.

SysGoRAT: The Backdoor

The custom tool here is a Go-based remote access trojan called SysGoRAT. It runs on both Windows and Linux, supports multiple persistence mechanisms, and connects out over WebSocket to a hard-coded address at 104.194.158[.]65:443.

The command set gives an operator complete control of the host.

  • command: Arbitrary execution through /bin/sh -c on Linux or cmd /C on Windows
  • control: Spawns sub-commands for interactive shell, screenshots, file exfiltration, and persistence
  • list_dir: Directory listing
  • shell_input: Feeds input to an interactive shell session
  • proxy_connect: Opens a TCP connection to any target
  • proxy_data: Relays traffic both directions through the proxy
  • proxy_close: Tears down the proxy session

Alongside SysGoRAT, the attackers ran in-memory reverse shells. Nothing hits disk, so there are no file hashes to hunt for.

The Mailbox Hunt

Here is where espionage turns into account takeover.

The attackers enumerated /var/qmail/mailnames/ directories, counting messages in each folder. Then they deployed search_social.php, a script that scanned email headers for social media keywords and printed the results in a readable format.

Output included the exact file path, the sender, the recipient, and the subject line for each match.

They also tried to build zip_mails.sh to compress the interesting emails into archives for exfiltration. That one broke. Syntax errors meant the script failed on execution.

Worth noting. AI accelerates the work. It does not guarantee the work is correct.

The Bigger Picture: Agentic Frameworks Everywhere

CL-UNK-1211 is not operating alone. Google Threat Intelligence Group, Mandiant, and Microsoft have all documented threat actors picking up open-source agentic penetration testing frameworks and running them against real targets.

The names to know are ARTEX, PentAGI, Hexstrike, and CAIRN.

Framework

Who Used It

Purpose

ARTEX

Storm-0940 (UNC7228)

Data theft against U.S. and European enterprise software, industrial automation, semiconductor, and telecom

ARTEX

Financially motivated actors

Extortion against Asian financial sector

ARTEX

Onyx Sleet (Andariel), Pearl Sleet (Lawrencium)

North Korean state operations

PentAGI

Unattributed

WHOIS mapping, reconnaissance, vulnerability scanning against Asian organizations

ARTEX was pulled by its author after misuse reports surfaced. It has already spawned ARTEX PRO, a commercial version, and ScopeWeaver, a localized variant.

The GTIG and Mandiant assessment is worth quoting because it captures the trade-off precisely. These frameworks compress attack timelines to machine speed, but they trade stealth for velocity. Unrestricted autonomous execution generates forensic traffic, relies on recognizable identifiers, and leaves distinct code-level traces.

That last part is the defender's opening. Machine-generated code has a fingerprint.

What to Hunt For

  • File integrity monitoring on .bashrc. The simplest credential theft method here is replacing a shell config file. FIM catches it.
  • Conversational comments in server scripts. AI-generated code often explains itself. Unusual comment patterns in PHP or shell files are a signal, not a coincidence.
  • Filenames from this campaign. search_social.php and zip_mails.sh are specific and searchable.
  • Traffic to 104.194.158[.]65. Block it and alert on it.
  • WebSocket connections from Linux servers. SysGoRAT uses WebSocket for command and control. That is not normal traffic for most server roles.
  • Verification of red-team artifacts. If you find what looks like a sanctioned test, check it against your actual engagement records before standing down.
  • Directory listing on mail storage. Enumerating /var/qmail/mailnames/ is not user behavior.
  • Behavioral detection for in-memory shells. File scanning won't find what never touches disk.

FAQ

What is CL-UNK-1211?

It is a cyber espionage cluster tracked by Palo Alto Networks Unit 42. The group targeted Linux infrastructure belonging to government entities and state-affiliated organizations between October 2025 and April 2026.

Did AI really write the malware?

Unit 42 found conversational reasoning notes inside recovered scripts, explaining the code's logic back to whoever issued the instructions. Their assessment is that the code came from an AI prompt output or an automated agent.

What is SysGoRAT?

A custom multi-platform remote access trojan written in Go. It connects to a hard-coded command-and-control server over WebSocket and supports seven command types, including arbitrary execution, interactive shells, file exfiltration, and proxy connections.

What were the attackers after?

Intelligence. They dumped databases, exfiltrated government mailboxes, and hunted for social media account emails so they could attempt account takeover. They also planted fake red-team markers to make the intrusion look like a sanctioned test.

Is my Linux server at risk?

If you run Linux infrastructure for a government entity or state-affiliated organization, yes. The credential theft methods used here work against any unmonitored server.

What is the ARTEX connection?

ARTEX is an agentic penetration testing framework adopted by multiple threat actors including Storm-0940 and North Korean groups. CL-UNK-1211 is part of the same broader shift toward AI-driven offensive tooling.

Source: The Hacker News
Professional Services

Explore Our Cybersecurity Services

Our insights are backed by hands-on service delivery. If your business needs professional cybersecurity support, our UK-based specialists are ready to help.

© 2016 – 2026 Red Secure Tech Ltd. Registered in England and Wales — Company No: 15581067