{"id":"1e53dd56-8d83-4eb4-a43e-b790a05510aa","title":"Always Install Elevated MSI Spawned Cmd And Powershell","description":"Detects Windows Installer service (msiexec.exe) spawning \"cmd\" or \"powershell\"","author":"Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community","status":"test","level":"medium","date":"2020-10-13","modified":"2022-10-20","tags":["attack.privilege-escalation","attack.t1548.002"],"technique_ids":["T1548.002"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Unknown"],"references":["https://image.slidesharecdn.com/kheirkhabarovoffzonefinal-181117201458/95/hunting-for-privilege-escalation-in-windows-environment-50-638.jpg"],"source_path":"rules/windows/process_creation/proc_creation_win_susp_elavated_msi_spawned_shell.yml","source_sha256":"a721370f479acae933bebf3249e784d2bc607773e7c03692dda4f52ef4396dd9","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_susp_elavated_msi_spawned_shell.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Always Install Elevated MSI Spawned Cmd And Powershell\nid: 1e53dd56-8d83-4eb4-a43e-b790a05510aa\nstatus: test\ndescription: Detects Windows Installer service (msiexec.exe) spawning \"cmd\" or \"powershell\"\nreferences:\n    - https://image.slidesharecdn.com/kheirkhabarovoffzonefinal-181117201458/95/hunting-for-privilege-escalation-in-windows-environment-50-638.jpg\nauthor: Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community\ndate: 2020-10-13\nmodified: 2022-10-20\ntags:\n    - attack.privilege-escalation\n    - attack.t1548.002\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\cmd.exe'\n              - '\\powershell.exe'\n              - '\\pwsh.exe'\n        - OriginalFileName:\n              - 'Cmd.Exe'\n              - 'PowerShell.EXE'\n              - 'pwsh.dll'\n    selection_parent:\n        ParentImage|contains|all:\n            - '\\Windows\\Installer\\'\n            - 'msi'\n        ParentImage|endswith: 'tmp'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1548.002","id":"T1548.002","name":"Bypass User Account Control","page":"techniques/enterprise/T1548.002/"}],"data_path":"data/detection-rules/1e53dd56-8d83-4eb4-a43e-b790a05510aa.json","kind":"sigma"}
