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
Detection-Tool-Kit-for-CVE-2026-31431 | Kitploit
Tools/GitHubGitHub/vishvacyber/detection-tool-kit-for-cve-2026-31431
Indicator of Compromise (IOC) ManagementVulnerability AnalysisForensicsIntrusion DetectionPapers & ResearchLearning & EducationIncident Response
GitHubvishvacyber/detection-tool-kit-for-cve-2026-31431

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Detection-Tool-Kit-for-CVE-2026-31431

View Repository
2 months agoNot yet reviewed

copyfail-detect

Detection toolkit for CVE-2026-31431 ("Copy Fail"), a Linux kernel local privilege escalation technique that corrupts page-cache data without changing the file on disk.

Why This Exists

Copy Fail can bypass traditional file integrity monitoring because the on-disk file is not modified. This repository provides layered detection using auditd, eBPF, page-cache comparison, Sigma rules, and responder documentation.

The eBPF monitor is the highest-fidelity detector: it watches AF_ALG activity, extracts authencesn bind attempts, tracks suspicious splice() usage, and correlates those events into a high-confidence exploit-chain alert.

Quick Start

Check whether the risky kernel crypto surface is exposed:

root@kitploit:~
python3 check/is_vulnerable.py

Apply the immediate mitigation:

root@kitploit:~
sudo bash mitigate/disable_algif_aead.sh

Deploy auditd detection rules:

root@kitploit:~
sudo cp detect/auditd/copyfail.rules /etc/audit/rules.d/
sudo augenrules --load
sudo ausearch -k copyfail_af_alg

Run the real-time eBPF monitor:

root@kitploit:~
sudo python3 detect/ebpf/copyfail_monitor.py
sudo python3 detect/ebpf/copyfail_monitor.py --json

Check for page-cache tampering after suspected exploitation:

root@kitploit:~
sudo python3 detect/pagecache-check/pagecache_diff.py

Detection Layers

Repository Layout

root@kitploit:~
check/                  Safe exposure and sentinel checks
detect/auditd/          auditd rules and deployment notes
detect/ebpf/            bcc and bpftrace real-time monitors
detect/pagecache-check/ Page-cache vs disk comparison
detect/sigma/           Sigma rules for SIEMs
docs/                   Detection, IOC, architecture, and forensics guides
mitigate/               Local and Ansible mitigation helpers
tests/                  Syntax and unit tests

Safety Notes

The vulnerability checker only uses a temporary sentinel file and never targets system files. The page-cache diff tool is detective and may evict the corrupted page it is checking; preserve memory first if you need forensic evidence.

References

  • Research and disclosure credit: Theori / Xint Code
  • Disclosure: https://copy.fail/
  • Technical writeup: https://xint.io/blog/copy-fail-linux-distributions
  • CVE: CVE-2026-31431
  • Kernel fix: commit a664bf3d603d
  • Theori PoC: https://github.com/theori-io/copy-fail-CVE-2026-31431

Acknowledgements

Thanks to Theori and Xint Code for surfacing, analyzing, and responsibly disclosing Copy Fail. This repository builds on their public research so defenders can detect, mitigate, and investigate CVE-2026-31431 safely.

Download Tool
LayerWhat It CatchesWhenTool
eBPF monitorAF_ALG, authencesn, splice(), exploit-chain correlationDuring exploitationbcc/bpftrace
Auditd rulesAF_ALG socket creation, suspicious syscalls, sensitive file readsDuring exploitationauditd
Page-cache diffIn-memory file data diverging from diskAfter exploitationPython
Sigma rulesSIEM alerts from audit/syslog telemetryDuring/after exploitationSIEM
IOC docsResponder checklist and YARA ruleInvestigationdocs