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.
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)- B6% (1)
- C6% (1)
- D88% (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.
Cross-site scripting injects malicious client-side scripts into web pages to steal cookies via the browser's DOM, not through network packet sniffing.
Physical accessing refers to gaining unauthorized physical access to hardware or devices, not to intercepting network traffic.
Session fixation forces a victim to authenticate using a session ID already known to the attacker, which does not involve packet sniffing.
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
Community Discussion
No community discussion yet for this question.