SigmaHQ/rules/linux/lnx_clear_logs.yml

27 lines
701 B
YAML
Raw Normal View History

2020-10-07 19:27:06 +00:00
title: Clear Linux Logs
id: 80915f59-9b56-4616-9de0-fd0dea6c12fe
status: stable
description: Detects clear logs
author: Ömer Günal, oscd.community
date: 2020/10/07
references:
2020-12-02 00:24:59 +00:00
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.002/T1070.002.md
2020-10-07 19:27:06 +00:00
logsource:
product: linux
2020-10-16 07:32:25 +00:00
category: process_creation
2020-10-07 19:27:06 +00:00
detection:
2020-12-02 00:28:29 +00:00
selection:
2020-12-02 00:24:59 +00:00
ProcessName|endswith:
- '/rm' # covers /rmdir as well
- '/shred'
CommandLine|contains:
- '/var/log'
- '/var/spool/mail'
2020-12-02 00:28:29 +00:00
condition: selection
2020-10-07 19:27:06 +00:00
falsepositives:
- Legitimate administration activities
2020-12-02 00:24:59 +00:00
level: low
2020-10-07 19:27:06 +00:00
tags:
- attack.defense_evasion
- attack.t1070.002