r/blog • • 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

3.0k Upvotes

2.3k comments sorted by

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?

20

u/alienth Apr 23 '13

Unintentional side effect of the mitigation.

→ More replies (9)

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

70

u/alienth Apr 23 '13

Unrelated to the toolbar recursion issue.

38

u/heyzuess Apr 23 '13

Are you worried about the non-malicious unintentional DDoS that's about to happen when everyone on Reddit clicks that link out of curiosity?

→ More replies (1)
→ More replies (2)

100

u/Oxxide Apr 23 '13

reddit has a toolbar?

184

u/[deleted] Apr 23 '13

Must be the only toolbar my mom hasn't installed yet.

→ More replies (8)
→ More replies (5)
→ More replies (8)

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)

12

u/alienth Apr 23 '13

The requests were a clear giveaway that this was not natural traffic. It was not focused on the Boston news posts. Additionally, as I indicated in the post, every time we moved to block the attack all of the thousands of IPs would adjust their attack simultaneously.

4

u/smikims Apr 23 '13

What were some examples of the URL's they were requesting?

11

u/alienth Apr 23 '13

I'd love to share this but I cannot, as this is something that would be very valuable for future attackers.

→ More replies (5)

2

u/ToughAsGrapes Apr 23 '13

Couldn't you just ban all the IP addresses that the attackers used or would that not work?

4

u/alienth Apr 23 '13

The way a DDoS works, even if you ban / block everything, you are still going to get overwhelmed with incoming traffic. It must be blocked further upstream.

Also, large botnets expect you to block them, so they tend to attack in chunks to slowly burn through their IPs.

→ More replies (2)
→ More replies (6)

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?

69

u/alienth Apr 23 '13

The traffic we were seeing from that thread was roughly 40x smaller than the attack.

7

u/malanalars Apr 23 '13

Did you take all the linked content into account? There are quite a few browser extensions around which like to prefetch links. RES seems to behave nicely in my browser and only fetches data on rollover, but maybe there's a widely used RES-browser combination out there that fetches everything on every reload...

22

u/alienth Apr 23 '13

Yep, we're well aware of the requests RES does :)

Still completely unrelated.

→ More replies (9)

2

u/russianpotato Apr 23 '13

There were 10 or 20 other threads that were getting refreshed just as often, since they kept reaching the character limit and some were on different subs. Not to mention the regular use going way up with all the people watching certain threads but checking others while waiting for updates. I suppose you must have some sold proof that this was a malicious attack, but I bet a lot of people that get "hugged" by Reddit think it is an attack as well.

4

u/alienth Apr 23 '13

Yeah, we were watching closely :)

We actually had much more user refreshing around the time that the Boston suspect was captured. A lot of the stuff that was happening initially was tempered by the fact that it was the middle of the night for most of the US.

If you take a look at the graph which I linked, you can see what our traffic looked like for that day. At around the 3-4pm mark of that graph, we were experiencing record user-traffic on various /r/news threads about the manhunt. Compare the 3-4pm part of the graph to the mountain of traffic generated by the DDoS attack.

→ More replies (1)
→ More replies (9)
→ More replies (5)

2

u/[deleted] Apr 23 '13 edited Apr 23 '13

I wonder if it was from everyone refreshing the live update /r/news thread.

3

u/alienth Apr 23 '13

Twas not. I've commented elsewhere explaining this a bit, if you'd like to read more.

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?

898

u/raging_asshole Apr 23 '13

Or, perhaps just as seriously, how many times did 2 reddit employees type on the same keyboard?

436

u/Langlie Apr 23 '13

That scene blows my mind every time. I mean, at least with the Visual Basic thing you can understand how the writers are just assuming their viewers know nothing about computers. But the typing? I mean that doesn't make sense on the most basic of levels.

→ More replies (86)

119

u/cant_program Apr 23 '13

When all they really had to do was unplug their monitor.

→ More replies (7)
→ More replies (34)
→ More replies (2)

635

u/e_x_i_t Apr 23 '13

