Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | How much entropy in a web app session ID? |
|---|---|
| Date: | Wed, 20 Dec 2006 16:16:32 -0500 |
How much entropy should a web application session ID have?
Obviously, the answer is, "it depends".
In the past, I've used symmetric crypt key lengths as a comparison, but am I being too tough on the developer? I'd like to have some justification behind a finding that says, "Your session ID size of XX bits is not big enough".
So here are the factors that I've come up with (for the purposes of this discussion, lets assume we've got a decent PRNG that is generating the session IDs):
- How many concurrent sessions does the web application usually have? (this is important if the attacker is happy to hijack *any* session, as opposed to a *specific* session) - Session expiration timeout and typical length of a user session (important if the attacker is looking to hijack a specific session) - How many concurrent guesses could the web app sustain before crashing? (ie. will 50,000 guesses/sec from my bot army crash the server long before I can hijack a session?) - Is the web app infrastructure protected by an IPS product (that works)?
So, does anyone out there have any good algorithms/calculations for justifying a particular amount of entropy in a session ID?
...and just to re-emphasize, for the purposes of this discussion, lets assume we've got a decent PRNG that is generating the session IDs.
thanks, Adam
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Trend Micro's Vista "0day exploit auction" claim, Simple Nomad |
|---|---|
| Next by Date: | Re: LophtCrack and SAM Passwd, killy |
| Previous by Thread: | Re: Application assessment and pen test model, Sels, Roger |
| Next by Thread: | Re: How much entropy in a web app session ID?, Tim |
| Indexes: | [Date] [Thread] [Top] [All Lists] |