nerdexam
GIAC

GCIH · Question #89

In which of the following methods does an hacker use packet sniffing to read network traffic between two parties to steal the session cookies?

The correct answer is D. Session sidejacking. Session sidejacking uses packet sniffing on unencrypted network traffic to steal active session cookies, allowing an attacker to hijack an authenticated session.

Web Application Attacks & Post-Exploitation

Question

In which of the following methods does an hacker use packet sniffing to read network traffic between two parties to steal the session cookies?

Options

  • ACross-site scripting
  • BPhysical accessing
  • CSession fixation
  • DSession sidejacking

How the community answered

(16 responses)
  • B
    6% (1)
  • C
    6% (1)
  • D
    88% (14)

Why each option

Session sidejacking uses packet sniffing on unencrypted network traffic to steal active session cookies, allowing an attacker to hijack an authenticated session.

ACross-site scripting

Cross-site scripting injects malicious client-side scripts into web pages to steal cookies via the browser's DOM, not through network packet sniffing.

BPhysical accessing

Physical accessing refers to gaining unauthorized physical access to hardware or devices, not to intercepting network traffic.

CSession fixation

Session fixation forces a victim to authenticate using a session ID already known to the attacker, which does not involve packet sniffing.

DSession sidejackingCorrect

Session sidejacking specifically involves capturing session tokens by sniffing unencrypted HTTP traffic between a client and server. The attacker does not need credentials - they simply replay the stolen cookie to impersonate the authenticated user. This is distinct from other session attacks because it relies entirely on passive or active network interception.

Concept tested: Session sidejacking via packet sniffing

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

Topics

#session sidejacking#packet sniffing#cookie theft#session hijacking

Community Discussion

No community discussion yet for this question.

Full GCIH Practice