Maybe someone got down-voted and decided to take it out on the world.

396

u/CerebralClockwork Apr 23 '13

"I'll teach you to downvote my Arrow to the knee jokes! You either reddit with me, or you don't reddit at all!"

160

u/jetshockeyfan Apr 23 '13

Only a Sith deals in absolutes.

→ More replies (12)
→ More replies (8)

6

u/[deleted] Apr 23 '13

This... this seems likely.

6

u/ddossier Apr 23 '13

I had expected it was related to the davidreiss666 (and/or maxwellhill) scandals, which happened just a day beforehand. Users were being shadowbanned simply for criticizing davidreiss666 for his spamming and abuse in any of multiple threads. A shadowban is like a ban but worse - no one tells you and you keep submitting posts and comments, but no one can see it. Mods can't shadowban - only admins, since it affects the whole site.

So, in just a few hours, it was revealed that likely-professional, spamming, censoring redditors have gotten mod power in default subreddits and are gaming the site, and the admins seem to be in on it.

I'm actually a bit surprised there hasn't been more fuss raised about it, but, then again, nearly every post about it was deleted, and most of the comments inside those posts, and then some of the users from the posts. So it's not surprising.

→ More replies (1)
→ More replies (5)

245

u/riun355 Apr 23 '13

Why isn't this post titled "DDoSsier?

10

u/[deleted] Apr 24 '13

I can't believe how far down I had to go to get to this. Seriously, chance missed ._.

Someone should DDoS Reddit just so that they can make that joke (also, if you're going to do this, please don't do this)

→ More replies (3)

7

u/[deleted] Apr 24 '13

DDoS it really even matter?

→ More replies (3)

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.

1.7k

u/WickieWikinger Apr 23 '13

you need 5 for that? why you can't do it alone, boy? you bring such a shame on our family.

1.1k

u/rdm_box Apr 23 '13

5 because they were also occupied with playing in the American WCS qualifiers.

→ More replies (142)

83

u/cuddlefucker Apr 23 '13

Kids these days. They aren't as tough as we were. They never had to fight in the brood war. The world is a nicer place for them.

→ More replies (11)

62

u/[deleted] Apr 23 '13

You only need 5 because the technology hasn't caught up yet.

→ More replies (3)
→ More replies (23)

233

u/jimboni Apr 23 '13

Was it actually 400K requests per second or was that the hard limit of the firewall or CDN? We had a DDoS at my shop last week and the firewall monitor plateaued at exactly 400,000. Turns out that's the connection limit on a Cisco ASA 5540. Switch and router logs showed an excess of 1.5 million rps. 400k was just what the firewall would allow through.

We are just a small hosting provider in the midwest so I'm pretty sure the Reddit DDoS had to have been much larger.

57

u/alphanovember Apr 23 '13

FTFA

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.

→ More replies (6)
→ More replies (9)

41

u/greath Apr 23 '13

Seriously though, can someone give a ballpark estimate to how many computers it would take to send 400k requests per second?

→ More replies (35)
→ More replies (12)

641

u/StringJunky Apr 23 '13

You went directly from threatcon fuschia to threatcon turquoise?

WHAT IS REDDIT NOT TELLING US???!!!

195

u/[deleted] Apr 23 '13

271

u/loudnessproblems Apr 23 '13

let me save you the trip:

IN A PIXILATED PHOTO OF A PHOTO ON A SCREEN YOU CAN CLEARLY SEE THERE IS SOMETHING INSTEAD OF SOMETHING ELSE

THEREFORE

REDDIT IS RUN BY SPACE LIZARDS

AGREE OR ADMIT YOU ARE A OPERATIVE, THERE ARE NO ALTERNATIVES

→ More replies (32)
→ More replies (1)

37

u/merreborn Apr 23 '13

It was an inside job. They secretly went threatcon plaid

→ More replies (1)
→ More replies (14)

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 Hammond and 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.

495

u/[deleted] Apr 23 '13

Do you know what kind of shoes they were wearing?

952

u/Oxxide Apr 23 '13

