Detectionmediumtest
Suspicious GetTypeFromCLSID ShellExecute
Detects suspicious Powershell code that execute COM Objects
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains|all:
- '::GetTypeFromCLSID('
- '.ShellExecute('
condition: selectionFalse Positives
Legitimate PowerShell scripts
References
MITRE ATT&CK
Rule Metadata
Rule ID
8bc063d5-3a3a-4f01-a140-bc15e55e8437
Status
test
Level
medium
Type
Detection
Created
Sat Apr 02
Author
Path
rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.t1546.015