TCP ACK scan (-sA)

The ACK scan is used to show unfiltered and filtered ports instead of open and closed ports:

  1. The command for an ACK scan is as follows:
nmap -sA x.x.x.x

The following is a screenshot of an Nmap scan without the -sA flag:

Here, we can see the difference between a normal scan and an ACK scan: