Back to library
Offensive Intermediate Free

Combined TCP SYN and UDP scan on common ports

Combined TCP SYN and UDP scan on common ports

Nmap / Reconnaissance

Log in to save

Command

nmap -sU -sS -p U:53,111,137,T:21-25,80,139,8080 192.168.1.1

Syntax

nmap -sU -sS -p <ports> <target>

Use case

When initial TCP-only scans miss critical services like DNS, SNMP, or DHCP running on UDP.

Explanation

Scans both TCP and UDP simultaneously: • -sU → UDP scan • -sS → TCP SYN (stealth) scan • -p U:53,T:80 → Specifies UDP and TCP ports separately Useful when you need to find UDP services like DNS (53), SNMP (161), TFTP (69)

Risk warning

Use only in systems you own or are explicitly authorized to test.

Example output

PORT     STATE         SERVICE
53/udp   open          domain
80/tcp   open          http
137/udp  open|filtered netbios-ns
139/tcp  open          netbios-ssn

More examples

Primary example

nmap -sU -sS -p U:53,111,137,T:21-25,80,139,8080 192.168.1.1

When initial TCP-only scans miss critical services like DNS, SNMP, or DHCP running on UDP.

linux kali parrot nmap udp tcp stealth recon

Related

Offensive Beginner Free

Full port scan with service/version detection and default scripts on a subnet

Full port scan with service/version detection and default scripts on a subnet

nmap -sV -sC -p- --open -T4 192.168.1.0/24
nmap recon port-scan network enumeration
Nmap / Reconnaissance Open
Offensive Intermediate Free

Run vulnerability detection NSE scripts against common service ports

Run vulnerability detection NSE scripts against common service ports

nmap --script vuln -sV -p 80,443,22,21 <target>
nmap nse vulnerability cve web
Nmap / Reconnaissance Open