Suspicious GetTypeFromCLSID ShellExecute (via ps_script)
This rule detects anomalous Powershell code that execute COM Objects
SigmamediumWindowsv1
sigma
suspicious-gettypefromclsid-shellexecute-via-ps-script
title: Suspicious GetTypeFromCLSID ShellExecute (via ps_script)
id: 956ea66d-8728-5788-9c87-7d0ca6ee71d1
status: stable
description: This rule detects anomalous Powershell code that execute COM Objects
references:
- https://attack.mitre.org/techniques/T1546/015/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.015/T1546.015.md#atomic-test-2---powershell-execute-com-object
author: Huntrule Team
date: 2026-03-15
tags:
- attack.privilege-escalation
- attack.persistence
- attack.t1546.015
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection:
ScriptBlockText|contains|all:
- '::GetTypeFromCLSID('
- '.ShellExecute('
condition: selection
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.