Detectionmediumtest

Troubleshooting Pack Cmdlet Execution

Detects execution of "TroubleshootingPack" cmdlets to leverage CVE-2022-30190 or action similar to "msdt" lolbin (as described in LOLBAS)

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 2103409c93-a7c7-49ba-9a4c-a00badf2a153windows
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:
            - 'Invoke-TroubleshootingPack'
            - 'C:\Windows\Diagnostics\System\PCW'
            - '-AnswerFile'
            - '-Unattended'
    condition: selection
False Positives

Legitimate usage of "TroubleshootingPack" cmdlet for troubleshooting purposes

Rule Metadata
Rule ID
03409c93-a7c7-49ba-9a4c-a00badf2a153
Status
test
Level
medium
Type
Detection
Created
Tue Jun 21
Path
rules/windows/powershell/powershell_script/posh_ps_susp_follina_execution.yml
Raw Tags
attack.defense-evasionattack.t1202
View on GitHub