Metasploit is an exploitation development framework created by Rapid7 (www.rapid7.com). Metasploit contains many features and functions for penetration testing. There are many modules, such as exploits, payloads, encoders, and auxiliary. The auxiliary module contains port scanners, network sniffers, fuzzers, and a lot more to facilitate the information-gathering phase of a penetration test:
- To access the Metasploit interface, open a new Terminal and execute the following commands:
service postgresql start
msfconsole
- Once the user interface loads, the show auxiliary command will provide a list of all of the auxiliary modules within Metasploit. Let's use a simple example to demonstrate how to use a module: let's imagine you would like to perform a stealth (SYN) scan on a target. You can begin by selecting a module.
- Use the use auxiliary/scanner...