2023-01-19 13:39:13 +01:00
|
|
|
title: Potential Defense Evasion Via Binary Rename
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 36480ae1-a1cb-4eaa-a0d6-29801d7e9142
|
2023-01-18 20:18:36 +01:00
|
|
|
related:
|
|
|
|
|
- id: 0ba1da6d-b6ce-4366-828c-18826c9de23e
|
|
|
|
|
type: similar
|
2021-11-27 11:33:14 +01:00
|
|
|
status: test
|
2019-06-15 20:20:52 +10:00
|
|
|
description: Detects the execution of a renamed binary often used by attackers or malware leveraging new Sysmon OriginalFileName datapoint.
|
2019-06-15 20:19:35 +10:00
|
|
|
references:
|
2022-10-28 15:06:36 +02:00
|
|
|
- https://mgreen27.github.io/posts/2019/05/12/BinaryRename.html
|
|
|
|
|
- https://mgreen27.github.io/posts/2019/05/29/BinaryRename2.html
|
2023-06-20 14:30:05 -04:00
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/0f229c0e42bfe7ca736a14023836d65baa941ed2/atomics/T1036.003/T1036.003.md#atomic-test-1---masquerading-as-windows-lsass-process
|
2023-02-03 19:03:51 +01:00
|
|
|
author: Matthew Green @mgreen27, Ecco, James Pemberton @4A616D6573, oscd.community, Andreas Hunkeler (@Karneades)
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2019-06-15
|
|
|
|
|
modified: 2023-01-18
|
2022-10-28 15:06:36 +02:00
|
|
|
tags:
|
2024-08-12 12:02:50 +02:00
|
|
|
- attack.defense-evasion
|
2022-10-28 15:06:36 +02:00
|
|
|
- attack.t1036.003
|
2019-06-15 20:19:35 +10:00
|
|
|
logsource:
|
2022-10-28 15:06:36 +02:00
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
2019-06-15 20:19:35 +10:00
|
|
|
detection:
|
2022-10-28 15:06:36 +02:00
|
|
|
selection:
|
|
|
|
|
OriginalFileName:
|
|
|
|
|
- 'Cmd.Exe'
|
|
|
|
|
- 'CONHOST.EXE'
|
|
|
|
|
- '7z.exe'
|
|
|
|
|
- 'WinRAR.exe'
|
|
|
|
|
- 'wevtutil.exe'
|
|
|
|
|
- 'net.exe'
|
|
|
|
|
- 'net1.exe'
|
|
|
|
|
- 'netsh.exe'
|
|
|
|
|
- 'InstallUtil.exe'
|
|
|
|
|
filter:
|
|
|
|
|
Image|endswith:
|
|
|
|
|
- '\cmd.exe'
|
|
|
|
|
- '\conhost.exe'
|
|
|
|
|
- '\7z.exe'
|
|
|
|
|
- '\WinRAR.exe'
|
|
|
|
|
- '\wevtutil.exe'
|
|
|
|
|
- '\net.exe'
|
|
|
|
|
- '\net1.exe'
|
|
|
|
|
- '\netsh.exe'
|
|
|
|
|
- '\InstallUtil.exe'
|
|
|
|
|
condition: selection and not filter
|
2019-06-15 20:19:35 +10:00
|
|
|
falsepositives:
|
2022-10-28 15:06:36 +02:00
|
|
|
- Custom applications use renamed binaries adding slight change to binary name. Typically this is easy to spot and add to whitelist
|
2019-06-20 00:03:48 +02:00
|
|
|
level: medium
|