GPEN · Question #244
You want to perform an active session hijack against Secure Inc. You have found a target that allows Telnet session. You have also searched an active session due to the high level of traffic on the ne
The correct answer is B. Guess the sequence numbers.. In TCP-based active session hijacking, once an active session is located, the attacker must predict or guess the correct TCP sequence number to inject spoofed packets and take over the session.
Question
You want to perform an active session hijack against Secure Inc. You have found a target that allows Telnet session. You have also searched an active session due to the high level of traffic on the network. What should you do next?
Options
- AUse a sniffer to listen network traffic.
- BGuess the sequence numbers.
- CUse brutus to crack telnet password.
- DUse macoff to change MAC address.
How the community answered
(23 responses)- A4% (1)
- B83% (19)
- C4% (1)
- D9% (2)
Why each option
In TCP-based active session hijacking, once an active session is located, the attacker must predict or guess the correct TCP sequence number to inject spoofed packets and take over the session.
Sniffing is a prior step used to discover active sessions - the question states the attacker has already found an active session, so sniffing is no longer the next required action.
TCP sessions are tracked by sequence and acknowledgment numbers; to inject a forged packet that the server accepts as legitimate, the attacker must determine the current sequence number of the ongoing session. Guessing or predicting the sequence number is the critical next step after locating an active session, enabling the attacker to craft a packet that fits the expected stream and execute commands as the hijacked user.
Brutus is a password brute-force tool; cracking the Telnet password is an authentication attack, not an active session hijack of an already-established session.
Changing a MAC address with macof (or macoff) is relevant to MAC flooding or ARP-level attacks, not to TCP sequence number prediction required for session hijacking.
Concept tested: TCP sequence number prediction in active session hijacking
Source: https://owasp.org/www-community/attacks/Session_hijacking_attack
Topics
Community Discussion
No community discussion yet for this question.