Rapid7 Vulnerability & Exploit Database

BNAT Scanner

Back to Search

BNAT Scanner



This module is a scanner which can detect Broken NAT (network address translation) implementations, which could result in an inability to reach ports on remote machines. Typically, these ports will appear in nmap scans as 'filtered'/'closed'.


  • bannedit <bannedit@metasploit.com>
  • Jonathan Claudius <jclaudius@trustwave.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/bnat/bnat_scan
msf auxiliary(bnat_scan) > show actions
msf auxiliary(bnat_scan) > set ACTION < action-name >
msf auxiliary(bnat_scan) > show options
    ...show and set options...
msf auxiliary(bnat_scan) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security