SigmaHQ/rules/windows/powershell/powershell_CL_Invocation_LOLScript_v2.yml
2021-07-01 12:18:30 +05:45

29 lines
904 B
YAML

title: Execution via CL_Invocation.ps1 (2 Lines)
id: f588e69b-0750-46bb-8f87-0e9320d57536
description: Detects Execution via SyncInvoke in CL_Invocation.ps1 module
status: experimental
author: oscd.community, Natalia Shornikova
date: 2020/10/14
modified: 2021/05/21
references:
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSScripts/Cl_invocation.yml
- https://twitter.com/bohops/status/948061991012327424
tags:
- attack.defense_evasion
- attack.t1216
logsource:
product: windows
service: powershell
detection:
selection2:
EventID: 4104
ScriptBlockText|contains:
- 'CL_Invocation.ps1'
- 'SyncInvoke'
condition: selection2 | count(ScriptBlockText) by Computer > 2
# PS > Import-Module c:\Windows\diagnostics\system\Audio\CL_Invocation.ps1
# PS > SyncInvoke c:\Evil.exe
falsepositives:
- Unknown
level: high