Interactive guide to Buffer Overflow exploitation
nagarrosecurity.com
nagarrosecurity.com
This link is from Berkeley's Computer Security Class: http://www-inst.eecs.berkeley.edu/~cs161/fa08/papers/stack_s...
Crazy times. I'll never forget going to a Surfrider Foundation party with Aleph1, only to be bored out of our minds and go find a barely open video arcade to throw quarters at ..
(We go back too, him and I; I met my wife at a party at his apartment).
Back then, that's how you'd meet decent hackers - first Friday of the month, at some location published in 2600. Near the payphones. Hackerspaces weren't yet quite a thing, although we had the Electric Cafe in Santa Monica that was sorta close .. and there was also the virtual meeting place of The Well, but that was too noisy even in those days.
I offered Aleph1 a job at Cyberworks, a company I'd helped set up after I left operations for a tiny ISP named Earthlink (that's another story) .. he and I would commute out to Pasadena to a tiny nondescript industrial park, where I'd managed to get a bunch of sexy hardware together for the task of building one of California's earliest web agency/bureaux.
I think Aleph1 was only there for the great bandwidth I'd finagled and sexy hardware we had on offer for engineers, from DEC Alpha to SGI boxes - although the Volleyball video streaming from the beach was a pretty fun project, too: He got to string ISDN cables across the sand to an SGI Indy, parked under an umbrella on the beach, right in front of the match.
Good times. So amazing to think how far everything has come since then. If only I'd stuck it out a while longer after Cyberworks went to a business development meeting with that X.com guy, and then some nerds making an "auction site for the Internet", as if that would ever be a thing ..
;)
I can probably count on 2 hands how many times I've seen working payphones.
And to think you used to be able to just sound at them for free calls and change.. It still sounds magic.
Wasn't too fun getting mis-identified in a game of 'spot the Fed' though, haha.
Certainly, my image of him did not include a volleyball competition!
"Fuck you JavaScript, an array with 1 int in it is not a fucking number. Why are you like this you piece of rotten garbage"
I share your hatred :)
A very nice guide and introduction both to x86 asm and buffer overflow. Thanks for this.
In the first 2 examples, it says:
"If you pop (fetch) a value from the stack, RSP decreases by 8"
But when I step through it, it seems to add 8 on a pop, not subtract (and vice versa for push), or am I missing something?
You're decreasing the stack, but increasing RSP. Because the stack "grows down".