Skip to content
.ca
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

Indicators of Compromise10
6sha2562cve1file path1ip
Improve this report

Send corrections, useful missing information, or quality feedback. It is private and will not appear as a comment.

Feedback type

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

  1. Reconnaissance: FOFA queries enumerate up to 120,000 exposed NetScaler hosts with honeypot filtering
  2. Fingerprinting: probe.py confirms affected versions via build number extraction across 48 workers
  3. Exploitation: exploit.py injects log payloads across 11 HTTP endpoints per host with two variants
  4. Execution: admautoregd daemon processes injected logs executing commands as root (up to 24h delay)
  5. C2: Bootstrap fetches agent to /tmp/.nsagent; agent polls /c/<bid> every 20 seconds
  6. 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)

copy:
CVEProductSeverityDescription
CVE-2026-88771Citrix NetScaler ADC and GatewayCriticalLog injection via unauthenticated HTTP endpoints enables root command execution by admautoregd daemon.
CVE-2026-88779Citrix NetScaler ADC and Gateway (SAML-configured)HighMemory overflow on SAML-configured appliances; commands reported running on patched devices.

Detection Engineering Assessment

Hunting Hypotheses

copy:
HypothesisTelemetryStageFP 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 archivesInitial AccessLow — 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 logsCommand and ControlLow — 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 listingPersistenceLow — 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

IOCs · 10
.txt.json
Showing defanged values