Windows API reference

DefineDosDeviceW

Creates or removes a DOS device mapping, used in process doppelganging to hide a payload file.

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

Detection summary

DefineDosDeviceW is not directly logged; detect doppelganging setups through API telemetry and adjacent file, image and process events.

Sources and documentation

Last reviewed: . Page metadata generated .

Legitimate use

Only security products and research tooling should touch these paths.

Open DefineDosDeviceW in the interactive atlas