PT0-002 · Question #67
A penetration tester ran a ping -A command during an unknown environment test, and it returned a 128 TTL packet. Which of the following OSs would MOST likely return a packet of this type?
The correct answer is A. Windows. A Time-To-Live (TTL) value of 128 in an ICMP ping response typically indicates that the target operating system is Windows.
Question
A penetration tester ran a ping -A command during an unknown environment test, and it returned a 128 TTL packet. Which of the following OSs would MOST likely return a packet of this type?
Options
- AWindows
- BApple
- CLinux
- DAndroid
How the community answered
(47 responses)- A87% (41)
- B4% (2)
- C6% (3)
- D2% (1)
Why each option
A Time-To-Live (TTL) value of 128 in an ICMP ping response typically indicates that the target operating system is Windows.
Different operating systems commonly use distinct initial TTL values for IP packets. A TTL of 128 is a widely recognized default for Windows operating systems (e.g., Windows 10, Windows Server). When a packet is sent from a Windows host, it starts with a TTL of 128, and this value decrements by one for each hop it traverses, meaning a directly connected Windows host or one a few hops away will often show a TTL close to 128.
Apple (macOS) systems typically use an initial TTL of 64.
Linux systems commonly use an initial TTL of 64.
Android systems, being Linux-based, also typically use an initial TTL of 64.
Concept tested: OS fingerprinting via TTL
Topics
Community Discussion
No community discussion yet for this question.