Skip to main content

Process Injection in Apollo

Apollo has abstracted process injection into its own project and has the following techniques implemented:
  • CreateRemoteThread
  • QueueUserAPC (early bird)
  • NtCreateThreadEx (via Syscalls)
As an operator, sometimes one injection technique is more desirable than another. To facilitate this, the get_injection_techniques command will list all currently loaded injection techniques the agent knows about. Similarly, set_injection_technique will update the currently used injection technique throughout all post-exploitation jobs.

Commands Leveraging Injection

All of Apollo’s fork and run commands use injection to inject into a sacrificial process; however, there are additional commands that inject into other processes. Those commands are:
Some injection techniques are incompatible with the aforementioned commands. For example: If QueueUserAPC is in use, the above commands will fail as it leverages the early bird version of QueueUserAPC, not the APC bombing technique.