Rogue Gateway Detection: Receiver - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/rogue/rogue_recv metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Rogue Gateway Detection: Receiver
Module: auxiliary/scanner/rogue/rogue_recv
Source code: modules/auxiliary/scanner/rogue/rogue_recv.rb
Disclosure date: -
Last modification time: 2019-03-05 03:38:51 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 80
List of CVEs: -
This module listens for replies to the requests sent by the rogue_send module. The RPORT, CPORT, and ECHOID values must match the rogue_send parameters used exactly.
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/scanner/rogue/rogue_recv
msf auxiliary(rogue_recv) > show targets
... a list of targets ...
msf auxiliary(rogue_recv) > set TARGET target-id
msf auxiliary(rogue_recv) > show options
... show and set options ...
msf auxiliary(rogue_recv) > exploit
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Go back to menu.
Msfconsole Usage
Here is how the scanner/rogue/rogue_recv auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/rogue/rogue_recv
msf6 auxiliary(scanner/rogue/rogue_recv) > show info
Name: Rogue Gateway Detection: Receiver
Module: auxiliary/scanner/rogue/rogue_recv
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
hdm <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
CPORT 13832 yes The source port for the TCP SYN packet
ECHOID 7893 yes The unique ICMP ECHO ID to embed into the packet
FILTER no The filter string for capturing traffic
INTERFACE no The name of the interface
PCAPFILE no The name of the PCAP capture file to process
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 80 yes The destination port for the TCP SYN packet
SNAPLEN 65535 yes The number of bytes to capture
TIMEOUT 500 yes The number of seconds to wait for new data
Description:
This module listens for replies to the requests sent by the
rogue_send module. The RPORT, CPORT, and ECHOID values must match
the rogue_send parameters used exactly.
Module Options
This is a complete list of options available in the scanner/rogue/rogue_recv auxiliary module:
msf6 auxiliary(scanner/rogue/rogue_recv) > show options
Module options (auxiliary/scanner/rogue/rogue_recv):
Name Current Setting Required Description
---- --------------- -------- -----------
CPORT 13832 yes The source port for the TCP SYN packet
ECHOID 7893 yes The unique ICMP ECHO ID to embed into the packet
FILTER no The filter string for capturing traffic
INTERFACE no The name of the interface
PCAPFILE no The name of the PCAP capture file to process
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 80 yes The destination port for the TCP SYN packet
SNAPLEN 65535 yes The number of bytes to capture
TIMEOUT 500 yes The number of seconds to wait for new data
Advanced Options
Here is a complete list of advanced options supported by the scanner/rogue/rogue_recv auxiliary module:
msf6 auxiliary(scanner/rogue/rogue_recv) > show advanced
Module advanced options (auxiliary/scanner/rogue/rogue_recv):
Name Current Setting Required Description
---- --------------- -------- -----------
GATEWAY_PROBE_HOST 8.8.8.8 yes Send a TTL=1 random UDP datagram to this host to discover the default gateway's MAC
GATEWAY_PROBE_PORT no The port on GATEWAY_PROBE_HOST to send a random UDP probe to (random if 0 or unset)
SECRET 1297303073 yes A 32-bit cookie for probe requests.
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 scanner/rogue/rogue_recv module can do:
msf6 auxiliary(scanner/rogue/rogue_recv) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/rogue/rogue_recv auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/rogue/rogue_recv) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Related Pull Requests
- #11523 Merged Pull Request: MSF5: Remove unneeded RHOST deregister in scanners
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #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)
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
Go back to menu.
See Also
Check also the following modules related to this module:
- auxiliary/scanner/rogue/rogue_send
- exploit/linux/local/recvmmsg_priv_esc
- exploit/windows/local/ms16_014_wmi_recv_notif
Authors
hdm
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.