Windows API reference

SetStdHandle

Redirects a standard device handle, used when piping shell I/O.

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

Detection summary

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