So I'm starting to learn and work with kernel mode driver in c++. I'm just wondering, because of all the controversy, the best way to use kernel-mode routines. Here's what I mean:
To write a processes memory (like Win32's WriteProcessMemory()), people say to just use ZwOpenProcess, then ZwWriteVirtualMemory. Some say that those functions don't exist, and some say that's not true kernel programming and that we should use real windows kernel functions like MmCopyMemory and KeAttachProcess.
I want to know, 1. Which method is the PROPER method and the best "Windows" way, and do those methods even exist.