Sigma rule: Suspicious GetTypeFromCLSID ShellExecute

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ecaab6da9563, updated 2022-04-02T00:00:00.000Z.

Rule

Title
Suspicious GetTypeFromCLSID ShellExecute
Status
test
Level
medium
Author
frack113
Date
2022-04-02
File
rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious Powershell code that execute COM Objects

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection:
    ScriptBlockText|contains|all:
        - '::GetTypeFromCLSID('
        - '.ShellExecute('
condition: selection

False positives (as the rule lists them)

  • Legitimate PowerShell scripts

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1546.015

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml

Sources and licences

  • SigmaHQ

    "Suspicious GetTypeFromCLSID ShellExecute" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious GetTypeFromCLSID ShellExecute",
entity page, dataset version ref-ecaab6da9563, updated 2022-04-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8bc063d5-3a3a-4f01-a140-bc15e55e8437 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8bc063d5-3a3a-4f01-a140-bc15e55e8437, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.