Use Short Name Path in Command Line

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detect use of the Windows 8.3 short name. Which could be used as a method to avoid command-line detection

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "~1\,~2" AND (PARENTPROCESSNAME != "C:\Windows\System32\Dism.exe,C:\Windows\System32\cleanmgr.exe,C:\Program Files\GPSoftware\Directory Opus\dopus.exe" AND PARENTPROCESSNAME notendswith "\WebEx\WebexHost.exe,\thor\thor64.exe,\veam.backup.shell.exe,\winget.exe,\Everything\Everything.exe,\aurora-agent-64.exe,\aurora-agent.exe" AND PARENTPROCESSNAME notcontains "\AppData\Local\Temp\WinGet" AND COMMANDLINE notcontains "\appdata\local\webex\webex64\meetings\wbxreport.exe,C:\Program Files\Git\post-install.bat,C:\Program Files\Git\cmd\scalar.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

frack113, Nasreddine Bencherchali