{"id":"d353dac0-1b41-46c2-820c-d7d2561fc6ed","title":"AWL Bypass with Winrm.vbs and Malicious WsmPty.xsl/WsmTxt.xsl - File","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-11-28","tags":["attack.stealth","attack.t1216"],"technique_ids":["T1216"],"logsource":{"product":"windows","category":"file_event"},"falsepositives":["Unlikely"],"references":["https://posts.specterops.io/application-whitelisting-bypass-and-arbitrary-unsigned-code-execution-technique-in-winrm-vbs-c8c24fb40404"],"source_path":"rules/windows/file/file_event/file_event_win_winrm_awl_bypass.yml","source_sha256":"246af2b141aec22494a3c0974268c961dec1b0109d802b13e9408d640c1f0ce6","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_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 - File\nid: d353dac0-1b41-46c2-820c-d7d2561fc6ed\nrelated:\n    - id: 074e0ded-6ced-4ebd-8b4d-53f55908119d\n      type: derived\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-11-28\ntags:\n    - attack.stealth\n    - attack.t1216\nlogsource:\n    product: windows\n    category: file_event\ndetection:\n    system_files:\n        TargetFilename|endswith:\n            - 'WsmPty.xsl'\n            - 'WsmTxt.xsl'\n    in_system_folder:\n        TargetFilename|startswith:\n            - 'C:\\Windows\\System32\\'\n            - 'C:\\Windows\\SysWOW64\\'\n    condition: system_files and not in_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/d353dac0-1b41-46c2-820c-d7d2561fc6ed.json","kind":"sigma"}
