{"id":"78aa1347-1517-4454-9982-b338d6df8343","title":"Powershell MsXml COM Object","description":"Adversaries may abuse PowerShell commands and scripts for execution.\nPowerShell is a powerful interactive command-line interface and scripting environment included in the Windows operating system. (Citation: TechNet PowerShell)\nAdversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code\n","author":"frack113, MatilJ","status":"test","level":"medium","date":"2022-01-19","modified":"2022-05-19","tags":["attack.execution","attack.t1059.001"],"technique_ids":["T1059.001"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Legitimate administrative script"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1059.001/T1059.001.md#atomic-test-7---powershell-msxml-com-object---with-prompt","https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms766431(v=vs.85)","https://www.trendmicro.com/en_id/research/22/e/uncovering-a-kingminer-botnet-attack-using-trend-micro-managed-x.html"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_msxml_com.yml","source_sha256":"ceee9e0f8f6df696887fe6efe20f2afb1a7eb84bd899e31b6e62dc7f377f8241","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_msxml_com.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Powershell MsXml COM Object\nid: 78aa1347-1517-4454-9982-b338d6df8343\nstatus: test\ndescription: |\n    Adversaries may abuse PowerShell commands and scripts for execution.\n    PowerShell is a powerful interactive command-line interface and scripting environment included in the Windows operating system. (Citation: TechNet PowerShell)\n    Adversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1059.001/T1059.001.md#atomic-test-7---powershell-msxml-com-object---with-prompt\n    - https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms766431(v=vs.85)\n    - https://www.trendmicro.com/en_id/research/22/e/uncovering-a-kingminer-botnet-attack-using-trend-micro-managed-x.html\nauthor: frack113, MatilJ\ndate: 2022-01-19\nmodified: 2022-05-19\ntags:\n    - attack.execution\n    - attack.t1059.001\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            - 'New-Object'\n            - '-ComObject'\n            - 'MsXml2.'\n            - 'XmlHttp'\n    condition: selection\nfalsepositives:\n    - Legitimate administrative script\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/78aa1347-1517-4454-9982-b338d6df8343.json","kind":"sigma"}
