{"id":"8bc063d5-3a3a-4f01-a140-bc15e55e8437","title":"Suspicious GetTypeFromCLSID ShellExecute","description":"Detects suspicious Powershell code that execute COM Objects","author":"frack113","status":"test","level":"medium","date":"2022-04-02","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.t1546.015"],"technique_ids":["T1546.015"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Legitimate PowerShell scripts"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.015/T1546.015.md#atomic-test-2---powershell-execute-com-object"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml","source_sha256":"3e601566547d89cec7ac3e64d72c9d3001e6ff8cbb4169560f638fb8c200c9f9","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_susp_gettypefromclsid.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious GetTypeFromCLSID ShellExecute\nid: 8bc063d5-3a3a-4f01-a140-bc15e55e8437\nstatus: test\ndescription: Detects suspicious Powershell code that execute COM Objects\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.015/T1546.015.md#atomic-test-2---powershell-execute-com-object\nauthor: frack113\ndate: 2022-04-02\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1546.015\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            - '::GetTypeFromCLSID('\n            - '.ShellExecute('\n    condition: selection\nfalsepositives:\n    - Legitimate PowerShell scripts\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1546.015","id":"T1546.015","name":"Component Object Model Hijacking","page":"techniques/enterprise/T1546.015/"}],"data_path":"data/detection-rules/8bc063d5-3a3a-4f01-a140-bc15e55e8437.json","kind":"sigma"}
