Windows API reference
PostThreadMessageW
Posts a message directly to a thread message queue.
- Library
- User32.dll
- Category
- Helper
- Suspicion
- medium
- MITRE ATT&CK
- Not mapped
Detection summary
PostThreadMessageW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: User-mode API not logged directly by Sysmon or standard kernel ETW; detect via static import triage, sandbox API hooking, or behavioral correlation.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Debuggers, accessibility tools, EDR/AV self-protection, game overlays and some installers.
Related APIs
- PeekMessageW — User32.dll