Rapid7

module

Windows Outbound-Filtering Rules

Disclosed
N/A
Created
May 30, 2018

Description

This module makes some kind of TCP traceroute to get outbound-filtering rules.
It will try to make a TCP connection to a certain public IP address (this IP
does not need to be under your control) using different TTL incremental values.
This way if you get an answer (ICMP TTL time exceeded packet) from a public IP
device you can infer that the destination port is allowed. Setting STOP to
true the module will stop as soon as you reach a public IP (this will generate
less noise in the network).

Author

Borja Merino [email protected]

Platform

Windows

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 post/windows/recon/outbound_ports
msf post(outbound_ports) > show actions
...actions...
msf post(outbound_ports) > set ACTION < action-name >
msf post(outbound_ports) > show options
...show and set options...
msf post(outbound_ports) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.