5 mincritical
NetScaler C2: A Massive CVE-2026-88771 Exploitation Operation
Chinese-speaking threat actor deploys autonomous NetScaler C2 framework to mass-exploit CVE-2026-88771 in Citrix NetScaler ADC and Gateway, achieving unauthenticated root execution via log injection. CVE-2026-88771 is a log injection flaw in Citrix NetScaler ADC and Gateway where attacker-controlled text from unauthenticated HTTP endpoints is written to ns.log and later executed as root by the admautoregd daemon. The NetScaler C2 toolkit automates discovery via FOFA, version fingerprinting, exploitation across 11 endpoints, and deployment of a polling C2 agent with DNS OOB fallback.
Sens:■ ImmediateConf:highAnalyzed:2026-11-05Z.ai
Authors: ameer, SOCRadar
ActorsNetScaler C2win.count_loader
Source:Malpedia
Detection / HunterZ.ai
Immediate Actions
- Upgrade NetScaler ADC and Gateway to fixed builds 14.1-73.37 or 13.1-64.24 immediately
- Isolate internet-facing NetScaler appliances until patched
- Search ns.log archives for pitboss NSPPE-00; and ;# unexpectedly died strings
- Inspect /tmp/ for hidden files especially .nsagent on all NetScaler appliances
Key Takeaways
- Exploitation requires log line matching pitboss NSPPE-00;<CMD>;# unexpectedly died with commands under 93 bytes
- admautoregd daemon processes logs on a 24-hour cycle, causing delayed payload execution up to 24 hours
- Single bash script orchestrates full pipeline with 30-minute rounds using Tmux sessions
- FOFA reconnaissance can enumerate up to 120,000 candidate NetScaler hosts per run
- CVE-2026-88779 also disclosed for SAML-configured appliances with commands reported running post-patch
Attack Chain
- Reconnaissance: FOFA queries enumerate up to 120,000 exposed NetScaler hosts with honeypot filtering
- Fingerprinting: probe.py confirms affected versions via build number extraction across 48 workers
- Exploitation: exploit.py injects log payloads across 11 HTTP endpoints per host with two variants
- Execution: admautoregd daemon processes injected logs executing commands as root (up to 24h delay)
- C2: Bootstrap fetches agent to /tmp/.nsagent; agent polls /c/<bid> every 20 seconds
- Exfiltration: Agent returns hex-encoded command results via /r/<bid>?d=<hex>
Affected Systems
- Citrix NetScaler ADC and Gateway 14.1 before 14.1-73.37
- Citrix NetScaler ADC and Gateway 13.1 before 13.1-64.23
- Citrix NetScaler ADC FIPS before 14.1-73.37 FIPS
- Citrix NetScaler ADC FIPS and NDcPP before 13.1-37.279
- SAML-configured NetScaler appliances (also require CVE-2026-88779 fixes)
Vulnerabilities (CVEs)
| CVE | Product | Severity | Description |
|---|---|---|---|
| CVE-2026-88771 | Citrix NetScaler ADC and Gateway | Critical | Log injection via unauthenticated HTTP endpoints enables root command execution by admautoregd daemon. |
| CVE-2026-88779 | Citrix NetScaler ADC and Gateway (SAML-configured) | High | Memory overflow on SAML-configured appliances; commands reported running on patched devices. |
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Search ns.log archives for injection trigger strings pitboss NSPPE-00; and ;# unexpectedly died indicating CVE-2026-88771 exploitation (T1190, T1059.004). | NetScaler ns.log and log archives | Initial Access | Low — strings are highly specific to this exploit |
| Hunt for outbound HTTP connections to port 8899 or DNS queries matching .p1.oob. pattern indicating C2 beaconing (T1071.001, T1071.004). | Firewall and DNS resolver logs | Command and Control | Low — non-standard port and OOB DNS pattern |
| Inspect /tmp/ on NetScaler appliances for hidden files especially .nsagent indicating dropped C2 agent (T1036.005, T1105). | NetScaler filesystem listing | Persistence | Low — hidden files in /tmp are atypical on NetScaler |
Required Log Sources
- NetScaler ns.log archives
- Network firewall logs (egress)
- Web proxy logs
- DNS resolver logs
- NetScaler process listing
- NetScaler /tmp directory listing
Control Gaps
- NetScaler appliances lack endpoint detection agents for process monitoring
- Log injection via HTTP fields bypasses WAF rules targeting traditional payloads
- 24-hour delayed execution breaks real-time alerting correlation windows
- DNS OOB fallback evades HTTP-only egress filtering
Recommendations
Infrastructure Hardening
- Block outbound traffic to 45[.]143[.]130[.]195 on ports 8899 and 53
- Restrict NetScaler management interfaces from public internet access
- Deploy new NetScaler instance on fixed build if compromise indicators found
- Upgrade SAML-configured appliances to 14.1-73.41 or 13.1-64.28 for CVE-2026-88779
User Protection
- Monitor network and proxy logs for C2 paths /s/, /a/, /p/, /c/, /r/ on port 8899
- Review running processes on NetScaler for unexpected shells spawned by admautoregd
- Check for outbound connections within 24 hours of any ns.log trigger string match
MITRE ATT&CK Mapping
MITRE ATT&CK Mapping10 techniques
Tactic
Reconnaissance
Tactic
Initial Access
Tactic
Execution
Tactic
Persistence
Tactic
Stealth
Tactic
Command and Control
Tactic
Exfiltration
Showing defanged values
- cveCVE-2026-88771Log injection via unauthenticated HTTP endpoints enables root command execution by admautoregd daemon.
- cveCVE-2026-88779Memory overflow on SAML-configured appliances; commands reported running on patched devices.
- file_path/tmp/.nsagentDropped C2 agent binary stored as hidden file
- ip45[.]143[.]130[.]195NetScaler C2 server, HTTP port 8899 and DNS port 53
- sha2564992f575f3f1fc448cf54a4a0ce13cf6548790777abe0af1f935663498ea5639targets.py FOFA mass reconnaissance script
- sha25669a34c591eaaa2cbecaeed10c303b8dcf04c846b8408491da5452b9cfc93f686probe.py version fingerprinting script
- sha2568588d11874ab52a1637953dc5538984647023d00b529f695fbd0e40cf8e5e852run.sh orchestrator script launching full attack pipeline
- sha256a3e26053975daa0a12a4848ce9533e5c439617cd7f69851347be2061999b4cd4exploit.py core CVE-2026-88771 log injection engine
- sha256a9142989d912098856e58f2c74c2266e39150d50bc59722f915dade1ddfddf4ac2_server.py dual-protocol C2 listener
- sha256f9e06d412dee96d98db4d4588f0012af859cc11caaae3e130697f282447cf07fpollctl.py C2 bot management interface