Process injection is a method of executing arbitrary code in the address space of a separate live process.Īllocates virtual memory in a remote process Installs hooks/patches the running process Windows processes often leverage application programming interface (API) functions to perform tasks that require reusable system resources. Opens the Kernel Security Device Driver (KsecDD) of Windows Loadable Kernel Modules (or LKMs) are pieces of code that can be loaded and unloaded into the kernel upon demand.Ĭontains ability to enumerate processes/modules/threads
On Linux and Apple systems, multiple methods are supported for creating pre-scheduled and periodic background jobs: cron,Die. Adversaries may execute a binary, command, or script via a method that interacts with Windows services, such as the Service Control Manager.