Potential Defense Evasion Via Rename Of Highly Relevant Binaries

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the execution of a renamed binary often used by attackers or malware leveraging new Sysmon OriginalFileName datapoint.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (MESSAGE = "Execute processes remotely" OR PRODUCT_NAME = "Sysinternals PsExec" OR MESSAGE startswith "Windows PowerShell,pwsh" OR ORIGINALFILENAME = "certutil.exe,cmstp.exe,cscript.exe,IE4UINIT.EXE,mshta.exe,msiexec.exe,msxsl.exe,powershell_ise.exe,powershell.exe,psexec.c,psexec.exe,psexesvc.exe,pwsh.dll,reg.exe,regsvr32.exe,rundll32.exe,WerMgr,wmic.exe,wscript.exe") AND PROCESSNAME notendswith "\certutil.exe,\cmstp.exe,\cscript.exe,\ie4uinit.exe,\mshta.exe,\msiexec.exe,\msxsl.exe,\powershell_ise.exe,\powershell.exe,\psexec.exe,\psexec64.exe,\PSEXESVC.exe,\pwsh.exe,\reg.exe,\regsvr32.exe,\rundll32.exe,\wermgr.exe,\wmic.exe,\wscript.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

Matthew Green - @mgreen27, Florian Roth (Nextron Systems), frack113