Files
blue-team-tools/rules/linux/process_creation/clear_syslog.yml
T

28 lines
854 B
YAML
Raw Normal View History

2021-10-15 15:43:42 -04:00
title: Commands to Clear or Remove the Syslog
id: 3fcc9b35-39e4-44c0-a2ad-9e82b6902b31
status: experimental
description: Detects specific commands commonly used to remove or empty the syslog.
date: 2021/10/15
author: Max Altgelt, Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
tags:
- attack.impact
- attack.t1565.001
references:
- https://github.com/SigmaHQ/sigma/blob/master/rules/linux/lnx_clear_syslog.yml
logsource:
product: linux
category: process_creation
detection:
selection:
CommandLine|contains:
2021-10-15 16:24:26 -04:00
- 'rm /var/log/syslog'
- 'rm -r /var/log/syslog'
- 'rm -f /var/log/syslog'
- 'rm -rf /var/log/syslog'
- 'mv /var/log/syslog'
- ' >/var/log/syslog'
- ' > /var/log/syslog'
2021-10-15 15:43:42 -04:00
condition: selection
falsepositives:
- Log rotation.
level: high