Sigma rule: Execution of Suspicious File Type Extension

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b0b5abfea2cf, updated 2023-11-23T00:00:00.000Z.

Rule

Title
Execution of Suspicious File Type Extension
Status
test
Level
medium
Author
Max Altgelt (Nextron Systems)
Date
2021-12-09
Modified
2023-11-23
File
rules/windows/process_creation/proc_creation_win_susp_non_exe_image.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects whether the image specified in a process creation event doesn't refer to an ".exe" (or other known executable extension) file. This can be caused by process ghosting or other unorthodox methods to start a process.
This rule might require some initial baselining to align with some third party tooling in the user environment.

Log source

product
windows
category
process_creation

Detection

known_image_extension:
    Image|endswith:
        - '.bin'
        - '.cgi'
        - '.com'
        - '.exe'
        - '.scr'
        - '.tmp' # sadly many installers use this extension
filter_main_image: # Windows utilities without extension
    Image:
        - 'System'
        - 'Registry'
        - 'MemCompression'
        - 'vmmem'
filter_main_msi_installers:
    Image|contains: ':\Windows\Installer\MSI'
filter_main_driver_store:
    Image|contains: ':\Windows\System32\DriverStore\FileRepository\'
filter_main_msi_rollbackfiles:
    Image|contains: ':\Config.Msi\'
    Image|endswith:
        - '.rbf'
        - '.rbs'
filter_main_windows_temp:
    - ParentImage|contains: ':\Windows\Temp\'
    - Image|contains: ':\Windows\Temp\'
filter_main_deleted:
    Image|contains: ':\$Extend\$Deleted\'
filter_main_empty:
    Image:
        - '-'
        - ''
filter_main_null:
    Image: null
filter_optional_avira:
    ParentImage|contains: ':\ProgramData\Avira\'
filter_optional_nvidia:
    Image|contains: 'NVIDIA\NvBackend\'
    Image|endswith: '.dat'
filter_optional_winpakpro:
    Image|contains:
        - ':\Program Files (x86)\WINPAKPRO\'
        - ':\Program Files\WINPAKPRO\'
    Image|endswith: '.ngn'
filter_optional_myq_server:
    Image|endswith:
        - ':\Program Files (x86)\MyQ\Server\pcltool.dll'
        - ':\Program Files\MyQ\Server\pcltool.dll'
filter_optional_wsl:
    Image|contains|all:
        - '\AppData\Local\Packages\'
        - '\LocalState\rootfs\'
filter_optional_lzma_exe:
    Image|endswith: '\LZMA_EXE'
filter_optional_firefox:
    Image|contains: ':\Program Files\Mozilla Firefox\'
filter_optional_docker:
    ParentImage: 'C:\Windows\System32\services.exe'
    Image|endswith: 'com.docker.service'
condition: not known_image_extension and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth

References

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_non_exe_image.yml

Sources and licences

  • SigmaHQ

    "Execution of Suspicious File Type Extension" by Max Altgelt (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_non_exe_image.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Execution of Suspicious File Type Extension",
entity page, dataset version ref-b0b5abfea2cf, updated 2023-11-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c09dad97-1c78-4f71-b127-7edb2b8e491a (accessed 2026-11-03).
Underlying source: SigmaHQ rule c09dad97-1c78-4f71-b127-7edb2b8e491a, 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.