Windows API reference

GetEnvironmentVariableW

Reads an environment variable such as TEMP, APPDATA or USERPROFILE.

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

Detection summary

GetEnvironmentVariableW 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 GetEnvironmentVariableW in the interactive atlas