SigmaHQ/rules/linux/lnx_clear_logs.yml

27 lines
698 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:
Image|endswith:
2020-12-02 00:24:59 +00:00
- '/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
2021-04-02 22:00:43 +00:00
level: medium
2020-10-07 19:27:06 +00:00
tags:
- attack.defense_evasion
- attack.t1070.002