Nmap Xmas Scan
Learn how to perform the Xmas scan and custom scans with Nmap.
In this lesson, we’ll look at the Xmas scan in detail. We’ll also learn how to use custom TCP headers to create more flexible scan types.
What is Nmap’s Xmas scan?
The Nmap Xmas scan is a type of network scan that we can use to identify open TCP ports on a target host. This scan sets the FIN, PSH, and URG flags in the TCP header, which is why we call it a Christmas scan; the flags resemble the lights on a Christmas tree.
We use the -sX
flag to perform an Xmas scan. Here’s an example.
nmap -sX scanme.nmap.org
Nmap Xmas scan
This will send a series of TCP packets to the target host with the FIN, PSH, and URG flags set. If the host responds with an RST ...
Get hands-on with 1400+ tech skills courses.