Attackers are exploiting a critical vulnerability in Citrix NetScaler ADC and NetScaler Gateway to run commands, create privileged accounts, and install web shells.
LevelBlue’s Threat Hunt Operations & Research (THOR) team identified malicious authentication events during investigations across multiple customer environments.
The flaw, CVE-2026-88771, allows attackers to execute arbitrary commands without authentication. It carries a CVSS score of 9.5, and patches are available.
LevelBlue reported that exploitation was occurring globally, with CISA adding the vulnerability to its Known Exploited Vulnerabilities catalog.
The latest investigation examined activity beyond initial exploitation. Researchers found command execution tests, payload downloads, configuration collection, reverse shells, and attempts to steal appliance configuration data.
These findings show why defenders must investigate what happened after a suspicious authentication request.
Attackers Exploit NetScaler RCE
Attackers placed commands inside authentication usernames containing strings such as “pitboss,” “NSPPE,” and “unexpectedly died.” Some requests ran whoami to test command execution. Others used curl or wget to download additional tools.
Several commands targeted /flash/nsconfig, which contains NetScaler configuration data. One copied ns.conf into /var/netscaler/logon/insight-new.js. Another archived the configuration directory into LogonPoint/xua.html, placing collected data inside a web directory.
Researchers also observed commands using ${IFS} instead of literal spaces. This variation gives defenders another useful search term when reviewing suspicious authentication fields.
A Python payload named main.py overwrote /var/python/bin/customsnmpd with reverse shell code. The replacement connected to 45.141.21[.]130 on port 443, redirected standard input, output, and error through the connection, and launched an interactive /bin/sh shell.
A separate Perl payload, update_c08937.pl, introduced broader capabilities. Retrieved from 64.94.85[.]67, it executed directly through Perl without requiring a fixed local download path.
The script modified /flash/nsconfig/ns.conf to create sec_monitor with superuser privileges. It also archived the configuration directory, attempted to upload the archive to attacker infrastructure, and removed the archive afterward.
For continued access, the payload installed a PHP web shell at /var/netscaler/logon/LogonPoint/.local_journal.
It changed /etc/httpd.conf to enable PHP execution and exposed the shell through addresses resembling legitimate CSS resources. The shell supported command execution, uploads, and downloads.
Defenders should search authentication logs for exploit strings combined with shell commands, including curl, wget, perl, python, tar, and cat. These combinations provide stronger evidence than isolated keywords.
Investigations should check for sec_monitor, unexpected configuration changes, modified customsnmpd files, and new files in NetScaler web directories. Changes to /etc/httpd.conf and /bin/sh permissions set to 6555 are additional warning signs.
Network records can help connect an exploitation attempt with later payload retrieval, reverse shell communication, or attempted configuration theft. Relevant destinations include 45.141.21[.]130 and 64.94.85[.]67, LevelBlue said.
Indicators of Compromise
| Indicator | Type | Description |
|---|---|---|
70.172.58[.]168 | IPv4 | Source of NetScaler exploitation attempts |
45.141.21[.]130 | IPv4 | Reverse-shell command-and-control infrastructure; port 4 |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