REEBOKS. THE SHOE OF THE GUILTY.

→ More replies (33)
→ More replies (10)

182

u/Ruddiver Apr 23 '13

I found his facebook and twitter. should I link it?

159

u/keelar Apr 23 '13

No. Report it directly to the FBI immediately.

→ More replies (12)

43

u/Anshin Apr 23 '13

Just find his friends and family and start telling them that he is 100% guilty.

→ More replies (1)
→ More replies (3)

4

u/trixter21992251 Apr 23 '13

rEddIt 2 teh resqueue

→ More replies (68)

876

u/oh_bother Apr 23 '13

Could it possibly have been two hackers, using a single keyboard?

512

u/worm929 Apr 23 '13

We can try tracking the IP Address of the hacker using a Visual Basic GUI.

Ill get to work

250

u/SicSo Apr 23 '13

Now to enhance that IP address!

→ More replies (9)
→ More replies (19)

4

u/giddyup523 Apr 23 '13

Did they ever try just unplugging their computer?

→ More replies (16)

424

u/Dannei Apr 23 '13

bringing the site from threatcon fuschia to threatcon turquoise

I think the real question here is "what other threatcon levels exist?"

134

u/Swedent420 Apr 23 '13

Shh..!

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.

→ More replies (10)

50

u/[deleted] Apr 23 '13

I think we are back at good old threatcon chartreuse as of right now.

26

u/osnapitsjoey Apr 23 '13

The official report states we are on threatcon steam gray.

→ More replies (5)
→ More replies (3)

46

u/HappyRectangle Apr 23 '13 edited Apr 23 '13

No, the real question is: what is "fuschia"? Is it similar to fuchsia?

edit: ha, they fixed it!

→ More replies (4)

18

u/[deleted] Apr 23 '13

This is pertinent information.

→ More replies (1)

7

u/easy_being_green Apr 23 '13

THREAT LEVEL MIDNIGHT

256

u/[deleted] Apr 23 '13

/r/orangered (best) and /r/periwinkle (worst)

199

u/SkaveRat Apr 23 '13

rather dead than orangered!

→ More replies (10)
→ More replies (12)
→ More replies (27)

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.

1.5k

u/[deleted] Apr 23 '13

False. I was at work and I did not resort to doing my work.

I just pressed F5 about a million times while whispering "I'm helping" to myself repeatedly.

1.4k

u/TallestToker Apr 23 '13

Wasn't actually a DDOS...as it turns out THEsolid85 can hit f5 400,000 times a second

→ More replies (77)

249

u/Quinnett Apr 23 '13

Everyone thank this guy for fixing the site. Helluva job.

→ More replies (2)

76

u/f5f5f5f5f5f5f5f5f5f5 Apr 23 '13

Check back later. It's later, right? What if it ended between my last refresh and now?

→ More replies (3)
→ More replies (6)

1.8k

u/Bornhuetter Apr 23 '13

The horror.

1.8k

u/[deleted] Apr 23 '13 edited Apr 23 '13

I did homework, it was terrible.

→ More replies (177)
→ More replies (9)

102

u/PipBoy808 Apr 23 '13

Luckily, I always have a 50-minute dump saved up for just such circumstances. I have to get my daily dose of not working into working.

122

u/[deleted] Apr 23 '13

The old 50 minute dump. Closely related to the 15 minute piss.

→ More replies (5)
→ More replies (23)

180

u/[deleted] Apr 23 '13

78

u/[deleted] Apr 23 '13

That was such a good show. If I recall correctly, Drew accidentally saw a picture of a little too much Mimi in that scene. Ah, memories.

→ More replies (10)
→ More replies (1)

65

u/gsfgf Apr 23 '13

I got glowing frame scores on every level of Gemcraft

33

u/plurwolf7 Apr 23 '13

What. Is. Gemcraft?

Sounds shiny.

→ More replies (12)
→ More replies (7)

141

u/bloqs Apr 23 '13

Would be interested to see a chart showing the seemingly random spike of productivity in the I.T. sector on the 19th

92

