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
cve-2026-1731-scanner — Passive vulnerability scanner for CVE-2026-1731 — BeyondTrust RS/PRA pre-auth RCE (CVSS 9.9). Educational & defensive use only. | Kitploit
Tools/GitHubGitHub/cybrdude/cve-2026-1731-scanner
Defensive ToolsReconnaissanceVulnerability ScannersVulnerability AnalysisInformation GatheringWeb SecurityNetwork SecurityLearning & Education
GitHubcybrdude/cve-2026-1731-scanner

cve-2026-1731-scanner

Passive vulnerability scanner for CVE-2026-1731 — BeyondTrust RS/PRA pre-auth RCE (CVSS 9.9). Educational & defensive use only.

View Repository
4197 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Website
Share

CVE-2026-1731 — BeyondTrust RS/PRA Passive Vulnerability Scanner

    ╔═══════════════════════════════════════════════════════════════╗
    ║                                                               ║
    ║                      CVE-2026-1731                            ║
    ║       BeyondTrust RS/PRA Passive Vulnerability Scanner        ║
    ║                                                               ║
    ╠═══════════════════════════════════════════════════════════════╣
    ║   PASSIVE SCANNER — EDUCATIONAL & AUTHORIZED USE ONLY         ║
    ║                                                               ║
    ║   Performs passive fingerprinting via standard HTTP GET.      ║
    ║   No exploit payloads sent. No WebSocket connections.         ║
    ║   Only use against systems you own or are authorized to test. ║
    ║                                                               ║
    ║   Methods: BRDF version extraction, /check_health,            ║
    ║            static asset sizing, /get_mech_list API,           ║
    ║            HTML analysis, copyright year, /nw probe           ║
    ║                                                               ║
    ║   Author: NetGuard 24/7 LLC                                   ║
    ║   Web:    https://netguard24-7.com                            ║
    ╚═══════════════════════════════════════════════════════════════╝

A passive vulnerability scanner for CVE-2026-1731 — a critical (CVSS 9.9) pre-authentication Remote Code Execution vulnerability in BeyondTrust Remote Support (RS) and Privileged Remote Access (PRA).

This tool identifies vulnerable BeyondTrust instances using only standard HTTP GET requests. No exploit payloads are sent. No WebSocket connections are established. No authentication is attempted.

Update: 2/16/2026 Applying the hotfix, BT26-02-RS or BT26-02-PRA will make detected BeyondTrust instances below RS (v21.3 - 25.3.1) or PRA (v22.1 - 24.X) appear as vulnerable since the hotfix will not result in version increments, therefore instances patched with the hotfix (BT26-02-RS or BT26-02-PRA) will appear as vulnerable. Once the base release is upgraded, then the instance will appear as not vulnerable". Per the vendor the official fix is addressed in Remote Support 25.3.2 and greater | Privileged Remote Access 25.1 and greater

Author: NetGuard 24/7 LLC


⚠️ Legal Disclaimer

This tool is provided for EDUCATIONAL and AUTHORIZED DEFENSIVE purposes only.

You may ONLY use this tool against systems you own or have explicit written authorization to test. Unauthorized scanning of systems you do not own may violate applicable laws including the Computer Fraud and Abuse Act (CFAA) and similar statutes in other jurisdictions.

The authors assume no liability for misuse of this tool. By using this software, you agree to use it responsibly and in compliance with all applicable laws and regulations.


Vulnerability Overview

FieldDetail
CVECVE-2026-1731
CVSS9.9 (Critical)
AdvisoryBT26-02
TypePre-authentication Remote Code Execution
VectorWebSocket endpoint /nw — Bash arithmetic evaluation injection
AffectedRS ≤ 25.3.1, PRA ≤ 24.3.4
FixedRS 25.3.2+, PRA 25.1.1+
ExploitationActive in the wild as of Feb 12, 2026

CVE-2026-1731 is a variant of CVE-2024-12356 (the vulnerability used by Chinese APT to breach the U.S. Treasury). Both target the same /nw WebSocket endpoint and the underlying thin-scc-wrapper Bash script. The BT24-10 patch for CVE-2024-12356 added a numeric sanity check, but failed to prevent Bash arithmetic evaluation of the remoteVersion parameter — which CVE-2026-1731 exploits.


How It Works

This scanner uses 8 passive fingerprinting methods — validated against live BeyondTrust instances — to determine product version and vulnerability status without sending any exploit traffic.

Detection Methods

#MethodEndpointWhat It ExtractsConfidence
1BRDF Version ExtractionGET /get_rdf?comp=sdcust&locale_code=en-usExact product version from binary header (e.g., 24.1.4)EXACT
2/check_health ResponseGET /check_health"Health Check: Succeeded" = pre-25.x / "Status: Primary" = 25.x+HIGH
3Static Asset SizingHEAD /js/login.jsFile size: ~36K-39K = pre-25.x / ~12K = 25.x+HIGH
4/get_mech_list APIGET /get_mech_list?version=3Company name + thin_rep_enabled field (25.x+ only)HIGH
5HTML StructureGET /loginXHTML 1.1 + BOMGAR = pre-25.x / HTML5 = 25.x+MEDIUM
6Copyright YearGET /login footer2002-2024 = pre-25.x / 2002-2025 = 25.xMEDIUM
7Portal InfoGET /get_portal_infoX-Ns-Company value (attacker reconnaissance indicator)—
8WebSocket ProbeGET /nw (HTTP only)Confirms attack surface reachability—

Method 1 (BRDF) is the same technique used by Metasploit and Nessus plugin 213456. When BRDF returns an exact version, confidence is EXACT. Some 25.x instances strip the version from BRDF — in those cases, methods 2-6 are scored and corroborated to infer the version range.

What This Tool Does NOT Do

  • ❌ Send WebSocket upgrade requests
  • ❌ Transmit crafted payloads to /nw
  • ❌ Attempt any form of exploitation
  • ❌ Perform authentication or brute-forcing
  • ❌ Modify any data on target systems
  • ❌ Establish persistent or stateful connections

Quick Start

Requirements

  • Python 3.8+
  • No external dependencies (stdlib only)

Installation

git clone https://github.com/YOUR_USERNAME/cve-2026-1731-scanner.git
cd cve-2026-1731-scanner
chmod +x cve_2026_1731_scanner.py

Single Target Scan

python3 cve_2026_1731_scanner.py -t support.example.com -v

Bulk Scan from File

# Create a target list (one host per line)
cat > targets.txt << 'EOF'
support.example.com
pra.example.com
192.168.1.50
10.0.0.100:8443
remote-support.beyondtrustcloud.com
EOF

# Run the scan
python3 cve_2026_1731_scanner.py -f targets.txt --threads 20 -o results.csv --json results.json -v

Full Usage

usage: cve_2026_1731_scanner.py [-h] (-t TARGET | -f FILE) [-o OUTPUT]
                                 [--json JSON_OUTPUT] [--threads THREADS] [-v]

options:
  -t, --target TARGET     Single target hostname or IP
  -f, --file FILE         File containing targets (one per line)
  -o, --output OUTPUT     Export results to CSV file
  --json JSON_OUTPUT      Export results to JSON file
  --threads THREADS       Concurrent threads (default: 10)
  -v, --verbose           Verbose per-target output

Input Format

The target file accepts flexible input — one entry per line:

# Comments are supported (lines starting with #)
192.168.1.1
10.0.0.5
support.example.com
support.example.com:8443
https://support.example.com
http://support.example.com    # auto-upgraded to HTTPS
support.example.com/login     # paths are stripped automatically

Understanding Output

Risk Levels

Download Tool