News for hackers. Stuff that matters.
Re:Ask HN: How do you learn to develop exploits? by TwoBit on Saturday June 16, 2012 @02:23PM (#4121243)
I thought modern OSs make stack memory non-executable, so this attack fail on modern systems.
Re:Ask HN: How do you learn to develop exploits? by arjunnarayan on Saturday June 16, 2012 @02:41PM (#4121283)
Right. This is the biggest problem with learning attacks --- the historical attacks no longer work, but they are absolutely essential to

1) get in the mindset of how to find and exploit vulnerabilities, and to learn from the masters. RTM, for example, wrote the first internet worm and one of the attack vectors was a stack smash. Learn from the masters, and how they thought.

2) Since today's systems are built with an understanding of all these exploits, you have to learn these exploits to understand today's systems. So finding an old linux kernel and writing a stack-smasher is one way to experiment.

Re:Ask HN: How do you learn to develop exploits? by adestefan on Saturday June 16, 2012 @06:55PM (#4121704)
You don't need an ancient version. For Linux, "echo 0 > /proc/sys/kernel/randomize_va_space" and compile with -fno-stack-protector.
Re:Ask HN: How do you learn to develop exploits? by rpsw on Saturday June 16, 2012 @02:50PM (#4121306)
Generally speaking it is much more complicated to exploit these bugs than they used to be, but often attackers find ways such return to libc, return-oriented programming (which ASLR and other technology is designed to combat) or things like heap spraying.