Windows API reference
SleepEx
Suspends execution and allows APC delivery while waiting.
- Library
- Kernel32.dll
- Suspicion
- low
Detection summary
SleepEx 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
Applications that need to wait and process APCs; sandboxes and malware also use delays for timing evasion.
Related APIs
- Sleep — Kernel32.dll