Exam objective
CEHSession Hijacking
This objective sits in Network and Perimeter Hacking, which carries 24% of the CEH exam. The questions below are original, written from the official objective title above, and each explanation cites the EC-Council page it rests on.
Objective title verbatim from the official objectives. EC-Council exam page ↗
A worked example
Shown solved, with the whole explanation open: this is what every question here carries.
A developer must size a session identifier so that guessing a live one stays impractical. Which floor does the guidance set?
Correct.
Checked against cheatsheetseries.owasp.org, September 2026Concept
Resistance to guessing is a property of unpredictability, not of how long a string looks. A value drawn from a cryptographic generator with enough randomness makes a search through the space impractical at any realistic rate.
Why B
The floor is stated in randomness rather than characters, and the generator matters as much as the width, since patterns in the output reduce the real search space.
Source
OWASP Cheat Sheet Series, Session Management Cheat Sheet, checked September 2026Session identifiers must have at least 64 bits of entropy to prevent brute-force session guessing attacks.... A strong CSPRNG (Cryptographically Secure Pseudorandom Number Generator) must be used to generate session IDs.
Now you: practice questions
No account needed. The explanation opens when you answer.
Sample question 1 of 3
An application carries its session identifier in the query string of every page. Which exposure does that create?
Sample question 2 of 3
A tester finds an application that will accept a session identifier from a URL parameter as well as from its cookie. Which change follows?
Sample question 3 of 3
An application serves only HTTPS, yet a tester still forces a browser to send its session cookie over plain HTTP. Which cookie attribute was missing?
That’s 3 of the full CEH bank.
Keep going free: 10 questions per certification in bank practice, with no account.
Continue practicingRead the sources
These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.