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 system journal logs via rm and journalctl utilities

OS

Description:

The first sub-test deletes the journal files using rm utility in the “/var/log/journal/” directory and the second sub-test clears the journal by modifiying time period of logs that should be retained to zero.

Executor

sh

Sigma Rule

back