Windows API reference
Sleep
Suspends the current thread for a number of milliseconds.
- Library
- Kernel32.dll
- Suspicion
- low
Detection summary
Sleep 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 delay work; sandboxes and malware also use long or inconsistent sleeps for timing evasion.
Related APIs
- SleepEx — Kernel32.dll
- NtDelayExecution — Ntdll.dll