BIOC Informational

Clearing logs by copying /dev/null to a log file

Usage of the cp command to copy /dev/null to a file and clear its content.

Module:
Platform Analytics
Agent event type:
Process execution
Category:
Tampering
Status:
Enabled
ATT&CK tactics: Defense Evasion (TA0005)
ATT&CK techniques: Indicator Removal: Clear Linux or Mac System Logs (T1070.002)
Indicator:

Process action type = execution AND target process cmd = cp*/dev/null*log* AND target process name = cp Host host os = linux

Preventable: yes