t1552.001 for lin/macos

This commit is contained in:
Mikhail Larin 2020-10-19 16:32:01 +03:00
parent cc2f48b4a3
commit c460dcf5de
2 changed files with 62 additions and 0 deletions

View 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

View 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