Process injection is a method of executing arbitrary code in the address space of a separate live process. Modifies auto-execute functionality by setting/creating a value in the registry Installs hooks/patches the running processĪdding an entry to the 'run keys' in the Registry or startup folder will cause the program referenced to be executed when a user logs in. 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. Adversaries may execute a binary, command, or script via a method that interacts with Windows services, such as the Service Control Manager.