Use NTFS Short Name 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.exe,~1.bat,~1.msi,~1.vbe,~1.vbs,~1.dll,~1.ps1,~1.js,~1.hta,~2.exe,~2.bat,~2.msi,~2.vbe,~2.vbs,~2.dll,~2.ps1,~2.js,~2.hta" AND (PARENTPROCESSNAME notendswith "\WebEx\WebexHost.exe,\thor\thor64.exe" AND COMMANDLINE notcontains "C:\xampp\vcredist\VCREDI~1.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 (Nextron Systems)