mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 01:45:21 +00:00
Update lnx_clear_logs.yml
This commit is contained in:
parent
bca3c80f43
commit
4ab522815b
@ -10,16 +10,18 @@ logsource:
|
||||
product: linux
|
||||
category: process_creation
|
||||
detection:
|
||||
keywords:
|
||||
- Commands|contains:
|
||||
- 'rm * /var/log*'
|
||||
- 'shred -u /var/log*'
|
||||
- 'echo * > /var/log*'
|
||||
- 'rmdir * /var/log*'
|
||||
- 'rm * /private/var/audit/*'
|
||||
- 'rm * /private/var/log/system.log*'
|
||||
- 'echo * /var/spool/mail/*'
|
||||
condition: keywords
|
||||
selection1:
|
||||
- ProcessName|endswith:
|
||||
- '/rm'
|
||||
- 'shred'
|
||||
- 'echo'
|
||||
- 'rmdir'
|
||||
selection2:
|
||||
CommandLine|contains:
|
||||
- '/var/log'
|
||||
- '/private/var/audit'
|
||||
- '/private/var/log/'
|
||||
condition: selection1 and selection2
|
||||
falsepositives:
|
||||
- Legitimate administration activities
|
||||
level: medium
|
||||
|
Loading…
Reference in New Issue
Block a user