Skip to the content.

back

Find sigma rule :x:

Attack: Indicator Removal on Host: Clear FreeBSD, Linux or Mac System Logs

Adversaries may clear system logs to hide evidence of an intrusion. macOS and Linux both keep track of system or user-initiated actions via system logs. The majority of native system logging is stored under the /var/log/ directory. Subfolders in this directory categorize logs by their related functions, such as:(Citation: Linux Logs)

MITRE

Tactic

technique

Test : Delete log files via cat utility by appending /dev/null or /dev/zero (freebsd)

OS

Description:

The first sub-test truncates the log file to zero bytes via /dev/null and the second sub-test fills the log file with null bytes(zeroes) via /dev/zero, using cat utility

Executor

sh

Sigma Rule

back