Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/gagaltotal/cve-2026-43284-cve-2026-43500-scan
Vulnerability ScannersExploitationConfiguration AuditingNetwork SecurityPenetration TestingIncident Response
GitHubgagaltotal/cve-2026-43284-cve-2026-43500-scan

CVE-2026-43284-CVE-2026-43500-scan

Automated SSH-based scanner and patcher for Linux kernel LPE vulnerabilities CVE-2026-43284 and CVE-2026-43500, with multi-host discovery, privilege escalation detection, and module blacklisting mitigation.

View RepositoryWebsite
113 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 →
Share

DirtyFrag Scanner & Patcher

Internal Network Tool for CVE-2026-43284 & CVE-2026-43500

Automated Linux LPE Audit & Mitigation via SSH

Disclaimer: This tool is specifically designed for legitimate internal security audits. Using it without authorization against systems that are not yours is a violation. Developed by Gagaltotal666 - GhostGTR666.


Table of Contents

  • CVE Background
  • Key Features
  • Installation & Requirements
  • Usage
  • Command Options
  • Mitigation & Authentication Mechanism
  • Mitigation Process
  • Example Output
  • JSON Report Export
  • Troubleshooting
  • Real-World Scenarios

CVE Background

This tool identifies and mitigates two Local Privilege Escalation (LPE) vulnerabilities in the Linux kernel:

CVE-2026-43284 (xfrm-ESP Page-Cache Write)

  • Vulnerability in the esp4 and esp6 modules that allows arbitrary writes to the page-cache
  • Upstream patch available in kernel ≥ 6.15 (Commit f4c50a4034e6 from 2026-05-05)
  • Distro backports may be lagging or unavailable
  • Mitigation: Blacklist modules via /etc/modprobe.d/

CVE-2026-43500 (RxRPC Page-Cache Write)

  • Similar vulnerability in the rxrpc module
  • As of now (May 2026) no upstream patch exists
  • The only available mitigation: blacklisting the module
  • Upstream patch is still under review

Key Features

FeatureDescription
Multi-Host ScannerScan entire subnets (CIDR) or specific IP lists in parallel
TCP Ping DiscoveryAutomatic detection of active hosts before SSH (can be skipped with --skip-discovery)
Deep AuditAnalysis of kernel version, module status, upstream patch, privilege level
Vulnerability AssessmentAutomatic status classification: VULNERABLE, MITIGATED, LIKELY_PATCHED, POSSIBLY_SAFE, MODULE_NOT_LOADED
Automated MitigationBlacklist modules, unload, and flush page-cache with a single --patch
Zero-Touch Sudo InjectionAuto-inject password via sudo -S — no NOPASSWD configuration needed
Smart Auth DetectionAutomatic detection of privilege escalation (root, sudo NOPASSWD, sudo with password)
CLI ValidationPre-check for typos, SSH key file validation (prevents fake known_hosts)
Parallel ExecutionThread pool for scanning and SSH operations (default 20 workers)
JSON ReportingExport complete audit results to JSON format
Pretty OutputColored output + PrettyTable summary (auto-fallback if library is missing)
Signal HandlingGraceful shutdown via SIGINT/SIGTERM

Installation & Requirements

Requirements

root@kitploit:~
Python 3.8 or higher
Libraries: paramiko, colorama, prettytable

Virtual/VENV

root@kitploit:~
python3 -m venv .venv
source .venv/bin/activate

Setup

root@kitploit:~
# Clone repository
git clone https://github.com/gagaltotal/dirtyfrag-scanner.git
cd dirtyfrag-scanner

# Install dependencies
pip install -r requirements.txt
# or
pip install paramiko colorama prettytable

Usage

Screen Capture

1. Regular Scan (Audit Only, No Patch)

Detects vulnerabilities without changing anything on the target server.

root@kitploit:~
# Using Password
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user ghostgtr666 --password 'server@02!'

# Using SSH Key
python3 dirtyfrag_scanner.py --subnet 10.134.205.0/24 --user root --key ~/.ssh/id_rsa

# Using both (password fallback if key fails)
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user admin --password 'pass' --key ~/.ssh/id_rsa

# Scan Specific IPs (without discovery)
python3 dirtyfrag_scanner.py --hosts 192.168.1.10,192.168.1.20 --user admin --password 'pass'

2. Scan & Patch (Automated Mitigation)

Runs the audit and immediately applies mitigation on vulnerable servers.

root@kitploit:~
# Patch using Password (AUTO-INJECT SUDO, NO NOPASSWD NEEDED)
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user ghostgtr666 --password 'server@02!' --patch

# Patch using Root Login
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user root --key ~/.ssh/id_rsa --patch

# Patch with custom workers (faster scanning)
python3 dirtyfrag_scanner.py --subnet 192.168.0.0/16 --user admin --password 'pass' --patch --workers 50

Command Options

Target Selection (required, choose one)

