AWL Bypass with Winrm.vbs and Malicious WsmPty.xsl/WsmTxt.xsl

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects execution of attacker-controlled WsmPty.xsl or WsmTxt.xsl via winrm.vbs and copied cscript.exe (can be renamed)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "winrm" AND (COMMANDLINE contains "format:pretty,format:"pretty",format:"text",format:text" AND PROCESSNAME notstartswith "C:\Windows\System32\,C:\Windows\SysWOW64") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Julia Fomina, oscd.community