Sigma rule: Potential SAM Database Dump
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4735b2742191, updated 2023-01-05T00:00:00.000Z.
Rule
- Title
- Potential SAM Database Dump
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-02-11
- Modified
- 2023-01-05
- File
- rules/windows/file/file_event/file_event_win_sam_dump.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation of files that look like exports of the local SAM (Security Account Manager)
Log source
- product
- windows
- category
- file_event
Detection
selection:
- TargetFilename|endswith:
- '\Temp\sam'
- '\sam.sav'
- '\Intel\sam'
- '\sam.hive'
- '\Perflogs\sam'
- '\ProgramData\sam'
- '\Users\Public\sam'
- '\AppData\Local\sam'
- '\AppData\Roaming\sam'
- '_ShadowSteal.zip' # https://github.com/HuskyHacks/ShadowSteal
- '\Documents\SAM.export' # https://github.com/n3tsurge/CVE-2021-36934/
- ':\sam'
- TargetFilename|contains:
- '\hive_sam_' # https://github.com/FireFart/hivenightmare
- '\sam.save'
- '\sam.export'
- '\~reg_sam.save'
- '\sam_backup'
- '\sam.bck'
- '\sam.backup'
condition: selectionFalse positives (as the rule lists them)
- Rare cases of administrative activity
Tags
- attack.credential-access
- attack.t1003.002
MITRE ATT&CK ids this rule names
References
- https://github.com/search?q=CVE-2021-36934
- https://web.archive.org/web/20210725081645/https://github.com/cube0x0/CVE-2021-36934
- https://www.google.com/search?q=%22reg.exe+save%22+sam
- https://github.com/HuskyHacks/ShadowSteal
- https://github.com/FireFart/hivenightmare
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_sam_dump.yml
Sources and licences
SigmaHQ
"Potential SAM Database Dump" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_sam_dump.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: Potential SAM Database Dump",
entity page, dataset version ref-4735b2742191, updated 2023-01-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/4e87b8e2-2ee9-4b2a-a715-4727d297ece0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 4e87b8e2-2ee9-4b2a-a715-4727d297ece0, 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.