added indentation to lists per request

This commit is contained in:
Roberto Rodriguez
2021-10-15 16:24:26 -04:00
parent 7b11987155
commit 2c0e89ccc8
3 changed files with 13 additions and 13 deletions
@@ -15,13 +15,13 @@ logsource:
detection:
selection:
CommandLine|contains:
- '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'
- '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'
condition: selection
falsepositives:
- Log rotation.
@@ -17,12 +17,12 @@ detection:
Image|contains: 'xclip'
selection2:
CommandLine|contains:
- '-selection'
- '-sel'
- '-selection'
- '-sel'
selection3:
CommandLine|contains:
- 'clipboard'
- 'clip'
- 'clipboard'
- 'clip'
selection4:
CommandLine|contains: '-o'
condition: selection1 and selection2 and selection3 and selection4
@@ -19,8 +19,8 @@ detection:
CommandLine|contains: 'of='
selection3:
CommandLine|contains:
- 'if=/dev/zero'
- 'if=/dev/null'
- 'if=/dev/zero'
- 'if=/dev/null'
condition: selection1 and selection2 and selection3
falsepositives:
- Any user deleting files that way.