Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

2 detections

The following analytic detects a C/C++ compiler compiling a C source file with the output binary written to /tmp, executed as a non-root user.
This is a compile-after-delivery privilege escalation pattern. Kernel exploit PoCs and local privilege escalation tools commonly drop a C source file
use compilers at runtime to produce a platform-specific binary in /tmp. This avoids architecture mismatches and allows the exploit to adapt to the running
kernel's symbol offsets.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
7 days ago
002
The following analytic detects a process executing from a user-writable directory calling socket() with SOCK_RAW (a1=3) and receiving EAFNOSUPPORT (exit=-97, errno 97).
This is the kernel trigger for vhost-vsock class privilege escalation exploits.
When socket() is called with an unregistered address family and SOCK_RAW, the kernel calls request_module() to attempt to load a matching protocol module.
In vulnerable kernels, this triggers a stale IOTLB metadata cache access path that allows an unprivileged user to write an arbitrary value to modprobe_path.
The specific address family number varies by kernel and exploit variant (AF 41, 42, or any unregistered AF).
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
7 days ago
002