{"id":"03cc0c25-389f-4bf8-b48d-11878079f1ca","title":"Suspicious MSHTA Child Process","description":"Detects a suspicious process spawning from an \"mshta.exe\" process, which could be indicative of a malicious HTA script execution","author":"Michael Haag","status":"test","level":"high","date":"2019-01-16","modified":"2023-02-06","tags":["attack.stealth","attack.t1218.005","car.2013-02-003","car.2013-03-001","car.2014-04-003"],"technique_ids":["T1218.005"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Printer software / driver installations","HP software"],"references":["https://www.trustedsec.com/july-2015/malicious-htas/"],"source_path":"rules/windows/process_creation/proc_creation_win_mshta_susp_child_processes.yml","source_sha256":"8a32fc6f6030da48f4e22446d7446ffb85b7801158ec204e4659a657ecc44380","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_mshta_susp_child_processes.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 MSHTA Child Process\nid: 03cc0c25-389f-4bf8-b48d-11878079f1ca\nstatus: test\ndescription: Detects a suspicious process spawning from an \"mshta.exe\" process, which could be indicative of a malicious HTA script execution\nreferences:\n    - https://www.trustedsec.com/july-2015/malicious-htas/\nauthor: Michael Haag\ndate: 2019-01-16\nmodified: 2023-02-06\ntags:\n    - attack.stealth\n    - attack.t1218.005\n    - car.2013-02-003\n    - car.2013-03-001\n    - car.2014-04-003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_parent:\n        ParentImage|endswith: '\\mshta.exe'\n    selection_child:\n        - Image|endswith:\n              - '\\cmd.exe'\n              - '\\powershell.exe'\n              - '\\pwsh.exe'\n              - '\\wscript.exe'\n              - '\\cscript.exe'\n              - '\\sh.exe'\n              - '\\bash.exe'\n              - '\\reg.exe'\n              - '\\regsvr32.exe'\n              - '\\bitsadmin.exe'\n        - OriginalFileName:\n              - 'Cmd.Exe'\n              - 'PowerShell.EXE'\n              - 'pwsh.dll'\n              - 'wscript.exe'\n              - 'cscript.exe'\n              - 'Bash.exe'\n              - 'reg.exe'\n              - 'REGSVR32.EXE'\n              - 'bitsadmin.exe'\n    condition: all of selection*\nfalsepositives:\n    - Printer software / driver installations\n    - HP software\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.005","id":"T1218.005","name":"Mshta","page":"techniques/enterprise/T1218.005/"}],"data_path":"data/detection-rules/03cc0c25-389f-4bf8-b48d-11878079f1ca.json","kind":"sigma"}
