Suspicious Double Extension Files

 Original Source: [Sigma source]
Title: Suspicious Double Extension Files
Status: test
Description:Detects dropped files with double extensions, which is often used by malware as a method to abuse the fact that Windows hide default extensions by default.
References:
  -https://www.crowdstrike.com/blog/meet-crowdstrikes-adversary-of-the-month-for-june-mustang-panda/
  -https://www.anomali.com/blog/china-based-apt-mustang-panda-targets-minority-groups-public-and-private-sector-organizations
  -https://www.cybereason.com/blog/research/a-bazar-of-tricks-following-team9s-development-cycles
  -https://twitter.com/malwrhunterteam/status/1235135745611960321
  -https://twitter.com/luc4m/status/1073181154126254080
  -https://cloud.google.com/blog/topics/threat-intelligence/cybercriminals-weaponize-fake-ai-websites
  -https://vipre.com/blog/svg-phishing-attacks-the-new-trick-in-the-cybercriminals-playbook/
Author: Nasreddine Bencherchali (Nextron Systems), frack113
Date: 2022-06-19
modified:2026-10-16
Tags:
  • -'attack.stealth'
  • -'attack.t1036.007'
Logsource:
  • category: file_event
  • product: windows
Detection:
  selection_gen:
    TargetFilename|re|i: '\.(docx?|gif|jpe?g|mp3|mp4|pdf|png|pptx?|rtf|svg|txt|xlsx?)\.(bat|exe|iso|rar|svg|vbe|vbs|zip)$'
  selection_exe:
    TargetFilename|endswith:
      -'.rar.exe'
      -'.zip.exe'

  filter_main_legitimate_extensions:
    TargetFilename|endswith:
      -'.svg.svg'
      -'.png.svg'
      -'.jpg.svg'
      -'.jpeg.svg'

  filter_optional_icons_linux:
    TargetFilename|startswith: '/usr/share/icons/'
  condition:1 of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*
Falsepositives:
  -Unlikely
Level: high