¡ Still bad § Using unsalted hashes § Using raw hash functions (MD5, SHA1, etc) ¡ Better but not great § Using a keyed hash function (HMAC-‐SHA1) ¡ Best § Using a slow function (PBKDF2, bcrypt, scrypt)
Operating System § Web/App/DB Server software § Antivirus? § Libraries you use ¡ Framework security settings § Errors not displayed to public? § Cookies signed? Maybe encrypted?
Filelocker doesn’t have any CSRF protection § Joe is a Filelocker admin § I get Joe to visit a specially crafted form § Joe’s browser submits form along with his cookies § I not have admin
§ Insecure Cryptographic Storage ¡ Are session IDs in the URL? § Users send URLs to people without knowing § http://example.com/ myservlet;jsessionid=1E6FEC0D14D04454 1DD84D2D013D29ED
Steal cookies – like session IDs § Redirect user § Abuse their permissions § Users have out of date software ▪ Adobe Reader? Load a PDF virus ▪ Java? Load an applet virus ▪ Media codecs? Load a MP3 virus