Windows API reference
QueryPerformanceCounter
Reads a high-resolution timestamp used for timing-based detection of debuggers and sandboxes.
- Library
- Kernel32.dll
- Category
- Anti-Debugging, Evasion
- Suspicion
- low
Detection summary
QueryPerformanceCounter 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
Anti-cheat, DRM, licensing and crash-reporting components.
Related APIs
- QueryPerformanceFrequency — Kernel32.dll
- GetTickCount64 — Kernel32.dll