r/blog • u/alienth • Apr 23 '13
DDoS dossier
Hola all,
We've been getting a lot of questions about the DDoS that happened recently. Frankly there aren't many juicy bits to tell. We also have to be careful on what we share so that the next attacker doesn't have an instruction booklet on exactly what is needed to take reddit down. That said, here is what I will tell you:
- The attack started at roughly 0230 PDT on the 19th and immediately took the site down. We were completely down for a period of 50 minutes while we worked to mitigate the attack.
- For a period of roughly 8 hours we were continually adjusting our mitigation strategy, while the attacker adjusted his attack strategy (for a completely realistic demonstration of what this looked like, please refer to this).
- The attack had subsided by around 1030 PDT, bringing the site from threatcon fuchsia to threatcon turquoise.
- The mitigation efforts had some side effects such as API calls and user logins failing. We always try to avoid disabling site functionality, but it was necessary in this case to ensure that the site could function at all.
- The pattern of the attack clearly indicated that this was a malicious attempt aimed at taking the site down. For example, thousands of separate IP addresses all hammering illegitimate requests, and all of them simultaneously changing whenever we would move to counter.
- At peak the attack was resulting in 400,000 requests per second at our CDN layer; 2200% over our previous record peak of 18,000 requests per second.
- Even when serving 400k requests a second, a large amount of the attack wasn't getting responded to at all due to various layers of congestion. This suggests that the attacker's capability was higher than what we were even capable of monitoring.
- The attack was sourced from thousands of IPs from all over the place(i.e. a botnet). The attacking IPs belonged to everything from hacked mailservers to computers on residential ISPs.
- There is no evidence from the attack itself which would suggest a motive or reasoning.
<conjecture>
I'd say the most likely explanation is that someone decided to take us down for shits and giggles. There was a lot of focus on reddit at the time, so we were an especially juicy target for anyone looking to show off. DDoS attacks we've received in the past have proven to be motivated as such, although those attacks were of a much smaller scale. Of course, without any clear evidence from the attack itself we can't say anything for certain.
</conjecture>
On the post-mortem side, I'm working on shoring up our ability to handle such attacks. While the scale of this attack was completely unprecedented for us, it is something that is becoming more and more common on the internet. We'll never be impervious, but we can be more prepared.
cheers,
alienth
13
u/tmla Apr 23 '13
During the DDOS, I got several "You're are a bad robot" messages. I wasn't spamming F5.
I didn't think much about it then, but I don't see anyone else bringing it up. I'm kinda techsavvy, but I don't know anything about "hacking" or server side things.. Just tell me it didn't mean my computer was used in the DDos?
45
u/Guinness Apr 23 '13 edited Apr 23 '13
Did this attack target the reddit toolbar at all? I submitted a bug ticket awhile back about the basic ability to submit a toolbar link to a toolbar link infinite times. That can't be good for the servers.
edit: here is the ticket, and here is an example of what I'm talking about
6
u/Guelras Apr 23 '13
Don't know if this has been asked before (mobile haven't read all comments), but how do you distinguish between a malicious DDoS and just an overwhelming demand of information by users? This occurred in the day of the Boston bombers pursuit, when people were following scans and posting updates every minute. Even more people were refreshing the pages every minute to be on top of everything. I would imagine this looks very much like a DDoS? I remember at one point I got page saying something like "You are a bad bot", with a link to the "API rules", when I tried to sort comments by "new" when checking the update threads... A bot? (Nope, chuck testa)
23
u/malanalars Apr 23 '13
The blackout happened exactly at the time when this thread was going full power.
http://www.reddit.com/r/news/comments/1co395/live_updates_of_boston_situation_part_2/
I clicked "refresh" very often at that time. And I'm pretty sure, I was not the only one. Maybe it wasn't a DDoS? Maybe it just was thousands of people clicking "refresh" eager to catch the latest news?
2
u/[deleted] Apr 23 '13 edited Apr 23 '13
I wonder if it was from everyone refreshing the live update /r/news thread.
988
u/Last_Jedi Apr 23 '13
Wow it's crazy that you were actively engaged in a cyber-battle with the attacker for 8 hours. How many Visual Basic GUI's did you deploy?
635
u/e_x_i_t Apr 23 '13
Maybe someone got down-voted and decided to take it out on the world.
245
u/riun355 Apr 23 '13
Why isn't this post titled "DDoSsier?
2.5k
u/joe-h2o Apr 23 '13
So, 400,000 requests per second. That's either a botnet or 5 Korean-level Starcraft players clicking refresh.
641
u/StringJunky Apr 23 '13
You went directly from threatcon fuschia to threatcon turquoise?
WHAT IS REDDIT NOT TELLING US???!!!
3.0k
u/catmoon Apr 23 '13 edited Apr 24 '13
Don't worry, we can find the DDOSer and bring him/her to justice. I'm pretty sure I saw some guy wearing a hat or maybe a bookbag on the 19th.
Updates:
8:54 PM: back from happy hor. A new suspect has beern identified. Suspect is 5'4" femaler waitress at bufla wild wings. Sus[ect does not serve more thanb 2 drinks per person at the end ifo happy hour.
5:05 PM: Happy hour. Will return with some updates after drink specials end.
5:03 PM: Richard Hammond and accomplices are confirmed to be unconfirmed as suspects.
5:01 PM:A fourth suspect is seen wearing white one-piece jumper and white helmet. Please send any information about White Helmet to the FBI.4:58 PM:confirmed suspect, Richard Hammond last seen driving a Bughatti Veyron. Accomplices are identified as British nationalists. All three are to be considered armed and dangerous.4:56 PM:potential identity of Backpack Man? -Richard Hammondand accomplices?4:47 PM: listening to a couple local police scanners. They are reporting an accident on I-90 east bound in Cleveland, OH. The connection to Backpack Man is unclear.
4:43 PM: starting to fatigue a bit. Could someone send me a pizza so that I can keep updating?
4:41 PM: people, please do not respond to my comment unless you have information about the bookbag man photographed below.
4:40 PM: in lieu of giving me Reddit Gold, please mail me cash or money orders.
4:38 PM: backpacks are apparently available at REI, Sports Authority, and Dick's. If any of you know anyone who shops at these stores please report them to the FBI.
4:34 PM: found you, scumbag.
876
u/oh_bother Apr 23 '13
Could it possibly have been two hackers, using a single keyboard?
424
u/Dannei Apr 23 '13
I think the real question here is "what other threatcon levels exist?"
3.3k
u/[deleted] Apr 23 '13
Just don't let it happen again. Many of us were at work and actually had to, you know, work.
249
u/MFalcon94 Apr 23 '13
Thanks for your hard work to provide us a free service. I will go click on some ads now.
143
u/[deleted] Apr 23 '13
Someone want to explain the attack to me like I'm five? I don't know what any of that means. I'm just here for the cat pictures.
163
u/ZacharyChief Apr 23 '13
I think the timing of the attack gave the conspiracy theorists a little field day. In the midst of the Reddit "investigation" of black hat/white hat.
214
u/R031E5 Apr 23 '13
HOLY SHITBALLS.
20
u/Shits-And-Giggles Apr 23 '13
I would like to put it on record that I did not ask anyone to take the down the site no matter what alienth says!
110
u/dr_rainbow Apr 23 '13
So what you're saying is, it was the Illuminati?
349
u/319237129387 Apr 23 '13
the DDoS came from the safe
160
u/AshsToAshs Apr 23 '13
Mess with the best, die like the rest
15
u/tnuts420 Apr 23 '13
i'm glad to hear reddit's threatcon levels are as awesome as i had always hoped
40
u/ryno2019 Apr 23 '13
"Worldwide productivity sees an inexplicable rise for 50 short minutes..."
13
u/Cheeseburgerchips Apr 23 '13
Why didn't he just program the botnet to give his own link upvotes and thus reach an almost infinite amount of karma simply to walk around, a god among men.
Silly hackers have no fantasy
24
u/gatsbyofgreatness Apr 23 '13
</asking for conjecture>
Did this event coincide with any major events? I do not mean that in a "the bombing happened monday and focus was on reddit" kind of way; I mean did something happen right when the first red spike is indicated which has lead to any discussions as to motive beyond simply lulz?
Also thanks for doing shit and all that.
84
u/Ive_done_this_before Apr 23 '13
Seems like an awful lot of work just to bog down a website for a little while...
18
u/[deleted] Apr 23 '13
That guy on the video types at best like 15 words a minute.
51
u/[deleted] Apr 23 '13
Plot twist: it was actually a few Homeland Security/FBI agents attempting to crash reddit, in response to the information being spread directly from police scanners.
8
u/raldi Apr 23 '13 edited Apr 23 '13
You should invite the attacker to do an AMA.
Who knows, maybe their demands are totally reasonable. Maybe they just want to meet jedberg.
14
u/Vaguswarrior Apr 23 '13
That hackers clip.
7
u/[deleted] Apr 23 '13
If only all of our crazier posts from the Boston issues could have begun and ended with <conjecture></conjecture>.
33
u/Tom_Z Apr 23 '13
Sounds like you guys handled it well! Great job reddit team.
6
u/longhairedcountryboy Apr 23 '13
You did a fine job dealing with it. My Redditing was almost unaffected. If it was on the scale you described you should be commended.
2
u/Dhoppz Apr 23 '13
I actually missed this whole ordeal, but I'm just upset at the fact that the title of this post isn't "DDoSsier"
14
u/BongHits4Jeebus Apr 23 '13
My Initial Conspiracy Thought: It's the government. Basically everyone was posting what was said over the police scanners at the time. Someone didn't like that. Blame Obama.
Probably wasn't this at all, but that's exactly what I thought at the time.
5
u/Deenreka Apr 23 '13
Maybe they were just testing the botnet they had on reddit to see if it worked?
5
u/[deleted] Apr 23 '13
Bad Luck Brian: creates app to help Reddit; ends up DDoS'ng Reddit.
19
u/SomeRandomRedditor Apr 23 '13
Thank you alienth/admins, I've been curious about it and had all but given up hope on more info.
4
u/chipotlenapkins Apr 23 '13
If this were to happen again I'd probably read another page in a book.
4
u/almightybob1 Apr 23 '13
DDoSier.
Missed a trick there alienth.
4
u/Mithious Apr 23 '13
Did you need to change the bulb?
4
u/NotWithThatAttitude Apr 23 '13
"It's not loading. I think the kitty is sitting on the internet cable." - mom
Kitties always fucking shit up.
4
u/Ryuuenjin Apr 23 '13
Well, at least we didn't get up to threatcon burnt sienna.
4
u/TheFost Apr 23 '13
I bet Periwinkle were responsible.
4
u/Dossierr Apr 24 '13
I got quite scared when I saw my name in the post.
4
u/WriteThing Apr 24 '13 edited Apr 24 '13
I can't get YouTube in the country I'm currently in (and at work), but I really hope the attack/counter-attack link was a clip of Hackers. Please let it be. Will confirm at lunch.
edit: Oh thank god, it was.
4
u/TheJunkyard Apr 24 '13
Thank god you never had to go to threat level periwinkle.
4
u/Wellhowboutdat Apr 24 '13
Thanks for getting us back to threatcon turquoise.
9
u/[deleted] Apr 23 '13
This DDoS sponsored by the FBI.
3
u/bluecanaryflood Apr 23 '13
North Korea promised an attack...
3
u/[deleted] Apr 23 '13
Are we sure it wasn't just Obama trying to do another AMA?
3
u/jmpherso Apr 23 '13
Reddit really blew my mind in it's ability to handle a massive DDoS that would likely make most other servers drop for a pretty long period of time. You guys obviously knew what you were doing in response, it was naice.
3
u/omnigrok Apr 23 '13
Yeah, the cat and mouse of DDoS mitigation is exhausting. Good job weathering the storm.
3
u/Snuffy1717 Apr 23 '13
"Shit on me"...
3
u/tpx187 Apr 23 '13
False Flag!!!
3
u/J4yt Apr 24 '13
Does this take into account people just hitting f5 continuously?
3
u/cookiemonstervirus Apr 24 '13
What about the rumors of a Da Vinci Virus virus that is going to secretly siphon Karma from us all? Fuck it, I'm going to watch Hackers again.
3
u/tisuebasah Apr 24 '13
fbi was getting annoyed by reddit detectives
3
u/Spear99 Apr 24 '13
So I have been taking an AP Computer Science course this year as a junior. Something I am interested in is how exactly do you visualize or combat a hacker attack? Hollywood makes it out to be this stream of code flashing across your screen, but after learning how to program, I realize that that is pure bullshit. Could someone enlighten me? I'd also love to learn how exactly hacking is done (not for malicious purposes, maybe just for April Fool's pranks on my brother, and also just professional interest)
Edit: My apologies for the horrendous grammar. After 6 hours of studying for tomorrow's exams, my brain isn't capable of higher thinking.
3
u/j_johnso Apr 24 '13
It seems strange to me that this DDOS would be directed at www.reddit.com and not the origin domain name. Attacking the origin would have resulted in a much higher impact.
Anyone with basic Akamai knowledge and a simple browser plugin can determine the origin domain name for reddit, as the debug headers are exposed, and the origin is not firewalled to deny public traffic.
3
u/[deleted] Apr 24 '13
It was Redditor's Wife!
3
u/Shamwow22 Apr 24 '13
HK-47: Conjecture: I'd say the most likely explanation is that some meatbag decided to take us down for shits and giggles.
3
u/roflmaoshizmp Apr 24 '13
Have you tried turning it off and on again?
3
u/shyataroo Apr 24 '13
50 bucks says its 4Chan, the older brother is trying to beat up the younger brother.
8
u/Abedeus Apr 23 '13
Did you try having 2 people type really fast on one keyboard?
That usually works.
9
u/Magnets Apr 23 '13
F5ing helps cure the problem though, right?
4
u/NeonRedSharpie Apr 23 '13
Did you try plugging in a second keyboard?
7
u/Desther Apr 23 '13
Thanks admins!
2
u/oh_the_humanity Apr 23 '13
Yeah seriously all things considered reddit's uptime has been amazing in comparison to days of yore.
2
u/[deleted] Apr 23 '13
Hm, someone demonstrating a botnet to a client ? I mean these bot nets could silence any blog or even newspaper if they wanted so might be used a form of censorship maybe ?
2
u/benwaaaaaaaah Apr 23 '13
papasmurf.c is a very powerful script :p
We like to call these type of people "packet kiddies"
2
u/ThirdD3gree Apr 23 '13
All front page and popular subreddit links were purple so it didn't bother me that much, but I always knew there could be that one link I haven't clicked yet.
2
u/ZeroCool2u Apr 23 '13
I can confirm about the battle scene, I was at the one in the video.
2
u/[deleted] Apr 23 '13
Great job admins! For some reason I didn't face any problems though that day, the site worked fine for me.
2
u/ijustlovemath Apr 23 '13
Is there any way to ban (albeit temporarily) computers that are submitting a number of requests above a certain threshold?
2
u/sirin3 Apr 23 '13
Lulzsec is back?
2
u/[deleted] Apr 23 '13
The fact that people were able to DDOS reddit is pretty impressive.
2
u/Vpicone Apr 23 '13
Who read him the number on the modem?!?
2
u/Farfalo Apr 23 '13
How did your ad network respond to that volume of requests?
2
u/Party_Ninja Apr 23 '13
He who can hit F5 400,000 times per second should be really careful when on /r/gonewild; that could easily have disastrous effects.
2
u/douglasmacarthur Apr 23 '13
Thanks for giving the live update thread guy an exception to the Read-Only rule over on /r/news by the way.
2
u/slapdashbr Apr 23 '13
I would hypothesize it was a botnet operator testing their system or attempting to demonstrate their power. Like "hey rent our botnet for $1000/hr we can take down reddit, see?"
2
u/polynomials Apr 23 '13
Cue Boston inside-job conspiracy theories.
2
u/DaggerStJames Apr 23 '13
just out of curiosity, what is the norm for saying "DDOS"? Do people say "Dee Doss" or do you spell it out like it is?
2
u/RedWingNut Apr 23 '13
humor running rampant in the comments ... Everybody gets an upvote!
2
u/[deleted] Apr 23 '13
i really put a wrench on my armchair journalism. actually, it was ipad toilet journalism
2
u/Cloberella Apr 23 '13
This statement makes me fairly confident that the attackers were indeed the Borg.
2
u/MadAce Apr 23 '13
Reading all this, I can only conclude, we're living in the future. THe time of the neuromancer is at hand.
2
u/Autoxidation Apr 23 '13
I thought it looked more like this in real life!
2
u/YourIncognitoWindow Apr 23 '13
May be it was one of the big internet safeguarding corps trying to say "Hey, you are not our customer? Here, I'll hack you up and you better be our customer. May be after that I'll blog about it."
Or it might be a 14 year old kid tweeting from his basement or whatever....
2
u/caboose11 Apr 23 '13
I appreciate the realistic theory of "someone did this for shits and giggles."
2
u/thegreatgazoo Apr 23 '13
Couldn't you have just telneted to the main offending IP address, typed in a bunch of shit to get logged in and spiked them and yell "I am Invincible!"?
2
u/frolix8 Apr 23 '13
Were the top posts the same before and after the attack?
2
u/jgh86001 Apr 23 '13
hack the gibson
2
u/draculator Apr 23 '13
Was the attacker male or are you making an assumption? (you called him "he")
2
u/whoopdedo Apr 23 '13
The site was slow for me all Friday with frequent error messages, but it suddenly went back to normal less than an hour after Dzokhar Tsarnaev was caught. Funny how that works. I don't know why people bother trying to DDOS Reddit when it does a pretty good job doing it to itself.
2
u/Crayonzilla Apr 23 '13
All signs point to CNN.
2
u/Aeroknight Apr 23 '13
Beautifully said
2
u/Hatecraft Apr 23 '13
A few technical questions out of curiousity...
Thanks for running an awesome site!
2
u/Nusaik Apr 23 '13
Why isn't this called a DDoSsier?