Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
netscaler_threat_hunt_helper — NetScaler CTX697096 Threat Hunt Helper (IoC scanner) - CVE-2026-88771, CVE-2026-88772, CVE-2026-88779 | Kitploit
Tools/GitHubGitHub/orjanj/netscaler_threat_hunt_helper
Defensive ToolsIndicator of Compromise (IOC) ManagementPersistence MechanismsVulnerability AnalysisNetwork ForensicsForensicsWeb SecurityThreat IntelligenceIncident Response
Share
Log Analysis
GitHuborjanj/netscaler_threat_hunt_helper

netscaler_threat_hunt_helper

NetScaler CTX697096 Threat Hunt Helper (IoC scanner) - CVE-2026-88771, CVE-2026-88772, CVE-2026-88779

View Repository
11822 days agoNot yet reviewed

NetScaler CTX697096 Threat Hunt Helper

Table of contents

  • Quick start
  • Scope, safety, and limitations
  • Requirements
  • Usage modes
  • How the script works
  • Interpreting output
  • Recommended investigation workflow
  • Report handling
  • Coverage summary
  • Indicator reference
  • Versioning policy
  • Primary sources

A defensive Bash utility for hunting indicators and post-exploitation artifacts associated with Citrix NetScaler ADC / NetScaler Gateway CTX697096, with primary focus on observed exploitation of CVE-2026-88771 and CVE-2026-88772. It also checks the documented SAML configuration precondition for CVE-2026-88779 (CTX697174).

The script can be used in two ways:

  1. Offline hunting against an extracted NetScaler support bundle, copied logs, configuration files, or other collected evidence.
  2. Live local hunting on a NetScaler appliance, using non-remediating checks for files, configuration changes, processes, persistence, network state, and known indicators.

Each run writes a final Hunt summary to the terminal and, when report writing is enabled, to the report log. The summary includes how many sections ran, how many ALERT, WARN, and ERROR messages were logged, concrete bullet-list details for those messages when present, and a short assessment reminder. Text-search findings include the hunt section, file path, line number, and matching line. Very large detail lists are capped in the summary. When concrete finding details exceed the findings threshold, interactive runs prompt to write a separate findings file containing the full grouped detail list.

Quick start

Check syntax before deployment:

bash -n netscaler_ctx697096_hunt.sh

Make the script executable if you want to run it directly:

chmod +x netscaler_ctx697096_hunt.sh

Run a complete offline hunt against copied evidence:

./netscaler_ctx697096_hunt.sh --offline /path/to/extracted-support-bundle

Run all live checks without writing the default local report file:

NETSCALER_HUNT_NO_REPORT=1 ./netscaler_ctx697096_hunt.sh --live-all

Show the built-in IOC set:

./netscaler_ctx697096_hunt.sh --show-iocs

Scope, safety, and limitations

This script is provided for defensive security operations and incident response. Test it in your environment before relying on it operationally.

This is a threat-hunting helper, not a compromise verdict engine.

  • A match is an investigation lead, not proof of compromise.
  • No matches do not prove that an appliance is clean.
  • If a NetScaler appliance was exposed while vulnerable, patch status alone should not be used to conclude that the appliance was not previously compromised.
  • The IOC set is a point-in-time collection of public reporting and is not exhaustive.
  • Exact IOC matching can miss intrusions when attackers rotate IPs, filenames, hashes, header names, web-shell locations, or persistence methods.
  • Behavioral matches can have false positives and must be correlated with timestamps, configuration history, network telemetry, and known administrative activity.
  • Prefer offline mode against copied evidence when forensic preservation matters.
  • Live mode has not yet been validated on a live NetScaler appliance. Prefer offline mode for first use, and test live mode in a controlled maintenance window before relying on it operationally.
  • Live checks are read-only by intent, but running tooling on an appliance can still alter volatile state or filesystem metadata.
  • By default, the script writes a local report file unless NETSCALER_HUNT_NO_REPORT=1 is set.
  • The script does not patch, delete files, kill processes, restart services, reboot, modify NetScaler configuration, exploit vulnerabilities, validate vulnerabilities by sending malicious traffic, or automatically declare a device compromised or clean.
  • The tool does not inspect memory/core dumps, automatically unpack every support-bundle/archive format, replace NetScaler Console IOC scanning, or replace a forensic or incident-response engagement.

The indicator set and hunting logic are based on public reporting reviewed during repository updates. The campaign is evolving; always compare this repository with the latest Citrix advisory and current incident-response reporting before treating the built-in IOC set as complete.

Requirements

Offline requirements

Recommended environment:

  • Bash 4.3 or later
  • find
  • grep
  • head
  • tail
  • awk
  • sed is not required by the script itself
  • zgrep for compressed .gz log files
  • one of sha256sum, sha256, or openssl for hash hunting

The script uses Bash associative arrays and namerefs, so a POSIX /bin/sh interpreter is not sufficient.

Live requirements

Live mode must be executed in an environment that provides a compatible Bash runtime and sufficient permissions to read the relevant NetScaler files and process/network state.

Live mode has not yet been validated on a live NetScaler appliance. Treat the live checks as best-effort read-only hunting logic until they have been tested against the target appliance version and shell environment.

A NetScaler appliance may not provide Bash in the same way as a general-purpose Linux host. If Bash is not available or if evidence preservation matters, collect a support bundle / forensic copy and use offline mode from a separate analysis host instead.

Usage modes

Files in this repository:

  • netscaler_ctx697096_hunt.sh - interactive Bash threat-hunting script
  • README.md - this document

Installation

chmod +x netscaler_ctx697096_hunt.sh

Check syntax before deployment:

bash -n netscaler_ctx697096_hunt.sh

Interactive mode

Run without arguments:

./netscaler_ctx697096_hunt.sh

The main menu provides:

1) Complete offline hunt: copied logs/support bundle/local evidence
2) Complete live hunt: this NetScaler appliance (read-only)
3) Individual offline checks
4) Individual live checks
5) Show built-in IOCs and hashes
6) Show help
0) Exit

Use the complete offline or complete live options when you want the script to run the full relevant hunt without stepping through individual checks. Use the individual-check menus only when you deliberately want a narrower hunt.

Offline mode

Analyze an extracted directory directly:

./netscaler_ctx697096_hunt.sh --offline /path/to/extracted-support-bundle

Or start the guided complete hunt:

./netscaler_ctx697096_hunt.sh --complete

The interactive offline menu allows you to run specific hunts:

1) DTLS/NSPPE/pitboss + exploit behavior
2) Historical IOC IPs
3) Web shell/PHP/Apache patterns
4) Known file/path indicators
5) HTTP log pivots (.deb/.sig/.ico/vpn paths)
6) SHA-256 search of candidate files
7) TLS certificate and JARM pivots
8) Show IOC list
9) CVE-2026-88779 SAML configuration precondition
10) PHP2Shell honeypot sources and behavior
0) Back

The PHP2Shell check keeps two source IPs from confirmed honeypot activity separate from the NetScaler campaign IOC set. It also searches for PHP startup memory/session errors, Apache-parent shell records, and distinctive probe / public PoC markers from CISA's 23 October Sigma rule. These are correlation pivots, not proof of NetScaler exploitation; authorized testing can match, and process-parent and HTTP-body evidence may not exist in ordinary support-bundle logs.

Files searched offline

The recursive text search considers common log/configuration formats including:

*.log
*.log.*
*.txt
*.conf
*.out
*.json
*.xml
*.csv
*.gz
messages*
ns.log*
httpaccess*
httperror*
sh.log*
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →