MSFvenom

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 ...

Get Kali Linux 2018: Windows Penetration Testing - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.