Windows API reference

AllocConsole

Allocates a console for a GUI process.

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

Detection summary

AllocConsole 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

Console applications and tools that need to create a console window; malware may also allocate one to hide or redirect output.

Open AllocConsole in the interactive atlas