GPEN · Question #282
TCP FIN scanning is a type of stealth scanning through which the attacker sends a FIN packet to the target port. If the port is closed, the victim assumes that this packet was sent mistakenly by the a
The correct answer is C. Windows. Windows deviates from RFC 793 by sending RST packets for both open and closed ports in response to FIN probes, making it uniquely identifiable during TCP FIN scans.
Question
TCP FIN scanning is a type of stealth scanning through which the attacker sends a FIN packet to the target port. If the port is closed, the victim assumes that this packet was sent mistakenly by the attacker and sends the RST packet to the attacker. If the port is open, the FIN packet will be ignored and the port will drop the packet. Which of the following operating systems can be easily identified with the help of TCP FIN scanning?
Options
- ASolaris
- BRed Hat
- CWindows
- DKnoppix
How the community answered
(31 responses)- A6% (2)
- B3% (1)
- C81% (25)
- D10% (3)
Why each option
Windows deviates from RFC 793 by sending RST packets for both open and closed ports in response to FIN probes, making it uniquely identifiable during TCP FIN scans.
Solaris follows RFC 793 compliant TCP stack behavior, correctly ignoring FIN packets on open ports and replying with RST only on closed ports.
Red Hat Linux adheres to RFC 793, making it respond as the standard dictates and not easily distinguished via TCP FIN scanning alone.
Microsoft Windows does not fully comply with RFC 793, which requires open ports to silently discard unsolicited FIN packets. Instead, Windows sends RST packets regardless of port state. This non-standard behavior distinguishes Windows hosts from Unix-based systems during FIN scanning and makes fingerprinting straightforward.
Knoppix is Linux-based and follows RFC 793 compliant behavior, ignoring FIN packets on open ports just like other standard Unix systems.
Concept tested: TCP FIN scan OS fingerprinting and RFC 793 compliance
Source: https://nmap.org/book/man-port-scanning-techniques.html
Topics
Community Discussion
No community discussion yet for this question.