01
detectionlint / library / sigma

Clear or Disable Kernel Ring Buffer Logs via Syslog Syscall

sigmaDRL-1.1from SigmaHQ/sigma

Detects the use of the `syslog` syscall with action code 5 (SYSLOG_ACTION_CLEAR), (4 is SYSLOG_ACTION_READ_CLEAR and 6 is SYSLOG_ACTION_CONSOLE_OFF) which clears the kernel ring buffer (dmesg logs). This can be used by attackers to hide traces after exploitation or privilege escalation. A common technique is running `dmesg -c`, which triggers this syscall internally.

02
quality100
fp risk—
forks0
views1

ATT&CK techniques

rule sourcelocked

Sign in to view the rule source

Free accounts can view the source for the top-ranked rules. Create one in seconds — no credit card required.

Sign in