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-31431-detection — Defensive detection package for CVE-2026-31431 (Linux kernel AF_ALG LPE). Sigma, Falco, auditd, KQL, and EQL rules mapped to MITRE ATT&CK T1068/T1611. Includes detection logic designed for auditd, eBPF, and EDR telemetry pipelines. | Kitploit
Tools/GitHubGitHub/thrandomv/cve-2026-31431-detection
Defensive ToolsVulnerability AnalysisThreat IntelligenceIntrusion DetectionIncident Response
GitHubthrandomv/cve-2026-31431-detection

cve-2026-31431-detection

Defensive detection package for CVE-2026-31431 (Linux kernel AF_ALG LPE). Sigma, Falco, auditd, KQL, and EQL rules mapped to MITRE ATT&CK T1068/T1611. Includes detection logic designed for auditd, eBPF, and EDR telemetry pipelines.

Share
View Repository
11406 months agoNot yet reviewed

CVE-2026-31431 "Copy Fail" — Defensive Detection Package

A production-ready collection of detection rules and triage guidance for CVE-2026-31431, a Linux kernel local privilege escalation in the algif_aead crypto interface disclosed by Theori (Xint Code Research). The vulnerability exploits an in-place AEAD optimisation to allow an unprivileged user to perform a controlled write into the page cache of any readable file. This repository provides Sigma rules (including a behavioural chain rule), auditd configurations, a Falco rule for containers, KQL and Elastic EQL hunt queries, and a step-by-step analyst triage playbook. No exploit code — purely defensive content for SOC analysts and detection engineers.

Includes detection logic designed for auditd, eBPF, and EDR telemetry pipelines.


Vulnerability Summary

FieldDetail
CVECVE-2026-31431
NicknameCopy Fail
ComponentLinux kernel algif_aead (AF_ALG crypto interface)
TypeLocal Privilege Escalation (LPE)
CVSS7.8
PrimitiveDeterministic 4-byte controlled write into any readable file's page cache
Escalation pathPoison /etc/passwd page cache → getpwnam() returns UID 0 → su lands root
Container riskIf host kernel is unpatched and AF_ALG is not blocked by seccomp, this is a container-escape primitive (T1611)
PatchRevert algif_aead to out-of-place AEAD operations (upstream)

Detection Coverage Matrix

StageObservable behaviourDetection
InitialAF_ALG socket (family 38) by non-rootSigma Rule 1 · auditd afalg_socket · Falco
Setupbind() with authencesn AEAD stringSigma Rule 2 (keyword) · auditd afalg_bind
Exploit triggersplice() to AF_ALG fdauditd splice_syscall · Falco/eBPF
Post-conditionEBADMSG recv() from unprivileged processSyscall chain correlation · auditd
Impact/etc/passwd FIM alert + access spikeFile integrity monitoring · /proc/<pid>/fd
Privilege transitionsu execution after AF_ALG activitySigma Rule 3 · auditd execve · PAM logs

MITRE ATT&CK Mapping

  • T1068 — Exploitation for Privilege Escalation
  • T1611 — Escape to Host (container context)

Patching Guidance

Apply the upstream fix that reverts algif_aead to out-of-place AEAD operations. Distro advisories:

  • RHEL: https://access.redhat.com/security/cve/CVE-2026-31431
  • Ubuntu: https://ubuntu.com/security/CVE-2026-31431
  • Debian: https://security-tracker.debian.org/tracker/CVE-2026-31431
  • SUSE: https://www.suse.com/security/cve/CVE-2026-31431

Temporary mitigation (unpatched systems): Place install algif_aead /bin/false in /etc/modprobe.d/disable-algif-aead.conf, or apply a seccomp profile blocking socket calls with AF_ALG (family 38).


False Positive Notes

The primary legitimate consumers of AF_ALG sockets are cryptsetup (LUKS), fscrypt, and some kernel-crypto-aware VPN clients. In production environments these processes almost exclusively run as root, so the uid != 0 filter eliminates the vast majority of benign activity. The specific AEAD string authencesn(hmac(sha256),cbc(aes)) has no known legitimate production usage and can be treated as critical when observed.


Disclaimer

This repository contains defensive detection content only. No exploit code, proof-of-concept scripts, syscall offsets, or shellcode are included or will be added.

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 →