Windows API reference
LoadLibraryExW
Loads a module with flags controlling search paths and data-file loading.
- Library
- Kernel32.dll
- Suspicion
- medium
- MITRE ATT&CK
- T1129 Shared Modules
Detection summary
LoadLibraryExW maps to Sysmon Event 7 and Microsoft-Windows-Kernel-Process; these events record the OS effect, not the API call.
- Sysmon: Sysmon Event 7
- ETW: Microsoft-Windows-Kernel-Process
- Notes: Sysmon Event 7 records the loaded image path and hash; it does not identify the API used to load it. Microsoft-Windows-Kernel-Process provides process, thread and image lifecycle events when enabled.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Applications, loaders and plugins that need controlled DLL loading behavior.
Related APIs
- LoadLibraryW — Kernel32.dll