Windows API reference
NtGetContextThread
Native call to read a thread context.
- Library
- Ntdll.dll
- Category
- Injection, Process Hollowing
- Suspicion
- medium
Detection summary
NtGetContextThread maps to Microsoft-Windows-Threat-Intelligence; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Threat-Intelligence
- Notes: Microsoft-Windows-Threat-Intelligence emits kernel memory and thread events only when the provider is enabled; it is not a default ETW channel.
Sources and documentation
- Microsoft Learn documentation (equivalent API documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Debuggers, crash handlers and security tools that read thread context.
Related APIs
- GetThreadContext — Kernel32.dll