Sigma rule: Registry Hive File Staged Outside Standard User Profile Path

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

Rule

Title
Registry Hive File Staged Outside Standard User Profile Path
Status
experimental
Level
high
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2026-07-23
File
rules/windows/file/file_event/file_event_win_susp_registry_hive_file_creation.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of a registry hive file (UsrClass.dat or NTUSER.DAT) outside of the standard user profile path.
These files generally contain various user-specific registry settings and are typically located in the user's profile directory.
Staging these files outside of the standard path can be indicative of an attacker attempting to manipulate user registry settings
for persistence, privilege escalation, or dump user registry hives for credential harvesting.

Log source

product
windows
category
file_event

Detection

selection:
    TargetFilename|endswith:
        - '\UsrClass.dat'
        - '\NTUSER.DAT'
filter_main_usrclass:
    TargetFilename|endswith: '\AppData\Local\Microsoft\Windows\UsrClass.dat'
filter_main_ntuser:
    TargetFilename|re|i: '^C:\\Users\\[^\\]+\\NTUSER\.DAT$'
filter_main_system:
    TargetFilename|startswith:
        - 'C:\Windows\System32\config\'
        - 'C:\Windows\SYSVOL\'
        - 'C:\Windows\ServiceProfiles\'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Backup or profile migration software
  • Forensic acquisition tools

Tags

  • attack.privilege-escalation
  • attack.t1548
  • attack.credential-access
  • attack.t1003

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

Sources and licences

  • SigmaHQ

    "Registry Hive File Staged Outside Standard User Profile Path" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_registry_hive_file_creation.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: Registry Hive File Staged Outside Standard User Profile Path",
entity page, dataset version ref-dcf35f61aa5d, updated 2026-07-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a7f3c891-2e4d-4b6a-9f8c-d5e2a1b04c73 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a7f3c891-2e4d-4b6a-9f8c-d5e2a1b04c73, 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.