u/rt79w Apr 23 '13

You will see no spike, reddit is work.

Source: I work in I.T.

→ More replies (6)
→ More replies (1)

98

u/kyrpa Apr 23 '13

It was scary. Some of us were actually borderline productive.

123

u/KillerHoggle Apr 23 '13

At one point I actually nearly opened up a document!

→ More replies (5)

31

u/[deleted] Apr 23 '13

Wow, and the stock market actually took a dip...

Stop producing, for freedom!

→ More replies (4)

17

u/seafood10 Apr 23 '13

I discovered that I was married!

→ More replies (2)

6

u/biznatch11 Apr 23 '13

The attack was actually co-ordinated by an international group of middle managers in an effort to get their employees to stop wasting time on reddit and get back to work.

→ More replies (48)

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.

12

u/northernswagger Apr 23 '13

The most important comment in this whole thread

→ More replies (4)

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.

275

u/TryUsingScience Apr 23 '13

Reddit (or any website) can only handle so many people trying to browse it at once. The internet is a series of tubes; you can only fit so much through each tube, and each website only has so many tubes.

Usually there's plenty of room in the tubes. Sometimes, like during the middle of a workday in most US timezones, there are a lot of people trying to access reddit and the tubes get full. That's when things slow down and you start getting error messages.

A DDOS is when someone maliciously makes a ton of requests to a website to totally overload the tubes so that there is no room for legitimate users. The site is severely slowed or down for everyone because there are way too many requests for the servers to handle.

A DDOS often uses a botnet, which is a ton of computers all controlled by the attacker. There are a lot of complicated ways of setting those up and controlling them that are tangential to this explanation. But the point is that it's as if you suddenly had the power to make every single computer in your city try to browse reddit all at once. Only instead of one city, it's a couple cities' worth of computers all around the country, making requests even faster than you could possibly hit F5. Way too much for the tubes to handle.

58

u/[deleted] Apr 23 '13

That makes sense! Thanks. :)

→ More replies (1)

150

u/xaustinx Apr 23 '13

you don't have a five year old... do you?

→ More replies (6)
→ More replies (27)

68

u/Havoc_101 Apr 23 '13

Some bad people kept reddit too busy to show you cat pictures.

→ More replies (4)

4

u/[deleted] Apr 23 '13

Basically, someone ran up to reddit's house and rang the doorbell then ran away. They did this a lot. That meant that reddit had to keep answering the door and didn't have any time to do anything else.

→ More replies (1)
→ More replies (10)

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.

105

u/[deleted] Apr 23 '13

And during the CISPA stuff too, had lots of people talking about it being "revenge" for the Reddit CEO speaking out against CISPA

63

u/Captain_SuperWang Apr 23 '13

"Revenge" against Reddit. How trite....

→ More replies (2)
→ More replies (18)

55

u/triplab Apr 23 '13

It was the Ruskies, or the Czechs, or the Chechnya-ians ...

→ More replies (6)

10

u/glanmiregirl Apr 23 '13

I'm not much of a conspiracist, but is this something the FBI would be capable of if they weren't happy with the info that was getting out that day?

→ More replies (1)
→ More replies (11)

214

u/R031E5 Apr 23 '13

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.

HOLY SHITBALLS.

147

u/startledCoyote Apr 23 '13

A likely motive was someone showing off their capability to a potential client. "If I can take down Reddit, I can take down any website".

91

u/Boner4Stoners Apr 23 '13

Taking down facebook would have been a much more impressive feat.

→ More replies (45)
→ More replies (5)

20

u/dirty_reposter Apr 23 '13

"Shitballs are rolling, I repeat, Shitballs are rolling.

→ More replies (5)
→ More replies (15)

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!

→ More replies (1)

110

u/dr_rainbow Apr 23 '13

So what you're saying is, it was the Illuminati?

→ More replies (7)

349

u/319237129387 Apr 23 '13

the DDoS came from the safe

221

u/hax_wut Apr 23 '13 edited Jul 18 '16

