Security Engineering

In an authorized test, session tokens from an application are predicted after the tester observes a few of them. The tokens come from a pseudorandom generator seeded with the current time in seconds. What is the weakness?

Show the answer

Correct answerB. Low-entropy seeding of the random number generator

AWhy not this: A cipher mismatch causes handshake failure; it does not make generated tokens predictable.

BWhy this is right: A guessable seed such as the time in seconds lets an attacker reproduce the generator's output.

CWhy not this: Certificate key size relates to server authentication, not how session tokens are generated.

DWhy not this: Revocation checking decides whether a certificate is still trusted and has no bearing on token randomness.

A generator seeded with a guessable value such as the clock produces a small, predictable output space, so tokens can be reproduced. A short certificate key is wrong because it affects authentication of the server, not the unpredictability of application-generated tokens.