root@kitploit:~
--subnet CIDR              Scan CIDR subnet (e.g., 192.168.1.0/24)
--hosts IP[,IP,...]       Scan specific IPs (comma-separated, no spaces)

Authentication (at least one required)

root@kitploit:~
--user USERNAME            SSH username (required)
--password PASSWORD        SSH password (use quotes if special chars present)
--key PATH                 Path to SSH private key (e.g., ~/.ssh/id_rsa, NOT known_hosts!)

Connection

root@kitploit:~
--port PORT                Custom SSH port (default: 22)
--timeout SECONDS          SSH connect timeout (default: 10, max: 300)
--skip-discovery          Skip TCP ping discovery, SSH directly to all IPs

Execution

root@kitploit:~
--workers NUM              Number of parallel SSH workers (default: 20, min: 1, max: 100)
--patch                    Apply mitigation on vulnerable hosts
--output FILE              Save audit results to JSON file

Mitigation & Authentication Mechanism

This tool is designed to work across various SSH server environments without needing sudoers modifications:

Privilege Escalation Methods (auto-detected)

  1. Root Direct (recommended)

    root@kitploit:~
    --user root --key ~/.ssh/id_rsa --patch
    
    • Executes commands directly without sudo
    • Fastest and most reliable
  2. Sudo NOPASSWD

    root@kitploit:~
    --user ubuntu --key ~/.ssh/id_rsa --patch
    
    • Requires: /etc/sudoers already configured with NOPASSWD
    • Tool will automatically detect and use sudo -n
  3. Sudo with Password Injection (Zero-Touch) ⭐

    root@kitploit:~
    --user ubuntu --password 'mypass' --patch
    
    • Works with standard /etc/sudoers: ALL=(ALL) ALL
    • Tool automatically injects password via sudo -S -p ''
    • No sudoers editing needed at all!
  4. Hybrid (Key + Password)

    root@kitploit:~
    --user ubuntu --key ~/.ssh/id_rsa --password 'mypass' --patch
    
    • Tries key auth first, falls back to password if key fails
    • Password is also injected for sudo if needed

Mitigation Process

When the --patch flag is used, the tool executes the following steps sequentially:

  1. Clean target path → Remove old /etc/modprobe.d/dirtyfrag.conf (if present)
  2. Write modprobe config → Write blacklist rules to /etc/modprobe.d/dirtyfrag.conf:
    root@kitploit:~
    install esp4 /bin/false
    install esp6 /bin/false
    install rxrpc /bin/false
    
  3. Verify config written → Ensure the file was written correctly
  4. Set file permissions → chmod 644 on the config file
  5. Unload esp4 module → rmmod esp4 (skip if not loaded)
  6. Unload esp6 module → rmmod esp6 (skip if not loaded)
  7. Unload rxrpc module → rmmod rxrpc (skip if not loaded)
  8. Flush page cache → echo 3 > /proc/sys/vm/drop_caches
  9. Final verify → Confirm all modules are unloaded and config is valid

Note: If modules are still loaded after rmmod, the user will be notified that a reboot may be required.


Example Output

Host Result Output (per-host)

root@kitploit:~
──────────────────────────────────────────────────────────
  Host 1/2: 10.134.205.163 (ubuntu-web-01)
──────────────────────────────────────────────────────────
  OS     : Ubuntu 22.04.4 LTS
  Kernel : 6.8.0-111-generic
  Priv   : user

  CVE-2026-43284 (xfrm-ESP)  [POSSIBLY_SAFE]
    esp4 loaded   : no
    esp6 loaded   : no
    Mitigation    : NOT applied
    Upstream patch: NOT included (<6.15)

  CVE-2026-43500 (RxRPC)     [VULNERABLE]
    rxrpc loaded  : YES
    Mitigation    : NOT applied
    Note: No upstream patch exists yet — mitigation is the ONLY fix

  [✓] Mitigation applied successfully!
    [Privilege check] OK (using: sudo (auto-pass))
    [Clean target path] OK
    [Write modprobe config] OK
    [Verify config written] OK (3 entries)
    [Set file permissions] OK
    [Unload esp4 module] Skipped (not loaded or already removed)
    [Unload esp6 module] Skipped (not loaded or already removed)
    [Unload rxrpc module] Unloaded
    [Flush page cache] OK
    [Final verify] Config file valid
    [Final verify] All vulnerable modules unloaded
    [Result] Mitigation applied successfully

Summary Table

root@kitploit:~
════ SUMMARY ════
+----------------+-------------------+------+------------+------------+----------+
| Host           | OS/Kernel         | Priv | CVE-43284  | CVE-43500  | Patched? |
+----------------+-------------------+------+------------+------------+----------+
| 10.134.205.163 | Ubuntu 22.04.4    | user | POSSIBLY_S | VULNERABLE | YES ✓    |
| 10.134.205.164 | Ubuntu 22.04.4    | user | VULNERABLE| VULNERABLE | FAILED ✗ |
| 10.134.205.165 | Debian 12         | root | MITIGATED  | MITIGATED  | —        |
+----------------+-------------------+------+------------+------------+----------+

