[00:00.000 --> 00:05.100] Hi, folks. My name is Rik Ramgadi, and I originally had submitted a talk called [00:05.100 --> 00:09.800] Shining a Light on a Black Box. However, things changed, and then after, Ian and I [00:09.800 --> 00:15.000] changed our slides to be So Hopelessly Broken 2.0, Circumventing Security Controls and [00:15.000 --> 00:20.600] Network Accessible Services. So like I said, my name is Rik Ramgadi. I'm the one on the right [00:20.600 --> 00:27.200] here. I am a senior security analyst at ISE, and I like to hack things like web apps, mobile apps, [00:27.200 --> 00:31.700] binaries, and IOT devices, which is why I do a lot of work with the IOT village. I like to read [00:31.820 --> 00:35.080] a lot, and I'm always confused. Then we also have Ian Sinderman. [00:36.340 --> 00:41.460] Well, that would be me. I'm a security analyst at ISE as well. I may have been a low-key [00:41.460 --> 00:46.200] carny as a child. I also like to hack things, web apps, IOT garbage, some hardware, tech [00:46.200 --> 00:51.260] obscura, that sort of stuff. I always like to try and learn new things. I always like to teach [00:51.260 --> 00:57.380] them as well, whether that works. Maybe not. But I'm also always confused, like Rik. I really [00:57.380 --> 00:58.400] like that one. [00:58.800 --> 01:06.240] I guess it's an easy one to like. It's very realistic. So the things, here's the agenda. This [01:06.240 --> 01:12.100] talk is about our research project that we concluded in 2018. During our research project, [01:12.100 --> 01:20.320] we hacked a bunch of embedded devices, 13, we had 13 targets. We got a remotely exploitable [01:20.320 --> 01:25.120] shell in 12 of them, and these are the three best stories that I could fit in half an hour, [01:25.120 --> 01:29.420] that we could fit in half an hour. And the idea behind it was that we were trying to find [01:29.420 --> 01:34.600] remotely exploitable bugs in embedded devices, which is kind of what you do when you play [01:34.600 --> 01:41.400] the So Hopelessly Broken CTF. And throughout the whole presentation, we're going to cover [01:41.400 --> 01:47.200] three devices, the Buffalo Terror Station, the Drobo 5N2, and the Netgear R9000. These are [01:47.200 --> 01:52.140] all devices that we bought, I think, early last year, so I would say March-ish. And then we [01:52.140 --> 01:56.900] hacked in between then, and we ended everything in about October, November. But, as we'll [01:56.900 --> 01:59.720] find out throughout the presentation, just because we concluded testing does not mean that [01:59.720 --> 02:05.280] our job was over. With the Buffalo Terror Station, we're going to be looking at how sometimes [02:05.280 --> 02:09.100] developers may be confused with how some functionality may work. We're going to be [02:09.100 --> 02:12.780] looking at a couple interesting HTTP headers. And then we're going to be talking about an [02:12.780 --> 02:17.580] interesting situation where responsible disclosure, where we responsibly disclosed these [02:17.580 --> 02:22.200] issues to this manufacturer, and then they didn't respond to us, and some stuff happened where [02:22.200 --> 02:27.380] they tweeted some information and then deleted it. And it's all very humorous, yet concerning. [02:27.380 --> 02:31.420] Then we have the Drobo 5N2. We're going to be talking about how we reverse engineered the [02:31.420 --> 02:34.620] protocol, which is what this talk was originally about. And then after that, we're going to be [02:34.620 --> 02:40.020] talking about how we found the keys to get into the Drobo under the device's doormat. And then [02:40.020 --> 02:46.660] last, we have the R9000, which we'll be talking about an interesting authentication mechanism [02:46.660 --> 02:52.460] and how we were able to fake a call from inside of the house. And then after, a tale of bug [02:52.460 --> 02:56.940] bounties and bug bounty companies that we ended up in. And then after that, we're going to have [02:57.040 --> 03:01.700] a conclusion where we talk about responsible disclosure, the stuff that we found, how we [03:01.700 --> 03:07.760] found it, and comparing our study from last year with our original study from 2013. So without [03:07.760 --> 03:12.980] further ado, I'll kick it off with the first one. The Buffalo Terrace Station. This is one of [03:12.980 --> 03:16.860] the devices that's actually in the CTF right now. And after you figure out how easy this is, [03:16.860 --> 03:23.580] you'll score some easy points. The Terrace Station, with this very easy name, is a Soho [03:23.580 --> 03:29.360] enterprise business grade NAS. And it runs between $2,000 to $4,000. It's made in Japan. And [03:29.360 --> 03:33.280] it has an administrative web application. And I'll pass it over now to Ian to explain [03:33.280 --> 03:41.480] everything else. Okay. So this web app has, it has this wonderful JSON API. So one thing that I [03:41.480 --> 03:46.540] really dislike about JSON, at least in the context of, I guess, everything, is application [03:46.540 --> 03:51.560] JSON. So application JSON really sucks when you're trying to do CSRF, assuming they're [03:51.560 --> 03:56.080] actually checking the content type, because you generally need to preflight your requests if you [03:56.080 --> 04:01.660] want to set this content type. But further, we see that there is a authentication cookie, so [04:01.660 --> 04:07.360] they're probably using cookies for some of this. But there's also an authentication, like, [04:07.360 --> 04:12.020] value within the post body. Back to CSRF, that's probably not going to be something that we can [04:12.020 --> 04:15.540] do if that authentication token is there, because we would have to know their authentication [04:15.540 --> 04:24.480] token in order to send a malicious post body. However, we decided to kind of change that. So [04:24.480 --> 04:28.760] first thing we did is, you know, find the source code for this, or at least the code for the [04:28.760 --> 04:33.960] web app. In this case, we found that they were all precompiled Python binaries, which kind of [04:33.960 --> 04:38.300] sucks. Like, it's Python, you should be able to read it nice and easy, but this is not super [04:38.300 --> 04:43.480] readable. However, you just use uncompile 6 and then it's just ready to go in a matter of, like, [04:43.480 --> 04:48.680] one or two minutes. So that was nice. So now we have very nice readable data, and it's in [04:48.680 --> 04:52.720] Python, nice and easy to parse, even if you don't know what you're doing. And then we see [04:52.720 --> 05:00.560] some rather concerning stuff here. Like skip off. Yes, please, I'd very much like to do that. [05:00.740 --> 05:10.780] How do I do this? What do you guys think skip off does? So somebody thinks it's a security [05:10.780 --> 05:20.540] mechanism. We'll talk later. Let's figure out where this is going now. So the next thing I did [05:20.540 --> 05:24.700] after seeing this was just see where else is skip off referenced, like, within this file. So I [05:24.700 --> 05:30.750] just do a search and then we find this chunk of code. Highlight the important parts, and it [05:31.740 --> 05:39.480] looks like if we just set our HTTP host, like, our host header to local host, we skip [05:39.480 --> 05:45.680] authentication. I can kind of see why someone would implement this, so let's talk about that. [05:46.100 --> 05:52.380] So let's say that we have an API that it needs to talk to itself. We could, you know, implement [05:52.380 --> 05:57.440] some sort of authentication, like understanding what the authentication to grant yourself an [05:57.440 --> 06:01.760] auth token for yourself and then use it with yourself, or we could just say, hey, when I talk [06:01.760 --> 06:06.980] to myself, I know it's me, so we're good to go. So I'm pretty sure that's what they were trying [06:06.980 --> 06:13.360] to do. So, you know, if the host header is always a local host and a local request, and it's [06:13.360 --> 06:18.520] never a local host and a client request, then the host header being local host means it's a [06:18.520 --> 06:23.960] local request. You know, good to go, job done. Except there's a problem with this, and I think [06:23.960 --> 06:27.680] many of you have already realized this problem, and it's that the host header is client [06:27.680 --> 06:35.200] controlled. So that's not good. So the host header is usually local host and a local request, [06:35.200 --> 06:40.380] and it's rarely local host and a client request. So the host header being local host just [06:40.380 --> 06:48.440] means it's a request with a weird host header. So one of the reasons that I think this becomes [06:48.440 --> 06:52.780] an issue with a lot of people is that the host header is application layer while routing [06:52.780 --> 06:59.580] decisions are done at the network layer. So although in a lot of our large web applications, [06:59.580 --> 07:04.640] we can expect some routing decisions to be made based on the host header, this is a tiny [07:04.640 --> 07:09.920] little NAS on your LAN. You're not going through a load balancer to talk to your NAS. If you [07:09.920 --> 07:15.980] are, like, that's a hell of a NAS. So since there's no load balancer and since we're talking [07:15.980 --> 07:21.820] to it directly, what can we do? Well, let's find out. So we have a base request here. We [07:21.820 --> 07:28.340] have a junk SID, and it responds with, hey, this is an invalid session ID. That makes [07:28.340 --> 07:33.760] sense. So what if we set our host header to local host? And we still have a junk SID, and [07:33.760 --> 07:37.500] we still get an error, but it's a slightly different error. It's still invalid, but it's [07:37.500 --> 07:41.440] invalid params. And it's saying that, you know, the reboot function doesn't take any [07:41.440 --> 07:46.920] arguments, but we did give it one. As far as I can tell, the only argument that we may have [07:46.920 --> 07:53.380] given it was the SID parameter. So what if we just delete it? Well, if we delete it, we get [07:53.380 --> 07:59.180] result null, and then the device makes some sad beeps and reboots because suddenly we're an [07:59.180 --> 08:07.140] admin. That's probably not good. So I just got a shell. And now I can get a root shell without [08:07.140 --> 08:11.640] authentication. Also probably not good. [08:12.220 --> 08:16.440] Yeah, so I guess if, for those of you keeping track, the authentication is the host header [08:16.440 --> 08:22.160] kind of. So the fact that you could just send, say, your IP address is 127.0.0.1, and then [08:22.160 --> 08:27.600] have to say, this is all you need to know from here on out. We were able to access all the [08:27.600 --> 08:32.440] functionality in the NAS, also the ability to make the device beep. And that was really [08:32.440 --> 08:36.560] interesting as well. So we brought this device to another CTF. I think no one's figured it out [08:36.560 --> 08:41.400] here so far. There's actually a request to make the device play music. And that's one of the [08:41.400 --> 08:44.540] most annoying things that we found out. So remotely we're able to play music in other [08:44.540 --> 08:48.320] people's houses. And on top of the fact that we're able to get a shell, which I'm not sure [08:48.320 --> 08:49.440] which one's more concerning. [08:54.500 --> 08:58.660] So, I don't know, it seems like after all the shells that we got on these devices, getting a [08:58.660 --> 09:03.560] shell kind of got boring. So then it became, hey, we can play music. This is fun. This shell's [09:03.560 --> 09:11.380] boring. So yeah, how about that tweet and delete? So we decided to disclose. As normal, we [09:12.000 --> 09:16.920] disclosed all of the issues that we found to the manufacturer. Gave them at least a month or [09:16.920 --> 09:21.880] two to fix them before doing public disclosure. In this case, you know, we sent an email to [09:21.880 --> 09:29.140] their security contact on 0622 and heard nothing. So we sent another on 0702 and heard [09:29.140 --> 09:35.040] nothing. So then we sent the Volns to the security contact on 07, on the next day, and we [09:35.040 --> 09:42.880] heard nothing. So we sent the CVEs on 0822 and we heard nothing. So we announced our public [09:42.880 --> 09:48.600] release because it had been many months and we tried our best. And then two days later, we [09:48.600 --> 09:52.920] did our public release with a demo live stream showing off the exploits and how to do [09:52.920 --> 09:58.800] this. And then something happened the next day that none of us were anticipating. An [09:58.800 --> 10:06.140] official Buffalo Twitter account retweeted the link to our live stream. What did that link [10:06.140 --> 10:13.200] contain? That link contained a very nice URL to our live stream on YouTube about how to hack [10:13.200 --> 10:20.480] all Buffalo devices. What happened to that tweet Ian? Well, at some point, they must have [10:20.480 --> 10:25.300] realized that something was terribly wrong because they deleted it. However, we do have a [10:25.300 --> 10:30.620] screenshot, so that's nice. So we're not crazy. This actually did happen. Hopefully your [10:30.620 --> 10:34.560] folks in the back can see it. You're laughing, so you can see it in the back and hopefully [10:34.560 --> 10:38.740] you're enjoying it as much as we did. So what ended up happening with the device in the end? [10:38.740 --> 10:43.040] Did we get patches? Well, we'll find out. So clearly they realized that something was [10:43.040 --> 10:47.060] wrong. So at least someone at that company is aware that there's a lot of vulnerabilities [10:47.060 --> 10:53.620] that should be fixed. So clearly, as far as patchability goes, there are patches. There are [10:53.620 --> 11:01.500] no patches. It's been like a year, I think. And for a talk that I did at CypherCon, I did some [11:01.500 --> 11:07.060] more research and found that all TerraStations are vulnerable to the same exploit, including [11:07.060 --> 11:12.160] the ones with the brand new completely redone UI. How much were those devices again? The [11:12.160 --> 11:18.000] devices, I think some of them were upped into 20K, something like that. Like professional [11:18.000 --> 11:24.200] grade network attached storage for businesses. 20K for your own, I guess, C2C server in the [11:24.200 --> 11:31.460] end, pretty much. But yeah, I guess in summary, the host header is client controlled. Unless [11:31.460 --> 11:35.420] you have something that's parsing it and making sure that it's not client controlled, maybe [11:35.420 --> 11:40.680] don't rely on it for authentication. And if you have a security address, please pay attention [11:40.680 --> 11:46.960] to it. We're trying to help you. And if you screw up, oh no. Clearly whoever had deleted [11:46.960 --> 11:52.080] that tweet knew that something was wrong, but they didn't own up to it. Or if they did, [11:52.080 --> 11:56.760] someone didn't listen to them. And all of these devices are still vulnerable, including [11:56.760 --> 12:00.720] the one in the CTF. Like it's running the newest firmware. And you can go over and get a [12:00.720 --> 12:05.980] shell in it if you like. Oh, you want to talk about Maryland Democratic Party real quick? [12:05.980 --> 12:09.100] You get more, you're way more enthusiastic about this issue than I am, so I'm going to let [12:09.100 --> 12:15.880] you take care of this one. So after all of this, we found out that the Maryland Democratic [12:15.880 --> 12:23.860] Party had a Buffalo NAS on the internet with no password. And while we were doing all this [12:23.860 --> 12:29.140] research, another research company found it and contacted them and then like did a release [12:29.140 --> 12:34.300] about it. Apparently like every nation state and their grandmother was in this NAS pulling off [12:34.300 --> 12:38.940] all their data. But the Maryland Democratic Party did take care of it. They put a password [12:38.940 --> 12:42.720] on it. So it was still on the internet, but they put a password on it. And then we released [12:42.720 --> 12:49.780] this. So I guess, I'm pretty sure every nation state and their grandmother can Google. So [12:49.780 --> 12:57.320] sorry Maryland Democratic Party, we tried. Just to be clear on that one, we didn't hack [12:57.320 --> 13:01.880] them at all. That never happened. Let's make sure, I don't want to hear about that later [13:01.880 --> 13:07.540] on from anybody. But it's kind of funny because we give a lot of these presentations where [13:07.540 --> 13:12.220] we tell people about like, hey, there are vulnerabilities that you're seeing are, it's [13:12.220 --> 13:16.260] in the system. It's like you can have the like up-to-date firmware. You can have a good [13:16.260 --> 13:20.240] password. It's like if there are authentication bypasses, it's like false sense of security [13:20.240 --> 13:23.800] that you're leading yourself into. Don't get me wrong, it's important to have good passwords [13:23.800 --> 13:27.240] and important to keep your stuff up to date. But if there's no update and people can just [13:27.240 --> 13:32.200] change the host header to localhost and get in, you're just lying to yourself. Talking [13:32.200 --> 13:38.480] about lying to yourself is our next device, the Drobo 5N2. The Drobo 5N2 is a Soho Enterprise [13:38.480 --> 13:44.460] grade NAS, and it is between $400 and $500, way cheaper than a Buffalo, but just as vulnerable. [13:44.540 --> 13:45.560] This one's made in the great... [13:45.560 --> 13:46.980] I'd say a lot more vulnerable. [13:46.980 --> 13:50.440] This one's probably way more vulnerable. I'll tell you guys how many unauthenticated shells [13:50.440 --> 13:56.860] we got on this thing at the end of this. But this one's made in America. The reason why [13:56.860 --> 14:03.940] we wanted to do research into this device was because you can't manage it through a [14:03.940 --> 14:08.100] web app by default. Almost all these devices, you hook it up, there's a web app, you connect [14:08.100 --> 14:12.740] to it. The Drobo, the only way that you can connect to it by default is by installing [14:12.740 --> 14:17.320] this thing called a Drobo dashboard. And people on Reddit were losing their minds over it [14:17.320 --> 14:20.180] because they thought it was really cool, because it has all these pretty lights and the kids [14:20.180 --> 14:25.960] really like LEDs. And the other reason why is because it's pretty robust and it's also [14:25.960 --> 14:31.660] like a pretty fair price point, I guess. I wanted to get it because it has this custom [14:31.660 --> 14:39.140] protocol that it uses to connect to the device with this only macOS and Windows binary that [14:39.140 --> 14:44.220] you need to install. So we installed it, and this is what the Drobo dashboard looks like. [14:44.460 --> 14:49.360] I think this was the macOS version. You install it, and then it gives you other information [14:49.360 --> 14:54.480] about the device, like the serial number. It tells you how many drives you have installed, [14:54.480 --> 14:59.340] when was the last time you set up RAID and all that, and the life expectancy of all those [14:59.340 --> 15:04.700] drives. I'm not sure how it does that. And you can also install other apps and remotely [15:04.700 --> 15:10.740] access the device through other means as well. The first thing that we did is that I was [15:10.740 --> 15:13.920] really worried that the only way that we'd be able to assess this device is by doing [15:14.080 --> 15:19.260] a lot of hardcore reverse engineering. It's like, oh, they probably have certificate pinning, [15:19.260 --> 15:25.860] they probably encrypted everything with TLS. Ha! It was just plain text. Everything, and [15:25.860 --> 15:29.020] I know it's a little bit hard to see that, but that's just, we opened up Wireshark and [15:29.020 --> 15:31.980] started clicking on a bunch of stuff, and we found out that everything was in plain [15:31.980 --> 15:38.880] text, and I was like, well, cool. But, so it's like, this customer proprietary API was [15:38.880 --> 15:44.280] just XML. And what you had to do is that you sent the, like, that, like, dry net, TM stuff [15:44.280 --> 15:47.960] at the beginning, those dots are just hex characters, I put dots in so it's a little [15:47.960 --> 15:53.220] bit more easy on the eyes, and then some XML data. Well, we still need to reverse engineer [15:53.220 --> 15:57.440] the protocol here. We need to figure out, like, how it all works, what does the 61 here [15:57.440 --> 16:03.240] mean, what is that DRA number, and how does this all work? So, the first step that I said [16:03.240 --> 16:08.020] is like, well, cool, maybe I can just send this message with echo, and then pipe it into [16:08.020 --> 16:12.700] Netcat, connect to the device on port 5001. We saw that whenever we were interfacing with [16:12.700 --> 16:17.680] the device, it was over port 5001, and that it was always listening on that port as soon [16:17.680 --> 16:23.040] as the device turned on. So, maybe we can just send this and figure out if it just gives [16:23.040 --> 16:28.380] us a message back. Maybe there's no authentication. We sent it, we didn't get anything back. [16:28.380 --> 16:32.240] It just froze. We needed to figure out why at that point. So, we need to do some more [16:32.240 --> 16:37.200] protocol reverse engineering and see where that goes. So, I also found out while we were [16:37.200 --> 16:43.700] looking at it, that if you kill the instance of your Drobo dashboard, it'll restart, and [16:43.700 --> 16:49.760] when it restarts, it'll have something listening on port 5000. It's like, cool, well, I can [16:49.760 --> 16:54.060] probably just connect to the device on port 5000. If you connect to the device on port [16:54.060 --> 16:58.660] 5000, it spits out all this XML, and that's really interesting. Notice there's no trickery [16:58.660 --> 17:02.880] there, no authentication, I'm not sending anything, connect to the device on port 5000, [17:02.880 --> 17:07.980] and that's it. So, I was like, alright, maybe it is that it needs to be connected to the [17:07.980 --> 17:13.880] device on port 5000 and also send a message. Well, let's try that out. If we send that [17:13.880 --> 17:20.060] and we echo this information, pipe it into Netcat, maybe there's no authentication. It's [17:20.060 --> 17:24.100] like, well, that's not working either. Maybe there's something else. So, at this point, [17:24.100 --> 17:27.460] we're going through the process of reverse engineering and figuring out how is it that [17:27.460 --> 17:32.620] the whole, like, handshake part is happening between these things. So, we killed the Drobo [17:32.620 --> 17:37.380] dashboard, and I think the other thing that was very important about this is that every [17:37.380 --> 17:41.220] time you kill it, it just automatically restarts. So, we needed to set a script to automatically [17:41.220 --> 17:44.240] kill it every time until we were ready, start Wireshark, and then start back there from [17:44.240 --> 17:50.780] nothing. And we found out that there is authentication. When the Drobo dashboard starts, so the application [17:50.780 --> 17:58.260] that connects to your device, it sends this message. And this message is only, it only [17:58.260 --> 18:02.260] happens once at the beginning. Kind of sounds like what happens when you log into an application, [18:02.260 --> 18:07.320] right? You log in, you send your username and password once, it sets a session token, [18:07.320 --> 18:09.880] it gives it back to you, and then you have all that information and you can just keep [18:09.880 --> 18:14.380] on doing the do. So, we needed to reverse engineer the front part here. So, you can [18:14.380 --> 18:20.320] see that the DRAINATM part is still the same. There's a bunch of dots and a number there. [18:20.660 --> 18:24.920] That number looks pretty long, and it looks, I would say, it looks complex enough that [18:24.920 --> 18:29.800] I don't think I'd be able to brute force it. So, we started looking into what it is that [18:29.800 --> 18:37.120] this number meant. The first part, the DRAINATM part, was just those hex characters. Ian found [18:37.120 --> 18:41.480] out that, after that, it would say if it's coming from the server or if it's being sent [18:41.480 --> 18:45.320] to the server with the other bytes, and then the rest of it was the size of the packet. [18:45.660 --> 18:49.700] And now that we know all that information, there's something else here that we still [18:49.700 --> 18:55.260] need to figure out. What's that? So, the part that's, I guess, kind of highlighted in red, [18:55.260 --> 18:59.880] but definitely bolded, that looks like something that's still complex enough that we can't [18:59.880 --> 19:05.800] just randomly guess where it belongs to. But, we found out that when we connect to the device [19:05.800 --> 19:13.220] on port 5000, it gives us back that number. That here, folks, is the serial number. So, [19:13.220 --> 19:17.280] it looks like the thing that you need to authenticate to the device is its serial number. It's like, [19:17.280 --> 19:22.600] oh, this is complex enough, serial numbers are pretty long, but you can just do the following. [19:22.660 --> 19:27.620] Connect to the target on port 5000, extract the serial number from the XML that's returned [19:27.620 --> 19:33.620] to you, send the login request on port 5001, send whatever command you want on port 5001, [19:33.620 --> 19:37.580] and then install whatever you want. We found out that you can install pretty much anything. [19:37.580 --> 19:42.520] You can install MySQL, you can install Apache, you can install OpenSSH, you can install other [19:42.520 --> 19:47.940] malware that you find anywhere, but it pretty much allows you to do anything. And then after, [19:47.940 --> 19:52.480] we found out that Drupal also provides this thing called Drupal Access. It's a web application [19:52.480 --> 19:56.220] that they provide so that you can connect to the device through something that's not the [19:56.220 --> 20:00.960] Drupal dashboard. And we were still wondering, well, we don't really have a shell yet. How [20:00.960 --> 20:07.980] are we going to do this? The first application that we installed gave us CVE-2018-14-699, [20:07.980 --> 20:11.960] and I think that's a little bit hard to see for everyone in the back, so let's look at [20:11.960 --> 20:18.540] this a little bit more closely. Here's the device's IP address, 192.168.1.26. It's on [20:18.540 --> 20:24.280] port 8080. It listens on Drupal Access. You send an enable user request, and you say your [20:24.280 --> 20:28.000] username to your command injection payload. That goes straight into a shell, and that's [20:28.000 --> 20:32.380] the easiest shell I've ever gotten throughout my whole career. And that's pretty much it. [20:32.380 --> 20:35.780] There's no authentication or anything. You send this individual request to any Drupal [20:35.780 --> 20:40.980] Access, I guess, Drupal, Drupal with Drupal Access, and you automatically get a shell. [20:42.320 --> 20:49.600] So let's talk about now the disclosure timeline. We sent everything to them on 07.06. In an [20:49.600 --> 20:52.780] email we said like, hey, we want to send you these vulnerabilities over. How do you want [20:52.780 --> 20:56.240] to receive them? Do you want us to encrypt them or not? Do you want us to PGP sign it? [20:56.240 --> 21:02.160] Ha, they didn't care. We send them back again to a security contact. Ha, they didn't care. [21:02.780 --> 21:09.020] We send the CVs over anyways, hopefully stirring something up for them to respond back to us. [21:09.040 --> 21:14.840] We got nothing. And then after I did a public release and a live demo of me exploiting this [21:14.840 --> 21:18.320] vulnerability, I'm also going to be doing this in other conferences. I'm going to be at [21:18.320 --> 21:21.560] BSides Puerto Rico in October. I'm going to be doing the same thing again. And the reason [21:21.560 --> 21:28.420] why is because they don't fix anything. So, send a DM to the Drobo CTO. Ian, what happened [21:28.420 --> 21:35.340] there? How do we DM the Drobo CTO? So, for that handy dandy protocol that they gave us, I [21:35.340 --> 21:39.180] decided to write a little Python utility that makes it very easy to run your own commands. [21:39.480 --> 21:46.100] And I accidentally got command injection. Just while writing a script. So, we kind of figured [21:46.100 --> 21:50.920] we should probably tell them about that because it's depressingly trivial. So I sent them a [21:50.920 --> 22:01.620] DM. Or I sent the CTO of the company that acquired Drobo a DM. We'll get to that. So then [22:01.620 --> 22:08.720] after that, we sent all the vulnerabilities that we found to Drobo and to CTO email. Or sent [22:08.720 --> 22:12.180] all the vulnerabilities that we found in Drobo to the CTO's email. We didn't hear back from [22:12.180 --> 22:16.580] him. I'm pretty sure he doesn't like us. Besides the point, Ian mentioned something [22:16.580 --> 22:21.540] interesting. While we were sending all this stuff over, something was happening in the [22:21.540 --> 22:27.620] background. Drobo was getting acquired. While Drobo was getting acquired, we found a bunch, [22:27.620 --> 22:34.320] we found nine unauthenticated shells, folks. Nine. That's embarrassing to me. Well, not for [22:34.320 --> 22:38.800] me. I found them. But they're like, this company is store centric. They were acquiring two [22:38.800 --> 22:45.100] companies, Drobo and Nexen, throughout that whole process. Now I'm here in red, which I'm [22:45.100 --> 22:51.260] hoping all of you can see. In August 21st, 2018, they released this on the Nexen website. [22:51.700 --> 22:58.280] Let's look at that timeline again. We submitted everything on 07-06. So that would be July? [22:59.120 --> 23:06.100] Yeah, July. He's shaking his head. July. And then after, on August 22nd, we send them all [23:06.100 --> 23:10.860] the CVEs. Throughout that whole process, they could have addressed these issues or just got [23:10.860 --> 23:15.680] them back to us. I'll be honest, they could have been just busy with their acquisition and not [23:15.680 --> 23:19.960] really in the mood to deal with nine unauthenticated shells. Sounds like their problem, [23:19.960 --> 23:26.000] not mine. But let's go to the summary of this issue. Having a proprietary protocol does not [23:26.000 --> 23:30.640] make you safe. Just because you're prescribing to the idea behind, like, if it's mine and [23:30.640 --> 23:34.640] nobody else knows about it, nobody can find any exploits, that's not true. There are many [23:34.640 --> 23:38.640] good reverse engineers out there. They will figure it out. It's a bad idea to authenticate [23:38.640 --> 23:42.480] with a thing that you're providing users. They probably shouldn't be authenticating users [23:42.480 --> 23:46.080] with a serial name or their serial number. I probably wouldn't be authenticating people with [23:46.080 --> 23:51.520] their name. And pay attention to your support tickets. We sent a couple support tickets in [23:51.520 --> 23:56.880] hope that they would address these issues. Never got addressed. And then last up, it's like, [23:56.880 --> 24:01.440] if you end up screwing up, like Ian said, it's probably just to own up to it. It's like, if [24:01.440 --> 24:05.480] somebody submitted these things, maybe it's time to address them. There was also something [24:05.480 --> 24:10.160] other, some other thing that happened that was interesting throughout this whole process. When [24:10.160 --> 24:15.880] I was sending them these emails, I got, or I guess we got, we got blacklisted. RPA just got [24:15.880 --> 24:21.000] blacklisted. Now, that makes no sense. Why would you blacklist somebody who's sending you an [24:21.000 --> 24:25.620] email and I'm hacking a device that I have in my house? Those things don't add up. Those are [24:25.620 --> 24:30.520] very separate things. But that was, whatever, I could have also, I give them the benefit of [24:30.520 --> 24:34.340] the doubt. I actually give all these companies, despite all the headaches, the benefit of the [24:34.340 --> 24:38.780] doubt, may have just been that we downloaded the firmware too many times. May have just been [24:38.780 --> 24:44.300] that, like, we're a security company and it looked like fishy traffic. It's all, I, they, I, I [24:44.300 --> 24:47.680] understand if those things happen. I don't understand not addressing the issues that we [24:47.680 --> 24:54.100] reported. So now, I'm passing it over to Ian for the Netgear R9000, which is the last device [24:54.100 --> 25:00.520] we're gonna be looking at today. And this one's really a doozy. Have fun, Ian. No idea. [25:00.520 --> 25:07.440] So, the R9000 holds a special place in my heart, for good reasons and bad reasons. We'll get to [25:07.440 --> 25:12.240] that. So it's a flagship router by Netgear. At the time that we did our research, I think it [25:12.240 --> 25:18.620] was like the most expensive one they offered. Something like $350 to $500. It's aimed at like [25:18.620 --> 25:23.280] power users, that sort of thing. It has a rich feature set with all sorts of fun applications [25:23.280 --> 25:27.560] you can run on your router because you need to run applications on your router. And it's [25:27.560 --> 25:33.980] administered via a web app, a mobile app, and Telnet if you cheat. Of course, I cheat. But it [25:33.980 --> 25:40.060] also has a bug bounty for vulnerability disclosure. And only a bug bounty for vulnerability [25:40.060 --> 25:46.780] disclosure. We'll get to how that kind of broke things in a minute. So, the web app, you know, [25:46.780 --> 25:52.490] it was kind of boring. It's what we've seen a lot. It's just basic authorization or like, [25:52.490 --> 25:56.910] yeah, basic authentication. No clear bypasses. It's a forum post, but it has C-serve [25:56.910 --> 26:01.130] protection. It's very crappy C-serve protection. So if you want to break that, you probably [26:01.130 --> 26:07.970] can. I highly recommend trying. So I started poking at other things. Like the mobile API. So [26:07.970 --> 26:13.370] it's a SOAP API, which, yeah, ew, it's not fun to work with those. But it's different. It has [26:13.370 --> 26:19.570] JWT-based authentication, which, eh, it's okay. But static analysis showed it was a total [26:19.570 --> 26:23.890] minefield of command injection. And command injection is one of my favorite things to do. So [26:23.890 --> 26:32.010] that instantly got me interested. But, sadly, the API is terribly broken and unreliable. And [26:32.010 --> 26:38.670] half of the endpoints just did not work at all. So it kind of ended up being an uphill battle [26:38.670 --> 26:43.790] to do anything with this API. But I still got off-bypassing friends, so we'll figure out how. [26:44.450 --> 26:48.930] Hey, Rick. Have you ever, like, seen people using the X-Forwarded Foreheader much? [26:48.930 --> 26:52.190] I've seen a lot of people use the X-Forwarded Foreheader. I've never seen somebody use it [26:52.190 --> 27:00.870] properly. So the X-Forwarded Foreheader, it's a de facto standard. So it's something that a lot [27:00.870 --> 27:07.050] of people have agreed on, that it does X thing. But it's not properly standardized. But it's [27:07.050 --> 27:11.390] usually used by load balancers to convey a client's actual IP address to some sort of [27:11.390 --> 27:18.990] upstream service. Usually. So it's also not as simple as a lot of people think it is. So the [27:18.990 --> 27:23.010] X-Forwarded Foreheader is actually a list of IP addresses. Normally we only see it as a [27:23.010 --> 27:27.550] single IP address, but it's designed so that when a load balancer or whatever that's working [27:27.550 --> 27:32.710] with this header receives a request, it should prepend the IP address that it received that [27:32.710 --> 27:38.110] header from to the beginning of the list. And also, it doesn't have to be an IP address. You [27:38.110 --> 27:41.730] can put whatever you like in this header and your load balancer is probably just going to stick [27:41.730 --> 27:47.530] an IP address on the front of it. So a lot of people don't seem to realize this. And it [27:47.530 --> 27:52.450] causes problems. Like what happens if they're just expecting an IP address and dumping that [27:52.450 --> 27:59.310] into a database? And I put a little semicolon boy in there. Breaks things. So how does this [27:59.310 --> 28:05.410] relate to our router? Well, our SOAP API interprets the X-Forwarded Foreheader. Why? I [28:05.410 --> 28:09.750] honestly have no idea. There's no reason that you should need the X-Forwarded Foreheader on [28:09.750 --> 28:14.530] your LAN. Again, you're not talking to your router on your LAN through a load balancer. [28:14.970 --> 28:20.350] That would be a hell of a router. But static analysis also showed that the R9000 is probably [28:20.350 --> 28:26.190] the only Netgear router or device that interprets the X-Forwarded Foreheader. I downloaded all [28:26.190 --> 28:30.890] the firmware that I could find, unpacked it, searched through it, and the R9000 was the [28:30.890 --> 28:37.110] only one with an instance of the X-Forwarded Foreheader. So that's also weird. But what can we [28:37.110 --> 28:43.790] do with it? Well, here's a problem. So HTTP requests are handled by a CGI server. And this [28:43.790 --> 28:52.170] is U-H-T-T-P-D. That CGI server sends those requests down to a downstream process. In this [28:52.170 --> 28:57.810] case, Net CGI is what handles all of our SOAP API requests. So U-H-T-T-P-D will take [28:57.810 --> 29:01.870] something in, take the request, turn all of the headers into environment variables, and [29:01.870 --> 29:07.730] then toss that down to a different process. So, Net CGI uses the remote address environment [29:07.730 --> 29:12.350] variable to determine if a request is local. And much like the Buffalo, it will whitelist [29:12.350 --> 29:17.390] itself so it can talk to itself without having to deal with authentication. Now normally, [29:17.390 --> 29:21.710] the remote address environment variable is what you would want to use for this. Because it [29:21.710 --> 29:26.670] will be the actual IP address that that request came from in normal circumstances. And even [29:26.670 --> 29:32.010] if you try to change it, chances are you're not going to be able to mess with it. However, [29:32.010 --> 29:36.390] U-H-T-T-P-D just replaces the remote address environment variable with the contents of [29:36.390 --> 29:44.770] the exported for header. For some reason. Like, I'm a complete RE scrub. I graph scrub and [29:44.770 --> 29:48.370] everything. But even looking at the assembly, I could tell that that's exactly what that [29:48.370 --> 29:55.030] did. Because it was like ten lines of assembly and that was it. So, yeah, that's not good. [29:55.030 --> 29:59.850] Because if we can say that we're whatever IP address we want and it uses an IP address to [29:59.850 --> 30:06.570] determine if you should bypass authentication, why can't we bypass authentication? Well, we [30:06.570 --> 30:15.610] can. We just set exported for colon 192.168.1.1 and suddenly we're an admin on the SOAP API. [30:15.670 --> 30:25.010] And we can do whatever we like. So thus, CVE 2019.12.51.0 was born. So, I wasn't thinking [30:25.030 --> 30:31.650] satisfied. Because, you know, off bypass isn't fun if you don't get a shell, right? So, I got a [30:31.650 --> 30:41.130] shell. CVE 2019.12.51.1. It's kind of big. So, I don't think we're going to focus on this shell [30:41.130 --> 30:47.010] because it's got a lot of fun challenges. Like, it can only be 17 characters. It has to be all [30:47.010 --> 30:51.110] capitalized, all capitals. It has to have a colon. It has to have a single quote and then a [30:51.110 --> 30:56.090] semicolon and you have to comment out everything. But if you want to talk about that, talk to us [30:56.090 --> 31:01.470] later. Because we don't have time. Before we get away from this one, the interesting part was Ian [31:01.470 --> 31:06.450] found the range header, which is definitely an unexpected header. So, we're able to use the range [31:06.450 --> 31:10.990] header to say, like, all right, cool. Let's put the whole thing that we need in that header and [31:10.990 --> 31:16.390] then we'll reference that header in the XML body of that SOAP request. And I guess we were just [31:16.390 --> 31:22.170] lucky that all those things happened to jive together. Yep. When you're poking at CGI and [31:22.170 --> 31:25.630] you're trying to get weird command injection payloads through, the environment variables are [31:25.630 --> 31:32.010] very much your friend. But I wasn't quite done yet. Because Netgear has a very fun clause in [31:32.010 --> 31:37.110] their bug bounty. If you can get remote unauthorized access to administer a Netgear device via the [31:37.110 --> 31:44.530] internet, not LAN, they'll give you 15 grand. I can buy a lot of ice cream with 15 grand. So, [31:44.530 --> 31:50.870] I started looking into that. So, the SOAP API requires extra headers. Like, for the SOAP [31:50.870 --> 31:57.390] requests and all that good stuff. So, XHR can set these, but it's cross-origin, so it'll have to [31:57.390 --> 32:00.690] preflight the requests and chances are the router's just going to slap that right out of the [32:00.690 --> 32:07.890] air. So, CSURF isn't going to happen. So, the device isn't exposed to any, it doesn't expose [32:07.890 --> 32:12.710] itself over the LAN at all. So, I was kind of out of luck at this point. So, I just kind of [32:12.710 --> 32:17.450] decided, well, I guess I'll die. I guess I'm not getting the 15K. Until two weeks later. And I [32:17.450 --> 32:23.110] was taking a shower and my brain started just shouting DNS rebinding. And say, two minutes [32:23.110 --> 32:28.690] later, I figured out why. The thing with DNS rebinding is that it functions a lot like CSURF, [32:28.690 --> 32:33.590] except it's seen as being the same origin. So, you can send whatever request you like without [32:33.590 --> 32:40.650] having to deal with these preflighting annoyances. So, yeah, no more preflighting. However, [32:40.650 --> 32:47.670] it differs from CSURF in that we cannot send authentication. In our case, well, DEX 4.4 is a [32:47.670 --> 32:54.290] de facto standard. So, can we just set that header and make ourself an admin? Well, yes. So, [32:54.290 --> 32:59.530] that's what I did. So, it's not a restricted header. So, let's just build a payload. So, this [32:59.530 --> 33:04.830] is the workflow that I went with. The victim is anyone on the LAN. They can be authenticated, [33:04.830 --> 33:09.070] unauthenticated, does not matter. Mobile devices, does not matter. They just wait for the [33:09.070 --> 33:14.710] DNS TTL to wear out. And then once it does, I start issuing post requests via XHR with our [33:14.710 --> 33:20.250] off-bypass header to do the following. We start a config change. We enable QOS. We enable [33:20.250 --> 33:25.230] advanced QOS. Then we finish the config change and we pop a shell. So, we have to fire off [33:25.230 --> 33:30.110] five requests to enable a bunch of services and do configs and stuff. But it actually only [33:30.110 --> 33:35.790] takes like 20 seconds to do all of that and then get a shell. So, just threw that into, I [33:35.790 --> 33:43.090] guess, a shell and then it was off to the races. So, we started disclosure. So, we got the 15K [33:43.090 --> 33:52.410] bounty. Didn't we, Rick? Right? Although I appreciate the applause, something we didn't get [33:52.410 --> 33:58.350] the bounty. What was that, Ian? So, you know how our disclosure timelines have been pretty [33:58.350 --> 34:03.810] small up until now and we tabbed through them all? This is half of our disclosure timeline. We [34:03.810 --> 34:10.670] just put the important bits in here. So, let's go through some of the more important ones. On [34:10.670 --> 34:16.990] 10.03, or 18.10.03, we submitted all of our vulnerabilities through bug crowd because that was [34:16.990 --> 34:22.290] the only disclosure avenue that we had. So, we got an award for crosshead scripting via the [34:22.290 --> 34:25.770] X-Ordered Foreheader, a completely different issue that was rather low severity. So, that was [34:25.770 --> 34:30.830] nice. But we didn't hear anything else for two months until Netgear stated that they can't [34:30.830 --> 34:35.410] reproduce the command injection issue and they had, in the meantime, released new firmware and [34:35.410 --> 34:39.510] asked us to test again and record the proof of concept so they could figure out what they were [34:39.510 --> 34:47.770] doing. So, we did that. We verified that, yes, I can still get root remotely and I gave them a [34:47.770 --> 34:54.290] nice video. So, they marked the command injection exploit as triaged, which was nice. That was a [34:54.290 --> 34:59.210] little over two months after the initial release. And then about a month after that, they [34:59.210 --> 35:07.570] released the firmware 1.0.4.26. They didn't tell us about that. They just released it. And [35:07.570 --> 35:12.770] then about a month after that, or half a month or so, I got a hunch that, you know, I think [35:12.770 --> 35:18.630] they fixed everything without telling us or giving us rewards. So, I checked. And they [35:18.630 --> 35:24.550] had. So, we confronted them. And they marked everything as unresolved and gave us degraded [35:24.550 --> 35:28.430] rewards. Like, you know that command injection and off bypass that lets you do admin and [35:28.430 --> 35:36.730] everything? Totally not critical. Totally. So, whatever. That's fine. We just wanted to [35:36.730 --> 35:40.830] disclose the issues. We're not actually going for the money, although it would be nice. So, [35:40.830 --> 35:48.110] we asked for CVEs. Because Netgear is a, or it was, a CVE numbering authority. So, they should [35:48.110 --> 35:53.890] be giving us CVEs for their products. And they just didn't respond. And then something like a [35:53.890 --> 35:59.150] month later, we asked for CVEs again. And they said, we're not doing CVEs anymore. Okay, [35:59.150 --> 36:04.410] then why are you with CNA? So, we contact MITRE to get CVEs. And they say, we'll give you [36:04.410 --> 36:10.610] CVEs once we know that Netgear is not a CNA. Two months later, almost like, what, half a [36:10.610 --> 36:14.970] year over? Eight months since we started the disclosure timeline, we got our CVEs from [36:14.970 --> 36:23.270] MITRE. And unsurprisingly, Netgear was no longer on the list of CNAs. So, that was fun. [36:23.270 --> 36:24.650] Anything to add, Rick? [36:25.170 --> 36:29.590] Well, I got plenty to add. So, one of the things that I guess was really problematic about all [36:29.590 --> 36:34.210] this was that when we reported all these vulnerabilities through BugCrowd to Netgear, all [36:34.210 --> 36:39.710] that time went by and they were just not fixing the issues. They weren't admiring that we had [36:39.710 --> 36:45.010] sent them the issues over. I can't, I blame both Netgear and BugCrowd for this situation. [36:45.170 --> 36:49.510] Because we had responsibly disclosed all these vulnerabilities through them. And this was [36:49.510 --> 36:55.190] the first time ever, I think both of us have ever seen BugCrowd put a blocker, not on the [36:55.190 --> 36:59.590] researcher, but on the company for not addressing the issues that we had sent over. Netgear [36:59.590 --> 37:04.390] had also put us in a position that we thought that, alright, cool, we could have easily [37:04.390 --> 37:08.210] sent them these issues separately and they could have been addressed. And the DNS rebinding [37:08.210 --> 37:12.210] was just kind of a nice feature that we knew or, I guess, a nice way to chain all the things [37:12.210 --> 37:17.310] together to get unauthenticated command injection on this device with, I guess, 20 seconds [37:17.310 --> 37:25.570] of user interaction. The thing about it is that we, I feel, I can't help but feel that I ended [37:25.570 --> 37:30.470] up being lied to as a researcher, especially from the fact that we met all the requirements [37:30.470 --> 37:35.630] of their program and we didn't get what they promised that they were going to give us. That's [37:35.630 --> 37:39.610] beside the points. I guess it's kind of water under the bridge at this point. Ian, the summary? [37:40.930 --> 37:46.330] So, in general, like, I highly recommend if you're doing anything with web applications, use [37:46.330 --> 37:50.350] the X-Forwarded Foreheader. It is a very fun header to mess with. You can get command [37:50.350 --> 37:57.430] injection, SQL injection, a lot of SQL injection, tainting logs, all sorts of good stuff like [37:57.430 --> 38:04.210] that. And CMDI, like, yeah, it'll find a way. Even if it's, you know, 17 characters and [38:04.870 --> 38:08.250] mangled to all hell, you're still going to get command injection. You just have to try hard [38:08.250 --> 38:13.890] enough. So, again, environment variables are your friend. DNS rebinding is remarkably [38:13.890 --> 38:18.570] powerful. This was the first time that I had used it and it kind of blew my mind because [38:18.570 --> 38:23.370] suddenly all of these attacks that require, you know, authentication tokens or require [38:24.890 --> 38:29.390] bypassing CSRF protection become extremely easy to do as long as you don't have to worry [38:29.390 --> 38:33.950] about authentication. And, like, yeah, if you have a bug bounty, please communicate with us. [38:33.950 --> 38:38.490] Don't just leave us sitting there for two months, five times. And if you stop providing [38:38.490 --> 38:44.370] service, communicate. You can, like, say, hey, we're not a CNA anymore. And also, like, [38:44.370 --> 38:51.110] communicate in general. It's nice. And for bug bounties, we found out a few times now that bug [38:51.110 --> 38:58.010] bounty programs, like, the companies don't have much of an incentive to treat researchers [38:58.010 --> 39:03.950] fairly. They can just say, no, and you can't really do much. There's no incentive for them [39:03.950 --> 39:10.370] to not really do that aside from just people getting angry. And bug bounties probably [39:10.370 --> 39:14.290] shouldn't replace your security contacts. We would not have gone through the bug bounty if we [39:14.290 --> 39:21.410] didn't have to. But that was their only security contact. That was the only way that we had. So, [39:22.090 --> 39:26.270] that's just how it ended. I guess, anything to add, Rick? [39:26.990 --> 39:29.990] No, that's kind of it. I know we're definitely over time, so we're just going to run through [39:29.990 --> 39:34.630] these conclusions and answer some questions at the end. For the quick conclusions, these were [39:34.630 --> 39:40.070] the things that were different from when we conducted our research project in 2013. In 2013, [39:40.070 --> 39:45.390] most of the shells that we ended up getting were through CSRF. We found out now, I think it's [39:45.390 --> 39:51.470] more that our security research in general has gotten to a spot where it's more, it's easier to [39:51.470 --> 39:56.330] get a hand of different ways to bypass checks, especially authentication checks. So, in this [39:56.330 --> 39:59.630] case, we didn't need to use CSRF for any of these. We just used a lot of authentication [39:59.630 --> 40:08.010] bypasses. One of the things that was nice now that we didn't see in 2013 is that, in 2013, a [40:08.010 --> 40:14.490] lot of the devices had executable stacks. We found, I think, two buffer workflows in one of [40:14.490 --> 40:18.650] the ASUS routers that we hacked. Those did not have an executable stack, so we had to do ROP [40:18.730 --> 40:23.690] and a bunch of other really fancy stuff to eventually get a shell. That was not the case in [40:23.690 --> 40:28.610] 2013, where just pretty much it was the bottom of the barrel with regards to security. And [40:28.610 --> 40:33.530] software packages were really out of date in 2013. They're really not that much anymore. One [40:33.530 --> 40:39.830] of the bugs that we found a lot in that study was that SMB was horribly out of date, so you [40:39.830 --> 40:43.730] could do symlink traversal. That's really not the case anymore for a lot of these. It's [40:43.730 --> 40:48.230] much more up to date. And I guess nicer from both the security's perspective, because you [40:48.230 --> 40:52.910] get to try to find new, interesting security vulnerabilities instead of these old ones. And [40:53.350 --> 40:56.550] before we didn't see any publicly documented security contacts, a lot of the times we were [40:56.550 --> 41:01.990] just emailing people that we found on LinkedIn. Now we did see some manufacturers, for [41:01.990 --> 41:08.490] example, Asus, TerraMaster, Synology, QNAP. A lot of these companies actually tried their [41:08.490 --> 41:13.070] best to ensure that the vulnerabilities that we were disclosing were getting addressed. And [41:13.070 --> 41:17.910] publicly documented disclosure outlets, the two that I mentioned that I think were the ones [41:17.910 --> 41:23.810] that made me the happiest were QNAP and Synology. QNAP and Synology were very good about [41:23.810 --> 41:27.610] all the issues that were reported to them. As soon as we reported to them, they responded [41:27.610 --> 41:31.530] within a day or two and they addressed the issues and they had us check to make sure that [41:31.530 --> 41:36.490] everything was good. Let's find out what stayed the same. Devices that are still remotely [41:36.490 --> 41:41.850] exploitable, given the 125 CVEs that we found, I think that's pretty easy to understand. [41:42.450 --> 41:47.030] There's still plenty of CSERF, like I said in the previous slide, before we were using that [41:47.030 --> 41:51.810] for the exploit chain for a lot of the stuff. Now we don't need to use it as much because we [41:51.810 --> 41:57.210] found out about a lot of authentication bypasses. OS command injection is still a problem. [41:57.210 --> 42:02.330] That's probably one of the vulnerabilities that we focused on this time around. And security [42:02.330 --> 42:06.010] through obscurity is still alive and well. We looked at a lot of manufacturers that the way [42:06.010 --> 42:09.530] that they would do stuff, it's like they would try to do their own type of encryption or their [42:09.530 --> 42:15.590] own type of file hosting so that it would become kind of problematic but it wasn't in the end. [42:15.590 --> 42:22.470] And here's some of the stuff that stayed the same for, or I guess like what changed, but stayed [42:22.470 --> 42:26.490] the same in manufacturers. Some manufacturers actually really care. I've been talking about [42:26.490 --> 42:31.250] Synology and QNAP a lot, not because I know anybody there, but it's because I was really [42:31.250 --> 42:37.030] happy with the disclosure process. Oh yeah, Xiaomi was another one that was very good. I think [42:37.030 --> 42:42.250] that's how you say it, right? Xiaomi did a very good job of addressing the issues that we [42:42.250 --> 42:49.290] disclosed. They have an interesting bug bounty program. They paid us in toys, never had that [42:49.290 --> 42:56.090] happen before, even as a child. And a lot of the companies have bug bounty programs. Needless to [42:56.090 --> 42:59.610] say, I'm not very happy with companies like Netgear who were partnering with Bug Crowd and [42:59.610 --> 43:03.590] they ended up in this situation where we feel cheated, but a lot of other companies did [43:03.590 --> 43:08.610] actually pay out their bug bounties and I'm happy for that. And some companies are really [43:08.610 --> 43:12.330] interested in working with researchers to get things addressed. A lot of the stuff that we [43:12.330 --> 43:16.810] reported, they were very much happy. They wanted to know, how did you guys find it? What did you [43:16.810 --> 43:21.050] do? Do you think that we have more instances? Can you check? Also, it's free work, so why not? [43:21.070 --> 43:25.010] But it's a really nice situation where they care about the security and they're trying their [43:25.010 --> 43:33.690] best to improve it. And that's kind of it, folks. These are me and Ian's Twitters. And we also [43:33.690 --> 43:37.730] love talking shop. We're going to be at the Village for the rest of the day until Sunday we'll be [43:37.730 --> 43:43.610] here. We'll leave eventually, but this was a very good experience. And this was the results of [43:43.610 --> 43:47.390] our three of the best results from our research project. There are two other people that [43:47.390 --> 43:52.210] weren't able to present with us today. That's Josh Meyer and Sean Marani. Those guys found a [43:52.210 --> 43:56.590] lot of other vulnerabilities and it was great to work with them. Thanks for your time and I'll [43:56.590 --> 43:59.870] open the floor up to questions if any of you have anything to say or ask.