Windows API reference

WriteProcessMemory

Writes data to an area of memory in a specified process; the entire target area must be writable or the operation fails.

Library
Kernel32.dll
Suspicion
high

Detection summary

Writes shellcode, a PE image or configuration into a remote process after VirtualAllocEx; detect ETW-TI remote-write events, a preceding Sysmon 10 PROCESS_VM_WRITE handle open, EDR call stacks, and private RW/RX memory. Direct NtWriteVirtualMemory or syscalls can bypass user-mode hooks, so kernel telemetry and memory scanning are primary.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Debuggers, crash reporters, EDR/anti-cheat, sandbox instrumentation and accessibility tools.

Open WriteProcessMemory in the interactive atlas