mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 17:35:19 +00:00
t1552.001 for lin/macos
This commit is contained in:
parent
cc2f48b4a3
commit
c460dcf5de
33
rules/linux/lnx_change_file_time_attr.yml
Normal file
33
rules/linux/lnx_change_file_time_attr.yml
Normal file
@ -0,0 +1,33 @@
|
||||
title: 'File Time Attribute Change'
|
||||
id: b3cec4e7-6901-4b0d-a02d-8ab2d8eb818b
|
||||
status: experimental
|
||||
description: 'Detect file time attribute change to hide new or changes to existing files.'
|
||||
# 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/T1070.006/T1070.006.md
|
||||
logsource:
|
||||
product: linux
|
||||
service: auditd
|
||||
detection:
|
||||
selection1:
|
||||
type: 'EXECVE'
|
||||
keywords|contains: 'touch'
|
||||
selection2:
|
||||
type: 'EXECVE'
|
||||
keywords|contains:
|
||||
- '-t'
|
||||
- '-acmr'
|
||||
- '-d'
|
||||
- '-r'
|
||||
condition: selection1 and selection2
|
||||
falsepositives:
|
||||
- 'Unknown'
|
||||
level: medium
|
||||
tags:
|
||||
- attack.defense_evasion
|
||||
- attack.t1070.006
|
29
rules/linux/macos_change_file_time_attr.yml
Normal file
29
rules/linux/macos_change_file_time_attr.yml
Normal file
@ -0,0 +1,29 @@
|
||||
title: 'File Time Attribute Change'
|
||||
id: b3cec4e7-6901-4b0d-a02d-8ab2d8eb818b
|
||||
status: experimental
|
||||
description: 'Detect file time attribute change to hide new or changes to existing files.'
|
||||
# For this rule to work you must enable audit of process execution in OpenBSM, see
|
||||
# https://osquery.readthedocs.io/en/stable/deployment/process-auditing/#macos-process-socket-auditing
|
||||
author: 'Igor Fits, Mikhail Larin, oscd.community'
|
||||
date: 2020/10/19
|
||||
references:
|
||||
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.006/T1070.006.md
|
||||
logsource:
|
||||
product: macos
|
||||
category: process_creation
|
||||
detection:
|
||||
selection1:
|
||||
CommandLine|contains: 'touch'
|
||||
selection2:
|
||||
CommandLine|contains:
|
||||
- '-t'
|
||||
- '-acmr'
|
||||
- '-d'
|
||||
- '-r'
|
||||
condition: selection1 and selection2
|
||||
falsepositives:
|
||||
- 'Unknown'
|
||||
level: medium
|
||||
tags:
|
||||
- attack.defense_evasion
|
||||
- attack.t1070.006
|
Loading…
Reference in New Issue
Block a user