Sigma Rule Library

New File Association Using Exefile

Detects the abuse of the exefile handler in new file association. Used for bypass of security products.

View on GitHubOpen raw file

Detection logic

selection

TargetObject|contains: Classes\.
Details: exefile

filter_main_exe_default

TargetObject|endswith: Classes\.exe\(Default)

Condition

selection and not 1 of filter_main_*

Raw YAML

title: New File Association Using Exefile
id: 44a22d59-b175-4f13-8c16-cbaef5b581ff
status: test
description: Detects the abuse of the exefile handler in new file association. Used for bypass of security products.
references:
    - https://twitter.com/mrd0x/status/1461041276514623491
author: Andreas Hunkeler (@Karneades)
date: 2021-11-19
modified: 2026-11-16
tags:
    - attack.stealth
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: 'Classes\.'
        Details: 'exefile'
    filter_main_exe_default:
        TargetObject|endswith: 'Classes\.exe\(Default)'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

False positives

  • Unknown

References

Similar rules