News for hackers. Stuff that matters.
Re:Exploit Linux Machines Through Fun Challenges by EthanHeilman on Sunday April 08, 2012 @02:54PM (#3814540)
* I haven't played with exploit-exercises yet (definitely will when I get some downtime), but I've had a blast solving the challenges at http://io.smashthestack.org:84. They are hosted so no need to download VMs. They have a several more here that I haven't played with: http://smashthestack.org/

* I recently came across a computer security course which used CTF virtual machines for an assignment (you can download the VM and see how you do against Tufts University students): http://www.cs.tufts.edu/comp/116/assignments/a04.php

* Offensive Security's "Penetration Testing with BackTrack" (PWB) course uses a series of CTF challenges as the final exam.

* Any recommendations on any encryption challenges in this style?

We are seeing a return to the old guild system of masterpieces as proof of ability and learning aid. I couldn't be happier. I'd love to see a mash up between stackoverflow's gamification and Offensive Security certification/teaching process.

Re:Exploit Linux Machines Through Fun Challenges by ahel on Sunday April 08, 2012 @06:45PM (#3815142)
upvote for the smashthestack.org link. really interesting place.
Re:Exploit Linux Machines Through Fun Challenges by dfc on Sunday April 08, 2012 @05:19PM (#3814944)
I second the encryption request and specifically a request for RNG issues.
Re:Exploit Linux Machines Through Fun Challenges by jiggy2011 on Sunday April 08, 2012 @05:08PM (#3814914)
I've never really had much luck with stuff like this.

Whenever I have tried to write code in the C to be deliberately vulnerable and have tried to overwrite memory etc it never seems to work in the way I expect.

For example I will have two arrays that are contiguous in memory (checking this with gdb) and I will then write a big set of values into one array that should overflow into the other. Then try and do something like print the values that should have been overflowed into but I often find I either get a segfault or that the values that are printed are actually the correct values assigned the the array that should be overwritten.

I haven't tried these specific puzzles with the VMs though. I always do -fno-stack-protector when compiling but I don't know if there is some other security mechanism that could be stopping it from working?

Re:Exploit Linux Machines Through Fun Challenges by ZephyrP on Sunday April 08, 2012 @07:20PM (#3815211)
-fno-stack-protector does a number of things that interfere with "standard" smashing of the stack, You'll learn a lot if you keep stack protections in place!

Also, be sure to turn off Write^Execute memory pages and ASLR as another commenter has suggested.

Alternatively, you could try your hand at defeating these protection mechanisms yourself with a number of (relatively) newfangled techniques.

JITSpray - http://dsecrg.com/pages/pub/show.php?id=22 ROP - http://cseweb.ucsd.edu/~hovav/talks/blackhat08.html

and more!

Re:Exploit Linux Machines Through Fun Challenges by jgeralnik on Sunday April 08, 2012 @06:00PM (#3815040)
One thing to note is that gdb screws with memory allocation. Just because it looked that way while running gdb does not mean it will look that way when run normally.
Re:Exploit Linux Machines Through Fun Challenges by uggedal on Sunday April 08, 2012 @06:18PM (#3815081)
Linux 2.6.12 an up implements address space randomization (randomly varies the location of the stack over a 8MB range) which could explain what you're seeing.
Re:Exploit Linux Machines Through Fun Challenges by SoftwareMaven on Sunday April 08, 2012 @01:31PM (#3814337)
This looks awesome. I've taken a large interest in security over the last couple years and am always looking for ways to increase my knowledge in this space (FWIW, the Stanford crypto course has been great so far). This will be a good follow-on to that.
Re:Exploit Linux Machines Through Fun Challenges by chuckbot on Monday April 09, 2012 @08:27AM (#3816669)
What exactly does the getflag command do? I seems like I can do all the levels anyway, so it doesn't seem to enable the next level.
Re:Exploit Linux Machines Through Fun Challenges by haberman on Sunday April 08, 2012 @03:08PM (#3814587)
Awesome! I was always jealous of people who had problem sets like this in their CS curriculum.
Re:Exploit Linux Machines Through Fun Challenges by why-el on Sunday April 08, 2012 @11:30PM (#3815719)
I think the curricula you are talking about are surprisingly few. In fact I think this website offers more interesting things than my Security class did. :)
Re:Exploit Linux Machines Through Fun Challenges by spydum on Sunday April 08, 2012 @10:00PM (#3815541)
I am really digging the uptick in CTF related posts! Keep 'em coming!
Re:Exploit Linux Machines Through Fun Challenges by mituljain on Sunday April 08, 2012 @01:06PM (#3814285)
it's down :/
Re:Exploit Linux Machines Through Fun Challenges by aw3c2 on Sunday April 08, 2012 @01:14PM (#3814303)
Works for me. Anyways, the torrent for the beginner VM is magnet:?xt=urn:btih:77cfd777dd287da30dcdc5c82aa72f0ffb6c67eb