Use NTFS Short Name in Image

 Original Source: [Sigma source]
Title: Use NTFS Short Name in Image
Status: test
Description:Detect use of the Windows 8.3 short name. Which could be used as a method to avoid Image based detection
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
Author: frack113, Nasreddine Bencherchali (Nextron Systems)
Date: 2022-08-06
modified:2023-07-20
Tags:
  • -'attack.stealth'
  • -'attack.t1564.004'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    Image|contains:
      -'~1.bat'
      -'~1.dll'
      -'~1.exe'
      -'~1.hta'
      -'~1.js'
      -'~1.msi'
      -'~1.ps1'
      -'~1.tmp'
      -'~1.vbe'
      -'~1.vbs'
      -'~2.bat'
      -'~2.dll'
      -'~2.exe'
      -'~2.hta'
      -'~2.js'
      -'~2.msi'
      -'~2.ps1'
      -'~2.tmp'
      -'~2.vbe'
      -'~2.vbs'

  filter_main_generic_parent:
    ParentImage: 'C:\Windows\explorer.exe'
  filter_optional_webex:
    ParentImage|endswith: '\WebEx\WebexHost.exe'
  filter_optional_thor:
    ParentImage|endswith: '\thor\thor64.exe'
  filter_optional_winzip:
    Image: 'C:\PROGRA~1\WinZip\WZPREL~1.EXE'
  filter_optional_vcred:
    Image|endswith: '\VCREDI~1.EXE'
  condition:selection and not 1 of filter_main_* and not 1 of filter_optional_*
Falsepositives:
  -Software Installers
Level: medium