Sigma rule: Use NTFS Short Name in Command Line
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-dfd9af09588c, updated 2022-09-21T00:00:00.000Z.
Rule
- Title
- Use NTFS Short Name in Command Line
- Status
- test
- Level
- medium
- Author
- frack113, Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-05
- Modified
- 2022-09-21
- File
- rules/windows/process_creation/proc_creation_win_susp_ntfs_short_name_use_cli.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detect use of the Windows 8.3 short name. Which could be used as a method to avoid command-line detection
Log source
- product
- windows
- category
- process_creation
Detection
selection:
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'
filter:
- ParentImage|endswith:
- '\WebEx\WebexHost.exe'
- '\thor\thor64.exe'
- CommandLine|contains: 'C:\xampp\vcredist\VCREDI~1.EXE'
condition: selection and not filterFalse positives (as the rule lists them)
- Applications could use this notation occasionally which might generate some false positives. In that case Investigate the parent and child process.
Tags
- attack.stealth
- attack.t1564.004
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.acunetix.com/blog/articles/windows-short-8-3-filenames-web-security-problem/
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc959352(v=technet.10)
- https://twitter.com/jonasLyk/status/1555914501802921984
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_ntfs_short_name_use_cli.yml
Sources and licences
SigmaHQ
"Use NTFS Short Name in Command Line" by frack113, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_ntfs_short_name_use_cli.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Use NTFS Short Name in Command Line",
entity page, dataset version ref-dfd9af09588c, updated 2022-09-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/dd6b39d9-d9be-4a3b-8fe0-fe3c6a5c1795 (accessed 2026-11-03).
Underlying source: SigmaHQ rule dd6b39d9-d9be-4a3b-8fe0-fe3c6a5c1795, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.