{"id":"074e0ded-6ced-4ebd-8b4d-53f55908119d","title":"AWL Bypass with Winrm.vbs and Malicious WsmPty.xsl/WsmTxt.xsl","description":"Detects execution of attacker-controlled WsmPty.xsl or WsmTxt.xsl via winrm.vbs and copied cscript.exe (can be renamed)","author":"Julia Fomina, oscd.community","status":"test","level":"medium","date":"2020-10-06","modified":"2022-10-09","tags":["attack.stealth","attack.t1216"],"technique_ids":["T1216"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unlikely"],"references":["https://posts.specterops.io/application-whitelisting-bypass-and-arbitrary-unsigned-code-execution-technique-in-winrm-vbs-c8c24fb40404"],"source_path":"rules/windows/process_creation/proc_creation_win_winrm_awl_bypass.yml","source_sha256":"4e32badc4e851f3bf28999193671c7c46cb797d0dbc36b31cf05543adce79d65","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_winrm_awl_bypass.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: AWL Bypass with Winrm.vbs and Malicious WsmPty.xsl/WsmTxt.xsl\nid: 074e0ded-6ced-4ebd-8b4d-53f55908119d\nstatus: test\ndescription: Detects execution of attacker-controlled WsmPty.xsl or WsmTxt.xsl via winrm.vbs and copied cscript.exe (can be renamed)\nreferences:\n    - https://posts.specterops.io/application-whitelisting-bypass-and-arbitrary-unsigned-code-execution-technique-in-winrm-vbs-c8c24fb40404\nauthor: Julia Fomina, oscd.community\ndate: 2020-10-06\nmodified: 2022-10-09\ntags:\n    - attack.stealth\n    - attack.t1216\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    contains_format_pretty_arg:\n        CommandLine|contains:\n            - 'format:pretty'\n            - 'format:\"pretty\"'\n            - 'format:\"text\"'\n            - 'format:text'\n    image_from_system_folder:\n        Image|startswith:\n            - 'C:\\Windows\\System32\\'\n            - 'C:\\Windows\\SysWOW64\\'\n    contains_winrm:\n        CommandLine|contains: 'winrm'\n    condition: contains_winrm and (contains_format_pretty_arg and not image_from_system_folder)\nfalsepositives:\n    - Unlikely\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1216","id":"T1216","name":"System Script Proxy Execution","page":"techniques/enterprise/T1216/"}],"data_path":"data/detection-rules/074e0ded-6ced-4ebd-8b4d-53f55908119d.json","kind":"sigma"}