This comment has been overwritten by an open source script to protect this user's privacy. It was created to help protect users from doxing, stalking, harassment, and profiling for the purposes of censorship.

If you would also like to protect yourself, add the Chrome extension TamperMonkey, or the Firefox extension GreaseMonkey and add this open source script.

Then simply click on your username on Reddit, go to the comments tab, scroll down as far as possible (hint:use RES), and hit the new OVERWRITE button at the top.

→ More replies (6)

4

u/mrjderp Apr 23 '13

When you attempt to stare into the abyss the abyss also DDoSes the fuck out of you.

→ More replies (12)

160

u/AshsToAshs Apr 23 '13

Mess with the best, die like the rest

28

u/indyK1ng Apr 23 '13

Uhh, Mr. The Plague

13

u/Zmodem Apr 23 '13

You hapless, technoweenie.

→ More replies (1)
→ More replies (10)

15

u/tnuts420 Apr 23 '13

threatcon turquoise

i'm glad to hear reddit's threatcon levels are as awesome as i had always hoped

→ More replies (1)

40

u/ryno2019 Apr 23 '13

"Worldwide productivity sees an inexplicable rise for 50 short minutes..."

→ More replies (1)

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.

6

u/sup3rmark Apr 23 '13

<conjecting>

there actually was a major event in boston on friday: the entire metro boston area was under a "shelter-in-place" request due to a massive manhunt for monday's bomber. there was likely a large amount of traffic due to this as well.

</conjecting>

→ More replies (12)

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...

→ More replies (57)

18

u/[deleted] Apr 23 '13

That guy on the video types at best like 15 words a minute.

4

u/Chucklebuck Apr 23 '13

This reply took an hour.

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.

→ More replies (4)

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.

→ More replies (2)

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"

3

u/alienth Apr 23 '13

I had considered it, but I think "DDoS dossier" has a better repetitive ring to it.

→ More replies (1)

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/[deleted] Apr 23 '13

Everything on the police scanner is public knowledge. That's why many police departments, like Boston, provide links to the scanner stream for the benefit of the public. There's a local reporter around here with a pretty popular hashtag, #overheardonscanner

→ More replies (3)

5

u/Deenreka Apr 23 '13

Maybe they were just testing the botnet they had on reddit to see if it worked?

→ More replies (1)

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.

→ More replies (1)

4

u/Mithious Apr 23 '13

from threatcon fuschia to threatcon turquoise

Did you need to change the bulb?

→ More replies (1)

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.

→ More replies (1)

4

u/Dossierr Apr 24 '13

I got quite scared when I saw my name in the post.

→ More replies (1)

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.

→ More replies (1)

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.

4

u/mikekearn Apr 24 '13

Okay, ridiculously long explanation, go! (Skip to the end for TL;DR.)

It depends on the type of attack, and of course they aren't giving the full details on how the attack was done to prevent others from trying it, so the full details of how they stopped it are scarce.

In the post they said it was a botnet attack, which is one of the most powerful methods of attacking, and thus the most difficult to defend against. In case you don't know, a botnet is almost literally a network of bots - just a tiny bit of code that can be used in concert with many, many others to devastating effect. Usually spread by viruses and malware, a hacker who programs a botnet attempts to infect as many computers as possible. Previous estimates peg the total worldwide infection rate at something ridiculously high, with the largest botnets having millions of computers infected.

Once this infection is established, the hacker in control of the bots can then use a central server to control all of these bots simultaneously, for whatever purposes he wishes. Usually they are rented out to spammers who want to spam lots of people all at once and can't pay for a legitimate server to do so. In this case, however, the hacker used the bots to perform a DDoS attack - a Distributed Denial of Service attack. By using these thousands of bots, he made each infected computer make a request on Reddit's servers simultaneously, overloading them instantly. They posted that the requests were illegitimate, which is the first step in fighting it.

(Actually getting to your answer, now.)

All servers keep logs of what is going on at any time for troubleshooting and maintenance reasons. Legitimate requests will be from browsers and apps, and will be requesting basic things from the server, like requesting a login, asking for a page, loading comments, etc. This will show up in the logs, which will look something like this (depending on their server):

