1 00:00:00,000 --> 00:00:01,360 Hi guys. 2 00:00:02,060 --> 00:00:05,680 I miss you guys a lot because this is my fourth time to be here. 3 00:00:06,280 --> 00:00:16,680 You'll find it strange I'm here because last few years I talked about China, internet censorship, APT, target attack from maybe from my country. 4 00:00:17,240 --> 00:00:23,580 So this time I'm the follower of the chief Tony and Ellen. 5 00:00:23,640 --> 00:00:31,300 And another speaker, he's the policeman, maybe busy to get some criminals and cannot come to this place. 6 00:00:31,300 --> 00:00:32,060 It's pity. 7 00:00:32,060 --> 00:00:34,060 Then I can't get the badge for him. 8 00:00:34,300 --> 00:00:40,620 But anyway, then we would like to talk about DDoS bad and white Kung Fu today. 9 00:00:41,120 --> 00:00:45,500 Then it will be more than like bad things, okay? 10 00:00:45,580 --> 00:00:51,120 Like offensive thing, not the defense, not the selling of firewalls, selling IPS. 11 00:00:51,240 --> 00:00:54,140 We have no shit, no tie and shit, okay? 12 00:00:54,140 --> 00:00:55,460 See, it's real, okay? 13 00:00:55,660 --> 00:00:56,840 Okay, let's start it. 14 00:00:59,160 --> 00:01:04,020 We come from the VXRL, this is not commercial group, it's a non-profit making group. 15 00:01:04,620 --> 00:01:08,440 And I'm Anthony, he's Tony and Ellen. 16 00:01:09,660 --> 00:01:28,520 Disclaimer, there's no national secrets, please take a look over your labels whether there's any looks like China, PLAs, then there's no secrets and welcome to all national spies, Russian spies, Taiwanese spies, German spies, whoever, welcome. 17 00:01:29,120 --> 00:01:35,500 Just buy the secrets for him, then he will leave some secrets to you, okay, outside there. 18 00:01:35,700 --> 00:01:42,100 And no real attacks are launched before, maybe after this talk, we don't know. 19 00:01:43,140 --> 00:01:49,740 Please take it at your own risk because we can't save you from the jail, because we are not the Batman, okay? 20 00:01:51,480 --> 00:02:00,120 Okay, we don't talk about, there's a real good DDoS business in China and create attack assignments. 21 00:02:00,120 --> 00:02:09,040 You could simply go to the Google or Baidu, you could simply search DDoS and QQ, you could get lots of contacts, but we are not going to talk about. 22 00:02:09,040 --> 00:02:12,160 You want to get a good business in China, please contact them. 23 00:02:12,160 --> 00:02:13,460 I'm not the agent. 24 00:02:13,600 --> 00:02:15,280 Thank you very much. 25 00:02:16,300 --> 00:02:20,340 And we also don't talk about some DDoS groups. 26 00:02:20,340 --> 00:02:35,240 And this is quite evil, whoa, they talk about long term to have a DDoS business and also attack different websites, porn sites, gambling sites, very comprehensive scope. 27 00:02:35,240 --> 00:02:39,960 Just call them, QQ, 431-77-314. 28 00:02:40,160 --> 00:02:42,320 But it's not our business. 29 00:02:42,960 --> 00:02:45,500 Okay, agenda today. 30 00:02:46,280 --> 00:02:48,620 Members introduction. 31 00:02:48,820 --> 00:02:50,540 Tony is our chief. 32 00:02:50,540 --> 00:02:52,580 Actually, I'm also following him. 33 00:02:52,580 --> 00:02:56,460 And he is the expertise in the DDoS defense. 34 00:02:56,480 --> 00:02:57,700 Not attacker, right? 35 00:02:57,700 --> 00:03:00,080 Oh , yeah, yeah, defense, yeah, yeah, yeah. 36 00:03:00,160 --> 00:03:09,860 He's working in NASA's guard and also he's always deal with a lot of daily attacks and he needs to go to work for defense side. 37 00:03:09,860 --> 00:03:11,380 He's very experienced guy. 38 00:03:11,820 --> 00:03:28,400 And also for me, then I do, I did a patient test for reverse engineering, attack analysis and also the founder of this group in Hong Kong and already spoke in Brad Hat, DEF CON, AV Tokyo, Hack in Taiwan and Cook Gates in this area. 39 00:03:28,420 --> 00:03:34,000 And this year I just shut my mouth and do some DDoS stuff. 40 00:03:34,000 --> 00:03:36,800 But next year we will do APT again. 41 00:03:36,800 --> 00:03:40,040 Don't think we are some mission underground. 42 00:03:40,200 --> 00:03:45,360 And also bring some money in the Taiwan CTF game as well. 43 00:03:45,360 --> 00:03:53,900 Alan is in the fellows and he's also worked in the network security for eight years and he likes a lot of stuff. 44 00:03:53,900 --> 00:03:57,240 Buy him toys, buy him gadgets, he loves it. 45 00:03:57,240 --> 00:04:01,080 But he specializes in firewall, IPS and network security stuff. 46 00:04:01,940 --> 00:04:12,040 And also the captain, Kelvin Wong is the policeman and as I said, he can't get the holidays from his supervisor and busy on those reports. 47 00:04:12,520 --> 00:04:20,880 So, I'm sorry guys, but he's a real good investigator because many DDoS investigations in Hong Kong police. 48 00:04:21,200 --> 00:04:23,740 Okay, let's start the part one. 49 00:04:25,820 --> 00:04:29,940 Then we will talk about layer 7 DDoS vulnerability analysis and discovery. 50 00:04:30,080 --> 00:04:45,680 We have applied some several common layer 7, not attacks, sorry, text technique methodologies like HTTP GET and POST request, HTTP pipelining and mail from HTTP request and also manipulates HTTP and HTTP vulnerabilities. 51 00:04:45,680 --> 00:04:50,640 Not really complicated, but you need to sit down for part one and part two. 52 00:04:50,640 --> 00:04:53,240 You know what is the power behind. 53 00:04:53,920 --> 00:04:55,420 Okay, the technique is overwhelmed. 54 00:04:55,480 --> 00:05:01,880 Before attack, we need to find out the HTTP allow the methods and check whether sites accept POST or other GET methods. 55 00:05:01,880 --> 00:05:16,140 Because we test some sites, they simply just have a support GET method, but they could accept other methods and check out any resources intensive function like searching function and any function related to the database retrieval. 56 00:05:16,140 --> 00:05:35,100 Check out any HTTP response with large payload returned from the request and check out any links with a large attachment including the document, PDF, media files, audio files and check out whether the HTTP response is cached or not and check whether chunk data in the HTTP response packet from the target is allowed. 57 00:05:35,100 --> 00:05:41,420 If there is no chunk data, that means you could do something funny like incomplete request. 58 00:05:42,080 --> 00:05:43,900 We have two attack combo. 59 00:05:43,900 --> 00:05:46,180 Anyone play Street Fighter? 60 00:05:47,860 --> 00:05:49,820 Yeah, no Street Fighter? 61 00:05:49,820 --> 00:05:54,200 Then you're not Americans because from Capcom. 62 00:05:54,200 --> 00:05:57,420 I like it when I'm still very young here. 63 00:05:58,500 --> 00:06:03,940 Then there's two combos of the attack, not attack, test combo. 64 00:06:04,340 --> 00:06:04,800 Okay. 65 00:06:04,800 --> 00:06:08,680 We seek and manipulate TCP and HTTP characteristics and vulnerabilities. 66 00:06:08,680 --> 00:06:23,060 First of all, find out any URLs which accepts POST, change the content link to some other numbers, for example, 999 or 999, whatever, but it accepts abnormal size bytes and see whether it keeps the collection alive. 67 00:06:24,220 --> 00:06:30,440 Afterwards, then we could check some TCP blah, blah, blah, time out value. 68 00:06:30,440 --> 00:06:32,480 I'm not Professor Lai, okay? 69 00:06:32,480 --> 00:06:35,760 I'm not going to get you back to the university. 70 00:06:35,760 --> 00:06:36,820 Please check out this value. 71 00:06:36,820 --> 00:06:53,740 For example, the TCP established state time out value, the first push arc time out, continuous arc time out, first thin wait one, last arc time out value and waits for find arc, waits for reset arc and waits for reset value. 72 00:06:53,740 --> 00:06:55,720 Why do we need this value? 73 00:06:55,720 --> 00:07:01,360 Because we could guess and learn the behavior of the device behind, okay? 74 00:07:01,660 --> 00:07:04,280 Tony will brief it in the second part. 75 00:07:04,280 --> 00:07:07,960 His speech is the main dish, all right? 76 00:07:08,440 --> 00:07:10,380 And what is the goals after that? 77 00:07:10,380 --> 00:07:28,740 We could calculate the resources to help to bring down the target and trace its detection, for example, through the waits limit and guess its CDOS mitigations and also submit an incomplete HTTP post packet attack to the end, to the backend server to see whether we could do it in the post attack techniques. 78 00:07:29,500 --> 00:07:35,400 Combo two, many places due to poor server hardening, okay? 79 00:07:35,700 --> 00:07:36,900 Why we need to do that? 80 00:07:36,900 --> 00:07:48,840 Because we want to see the target accept some simple HTTP request, just accept some simple HTTP request connection including fields like host, connection and success only. 81 00:07:50,240 --> 00:07:58,320 This is a four years pattern but currently our survey in part one still find it, some many good sites still accept it. 82 00:07:58,320 --> 00:08:14,040 But you find it, the problem is they don't check the cookie value, they don't check the referral value and also they simply accept the user agent value, mozilla slash 4.0 because this is why they used it by the botnet already, okay? 83 00:08:14,040 --> 00:08:17,360 If you don't use it, no hardening, okay? 84 00:08:18,300 --> 00:08:23,280 This is also we, in this combo we also have to check you accept HTTP pipelining. 85 00:08:23,280 --> 00:08:32,280 It also fulfill the RFC standard and you find each of the request, get request, they separate with double slash R, backslash R, backslash N. 86 00:08:33,140 --> 00:08:48,400 And also in this combo attack we will utilize all HTTP request push R in the same packet with the size lower than 1,500 bytes and to see whether HTTP request in packet could be multiple by seven times or more. 87 00:08:48,400 --> 00:08:52,000 This occupy and maximize our attack. 88 00:08:52,480 --> 00:09:00,820 Finding the large size packet data payload like picture and audio files which cannot be cached and with authentication check like capture in advance. 89 00:09:00,820 --> 00:09:07,600 The goals of it is increase loading of server and CPU and memory usage, increase the bandwidth consumptions. 90 00:09:07,860 --> 00:09:11,900 And see whether we could force to get a new session and connection without cache. 91 00:09:12,400 --> 00:09:15,400 It could guarantee bypass load balancer and proxy. 92 00:09:15,500 --> 00:09:28,020 And for example, there's two examples, there's a question mark, the question mark behind the strings, then you would change a little bit, you could force the load balancer or force to get a new session instead of get the data from the cache. 93 00:09:28,080 --> 00:09:33,660 And also like the cache value set at no cache or expiry date set as the date none time before. 94 00:09:34,560 --> 00:09:44,260 This is the combo like we use it, like use a simple get, a combined simple get, HTTP pipelining and also the force, log force and loading the cache. 95 00:09:44,260 --> 00:09:54,580 You find the red color, then you see the string after the question mark is different every time to ensure if the cache, not load the cache. 96 00:09:55,200 --> 00:09:57,880 Okay, but we follow RFC all the time. 97 00:09:58,620 --> 00:09:59,560 Okay. 98 00:10:00,320 --> 00:10:01,320 Appetizer. 99 00:10:02,440 --> 00:10:05,780 We are afraid of whether we could leave the United States after that. 100 00:10:06,100 --> 00:10:07,040 Okay, no worries. 101 00:10:07,040 --> 00:10:07,960 Just kidding. 102 00:10:07,960 --> 00:10:11,260 We have test 39 companies in the United States. 103 00:10:11,260 --> 00:10:14,000 They are our clients this time. 104 00:10:14,020 --> 00:10:14,700 Okay. 105 00:10:14,920 --> 00:10:16,160 I'm loving it. 106 00:10:16,780 --> 00:10:24,040 Amazon, Microsoft, Google, Delta, CNN, DHL, and Amazon, they recruit the people. 107 00:10:24,100 --> 00:10:28,040 You guys could go there. 108 00:10:28,040 --> 00:10:29,340 And e-base, okay. 109 00:10:29,340 --> 00:10:30,360 39 targets. 110 00:10:30,360 --> 00:10:31,320 Why not 40? 111 00:10:31,320 --> 00:10:32,340 I don't know. 112 00:10:33,760 --> 00:10:36,620 And it looks like we also test CNN. 113 00:10:36,700 --> 00:10:39,100 Any Akamai representative here? 114 00:10:40,360 --> 00:10:41,400 Okay. 115 00:10:41,980 --> 00:10:47,000 Yeah, because don't get us as a sales people, okay. 116 00:10:47,580 --> 00:10:49,540 Okay, the test summary. 117 00:10:49,540 --> 00:10:52,140 We only test their landing page only, okay. 118 00:10:52,200 --> 00:10:56,620 There's a 26 out of 39 companies accept simple get. 119 00:10:56,620 --> 00:11:03,080 And there's 4 out of 39 companies accept simple post without content link. 120 00:11:03,140 --> 00:11:08,920 And simply five of them just say method not allowed because they don't support post. 121 00:11:08,920 --> 00:11:14,480 And also there's 17 out of 39 companies accept simple post with content link. 122 00:11:14,600 --> 00:11:20,100 And also then about 34 out of 39 accept HTTP pipelining. 123 00:11:20,100 --> 00:11:22,540 Looks like normal, okay. 124 00:11:23,120 --> 00:11:28,240 But here you could find it like Visa card, Amazon accept simple get. 125 00:11:28,240 --> 00:11:29,640 Yeah, not big deal. 126 00:11:29,640 --> 00:11:30,660 Looks like. 127 00:11:31,360 --> 00:11:34,760 And McDonald's, I hating it. 128 00:11:35,120 --> 00:11:38,720 Every day I need to take McDonald's here. 129 00:11:38,720 --> 00:11:39,960 No meals for me. 130 00:11:40,120 --> 00:11:42,900 Sorry, I get a lot of meals from the Starbucks, okay. 131 00:11:43,080 --> 00:11:46,800 And they get the pipelining, they accept pipelining and give you the pictures. 132 00:11:46,800 --> 00:11:51,120 But if you go to McDonald's website, there's a lot of big size fresh, okay. 133 00:11:51,700 --> 00:11:55,100 And also any, there's a property website. 134 00:11:55,540 --> 00:11:56,800 It's a Fannie Mae. 135 00:11:58,440 --> 00:11:59,860 They broke me. 136 00:11:59,860 --> 00:12:01,340 It's a very good defense. 137 00:12:01,420 --> 00:12:01,980 Yeah. 138 00:12:02,240 --> 00:12:06,020 Just one of them, they broke my IP address. 139 00:12:06,020 --> 00:12:08,020 None of others did broke me. 140 00:12:08,560 --> 00:12:09,440 Okay. 141 00:12:09,780 --> 00:12:11,500 This is some payload. 142 00:12:11,500 --> 00:12:12,220 I prove it. 143 00:12:12,220 --> 00:12:17,240 It's the McDonald's with the pipelining and the simple post accepted by HP. 144 00:12:17,240 --> 00:12:18,460 HP, yeah. 145 00:12:18,460 --> 00:12:20,380 You get a lot of solutions from them. 146 00:12:20,940 --> 00:12:24,400 And also this is one is eBay, right. 147 00:12:24,540 --> 00:12:28,940 The eBay even, the simple post don't accept any, they accept it. 148 00:12:28,940 --> 00:12:30,740 Even there's a no content link. 149 00:12:31,020 --> 00:12:32,420 I appreciate it. 150 00:12:32,520 --> 00:12:33,980 Don't follow RFC. 151 00:12:34,780 --> 00:12:37,860 And also, network giant, Cisco. 152 00:12:37,860 --> 00:12:40,100 Any Cisco representative here? 153 00:12:40,860 --> 00:12:41,960 Okay, no problem. 154 00:12:41,960 --> 00:12:41,980 Cisco, okay.