TCP SYN

SYN scans sends back a RST TCP packet after receiving a SYN/ACK from the server
Pasted image 20241007220542.png
Pasted image 20241007220612.png
advantages

There are, however, a couple of disadvantages to SYN scans, namely:

SYN scans are the default scans used by Nmap if run with sudo permissions. If run without sudo permissions, Nmap defaults to the TCP Connect scan we saw in the previous task.

Si un puerto está cerrado, el servidor responde con un paquete TCP RST. Si el puerto está filtrado por un cortafuegos, el paquete TCP SYN se descarta o se falsifica con un reinicio TCP.