Re:So You Want to Be a Security Expert
by tptacek on Thursday July 05, 2012 @02:54PM
(#4204382)
Being able to jump between layers of abstraction --- in both directions, so I'd add "learn the browser JS DOM model inside and out --- has to be in the top 5, probably top 3 all time most useful software security survival skills.
[ Parent
| on HN ]
Regarding abstractions, learn how to puncture them.
I think it was Robert Morris (rtm's father) who said when asked how to break security:
1. Look in the manual for statements of the form "Don't do X"
2. Do X
What is the standard reference for DOM mastery?
Another document worthy of some study is http://lcamtuf.coredump.cx/postxss/
Yes! This is a great paper which made surprisingly little noise given how important it is.
The idea is: stipulate that no attacker can ever inject Javascript into a browser. Assume we solve that problem completely. Now, how secure are DOM-based applications? Turns out: not that much more secure. Lots of very clever examples.
This is a very good starting document: http://code.google.com/p/browsersec/
(Also, anything icamtuf touches is probably going to be good.)