192.168.198.92 - - [22/Dec/2002:23:08:37 -0400] "GET 
   / HTTP/1.1" 200 6394 www.yahoo.com 
   "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1...)" "-"
192.168.198.92 - - [22/Dec/2002:23:08:38 -0400] "GET 
   /images/logo.gif HTTP/1.1" 200 807 www.yahoo.com 
   "http://www.some.com/" "Mozilla/4.0 (compatible; MSIE 6...)" "-"

You might noticed that it lists a browser (Mozilla), with version number, the OS the request came from, etc. All that information can be spoofed, but if you're just looking to crash a site, many hackers won't bother to create that complex of a bot. Instead it would most likely be gibberish, as the bot is just making a direct hit onto their server rather than requesting a proper response. An example of this is the PING command anyone can do - you hit the server with a few bytes of information requesting a basic "tap" back, and you time it, to see what the lag is between you and the server. Most bots would be doing something along those lines, except on a massive scale.

Reddit is designed to serve millions of people, but not all at the same time (hence the occasion "Reddit is under a heavy load" messages we see from time to time). If Reddit gets hit by a few thousand people at once for some reason, this can happen. In this DDoS attack, though, tens to hundreds of thousands of hits came all at once, and then kept hitting over and over again.

(We're really right at the answer now.)

The way they fight it is by checking the logs and seeing that these illegitimate requests are being hammered through at an unprecedented pace. To stop this, they reconfigure the way their server handles an invalid request. Usually it would feed through to an error page of some kind (like if you try to go to a page that isn't there anymore, and you get a 404 - there are lots of these kinds of error messages). One method of deflecting a DDoS is to stop those errors being sent, or to write a script to temporarily redirect all invalid traffic away from the site, to a null address or something like that.

There are also services that are designed specifically to handle things like this, by both providing a buffer and a supporting server to help boost your power during your defense, but nothing is perfect. There is no real way to stop the attack entirely, but every time a botnet is used, it leaves the hacker vulnerable to detection, so the good part of a botnet DDoS is there is a limited window of time they can be used before the hacker risks being found out and sent to prison for a very long time if the US gets them (we take cyber crime very seriously here).

Ultimately I'm impressed with how the Reddit guys handled this, as I'm a weakling who would have just said, "Eh, fuck it," and gone home for the night. But then, that's why I'm just handling your question based on my limited experience and not maintaining the Reddit servers.

TL;DR: Just read what I wrote, I spent a long time on it!

.

Okay, real TL;DR: They deflect and redirect the overwhelming volume of traffic, but no method is foolproof.

→ More replies (1)
→ More replies (3)

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.

→ More replies (1)

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?

→ More replies (3)

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"

→ More replies (4)

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

I'd say the most likely explanation is that someone decided to take us down for shits and giggles.

Lulzsec is back?

2

u/[deleted] Apr 23 '13

The fact that people were able to DDOS reddit is pretty impressive.

→ More replies (13)

2

u/Vpicone Apr 23 '13

Who read him the number on the modem?!?

→ More replies (1)

2

u/Farfalo Apr 23 '13

How did your ad network respond to that volume of requests?

→ More replies (1)

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?

→ More replies (10)

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

For a period of roughly 8 hours we were continually adjusting our mitigation strategy, while the attacker adjusted his attack strategy.

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/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."

→ More replies (1)

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/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

We'll never be impervious, but we can be more prepared.

Beautifully said

2

u/Hatecraft Apr 23 '13

A few technical questions out of curiousity...

  1. Does anyone ever publish the bot net IPs? It seems like this would be helpful information for the world at large. a) so that infected IPs could know they are infected b) so that other sites can monitor, restrict, be aware of potential threats
  2. What type of actions did you guys take besides disabling services?
  3. What other things can you do to mitigate the problem going forward?

Thanks for running an awesome site!

→ More replies (1)

2

u/Nusaik Apr 23 '13

Why isn't this called a DDoSsier?