examples: add CVE-2024-6387 OpenSSH regreSSHion detection policy - #5176
examples: add CVE-2024-6387 OpenSSH regreSSHion detection policy#5176Bakomebandias wants to merge 4 commits into
Conversation
Add TracingPolicy detecting CVE-2024-6387 (regreSSHion) exploitation via abnormal sshd clone() syscall rate. - Monitors __x64_sys_clone from /usr/sbin/sshd - Rate limit: 30/60s threshold - Includes VALIDATION doc Fixes cilium#1947 Signed-off-by: Bakomebandias
SummaryThis PR adds a TracingPolicy to detect exploitation attempts against CVE-2024-6387 (regreSSHion) — a signal handler race condition in OpenSSH sshd that enables unauthenticated remote code execution as root (CVSS 8.1, Critical). Detection Strategy
Under exploitation, the attacker must trigger multiple SIGALRM handler invocations. Each attempt spawns a child process via clone(). This creates a measurable and detectable spike well above normal SSH connection patterns. Files Changed
References
Compatibility
Fixes #1947. Ready for review. Feedback and testing on additional architectures welcome. |
Added: CVE-2016-5681 — AryStinger DetectionAdded a second policy targeting CVE-2016-5681 (D-Link DIR-850L RCE), currently exploited in the wild by AryStinger malware (4,300+ infected routers). Detection MethodMonitors for AryStinger's specific IOCs:
Threat IntelligenceReference: The Hacker News — June 22, 2026 This PR now addresses #1947 with 2 real-world, threat-intelligence-driven CVE policies. |
Summary
Adds a TracingPolicy detecting exploitation of CVE-2024-6387 (regreSSHion) — the OpenSSH signal handler race condition allowing unauthenticated RCE as root.
Detection Method
__x64_sys_clonefrom/usr/sbin/sshdFiles
cve-2024-6387-openssh-regresshion.yaml— TracingPolicyVALIDATION-cve-2024-6387.md— Validation documentationChecklist
Fixes #1947