Skip to content
Threat Feed
medium advisory

Detection of Suspicious Offline Registry Library Usage

Detection of unauthorized processes loading offreg.dll to perform direct registry hive modification, potentially bypassing standard Windows Registry auditing.

The Offline Registry Library (offreg.dll) is a component designed to provide low-level access to Windows registry hives without requiring an active registry API connection. While intended for legitimate administrative and diagnostic tasks, this library is susceptible to abuse by attackers attempting to modify system configurations, persistence mechanisms, or security settings while bypassing standard Windows Registry monitoring telemetry. By loading offreg.dll into a process, an adversary can manipulate registry hives directly on disk, effectively evading audit logs that trigger on standard RegOpenKeyEx or RegSetValueEx calls. Defenders should monitor for unexpected processes loading this DLL from non-system and non-standard application paths.

Impact

Successful abuse of offreg.dll allows attackers to achieve stealthy persistence, disable security features, or modify system policies without generating traditional process-based registry modification alerts. This creates a significant blind spot for security operations teams relying strictly on standard registry event logging.

Recommendation

Deploy the Sigma detection rule below to identify non-standard processes loading offreg.dll in your environment. Prioritize investigation of processes executing from user-writable directories or temporary folders. Validate alerts against known administrative and backup tooling to minimize noise.

Threat Hunt

Identify all instances of offreg.dll being loaded by unsigned processes or processes not associated with standard administrative toolchains.

T1112 medium medium confidence convert to detection

Data: Endpoint image load logs

Detection coverage 1

Potentially Suspicious Image Load of Offreg.dll

medium

Detects loading of offreg.dll by processes outside of standard system, program files, or defender directories, which may indicate an attempt to bypass registry auditing.

sigma tactics: defense-impairment, persistence techniques: T1112 sources: image_load, windows

Detection queries are available on the platform. Get full rules →