{"id":"03409c93-a7c7-49ba-9a4c-a00badf2a153","title":"Troubleshooting Pack Cmdlet Execution","description":"Detects execution of \"TroubleshootingPack\" cmdlets to leverage CVE-2022-30190 or action similar to \"msdt\" lolbin (as described in LOLBAS)","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-06-21","modified":"","tags":["attack.stealth","attack.t1202"],"technique_ids":["T1202"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Legitimate usage of \"TroubleshootingPack\" cmdlet for troubleshooting purposes"],"references":["https://twitter.com/nas_bench/status/1537919885031772161","https://lolbas-project.github.io/lolbas/Binaries/Msdt/"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_susp_follina_execution.yml","source_sha256":"44d4b575d800778390817bf767eb817ad86bde7aa2c3eecf051d1a1aa6cac602","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_susp_follina_execution.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Troubleshooting Pack Cmdlet Execution\nid: 03409c93-a7c7-49ba-9a4c-a00badf2a153\nstatus: test\ndescription: Detects execution of \"TroubleshootingPack\" cmdlets to leverage CVE-2022-30190 or action similar to \"msdt\" lolbin (as described in LOLBAS)\nreferences:\n    - https://twitter.com/nas_bench/status/1537919885031772161\n    - https://lolbas-project.github.io/lolbas/Binaries/Msdt/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-06-21\ntags:\n    - attack.stealth\n    - attack.t1202\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection:\n        ScriptBlockText|contains|all:\n            - 'Invoke-TroubleshootingPack'\n            - 'C:\\Windows\\Diagnostics\\System\\PCW'\n            - '-AnswerFile'\n            - '-Unattended'\n    condition: selection\nfalsepositives:\n    - Legitimate usage of \"TroubleshootingPack\" cmdlet for troubleshooting purposes\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1202","id":"T1202","name":"Indirect Command Execution","page":"techniques/enterprise/T1202/"}],"data_path":"data/detection-rules/03409c93-a7c7-49ba-9a4c-a00badf2a153.json","kind":"sigma"}
