MSFvenom is an exploit packing tool that comes with the Metasploit framework. MSFvenom has the ability to build everything, from simple exploits to complex exploits that contain code to obfuscate the exploit used to bypass anti-virus services. Here, we are going to build a simple exploit to run. Normally, I would build and run the simple exploit first, and if problems arise from the anti-virus, I would then try to build out one to bypass the anti-virus.
MSFvenom is a very powerful tool, as we can see from the following help file:
MsfVenom - a Metasploit standalone payload generator. Also a replacement for msfpayload and msfencode. Usage: /usr/bin/msfvenom [options] <var=val> Options: -p, --payload <payload> Payload to use. Specify ...