Sigma rule: Notepad Password Files Discovery

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e1704aee15a0, updated 2025-02-21T00:00:00.000Z.

Rule

Title
Notepad Password Files Discovery
Status
experimental
Level
low
Author
The DFIR Report
Date
2025-02-21
File
rules/windows/process_creation/proc_creation_win_notepad_local_passwd_discovery.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of Notepad to open a file that has the string "password" which may indicate unauthorized access to credentials or suspicious activity.

Log source

product
windows
category
process_creation

Detection

selection:
    ParentImage|endswith: '\explorer.exe'
    Image|endswith: '\notepad.exe'
    CommandLine|endswith:
    # Note: Commandline to contain a file with the string password and a specific extension
        - 'password*.txt'
        - 'password*.csv'
        - 'password*.doc'
        - 'password*.xls'
condition: selection

False positives (as the rule lists them)

  • Legitimate use of opening files from remote hosts by administrators or users. However, storing passwords in text readable format could potentially be a violation of the organization's policy. Any match should be investigated further.

Tags

  • attack.discovery
  • attack.t1083

MITRE ATT&CK ids this rule names

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

Sources and licences

  • SigmaHQ

    "Notepad Password Files Discovery" by The DFIR Report (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_notepad_local_passwd_discovery.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: Notepad Password Files Discovery",
entity page, dataset version ref-e1704aee15a0, updated 2025-02-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3b4e950b-a3ea-44d3-877e-432071990709 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3b4e950b-a3ea-44d3-877e-432071990709, 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.