Potential Abuse of Linux Magic System Request Key
Description
Detects the potential abuse of the Linux Magic SysRq (System Request) key by adversaries with root or sufficient privileges to silently manipulate or destabilize a system. By writing to /proc/sysrq-trigger, they can crash the system, kill processes, or disrupt forensic analysis—all while bypassing standard logging. Though intended for recovery and debugging, SysRq can be misused as a stealthy post-exploitation tool. It is controlled via /proc/sys/kernel/sysrq or permanently through /etc/sysctl.conf.
Query · sigma
selection: type: PATH name|endswith: - /sysrq - /sysctl.conf - /sysrq-trigger condition: selection
Known false positives
- Legitimate administrative activity