Windows API reference
NtOpenProcess
Opens a handle to an existing process with a requested access mask.
- Library
- Ntdll.dll
- Category
- Injection, Credential Access
- Suspicion
- high
Detection summary
Precursor to injection or credential theft: request PROCESS_VM_WRITE, PROCESS_VM_OPERATION and PROCESS_CREATE_THREAD for injection, or PROCESS_VM_READ for LSASS/browser memory reads; detect Sysmon 10 with GrantedAccess such as 0x1FFFFF, 0x1010 or 0x1410, ETW-TI process-open events, and unsigned or living-off-the-land source processes.
- Sysmon: Sysmon Event 10
- ETW: Microsoft-Windows-Threat-Intelligence
- Notes: Sysmon 10 must be configured for ProcessAccess; it records source/target and GrantedAccess, not the API name, and later reads/writes are not included.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Task managers, debuggers and security tools that open process handles natively.
Related APIs
- OpenProcess — Kernel32.dll