nerdexam
GIAC

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.

Exploitation & Post-Exploitation Techniques

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)
  • A
    4% (1)
  • B
    83% (19)
  • C
    4% (1)
  • D
    9% (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.

AUse a sniffer to listen network traffic.

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.

BGuess the sequence numbers.Correct

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.

CUse brutus to crack telnet password.

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.

DUse macoff to change MAC address.

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

#session hijacking#TCP sequence numbers#Telnet#active session

Community Discussion

No community discussion yet for this question.

Full GPEN Practice