Created
May 1, 2026 20:54
-
-
Save dglauche/7b243b30f03c545286a82675d69bff41 to your computer and use it in GitHub Desktop.
SPL Query for CVE-2026-31431 / CopyFail (https://github.com/badsectorlabs/copyfail-go)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index=linux* sourcetype IN ("auditd", "linux:auditd:enriched") TERM(SYSCALL) type=SYSCALL ((syscall=41 uid!="0" uid!="4294967295") OR (syscall=59 uid!="0" euid="0" exe="/usr/bin/su")) | |
| | bin _time span=1m | |
| | stats | |
| values(exe) AS exe | |
| values(ppid) AS ppid | |
| values(uid) AS uids | |
| values(UID) AS user | |
| count(eval(SYSCALL="socket")) AS af_alg_socket_count, | |
| count(eval(SYSCALL="execve")) AS priv_execve_count | |
| by _time, host, pid | |
| | where af_alg_socket_count >= 10 OR priv_execve_count > 0 | |
| | eventstats values(ppid) as ppids by _time, host | |
| | where mvfind(ppids, pid) >= 0 | |
| | fields _time, host, user, exe, pid, uids |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment