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

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
modrosnlr5 — Proof-of-concept exploit for Linux kernel CVE-2026-31431, leveraging AF_ALG sockets to escalate privileges to root via payload injection and shell spawning. | Kitploit
Tools/GitHubGitHub/rosnlr5/modrosnlr5
Privilege EscalationExploit FrameworksVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubrosnlr5/modrosnlr5

modrosnlr5

Proof-of-concept exploit for Linux kernel CVE-2026-31431, leveraging AF_ALG sockets to escalate privileges to root via payload injection and shell spawning.

View Repository
326 months agoNot yet reviewed
Share

🧬 modrosnlr5 – Linux Kernel LPE PoC (CVE-2026-31431)

PoC AF_ALG Exploit Visual

Proof-of-concept tool designed to validate the exploitation of the CVE-2026-31431 vulnerability on Linux systems.
The exploit leverages the kernel's AF_ALG socket interface to inject a payload and obtain a root shell from an unprivileged user session.

⚖️ Ethical and controlled use: This code is distributed exclusively for research, training, and authorized auditing purposes. It should only be run in environments where you have explicit permission.


✳️ Key features

  • Pre-inspection of privileges: Automatic analysis of UID, GID, and membership in the sudo, wheel, and root groups.
  • AF_ALG socket engineering: PoC that hijacks the execution flow of the su binary via os.splice and decompression through zlib.
  • Interactive control: The keyboard allows aborting the operation at any time (ESC), adding a safety layer before the actual payload deployment.

🔬 Exploitation mechanism

  1. Preparation and analysis
    The script examines the current user's identity, detects SUID binaries, and verifies the system configuration.
  2. Payload delivery
    The payload is decompressed with zlib and injected into the target process's space by manipulating the socket's data flow.
  3. Root escalation
    If the injection succeeds, a shell spawn with maximum privileges is forced, establishing a persistent session.

🔧 Requirements and execution

Dependencies

  • Kernel Linux vulnerable to the CVE-2026-31431 family.
  • Python ≥ 3.8.
  • Read access to /usr/bin/su.

Command

python3 mod_rosnlr5.py

📘 Credits Original research and base PoC: copy.fail

Adaptation, automation, and repository development: ROSNLR5

modrosnlr5 – fundamentals of local escalation over AF_ALG

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.

    500
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    466
  • 3

    ARTEX

    baarai/artex

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

    339
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    317
  • 5

    redforge

    cybersecurity91/redforge

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

    307
  • 6

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    294

Explore all tools

Browse our collection of tools

View all tools →