Sigma rule: Registry Modification to Hidden File Extension
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-485d0dae95c7, updated 2023-08-17T00:00:00.000Z.
Rule
- Title
- Registry Modification to Hidden File Extension
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2022-01-22
- Modified
- 2023-08-17
- File
- rules/windows/registry/registry_set/registry_set_hidden_extention.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Hides the file extension through modification of the registry
Log source
- product
- windows
- category
- registry_set
Detection
selection_HideFileExt:
TargetObject|endswith: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt'
Details: 'DWORD (0x00000001)'
selection_Hidden:
TargetObject|endswith: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden'
Details: 'DWORD (0x00000002)'
condition: 1 of selection_*False positives (as the rule lists them)
- Administrative scripts
Tags
- attack.persistence
- attack.t1137
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-1---modify-registry-of-current-user-profile---cmd
- https://unit42.paloaltonetworks.com/ransomware-families/
- https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=TrojanSpy%3aMSIL%2fHakey.A
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/registry/registry_set/registry_set_hidden_extention.yml
Sources and licences
SigmaHQ
"Registry Modification to Hidden File Extension" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_hidden_extention.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Registry Modification to Hidden File Extension",
entity page, dataset version ref-485d0dae95c7, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5df86130-4e95-4a54-90f7-26541b40aec2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5df86130-4e95-4a54-90f7-26541b40aec2, 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.