Sigma rule: Potential File Extension Spoofing Using Right-to-Left Override

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c29c6900532a, updated 2026-03-20T00:00:00.000Z.

Rule

Title
Potential File Extension Spoofing Using Right-to-Left Override
Status
test
Level
high
Author
Jonathan Peters (Nextron Systems), Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2024-11-17
Modified
2026-03-20
File
rules/windows/file/file_event/file_event_win_susp_right_to_left_override_extension_spoofing.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious filenames that contain a right-to-left override character and a potentially spoofed file extensions.

Log source

product
windows
category
file_event

Detection

selection_rtlo_unicode:
    TargetFilename|contains:
        - '\u202e'  # Unicode RTLO character
        - '[U+202E]'
        # Real char U+202E copied/pasted below
        - '‮'
selection_extensions:
    TargetFilename|contains:
        - '3pm.'  # Reversed `.mp3`
        - '4pm.'  # Reversed `.mp4`
        - 'cod.'  # Reversed `.doc`
        - 'fdp.'  # Reversed `.pdf`
        - 'ftr.'  # Reversed `.rtf`
        - 'gepj.'  # Reversed `.jpeg`
        - 'gnp.'  # Reversed `.png`
        - 'gpj.'  # Reversed `.jpg`
        - 'ism.'  # Reversed `.msi`
        - 'lmth.'  # Reversed `.html`
        - 'nls.' # Reversed `.sln`
        - 'piz.'  # Reversed `.zip`
        - 'slx.'  # Reversed `.xls`
        - 'tdo.'  # Reversed `.odt`
        - 'vsc.'  # Reversed `.csv`
        - 'vwm.'  # Reversed `.wmv`
        - 'xcod.'  # Reversed `.docx`
        - 'xslx.'  # Reversed `.xlsx`
        - 'xtpp.'  # Reversed `.pptx`
condition: all of selection_*

False positives (as the rule lists them)

  • Filenames that contains scriptures such as arabic or hebrew might make use of this character

Tags

  • attack.execution
  • attack.stealth
  • attack.t1036.002

MITRE ATT&CK ids this rule names

Related rules

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/file/file_event/file_event_win_susp_right_to_left_override_extension_spoofing.yml

Sources and licences

  • SigmaHQ

    "Potential File Extension Spoofing Using Right-to-Left Override" by Jonathan Peters (Nextron Systems), Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_right_to_left_override_extension_spoofing.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: Potential File Extension Spoofing Using Right-to-Left Override",
entity page, dataset version ref-c29c6900532a, updated 2026-03-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/979baf41-ca44-4540-9d0c-4fcef3b5a3a4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 979baf41-ca44-4540-9d0c-4fcef3b5a3a4, 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.