2022-11-27 19:19:27 +01:00
|
|
|
title: Commands to Clear or Remove the Syslog - Builtin
|
2021-09-21 14:22:17 +02:00
|
|
|
id: e09eb557-96d2-4de9-ba2d-30f712a5afd3
|
2022-10-09 16:54:04 +02:00
|
|
|
status: test
|
2021-09-21 15:29:28 +02:00
|
|
|
description: Detects specific commands commonly used to remove or empty the syslog
|
2021-09-21 14:22:17 +02:00
|
|
|
references:
|
|
|
|
|
- https://www.virustotal.com/gui/file/fc614fb4bda24ae8ca2c44e812d12c0fab6dd7a097472a35dd12ded053ab8474
|
2023-02-01 11:14:59 +01:00
|
|
|
author: Max Altgelt (Nextron Systems)
|
2022-10-09 16:54:04 +02:00
|
|
|
date: 2021/09/10
|
2022-11-27 19:19:27 +01:00
|
|
|
modified: 2022/11/26
|
2021-09-22 09:46:05 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.impact
|
|
|
|
|
- attack.t1565.001
|
2021-09-21 14:22:17 +02:00
|
|
|
logsource:
|
|
|
|
|
product: linux
|
|
|
|
|
detection:
|
|
|
|
|
selection:
|
|
|
|
|
- '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'
|
|
|
|
|
falsepositives:
|
|
|
|
|
- '/syslog.'
|
|
|
|
|
condition: selection and not falsepositives
|
|
|
|
|
falsepositives:
|
|
|
|
|
- Log rotation
|
|
|
|
|
level: high
|