Files
blue-team-tools/rules/linux/macos/process_creation/macos_binary_padding.yml
T

33 lines
914 B
YAML
Raw Normal View History

2020-10-19 16:39:41 +03:00
title: 'Binary Padding'
id: 95361ce5-c891-4b0a-87ca-e24607884a96
2021-11-27 11:33:14 +01:00
status: test
2020-10-19 16:39:41 +03:00
description: 'Adversaries may use binary padding to add junk data and change the on-disk representation of malware. This rule detect using dd and truncate to add a junk data to file.'
author: 'Igor Fits, Mikhail Larin, oscd.community'
references:
2021-11-27 11:33:14 +01:00
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1027.001/T1027.001.md
date: 2020/10/19
modified: 2021/11/27
2020-10-19 16:39:41 +03:00
logsource:
2021-11-27 11:33:14 +01:00
product: macos
category: process_creation
2020-10-19 16:39:41 +03:00
detection:
2021-11-27 11:33:14 +01:00
selection1:
Image|endswith:
- '/truncate'
CommandLine|contains:
- '-s'
selection2:
Image|endswith:
- '/dd'
CommandLine|contains:
- 'if='
filter:
CommandLine|contains: 'of='
condition: selection1 or (selection2 and not filter)
2020-10-19 16:39:41 +03:00
falsepositives:
2021-11-27 11:33:14 +01:00
- 'Legitimate script work'
2020-10-19 16:39:41 +03:00
level: high
tags:
2021-11-27 11:33:14 +01:00
- attack.defense_evasion
- attack.t1027.001