Detectionmediumtest

PowerShell Hotfix Enumeration

Detects call to "Win32_QuickFixEngineering" in order to enumerate installed hotfixes often used in "enum" scripts by attackers

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Tue Jun 21f5d1def8-1de0-4a0e-9794-1f6f27dd605cwindows
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:
            - 'Win32_QuickFixEngineering'
            - 'HotFixID'
    condition: selection
False Positives

Legitimate administration scripts

MITRE ATT&CK
Rule Metadata
Rule ID
f5d1def8-1de0-4a0e-9794-1f6f27dd605c
Status
test
Level
medium
Type
Detection
Created
Tue Jun 21
Path
rules/windows/powershell/powershell_script/posh_ps_hotfix_enum.yml
Raw Tags
attack.discovery
View on GitHub