Backdooring known applications can be a good way to compromise a target, for example, when you are already on the internal network and get access to the internal software repository. Also, by using a custom template, you may be able to bypass some security solutions that are using the default template to detect Metasploit payloads.
Templates
Getting ready
MSFvenom, by default, uses the templates in the /usr/share/metasploit-framework/data/templates directory, but we can choose to use our own, using the -x option.
How to do it...
- Using the -x option, we can specify our own template...