BNAT Router - Metasploit
This page contains detailed information about how to use the auxiliary/bnat/bnat_router metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: BNAT Router
Module: auxiliary/bnat/bnat_router
Source code: modules/auxiliary/bnat/bnat_router.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module will properly route BNAT traffic and allow for connections to be established to machines on ports which might not otherwise be accessible.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/bnat/bnat_router
msf auxiliary(bnat_router) > show targets
... a list of targets ...
msf auxiliary(bnat_router) > set TARGET target-id
msf auxiliary(bnat_router) > show options
... show and set options ...
msf auxiliary(bnat_router) > exploit
Go back to menu.
Msfconsole Usage
Here is how the bnat/bnat_router auxiliary module looks in the msfconsole:
msf6 > use auxiliary/bnat/bnat_router
msf6 auxiliary(bnat/bnat_router) > show info
Name: BNAT Router
Module: auxiliary/bnat/bnat_router
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
bannedit <[email protected]>
Jonathan Claudius
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
BNATIP 1.1.2.2 yes The ip of the bnat response you are getting
CLIENTIP 192.168.3.2 yes The ip of the client behing the BNAT router
ININF eth2 yes The internal interface connected to the network
OUTINF eth1 yes The external interface connected to the internet
SERVERIP 1.1.2.1 yes The ip of the server you are targeting
Description:
This module will properly route BNAT traffic and allow for
connections to be established to machines on ports which might not
otherwise be accessible.
References:
https://github.com/claudijd/bnat
http://www.slideshare.net/claudijd/dc-skytalk-bnat-hijacking-repairing-broken-communication-channels
Module Options
This is a complete list of options available in the bnat/bnat_router auxiliary module:
msf6 auxiliary(bnat/bnat_router) > show options
Module options (auxiliary/bnat/bnat_router):
Name Current Setting Required Description
---- --------------- -------- -----------
BNATIP 1.1.2.2 yes The ip of the bnat response you are getting
CLIENTIP 192.168.3.2 yes The ip of the client behing the BNAT router
ININF eth2 yes The internal interface connected to the network
OUTINF eth1 yes The external interface connected to the internet
SERVERIP 1.1.2.1 yes The ip of the server you are targeting
Advanced Options
Here is a complete list of advanced options supported by the bnat/bnat_router auxiliary module:
msf6 auxiliary(bnat/bnat_router) > show advanced
Module advanced options (auxiliary/bnat/bnat_router):
Name Current Setting Required Description
---- --------------- -------- -----------
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the bnat/bnat_router module can do:
msf6 auxiliary(bnat/bnat_router) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the bnat/bnat_router auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(bnat/bnat_router) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Related Pull Requests
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #6139 Merged Pull Request: Remove bad references (dead links)
- #5059 Merged Pull Request: Yard doc corrections
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- CVE: Not available
- https://github.com/claudijd/bnat
- http://www.slideshare.net/claudijd/dc-skytalk-bnat-hijacking-repairing-broken-communication-channels
See Also
Check also the following modules related to this module:
- auxiliary/gather/xbmc_traversal
- auxiliary/scanner/sap/sap_soap_rfc_dbmcli_sxpg_call_system_command_exec
- auxiliary/scanner/sap/sap_soap_rfc_dbmcli_sxpg_command_exec
- exploit/multi/misc/bmc_patrol_cmd_exec
- exploit/multi/misc/bmc_server_automation_rscd_nsh_rce
- auxiliary/gather/trackit_sql_domain_creds
- exploit/windows/http/trackit_file_upload
- auxiliary/scanner/http/synology_forget_passwd_user_enum
- exploit/linux/http/efw_chpasswd_exec
- exploit/linux/http/piranha_passwd_exec
- exploit/linux/http/qnap_qcenter_change_passwd_exec
- exploit/unix/ssh/tectia_passwd_changereq
- post/osx/gather/apfs_encrypted_volume_passwd
- auxiliary/admin/2wire/xslt_password_reset
- auxiliary/admin/chromecast/chromecast_reset
- auxiliary/admin/http/cfme_manageiq_evm_pass_reset
- auxiliary/admin/http/intersil_pass_reset
- auxiliary/admin/http/linksys_tmunblock_admin_reset_bof
- auxiliary/admin/http/mantisbt_password_reset
- auxiliary/admin/http/netgear_r6700_pass_reset
- auxiliary/admin/http/nuuo_nvrmini_reset
- auxiliary/admin/http/rails_devise_pass_reset
- auxiliary/scanner/http/epmp1000_reset_pass
- post/hardware/automotive/ecu_hard_reset
- auxiliary/bnat/bnat_scan
- auxiliary/scanner/discovery/ipv6_neighbor_router_advertisement
- auxiliary/scanner/sap/sap_router_info_request
- auxiliary/scanner/sap/sap_router_portscanner
- exploit/unix/http/ctek_skyrouter
- exploit/windows/misc/avaya_winpmd_unihostrouter
Authors
- bannedit
- Jonathan Claudius
Version
This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.