In this recipe, we will build an infectious file that can be put on USBs, CDs, or DVDs. We will generate a malicious payload that will autorun when entered into a victim PC. We will simulate the execution; however, if you have physical test machines, it is much easier to test.
Infectious media generator
Getting ready
Let's ensure the following prerequisites:
- Kali Linux is running, and you are logged in as root
- Windows VM is up and running
How to do it...
We will build our infections media:
- From the Applications menu, select Social Engineering Tools | SET Social...