Detecting injections in process memory
There are different types of injections within process memory. Some are similar to each other, while others differ considerably. Depending on the technique used, the methods for detecting injections might vary. We will attempt to discuss the most relevant types of injections and the methods for their detection.
Dynamic-link library injections
Adversaries can use this technique for defense evasion or privilege escalation tactics. In general, the injection of Dynamic link Libraries (DLLs) is one of the methods used to execute arbitrary code in the address space of a legitimate process. There are two main types of DLL injections: remote and reflective.
Remote DLL injections
The malicious process gets SeDebugPrivilege
, which allows it to act as a debugger and gain read and write access to the address space of other processes. Using these privileges, the malicious process opens a handle for the target process, accesses its address space...