SigmaHQ/rules/linux/lnx_find_cred_in_files.yml
2020-10-19 16:45:42 +03:00

30 lines
896 B
YAML

title: 'Credentials In Files'
id: df3fcaea-2715-4214-99c5-0056ea59eb35
status: experimental
description: 'Detecting attempts to extract passwords with grep'
# For this rule to work execve auditing must be configured
# Example config (place it at the bottom of audit.rules)
# -a always,exit -F arch=b32 -S execve -k execve
# -a always,exit -F arch=b64 -S execve -k execve
author: 'Igor Fits, oscd.community'
date: 2020/10/15
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1552.001/T1552.001.md
logsource:
product: linux
service: auditd
detection:
selection1:
type: 'EXECVE'
keywords|contains: 'grep'
selection2:
type: 'EXECVE'
keywords|contains: 'password'
condition: selection1 and selection2
falsepositives:
- 'Unknown'
level: high
tags:
- attack.credential_access
- attack.t1552.001