Windows API reference
RegOpenKeyExW
Opens an existing registry key with the requested access rights.
- Library
- Advapi32.dll
- Category
- Registry
- Suspicion
- medium
- MITRE ATT&CK
- T1012 Query Registry
Detection summary
RegOpenKeyExW maps to Microsoft-Windows-Kernel-Registry; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Kernel-Registry
- Notes: Microsoft-Windows-Kernel-Registry records registry operations at high volume when enabled.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Every Windows application and installer.
Related APIs
- RegCreateKeyExW — Advapi32.dll
- RegCloseKey — Advapi32.dll