Files
hayabusa/rules/sigma/process_creation/win_susp_crackmapexec_execution.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

42 lines
955 B
YAML

title: CrackMapExec Command Execution
ruletype: Sigma
author: Thomas Patzke
date: 2020/05/22
description: Detect various execution methods of the CrackMapExec pentesting framework
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
CommandLine:
- '*cmd.exe /Q /c * 1> \\\\*\\*\\* 2>&1'
- '*cmd.exe /C * > \\\\*\\*\\* 2>&1'
- '*cmd.exe /C * > *\\Temp\\* 2>&1'
SELECTION_3:
CommandLine:
- '*powershell.exe -exec bypass -noni -nop -w 1 -C "*'
- '*powershell.exe -noni -nop -w 1 -enc *'
condition: (SELECTION_1 and SELECTION_2 and SELECTION_3)
falsepositives:
- Unknown
fields:
- ComputerName
- User
- CommandLine
id: 058f4380-962d-40a5-afce-50207d36d7e2
level: high
logsource:
category: process_creation
product: windows
references:
- https://github.com/byt3bl33d3r/CrackMapExec
status: stable
tags:
- attack.execution
- attack.t1047
- attack.t1053
- attack.t1059.003
- attack.t1059.001
- attack.s0106
- attack.t1086