Sigma rule: Enable LM Hash Storage
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e3efc38c1e10, updated 2023-12-15T00:00:00.000Z.
Rule
- Title
- Enable LM Hash Storage
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-12-15
- File
- rules/windows/registry/registry_set/registry_set_system_lsa_nolmhash.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects changes to the "NoLMHash" registry value in order to allow Windows to store LM Hashes.
By setting this registry value to "0" (DWORD), Windows will be allowed to store a LAN manager hash of your password in Active Directory and local SAM databases.
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|endswith: 'System\CurrentControlSet\Control\Lsa\NoLMHash'
Details: 'DWORD (0x00000000)'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.defense-impairment
- attack.t1112
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-347a
- https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/prevent-windows-store-lm-hash-password
- https://www.sans.org/blog/protecting-privileged-domain-accounts-lm-hashes-the-good-the-bad-and-the-ugly/
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_system_lsa_nolmhash.yml
Sources and licences
SigmaHQ
"Enable LM Hash Storage" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_system_lsa_nolmhash.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: Enable LM Hash Storage",
entity page, dataset version ref-e3efc38c1e10, updated 2023-12-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c420410f-c2d8-4010-856b-dffe21866437 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c420410f-c2d8-4010-856b-dffe21866437, 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.