[00:00.000 --> 00:06.960] Hi guys. I miss you guys a lot because this is my fourth time to be here. You'll find it [00:06.960 --> 00:12.740] strange I'm here because last few years I talked about China, internet censorship, APT, [00:12.740 --> 00:21.660] target attack from maybe from my country. So this time I'm the follower of the chief Tony [00:22.240 --> 00:29.160] and Ellen. And another speaker, he's the policeman, maybe busy to get some criminals [00:29.160 --> 00:34.920] and cannot come to this place. It's pity. Then I can't get the badge for him. But anyway, [00:34.920 --> 00:42.940] then we would like to talk about DDoS bad and white Kung Fu today. Then it will be more than [00:42.940 --> 00:49.900] like bad things, okay? Like offensive thing, not the defense, not the selling of firewalls, [00:49.900 --> 00:56.840] selling IPS. We have no shit, no tie and shit, okay? See, it's real, okay? Okay, let's start it. [00:59.160 --> 01:04.020] We come from the VXRL, this is not commercial group, it's a non-profit making group. [01:04.620 --> 01:12.500] And I'm Anthony, he's Tony and Ellen. Disclaimer, there's no national secrets, [01:12.500 --> 01:18.980] please take a look over your labels whether there's any looks like China, PLAs, then [01:19.640 --> 01:25.640] there's no secrets and welcome to all national spies, Russian spies, Taiwanese spies, [01:25.640 --> 01:32.780] German spies, whoever, welcome. Just buy the secrets for him, then he will leave some secrets [01:32.780 --> 01:41.000] to you, okay, outside there. And no real attacks are launched before, maybe after this talk, [01:41.000 --> 01:47.240] we don't know. Please take it at your own risk because we can't save you from the jail, [01:47.240 --> 01:55.120] because we are not the Batman, okay? Okay, we don't talk about, there's a real good [01:55.120 --> 02:01.380] DDoS business in China and create attack assignments. You could simply go to the [02:02.080 --> 02:07.400] Google or Baidu, you could simply search DDoS and QQ, you could get lots of contacts, [02:07.400 --> 02:11.120] but we are not going to talk about. You want to get a good business in China, [02:11.120 --> 02:15.280] please contact them. I'm not the agent. Thank you very much. [02:16.300 --> 02:23.120] And we also don't talk about some DDoS groups. And this is quite evil, whoa, they talk about [02:23.120 --> 02:32.500] long term to have a DDoS business and also attack different websites, porn sites, [02:32.500 --> 02:41.160] gambling sites, very comprehensive scope. Just call them, QQ, 431-77-314. But it's not our [02:41.160 --> 02:51.920] business. Okay, agenda today. Members introduction. Tony is our chief. Actually, I'm also [02:51.920 --> 02:57.700] following him. And he is the expertise in the DDoS defense. Not attacker, right? [02:57.700 --> 03:04.400] Oh, yeah, yeah, defense, yeah, yeah, yeah. He's working in NASA's guard and also he's always [03:04.400 --> 03:10.240] deal with a lot of daily attacks and he needs to go to work for defense side. He's very [03:10.240 --> 03:16.800] experienced guy. And also for me, then I do, I did a patient test for reverse engineering, [03:16.800 --> 03:22.340] attack analysis and also the founder of this group in Hong Kong and already spoke in [03:22.340 --> 03:29.460] Brad Hat, DEF CON, AV Tokyo, Hack in Taiwan and Cook Gates in this area. And this year I just [03:29.460 --> 03:38.120] shut my mouth and do some DDoS stuff. But next year we will do APT again. Don't think we are [03:38.120 --> 03:45.360] some mission underground. And also bring some money in the Taiwan CTF game as well. [03:45.360 --> 03:52.580] Alan is in the fellows and he's also worked in the network security for eight years and he [03:52.580 --> 03:58.340] likes a lot of stuff. Buy him toys, buy him gadgets, he loves it. But he specializes in [03:58.340 --> 04:04.860] firewall, IPS and network security stuff. And also the captain, Kelvin Wong is the [04:04.860 --> 04:10.900] policeman and as I said, he can't get the holidays from his supervisor and busy on those [04:10.900 --> 04:18.560] reports. So, I'm sorry guys, but he's a real good investigator because many DDoS [04:18.560 --> 04:26.720] investigations in Hong Kong police. Okay, let's start the part one. Then we will talk about [04:26.720 --> 04:32.320] layer 7 DDoS vulnerability analysis and discovery. We have applied some several common [04:32.320 --> 04:39.120] layer 7, not attacks, sorry, text technique methodologies like HTTP GET and POST request, [04:39.120 --> 04:45.680] HTTP pipelining and mail from HTTP request and also manipulates HTTP and HTTP vulnerabilities. [04:45.680 --> 04:51.480] Not really complicated, but you need to sit down for part one and part two. You know what is [04:51.480 --> 04:57.080] the power behind. Okay, the technique is overwhelmed. Before attack, we need to find out [04:57.080 --> 05:02.120] the HTTP allow the methods and check whether sites accept POST or other GET methods. Because [05:02.120 --> 05:08.480] we test some sites, they simply just have a support GET method, but they could accept other [05:08.480 --> 05:13.460] methods and check out any resources intensive function like searching function and any [05:13.460 --> 05:18.680] function related to the database retrieval. Check out any HTTP response with large payload [05:18.680 --> 05:23.140] returned from the request and check out any links with a large attachment including the [05:23.140 --> 05:30.040] document, PDF, media files, audio files and check out whether the HTTP response is cached or [05:30.040 --> 05:35.200] not and check whether chunk data in the HTTP response packet from the target is allowed. If [05:35.200 --> 05:42.240] there is no chunk data, that means you could do something funny like incomplete request. We [05:42.240 --> 05:51.220] have two attack combo. Anyone play Street Fighter? Yeah, no Street Fighter? Then you're not [05:51.220 --> 05:59.900] Americans because from Capcom. I like it when I'm still very young here. Then there's two [05:59.900 --> 06:06.720] combos of the attack, not attack, test combo. Okay. We seek and manipulate TCP and HTTP [06:06.720 --> 06:12.220] characteristics and vulnerabilities. First of all, find out any URLs which accepts POST, [06:12.220 --> 06:18.780] change the content link to some other numbers, for example, 999 or 999, whatever, but it [06:18.780 --> 06:25.700] accepts abnormal size bytes and see whether it keeps the collection alive. Afterwards, then we [06:25.700 --> 06:32.820] could check some TCP blah, blah, blah, time out value. I'm not Professor Lai, okay? I'm not [06:32.820 --> 06:38.460] going to get you back to the university. Please check out this value. For example, the TCP [06:38.460 --> 06:45.440] established state time out value, the first push arc time out, continuous arc time out, first [06:45.440 --> 06:52.840] thin wait one, last arc time out value and waits for find arc, waits for reset arc and waits for [06:52.840 --> 06:59.160] reset value. Why do we need this value? Because we could guess and learn the behavior of the [06:59.160 --> 07:07.280] device behind, okay? Tony will brief it in the second part. His speech is the main dish, all [07:07.280 --> 07:13.020] right? And what is the goals after that? We could calculate the resources to help to bring [07:13.020 --> 07:17.980] down the target and trace its detection, for example, through the waits limit and guess its [07:17.980 --> 07:23.980] CDOS mitigations and also submit an incomplete HTTP post packet attack to the end, to the [07:23.980 --> 07:30.980] backend server to see whether we could do it in the post attack techniques. Combo two, [07:30.980 --> 07:37.860] many places due to poor server hardening, okay? Why we need to do that? Because we want to [07:37.860 --> 07:44.220] see the target accept some simple HTTP request, just accept some simple HTTP request [07:44.220 --> 07:51.360] connection including fields like host, connection and success only. This is a four years [07:51.360 --> 07:57.680] pattern but currently our survey in part one still find it, some many good sites still accept [07:57.680 --> 08:03.380] it. But you find it, the problem is they don't check the cookie value, they don't check the [08:03.380 --> 08:10.500] referral value and also they simply accept the user agent value, mozilla slash 4.0 because this [08:10.500 --> 08:17.360] is why they used it by the botnet already, okay? If you don't use it, no hardening, okay? [08:18.300 --> 08:23.660] This is also we, in this combo we also have to check you accept HTTP pipelining. It also [08:23.660 --> 08:29.040] fulfill the RFC standard and you find each of the request, get request, they separate with [08:29.040 --> 08:36.400] double slash R, backslash R, backslash N. And also in this combo attack we will utilize all [08:36.400 --> 08:43.260] HTTP request push R in the same packet with the size lower than 1,500 bytes and to see [08:43.260 --> 08:50.360] whether HTTP request in packet could be multiple by seven times or more. This occupy and [08:50.360 --> 08:55.720] maximize our attack. Finding the large size packet data payload like picture and audio [08:55.720 --> 09:00.860] files which cannot be cached and with authentication check like capture in advance. The [09:00.860 --> 09:06.260] goals of it is increase loading of server and CPU and memory usage, increase the bandwidth [09:06.260 --> 09:11.020] consumptions. And see whether we could force to get a new session and connection without [09:11.020 --> 09:16.400] cache. It could guarantee bypass load balancer and proxy. And for example, there's two [09:16.400 --> 09:21.320] examples, there's a question mark, the question mark behind the strings, then you would [09:21.320 --> 09:25.660] change a little bit, you could force the load balancer or force to get a new session [09:25.660 --> 09:31.020] instead of get the data from the cache. And also like the cache value set at no cache or [09:31.020 --> 09:38.300] expiry date set as the date none time before. This is the combo like we use it, like use a [09:38.300 --> 09:43.640] simple get, a combined simple get, HTTP pipelining and also the force, log force and [09:43.640 --> 09:50.460] loading the cache. You find the red color, then you see the string after the question mark is [09:50.460 --> 09:57.020] different every time to ensure if the cache, not load the cache. Okay, but we follow RFC all [09:57.020 --> 10:05.000] the time. Okay. Appetizer. We are afraid of whether we could leave the United States after [10:05.000 --> 10:11.400] that. Okay, no worries. Just kidding. We have test 39 companies in the United States. They [10:11.400 --> 10:21.780] are our clients this time. Okay. I'm loving it. Amazon, Microsoft, Google, Delta, CNN, DHL, [10:21.780 --> 10:30.500] and Amazon, they recruit the people. You guys could go there. And e-base, okay. 39 targets. Why [10:30.500 --> 10:41.400] not 40? I don't know. And it looks like we also test CNN. Any Akamai representative here? Okay. [10:41.980 --> 10:50.480] Yeah, because don't get us as a sales people, okay. Okay, the test summary. We only test their [10:50.480 --> 10:58.520] landing page only, okay. There's a 26 out of 39 companies accept simple get. And there's 4 out of [10:58.520 --> 11:06.280] 39 companies accept simple post without content link. And simply five of them just say method not [11:06.280 --> 11:12.600] allowed because they don't support post. And also there's 17 out of 39 companies accept simple [11:12.600 --> 11:20.460] post with content link. And also then about 34 out of 39 accept HTTP pipelining. Looks like [11:20.480 --> 11:28.960] normal, okay. But here you could find it like Visa card, Amazon accept simple get. Yeah, not big [11:28.960 --> 11:39.180] deal. Looks like. And McDonald's, I hating it. Every day I need to take McDonald's here. No meals [11:39.180 --> 11:44.620] for me. Sorry, I get a lot of meals from the Starbucks, okay. And they get the pipelining, [11:44.620 --> 11:48.600] they accept pipelining and give you the pictures. But if you go to McDonald's website, there's a [11:48.600 --> 11:56.800] lot of big size fresh, okay. And also any, there's a property website. It's a Fannie Mae. [11:58.440 --> 12:06.180] They broke me. It's a very good defense. Yeah. Just one of them, they broke my IP address. None [12:06.180 --> 12:13.560] of others did broke me. Okay. This is some payload. I prove it. It's the McDonald's with the [12:13.560 --> 12:19.580] pipelining and the simple post accepted by HP. HP, yeah. You get a lot of solutions from [12:19.580 --> 12:28.180] them. And also this is one is eBay, right. The eBay even, the simple post don't accept any, they [12:28.180 --> 12:35.600] accept it. Even there's a no content link. I appreciate it. Don't follow RFC. And also, [12:35.600 --> 12:41.980] network giant, Cisco. Any Cisco representative here? Okay, no problem. Cisco, okay.