GCIH · Question #294
Which of the following nmap command parameters is used for TCP SYN port scanning?
The correct answer is D. -sS. The -sS flag in nmap performs a TCP SYN scan, also known as a 'half-open' or 'stealth' scan. It sends a SYN packet and waits for a response: a SYN/ACK indicates an open port, while a RST indicates a closed port. The connection is never fully completed (no ACK is sent), making…
Question
Which of the following nmap command parameters is used for TCP SYN port scanning?
Options
- A-sF
- B-sU
- C-sX
- D-sS
How the community answered
(44 responses)- A5% (2)
- B2% (1)
- C2% (1)
- D91% (40)
Explanation
The -sS flag in nmap performs a TCP SYN scan, also known as a 'half-open' or 'stealth' scan. It sends a SYN packet and waits for a response: a SYN/ACK indicates an open port, while a RST indicates a closed port. The connection is never fully completed (no ACK is sent), making it harder to detect in logs. The other options serve different purposes: -sF performs a FIN scan (sends FIN packets to probe ports), -sU performs a UDP scan, and -sX performs an Xmas scan (sets FIN, PSH, and URG flags simultaneously).
Topics
Community Discussion
No community discussion yet for this question.