Troubleshooting Pack Cmdlet Execution

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Invoke-TroubleshootingPack" AND SCRIPTEXECUTED contains "C:\Windows\Diagnostics\System\PCW" AND SCRIPTEXECUTED contains "-AnswerFile" AND SCRIPTEXECUTED contains "-Unattended" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)