nerdexam
GIAC

GPEN · Question #122

Which of the following statements are true about session hijacking? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. TCP session hijacking is when a hacker takes over a TCP session between two machines. B. It is the exploitation of a valid computer session to gain unauthorized access to information or C. Use of a long random number or string as the session key reduces session hijacking.. Session hijacking is the takeover of an active authenticated session, and strong random session tokens are a primary mitigation against it.

Web Application Penetration Testing

Question

Which of the following statements are true about session hijacking? Each correct answer represents a complete solution. Choose all that apply.

Options

  • ATCP session hijacking is when a hacker takes over a TCP session between two machines.
  • BIt is the exploitation of a valid computer session to gain unauthorized access to information or
  • CUse of a long random number or string as the session key reduces session hijacking.
  • DIt is used to slow the working of victim's network resources.

How the community answered

(29 responses)
  • A
    72% (21)
  • D
    28% (8)

Why each option

Session hijacking is the takeover of an active authenticated session, and strong random session tokens are a primary mitigation against it.

ATCP session hijacking is when a hacker takes over a TCP session between two machines.Correct

TCP session hijacking is technically defined as an attacker seizing control of an established TCP session between two communicating hosts, often by predicting sequence numbers.

BIt is the exploitation of a valid computer session to gain unauthorized access to information orCorrect

By definition, session hijacking exploits an already-authenticated, valid computer session to gain unauthorized access to information or services without needing to re-authenticate.

CUse of a long random number or string as the session key reduces session hijacking.Correct

A long, cryptographically random session key is computationally infeasible to predict or brute-force, which directly defeats session token prediction attacks used in hijacking.

DIt is used to slow the working of victim's network resources.

Slowing or exhausting a victim's network resources describes a Denial-of-Service (DoS) attack, which is a distinct attack category unrelated to session hijacking.

Concept tested: Session hijacking definition and mitigation techniques

Source: https://owasp.org/www-community/attacks/Session_hijacking_attack

Topics

#session hijacking#TCP session takeover#session token security#unauthorized access

Community Discussion

No community discussion yet for this question.

Full GPEN Practice