Statistics

root@kitploit:~
════ STATISTICS ════
  Hosts scanned   : 3
  Errors          : 0
  Vulnerable 43284: 1
  Vulnerable 43500: 2
  Mitigations OK  : 1
  Mitigations FAIL: 1
    └─ 1 failed due to insufficient privileges
  Duration        : 12.4s

JSON Report Export

Use the --output flag to save complete audit results:

root@kitploit:~
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user admin --password 'pass' --output report.json

Report Format

root@kitploit:~
{
  "scan_time": "2026-05-12 14:23:45",
  "tool": "DirtyFrag Scanner v1.0",
  "cves": ["CVE-2026-43284", "CVE-2026-43500"],
  "total_hosts": 3,
  "results": [
    {
      "host": "10.134.205.163",
      "hostname": "ubuntu-web-01",
      "os": "Ubuntu 22.04.4 LTS",
      "kernel": "6.8.0-111-generic",
      "kernel_v": [6, 8, 0],
      "is_root": false,
      "cve_43284": {
        "status": "POSSIBLY_SAFE",
        "esp4_loaded": false,
        "esp6_loaded": false,
        "mitigation_applied": false,
        "upstream_patched": false
      },
      "cve_43500": {
        "status": "VULNERABLE",
        "rxrpc_loaded": true,
        "mitigation_applied": false
      },
      "patch_applied": true,
      "patch_msg": "...",
      "error": null
    }
  ]
}

Troubleshooting

Error: "SSH key file not found"

root@kitploit:~
# WRONG
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user root --key ~/.ssh/id_rsa.pub

# CORRECT (use private key, not .pub)
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user root --key ~/.ssh/id_rsa

Error: "Invalid SSH KEY FILE — it's NOT a valid SSH private key"

The file you provided is not a private key. Check:

  • Not a .pub file (public key)
  • Not known_hosts
  • Contains -----BEGIN PRIVATE KEY----- or -----BEGIN RSA PRIVATE KEY-----

Error: "Missing space before argument flag" (CLI SYNTAX ERROR)

root@kitploit:~
# WRONG
python3 dirtyfrag_scanner.py --user ghostgtr666--password 'pass' --subnet 192.168.1.0/24

# CORRECT
python3 dirtyfrag_scanner.py --user ghostgtr666 --password 'pass' --subnet 192.168.1.0/24

Mitigation FAILED: "Privilege check FAILED"

User does not have sudo access, or password was not provided when needed:

root@kitploit:~
# Option 1: Use root directly
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user root --key ~/.ssh/id_rsa --patch

# Option 2: Provide password for auto-inject sudo
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user admin --password 'pass' --patch

# Option 3: Configure NOPASSWD in /etc/sudoers
echo 'admin ALL=(ALL) NOPASSWD: ALL' | sudo tee -a /etc/sudoers

Connection timeout

Increase --timeout:

root@kitploit:~
python3 dirtyfrag_scanner.py --subnet 192.168.1.0/24 --user admin --password 'pass' --timeout 30

Many false-negatives (MODULE_NOT_LOADED when it should be VULNERABLE)

Some distros pre-compile kernels without esp4/esp6/rxrpc modules. Check manually:

root@kitploit:~
# On the target host
cat /proc/cmdline | grep -i module
lsmod | grep -E 'esp4|esp6|rxrpc'

Real-World Scenarios

Scenario 1: Mass Audit Full Subnet

root@kitploit:~
python3 dirtyfrag_scanner.py \
  --subnet 192.168.100.0/24 \
  --user monitoring \
  --password 'monitoring123' \
  --workers 30 \
  --output full-audit.json

Scenario 2: Emergency Patch All Vulnerable Hosts

root@kitploit:~
python3 dirtyfrag_scanner.py \
  --subnet 10.0.0.0/16 \
  --user root \
  --key ~/.ssh/prod_rsa \
  --patch \
  --workers 50 \
  --output emergency-patch.json

Scenario 3: Scan Specific Critical Servers

root@kitploit:~
python3 dirtyfrag_scanner.py \
  --hosts 192.168.1.10,192.168.1.20,192.168.1.30 \
  --user ubuntu \
  --key ~/.ssh/dev_rsa \
  --output critical-servers.json

Scenario 4: Scan with SSH Key + Password Fallback

root@kitploit:~
python3 dirtyfrag_scanner.py \
  --subnet 192.168.50.0/24 \
  --user deploy \
  --key ~/.ssh/deploy_ed25519 \
  --password 'deploy@backup' \
  --patch \
  --output deploy-scan.json

Support & Contribution

Developed by Gagaltotal666 - GhostGTR666
GitHub: github.com/gagaltotal

Disclaimer: This tool is only for legitimate and authorized security audits. Users are responsible for their use of this tool.

Download Tool