Windows API reference

GetModuleFileNameW

Returns the full path of a module loaded in the calling process.

Library
Kernel32.dll
Suspicion
low
MITRE ATT&CK
Not mapped

Detection summary

GetModuleFileNameW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Common in general Windows applications; usage varies by application type.

Open GetModuleFileNameW in the interactive atlas