In the past there was msfpayload and msfencode that served the purpose of creating a malicious payload under the metasploit framework.
However, like all good things, they needed an upgrade and ended up being combined into msfvenom (feisty sounding name). So basically msfvenom allows pentesters to create a payload and then encode it with their selected encoder without having to port the generated msfpayload to msfencode. This makes for a more compact framework with the integration of these modules.
The video below shows a demonstration of how to create a remote access trojan (RAT) that is attached to a functional calculator.exe program. In most cases, when we do not have our own executable to attach the malicious code to, we end up using the metasploit templates which are known to most antiviruses.
It's quite simple to download the calculator.exe program from the internet (or any specific executable file the pentester wishes to use.
Please note that this tutorial and its imparted knowledge are strictly for educational purposes only.
Comments
Post a Comment