Windows API reference

NtWriteVirtualMemory

Writes data into a specified process virtual address space; the native equivalent of WriteProcessMemory.

Library
Ntdll.dll
Suspicion
high

Detection summary

Used after remote allocation to write shellcode, a PE image or configuration into a victim process; detect ETW-TI remote-write events, EDR kernel callbacks, private RW/RX regions, and cross-process handle opens with PROCESS_VM_WRITE and PROCESS_VM_OPERATION. A preceding Sysmon 10 ProcessAccess event may show the handle open, but it does not contain the data written. Direct syscalls evade user-mode hooks.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Debuggers, instrumentation and security tools that write process memory natively.

Open NtWriteVirtualMemory in the interactive atlas