Suspicious MSHTA Child Process

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects a suspicious process spawning from an "mshta.exe" process, which could be indicative of a malicious HTA script execution

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PARENTPROCESSNAME endswith "\mshta.exe" AND (PROCESSNAME endswith "\cmd.exe,\powershell.exe,\pwsh.exe,\wscript.exe,\cscript.exe,\sh.exe,\bash.exe,\reg.exe,\regsvr32.exe,\bitsadmin.exe" OR ORIGINALFILENAME = "Cmd.Exe,PowerShell.EXE,pwsh.dll,wscript.exe,cscript.exe,Bash.exe,reg.exe,REGSVR32.EXE,bitsadmin.exe") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Michael Haag