An important part of a successful exploitation is to be able to keep access of the compromised machine. In this recipe, we will learn about an amazing tool known as the Backdoor Factory (BDF). The main goal of BDF is to patch Windows/Linux binaries with our shell code so that the executable runs normally, along with executing our shell code every time it executes.
Backdooring for persistance
How to do it...
Let's perform the following steps:
- BDF comes installed with Kali. It can be run by using the following command:
backdoor-factory
- To view all of the features of this tool, we will use the help command:
backdoor-factory -h
The output of running the preceding command can be seen in the following screenshot:
- Using...