Sigma rule: Potentially Suspicious Image Load of Offreg.dll
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8c8e27e095a7, updated 2026-07-23T00:00:00.000Z.
Rule
- Title
- Potentially Suspicious Image Load of Offreg.dll
- Status
- experimental
- Level
- medium
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2026-07-23
- File
- rules/windows/image_load/image_load_susp_offreg_dll_load.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects potentially suspicious loading of the Offline Registry Library (offreg.dll).
Offreg.dll enables direct read/write access to offline registry hives without invoking the Windows Registry API,
bypassing its associated audit logging and telemetry. Attackers may abuse this to stealthily modify registry hives
while evading detection mechanisms that rely on standard registry event logs.
Log source
- product
- windows
- category
- image_load
Detection
selection:
ImageLoaded|endswith: '\offreg.dll'
filter_main_system32:
Image|startswith:
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
- 'C:\Windows\WinSxS\'
filter_main_program_files:
Image|startswith:
- 'C:\Program Files\'
- 'C:\Program Files (x86)\'
filter_main_appdata_local_programs:
Image|startswith: 'C:\Users\'
Image|contains: '\AppData\Local\Programs\'
filter_main_defender:
Image|startswith: 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
Image|endswith: '\MsMpEng.exe'
condition: selection and not 1 of filter_main_*False positives (as the rule lists them)
- Third-party backup or forensic software that performs offline registry parsing
- Windows deployment tools (DISM, ADK) run from non-standard paths
Tags
- attack.defense-impairment
- attack.persistence
- attack.t1112
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/windows/win32/devnotes/about-the-offline-registry-library
- https://github.com/MSNightmare/LegacyHive
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/image_load/image_load_susp_offreg_dll_load.yml
Sources and licences
SigmaHQ
"Potentially Suspicious Image Load of Offreg.dll" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/image_load/image_load_susp_offreg_dll_load.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: Potentially Suspicious Image Load of Offreg.dll",
entity page, dataset version ref-8c8e27e095a7, updated 2026-07-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c9e5f013-4a6f-4d8c-9b0e-f7a4c3d26e95 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c9e5f013-4a6f-4d8c-9b0e-f7a4c3d26e95, 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.