Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/auxiliary/scanner/portscan/xmas.md
Views: 11655
Description
This module is used to determine if the ports on target machine are closed. It sends probes containing the FIN, PSH and URG flags. Scan is faster and stealthier compared to some other scans. Following action are performed depending on the state of ports -
OPEN|FILTERED Port:
Detects open|filtered port via no response to the segment
Closed Port:
Detects a closed port via a RST received in response to the FIN
Required Permissions
XMAS scan requires the use of raw sockets, and thus cannot be performed from some Windows systems (Windows XP SP 2, for example). On Unix and Linux, raw socket manipulations require root privileges.
Options
PORTS
This is the list of TCP ports to test on each host. Formats like 1-3
, 1,2,3
, 1,2-3
, etc. are all supported. Default options is to scan 1-10000
ports.
Timeout
This options states the reply read timeout in milliseconds. Default value if 500
.
RHOSTS
The target address range is defined in this option.
VERBOSE
Gives detailed message about the scan of all the ports. It also shows the ports that were not open/filtered.
Verification Steps
Do:
use auxiliary/scanner/portscan/xmas
Do:
set RHOSTS [IP]
Do:
set PORTS [PORTS]
Do:
run
The open/filtered ports will be discovered, status will be printed indicating as such.