Sigma rule: CodePage Modification Via MODE.COM

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4945030c8405, updated 2024-01-19T00:00:00.000Z.

Rule

Title
CodePage Modification Via MODE.COM
Status
test
Level
low
Author
Nasreddine Bencherchali (Nextron Systems), Joseliyo Sanchez, @Joseliyo_Jstnk
Date
2024-01-19
File
rules-threat-hunting/windows/process_creation/proc_creation_win_mode_codepage_change.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a CodePage modification using the "mode.com" utility.
This behavior has been used by threat actors behind Dharma ransomware.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\mode.com'
    - OriginalFileName: 'MODE.COM'
selection_cli:
    CommandLine|contains|all:
        - ' con '
        - ' cp '
        - ' select='
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1036
  • detection.threat-hunting

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-threat-hunting/windows/process_creation/proc_creation_win_mode_codepage_change.yml

Sources and licences

  • SigmaHQ

    "CodePage Modification Via MODE.COM" by Nasreddine Bencherchali (Nextron Systems), Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_mode_codepage_change.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: CodePage Modification Via MODE.COM",
entity page, dataset version ref-4945030c8405, updated 2024-01-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d48c5ffa-3b02-4c0f-9a9e-3c275650dd0e (accessed 2026-11-03).
Underlying source: SigmaHQ rule d48c5ffa-3b02-4c0f-9a9e-3c275650dd0e, 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.