Metasploit With Proxychains May 2026

Once inside msfconsole , you'll see the normal prompt, but every TCP connection from Metasploit will now traverse your proxy chain. Example 1: Anonymous Port Scanning from Metasploit Instead of Nmap, use Metasploit's auxiliary/scanner/portscan/tcp :

Install and start Tor:

sudo proxychains4 msfconsole ProxyChains needs to bind to privileged ports (under 1024) for certain modules, and raw packet operations often require root. metasploit with proxychains

Routing the Matrix: How to Run Metasploit Through ProxyChains (For Anonymity & Pivoting) Once inside msfconsole , you'll see the normal

proxychains4 nmap -sT -Pn -p 80 example.com Note: Only -sT (TCP Connect) scans work, not -sS (SYN stealth). The magic command is simple: prefix msfconsole with proxychains4 . Once inside msfconsole