Sigma rule: Troubleshooting Pack Cmdlet Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-997c80719d56, updated 2022-06-21T00:00:00.000Z.
Rule
- Title
- Troubleshooting Pack Cmdlet Execution
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-06-21
- File
- rules/windows/powershell/powershell_script/posh_ps_susp_follina_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of "TroubleshootingPack" cmdlets to leverage CVE-2022-30190 or action similar to "msdt" lolbin (as described in LOLBAS)
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains|all:
- 'Invoke-TroubleshootingPack'
- 'C:\Windows\Diagnostics\System\PCW'
- '-AnswerFile'
- '-Unattended'
condition: selectionFalse positives (as the rule lists them)
- Legitimate usage of "TroubleshootingPack" cmdlet for troubleshooting purposes
Tags
- attack.stealth
- attack.t1202
MITRE ATT&CK ids this rule names
References
- https://twitter.com/nas_bench/status/1537919885031772161
- https://lolbas-project.github.io/lolbas/Binaries/Msdt/
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_follina_execution.yml
Sources and licences
SigmaHQ
"Troubleshooting Pack Cmdlet Execution" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_follina_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Troubleshooting Pack Cmdlet Execution",
entity page, dataset version ref-997c80719d56, updated 2022-06-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/03409c93-a7c7-49ba-9a4c-a00badf2a153 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 03409c93-a7c7-49ba-9a4c-a00badf2a153, 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.