Somebody set up us the [fork] bomb
February 23, 2012 7:59 AM Subscribe
Stripe, a company that processes credit cards for web apps, decided to play a security
wargame called
Capture the Flag where you are given a logiin and password for a server and are invited to use your hacking abilities to gain access to accounts with increasing access and authorization. People who beat the server and "capture the flag" at
/home/the-flag/.password are invited to contact the company for bragging rights and a T-shirt. Just one problem: the hacking game has been
hacked, with something called a
fork bomb.
TLDR explanation: a
fork is when a running program causes another program to run on a server (say, an email program launching a virus or spam scanner when a message is received). A
fork bomb works by launching copies of itself (which in turn launches copies of itself) or by simply by running a fork command in an infiinite loop (something like
while true is true, fork again). As more and more processes launch, eventually the system runs out of resources and hangs.
As a result of the ongoing forkbomb(s) on the Stripe server, it's impossible to log on, let alone play. The team at Stripe forgot the first rule of security: never trust the user.
Maybe the most elegant fork bomb is
:(){ :|:& };:
which is
explained here. This fork bomb can be found on
t-shirts as well as someone's
arm.
posted by Deathalicious (60 comments total)
17 users marked this as a favorite
"Hacked" to me would be if someone figured out how to gain control of the system beyond what was expected in the contest. This is just a simple DoS based on the fact that the system allowed arbitrary code to be executed. In this context it's closer to griefing than hacking, in that they ruined it for everyone else by making it impossible to play the game.
posted by burnmp3s at 8:08 AM on February 23 [19 favorites]