Suspicious WMIC Execution Via Office Process

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Office application called wmic to proxye execution through a LOLBIN process. This is often used to break suspicious parent-child chain (Office app spawns LOLBin).

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PARENTPROCESSNAME endswith "\WINWORD.EXE,\EXCEL.EXE,\POWERPNT.exe,\MSPUB.exe,\VISIO.exe,\MSACCESS.EXE,\EQNEDT32.EXE,\ONENOTE.EXE,\wordpad.exe,\wordview.exe" AND (PROCESSNAME endswith "\wbem\WMIC.exe" OR ORIGINALFILENAME = "wmic.exe") AND ((COMMANDLINE contains "process" AND COMMANDLINE contains "create" AND COMMANDLINE contains "call") AND COMMANDLINE contains "regsvr32,rundll32,msiexec,mshta,verclsid,wscript,cscript") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Vadim Khrykov, Cyb3rEng