1 00:00:00,000 --> 00:00:11,100 So, I'm Craig Young. I'm a security researcher with RRR Vert, and I'm here to talk to you today about some research that I did last year on smart home hubs and some vulnerabilities that we found in there. 2 00:00:11,300 --> 00:00:24,060 So, a little bit about me. I'm a security researcher, as I said. I develop content for our IP360 vulnerability scanner, and then I also do a good bit of original research and like to break things, find bugs. 3 00:00:24,060 --> 00:00:36,320 So, the motivations for this project, we were kind of seeing that there are a whole lot of these different smart home hubs and connected light bulbs and locks and motion detectors just flooding the market. 4 00:00:36,620 --> 00:00:40,560 So, you can go to Home Depot now, and you've just got several aisles of these things. 5 00:00:41,680 --> 00:00:53,380 And I've had a lot of experience with hacking on embedded devices, and in my experiences, generally the consumer products that are embedded devices don't tend to hold up very well in security. 6 00:00:53,480 --> 00:00:54,040 They tend to... 7 00:00:54,060 --> 00:00:55,840 They tend to have a lot of the same types of flaws. 8 00:00:56,360 --> 00:01:01,740 So, the research that I did in here found flaws in the products that you're going to see. 9 00:01:02,000 --> 00:01:03,940 It was really not very difficult. 10 00:01:04,080 --> 00:01:10,400 These are all low-hanging fruit, which is a reason that people need to be looking at this stuff and identifying what else needs to be done. 11 00:01:11,680 --> 00:01:23,780 So, we've got to talk about the reasons that somebody might target a smart home, what kinds of vectors they have towards it, and also what consumers can actually do to try and defend against these types of attacks. 12 00:01:24,060 --> 00:01:31,480 So, the products that we analyzed, you've got the Wink Hub from Quirky, the Miosphere Alight, and the SmartThings Hub. 13 00:01:33,340 --> 00:01:41,700 We're going to go through first a little bit of background information about home automation, and also what happens if you get attacked. 14 00:01:43,180 --> 00:01:47,760 And then we'll go through the case studies of each of the specific products that we reviewed. 15 00:01:48,200 --> 00:01:52,500 And, of course, there'll be some closing remarks about next steps and stuff like that. 16 00:01:52,940 --> 00:01:54,040 So, here we go. 17 00:01:54,060 --> 00:02:01,420 Here is a graphic from Washington State University showing where they're seeing that smart home technology is going to go in the future. 18 00:02:01,660 --> 00:02:04,560 You can see you've got a lot of components scattered throughout the house. 19 00:02:05,540 --> 00:02:14,580 Everything from garage door openers and motion sensors to things like something to control your sprinklers based on the weather or turn on and off your lights. 20 00:02:14,840 --> 00:02:19,320 So, there is a bit of information that gets disclosed by these devices, as we'll see. 21 00:02:22,000 --> 00:02:23,520 The role of the hub. 22 00:02:23,520 --> 00:02:41,580 The hub, which is the point of which we actually researched, or I actually researched on this, this is creating a bridge between a wireless network within your home, so more like a personal area network that might be connected between some lightbulbs, a control panel, things of that nature. 23 00:02:42,720 --> 00:02:53,500 These protocols normally don't extend beyond the house, but in the case of a smart home hub, you're giving it a bridge to connect to the internet and be able to access this functionality from a smart home hub. 24 00:02:53,520 --> 00:02:54,840 So, this is all very different than what you would see with a smartphone or a website. 25 00:02:56,380 --> 00:03:01,920 So, one of the primary technologies that's used for those personal area networks is ZigBee. 26 00:03:03,160 --> 00:03:06,620 ZigBee is a protocol running around 2.4 gigahertz. 27 00:03:06,760 --> 00:03:11,980 You've got that one topology is what you get out of it. 28 00:03:12,060 --> 00:03:16,180 You've got, I'm sorry, for ZigBee, you actually have StarTree and Mesh. 29 00:03:16,300 --> 00:03:18,080 And you do have options for encryption. 30 00:03:19,300 --> 00:03:23,160 And this is licensed by the ZigBee Alliance, so everything has to be compatible. 31 00:03:23,520 --> 00:03:26,640 their standards. Some of the research that's gone on in the 32 00:03:26,640 --> 00:03:30,780 past here at DEF CON and other places, you've seen capture 33 00:03:30,780 --> 00:03:35,820 devices for sniffing on ZigBee networks as well as injecting 34 00:03:35,820 --> 00:03:40,520 frames and also doing different key-based attacks like being 35 00:03:40,520 --> 00:03:43,960 able to reset keys, capture keys when advice is being initially 36 00:03:43,960 --> 00:03:49,960 provisioned and things of that nature. So Z-Wave is the other 37 00:03:49,960 --> 00:03:54,020 big standard out here. This one is the one that only does a mesh 38 00:03:54,020 --> 00:03:59,900 network. It is also only available with the Sigma 39 00:03:59,900 --> 00:04:04,480 certifications for the Z-Wave stacks. And you also have 40 00:04:04,480 --> 00:04:06,480 support for encryption on this one, although it's not 41 00:04:06,480 --> 00:04:11,840 necessarily always used. With Z-Wave, we saw that at Black Hat 42 00:04:11,840 --> 00:04:16,840 2013, there were attacks being demonstrated for sniffing keys 43 00:04:16,840 --> 00:04:19,860 off of the initial provision, similar to 44 00:04:19,960 --> 00:04:23,780 ZigBee. And also, if you don't have nonces implemented on this 45 00:04:23,780 --> 00:04:26,600 technology, you're able to sniff out messages and replay them. 46 00:04:28,440 --> 00:04:32,520 There was also one particular attack where they had shown that 47 00:04:33,340 --> 00:04:38,000 this lock that they had, they could actually trick it into 48 00:04:38,000 --> 00:04:40,400 thinking that they were the controller and reset the key on 49 00:04:40,400 --> 00:04:43,700 it to be able to take complete access from it. And they created 50 00:04:43,700 --> 00:04:48,300 this tool here that you see, Z-Force, which works with the 51 00:04:48,300 --> 00:04:49,940 Texas Instruments CC1. 52 00:04:49,940 --> 00:04:53,900 This is the Z-Force 1110 transceiver kit. That'll cost you 53 00:04:53,900 --> 00:04:58,080 about $75 for two transceivers and a debugging board if you want 54 00:04:58,080 --> 00:05:03,400 to start playing with Z-Wave. So, it's important to think 55 00:05:03,400 --> 00:05:06,480 about what kinds of things happen if somebody breaches your 56 00:05:06,480 --> 00:05:10,560 smart home hub. First of all, of course, if somebody is gaining 57 00:05:10,560 --> 00:05:13,620 access to see when your garage doors are open, what your 58 00:05:13,620 --> 00:05:16,460 thermostat is set to and when, when your lights are going on 59 00:05:16,460 --> 00:05:19,260 and off, these are all different things that are going to divulge 60 00:05:19,260 --> 00:05:19,580 information. 61 00:05:19,940 --> 00:05:22,580 So, it's important to think about your schedule. If you also 62 00:05:22,580 --> 00:05:26,060 have a connected lock in the system, somebody can then know 63 00:05:26,060 --> 00:05:28,960 when you're home, when you're not, and be able to come back 64 00:05:28,960 --> 00:05:31,240 and open up the locks, come into your house without your 65 00:05:31,240 --> 00:05:35,520 permission and do whatever they want. And the more pressing 66 00:05:35,520 --> 00:05:37,880 issue to me, though, because I don't really see it as realistic 67 00:05:37,880 --> 00:05:42,200 that these devices are going to be targeted by criminals breaking 68 00:05:42,200 --> 00:05:45,860 into homes so often right now, but the more pressing issue with 69 00:05:45,860 --> 00:05:49,220 this and all of the other IoT devices is that once somebody 70 00:05:49,220 --> 00:05:52,780 compromises them, they can actually use this to pivot into 71 00:05:52,780 --> 00:05:55,760 your home or just to start abusing your bandwidth for 72 00:05:55,760 --> 00:06:00,200 spamming, phishing, other types of things. So, if we do see more 73 00:06:00,200 --> 00:06:03,140 and more devices like this taking off and consuming the 74 00:06:03,140 --> 00:06:06,200 Internet, it could present a real danger to the Internet if 75 00:06:06,200 --> 00:06:09,300 somebody wanted to use them to, say, launch a distributed denial 76 00:06:09,300 --> 00:06:13,900 of service attack on the DNS infrastructure. So, the attack 77 00:06:13,900 --> 00:06:19,200 surface that we have here on the smart home hubs, we've got the ability to do, you know, 78 00:06:19,220 --> 00:06:24,460 I'm sorry, we've got the end devices, so you can go attacking the wireless protocols 79 00:06:24,460 --> 00:06:30,300 that are connecting the light bulbs and locks and whatever it might be. You also have different 80 00:06:30,300 --> 00:06:34,440 tricks that you can do physically. Like, for example, it's been shown that if you want 81 00:06:34,440 --> 00:06:38,720 to defeat a motion sensor, oftentimes you just need to light a lighter, and the infrared 82 00:06:38,720 --> 00:06:44,800 energy coming off of that is going to deceive your motion sensor. Similarly, people have 83 00:06:44,800 --> 00:06:48,900 shown, of course, with magnetic door and window sensors, if you're able to 84 00:06:49,220 --> 00:06:51,840 keep a magnetic field on that, you're not going to trip it when 85 00:06:51,840 --> 00:06:59,400 you remove their magnet. So, also, with these products, since they're 86 00:06:59,400 --> 00:07:03,280 going over a network, we've got IP-based attacks and 802.11-based attacks. 87 00:07:03,620 --> 00:07:10,000 This is where I really focused on things, because, as we'll see, if you're going after 88 00:07:10,000 --> 00:07:12,800 the edge devices or the end devices, you've got to know stuff 89 00:07:12,800 --> 00:07:16,680 specifically about those devices, the flaws in them, the protocols that they're using. 90 00:07:16,820 --> 00:07:19,200 You've got to be pretty close to them also, since these are 91 00:07:19,200 --> 00:07:24,080 short-wave or short-range protocols. If you're going with the physical countermeasures, 92 00:07:24,280 --> 00:07:29,240 this is probably going to have a good tendency to fail. You're going to need to know, first 93 00:07:29,240 --> 00:07:33,400 of all, what countermeasures are being taken at your target, and you're going to need 94 00:07:33,400 --> 00:07:38,480 to practice this. So, for me, the IP space, that's really where I'm most comfortable, 95 00:07:38,640 --> 00:07:42,560 and that's what I focused on in this research, as well as a little bit of 802.11. 96 00:07:43,860 --> 00:07:47,700 So the first product that we'll look at, this is the Wink Hub by Quirky. 97 00:07:47,700 --> 00:07:55,480 It supports a variety of wireless protocols, and also has smartphone application, web server, and 98 00:07:55,480 --> 00:08:01,120 web-based applications. If you do a port scan of this, you'll see the web server, and you'll also 99 00:08:01,120 --> 00:08:09,440 see SSH running. And then if we look back over Google and see what other people have done, you 100 00:08:09,440 --> 00:08:17,400 can see that last year at DEF CON, the GTV hacker group had actually put out an exploit showing how 101 00:08:17,400 --> 00:08:17,680 they were working with the IP space, and they were working with the IP space, and they were working 102 00:08:23,100 --> 00:08:41,480 with the IP space, and they were working with the IP space, and they did a few multi-target 103 00:08:42,120 --> 00:08:46,980 savers. They had, you know, sharper surges beyond felt sensors, which marks the new 104 00:08:46,980 --> 00:08:52,460 quickly i found that just grepping through that code there were a whole lot of unsanitized select 105 00:08:52,460 --> 00:09:01,040 statements this system is also running with sqlite so if we wanted to we can actually 106 00:09:02,020 --> 00:09:07,280 escalate permissions because sqlite allows you to do an attached database command which since 107 00:09:07,280 --> 00:09:12,600 sqlite is running as root as i said you're able to create scripts anywhere on the box you're able 108 00:09:12,600 --> 00:09:20,280 to create a php script that's going to backdoor the system so then using csurf you're able to do a 109 00:09:20,280 --> 00:09:26,280 two-step attack and first implant the backdoor and then second call it to execute whatever 110 00:09:26,280 --> 00:09:33,280 commands you might like um once you're in you can start learning the victim schedule or just abusing 111 00:09:33,280 --> 00:09:41,320 that bandwidth connection um yeah so as i said these are the steps that we had um there are some 112 00:09:41,320 --> 00:09:42,580 if you wanted to use the sqlite command you could use the sqlite command and then use the 113 00:09:42,580 --> 00:09:48,680 in the field the steps would probably be something like cracking somebody's wireless network and 114 00:09:48,680 --> 00:09:55,620 connecting directly to it or perhaps sending out spamming emails things like that to try and get 115 00:09:55,620 --> 00:09:59,800 somebody onto a malicious page to attack the target as we'll see a little bit later it's not 116 00:09:59,800 --> 00:10:07,620 a problem to actually find it on the network um through a malicious web page so i also found while 117 00:10:07,620 --> 00:10:12,560 i was playing with this that there was a script on the box that would have it go through the 118 00:10:12,580 --> 00:10:18,980 back into its access point mode if you had not or if it did not connect to a network within i believe 119 00:10:18,980 --> 00:10:26,140 90 seconds was it um so what you could do with this if you're an attacker outside you have no 120 00:10:26,140 --> 00:10:33,200 physical access you can start performing a deauth flood on the victim's network their box is going 121 00:10:33,200 --> 00:10:37,980 to stop working they're probably going to notice this at some point reboot it and when they do 122 00:10:37,980 --> 00:10:41,980 as long as you maintain that deauth attack for the required amount of time 123 00:10:42,580 --> 00:10:47,220 it's going to start broadcasting its open wireless network you can connect directly to it and plan a 124 00:10:47,220 --> 00:10:52,480 backdoor and then let it reboot and for the owner it will be working properly again but it will 125 00:10:52,480 --> 00:10:58,580 actually be backdoored in this point and also if you were outside of the home a lot of houses have 126 00:10:58,580 --> 00:11:03,820 external power breakers so you could just cut the power in the middle of the night reboot the box 127 00:11:03,820 --> 00:11:11,400 while you're sending out deauth messages and then you've got another access vector so with the 128 00:11:11,400 --> 00:11:12,560 wincub they were actually very good at this so i'm going to show you a little bit of a video of 129 00:11:13,240 --> 00:11:19,660 what they've done with the wincub they've implemented a bug bounty program and they had fixed this bug 130 00:11:20,100 --> 00:11:24,080 several months back i think pretty early this year this was fixed it was 131 00:11:24,820 --> 00:11:28,420 initially discovered and reported to them in november 2014. 132 00:11:31,020 --> 00:11:36,000 also with this and any other iot device you probably want to consider putting it on an 133 00:11:36,000 --> 00:11:40,340 isolated segment of your network so that you don't have as much of a risk of pivot attacks from it 134 00:11:40,880 --> 00:11:42,440 but you're still going to risk 135 00:11:42,580 --> 00:11:49,060 somebody abusing your bandwidth in this way so the next product that we're going to look at is 136 00:11:49,060 --> 00:11:56,160 this one that's sitting over on that chair that's the myosphere light it has support for a little bit 137 00:11:56,880 --> 00:12:03,000 more of a limited range of protocols you've got z-wave insteon and it does have a wi-fi adapter in 138 00:12:03,000 --> 00:12:09,760 there if you're going to scan this over the network it's got http and ssh and it also has an 139 00:12:09,760 --> 00:12:12,560 interface for connecting via an android app and it's a lot better when you're in a controlled environment so if you're 140 00:12:12,560 --> 00:12:15,080 or an iOS app using the Vera infrastructure. 141 00:12:16,080 --> 00:12:17,780 Oh, it also has DNS mask. 142 00:12:19,240 --> 00:12:22,640 So looking back over the VeraHub, 143 00:12:23,080 --> 00:12:26,520 we saw that TrustWave Spider Labs had actually filed a report 144 00:12:26,520 --> 00:12:29,980 or published a report on an older firmware showing 145 00:12:29,980 --> 00:12:32,820 that you could do a lot of bad stuff with it. 146 00:12:32,880 --> 00:12:35,200 You could traverse firewall rules. 147 00:12:35,820 --> 00:12:38,140 You could run Lewis Scripps' root. 148 00:12:38,440 --> 00:12:41,760 Basically, you could own the box in a lot of different ways. 149 00:12:42,860 --> 00:12:45,760 Some of these problems, I believe, still might exist. 150 00:12:45,980 --> 00:12:48,960 I haven't taken the time to go through and verify those 151 00:12:48,960 --> 00:12:51,620 because there are a whole lot of other problems. 152 00:12:51,760 --> 00:12:54,720 There's, in general, not really authentication on the system 153 00:12:54,720 --> 00:12:57,900 unless you go and enable some other settings, 154 00:12:58,000 --> 00:12:58,680 which we'll talk about. 155 00:12:58,860 --> 00:13:00,900 You have no CSRF protection, 156 00:13:01,600 --> 00:13:04,980 so you've got unauthenticated pages that can be CSRFable. 157 00:13:05,120 --> 00:13:09,000 And then looking through their source files on the... 158 00:13:09,000 --> 00:13:11,240 their scripts, rather, their shell scripts, 159 00:13:11,760 --> 00:13:13,640 there are several places for command injection 160 00:13:13,640 --> 00:13:16,200 through an unauthenticated HTTP request. 161 00:13:16,780 --> 00:13:22,000 So you also have the risk that this is connecting back 162 00:13:22,000 --> 00:13:23,140 into the vendor's infrastructure, 163 00:13:23,220 --> 00:13:25,740 and it's actually forwarding ports back into your home network. 164 00:13:26,020 --> 00:13:29,060 So if somebody did breach the vendor's infrastructure, 165 00:13:29,340 --> 00:13:32,040 they would be able to traverse right into all of the homes 166 00:13:32,040 --> 00:13:33,660 of people using this product, potentially. 167 00:13:36,600 --> 00:13:40,080 So when we ordered this box, it was interesting. 168 00:13:40,280 --> 00:13:41,320 We got it over Amazon, 169 00:13:41,760 --> 00:13:45,140 and it came with what they call the UI5 firmware. 170 00:13:46,060 --> 00:13:47,640 Powering it up and configuring it 171 00:13:47,640 --> 00:13:48,960 and telling it to check for updates, 172 00:13:49,160 --> 00:13:50,480 it doesn't find any. 173 00:13:51,180 --> 00:13:54,080 It just says that it is up to date. 174 00:13:54,200 --> 00:13:55,700 However, we learned from the vendor 175 00:13:55,700 --> 00:13:59,040 that the UI7 firmware was available now, 176 00:13:59,540 --> 00:14:01,320 but you have to go to their website 177 00:14:01,320 --> 00:14:03,600 to a page listed as release candidate, 178 00:14:04,140 --> 00:14:06,900 and then you can download that or point your box to that, 179 00:14:08,720 --> 00:14:11,540 and then you will have firmware that didn't stop 180 00:14:11,760 --> 00:14:14,600 at 2012, but rather is somewhat actively maintained. 181 00:14:15,020 --> 00:14:18,200 However, it still seems to be in a beta state. 182 00:14:20,300 --> 00:14:22,620 Upgrading to the latest version of this, 183 00:14:22,760 --> 00:14:25,980 although they have made some changes in there 184 00:14:25,980 --> 00:14:27,340 to try and prevent command injection, 185 00:14:27,940 --> 00:14:29,340 they have failed at that. 186 00:14:29,440 --> 00:14:32,620 The fixes that they have can be very easily circumvented, 187 00:14:32,640 --> 00:14:35,640 and they have not communicated any information 188 00:14:35,640 --> 00:14:37,440 about when they intend to fix this. 189 00:14:38,600 --> 00:14:41,340 In general, the policy on this product seems to be 190 00:14:41,760 --> 00:14:43,780 that if you are a user on the local LAN, 191 00:14:43,980 --> 00:14:44,820 you're trusted, 192 00:14:44,940 --> 00:14:48,760 and not necessarily a great approach 193 00:14:48,760 --> 00:14:50,080 considering CSRF attacks. 194 00:14:50,940 --> 00:14:54,360 I did disclose this to the vendor, as I said, 195 00:14:54,440 --> 00:14:56,060 but it is still zero-day flaw, 196 00:14:56,260 --> 00:14:58,360 as verified with the latest firmware 197 00:14:59,220 --> 00:15:02,640 that was available from the UI7 train as of last night. 198 00:15:05,080 --> 00:15:07,960 Attacking this, probably CSRF is the biggest threat 199 00:15:07,960 --> 00:15:10,540 or somebody breaking into your local LAN, 200 00:15:11,760 --> 00:15:13,080 connecting to it directly, of course. 201 00:15:13,920 --> 00:15:16,500 But I wanted to use this as an example 202 00:15:16,500 --> 00:15:18,480 of what I call smart CSRF. 203 00:15:18,580 --> 00:15:20,640 So the approach that we're looking at here 204 00:15:20,640 --> 00:15:23,620 is to use a stun server and actually identify 205 00:15:23,620 --> 00:15:26,020 the local IP address within the browser 206 00:15:26,020 --> 00:15:28,100 so that you can scan through the subnet 207 00:15:28,100 --> 00:15:29,980 and identify vulnerable devices there. 208 00:15:32,580 --> 00:15:36,760 You can see here as a reference for using WebRTC 209 00:15:36,760 --> 00:15:39,260 to do stun call or stun lookups, 210 00:15:39,420 --> 00:15:41,740 there is that GitHub project out there. 211 00:15:41,760 --> 00:15:44,140 Which is very interesting. 212 00:15:44,360 --> 00:15:47,480 But now I'm actually going to show you 213 00:15:47,480 --> 00:15:49,220 how this vulnerability works. 214 00:15:49,440 --> 00:15:51,680 Or show you an example of exploiting it. 215 00:15:54,560 --> 00:15:56,080 So on this line, 216 00:15:58,460 --> 00:16:00,100 running a script that is 217 00:16:03,500 --> 00:16:06,400 running a script in one console that is 218 00:16:06,400 --> 00:16:09,440 having a netcat server to send out a payload 219 00:16:10,060 --> 00:16:11,740 and then I've got a website 220 00:16:11,760 --> 00:16:12,760 server running on another one. 221 00:16:13,060 --> 00:16:16,760 So I'll just go ahead and... 222 00:16:26,320 --> 00:16:27,400 Trying to pull up the phone. 223 00:16:36,120 --> 00:16:39,520 Alright, so over here, 224 00:16:39,540 --> 00:16:41,200 this is just a web server that's running 225 00:16:41,760 --> 00:16:43,440 on my local browser or on my local system. 226 00:16:43,960 --> 00:16:46,360 When I connect to this page, 227 00:16:47,900 --> 00:16:49,680 VRDC23, we're going to see that 228 00:16:49,680 --> 00:16:51,200 it's going to scan the network 229 00:16:51,200 --> 00:16:52,660 and connect back to this box 230 00:16:52,660 --> 00:16:54,760 and we'll see these lights change their blinking pattern 231 00:16:54,760 --> 00:16:56,200 just to demonstrate root access. 232 00:16:57,900 --> 00:16:59,020 So as you can see, 233 00:16:59,120 --> 00:17:01,580 very quickly achieved that. 234 00:17:01,740 --> 00:17:03,940 You could also pull a shell with that technique. 235 00:17:04,940 --> 00:17:05,420 Um... 236 00:17:06,700 --> 00:17:07,180 Oops. 237 00:17:14,180 --> 00:17:18,340 And so if you want to mitigate this problem, 238 00:17:18,540 --> 00:17:20,020 you probably just want to pull this thing 239 00:17:20,020 --> 00:17:20,600 out of your network. 240 00:17:20,900 --> 00:17:22,900 It's not a very secure device, 241 00:17:23,180 --> 00:17:26,500 but if you do have it or you want to be using it, 242 00:17:26,760 --> 00:17:29,200 the latest firmwares have an option 243 00:17:29,200 --> 00:17:31,140 for the secure Vira mode. 244 00:17:31,460 --> 00:17:32,920 When you enable this option, 245 00:17:33,060 --> 00:17:35,460 it's actually setting up iptables rules 246 00:17:35,460 --> 00:17:37,140 to block any connections 247 00:17:37,140 --> 00:17:41,420 other than your outbound connections 248 00:17:41,420 --> 00:17:43,600 to their infrastructure. 249 00:17:43,880 --> 00:17:45,740 And I believe SSH might still be exposed. 250 00:17:48,260 --> 00:17:50,820 Moving along to the last device in the case studies, 251 00:17:51,060 --> 00:17:52,680 we've got the SmartThings Hub. 252 00:17:53,280 --> 00:17:57,220 This is pretty minimal attack surface on here. 253 00:17:57,300 --> 00:17:58,880 You've got the wireless protocols, 254 00:17:59,060 --> 00:18:02,040 which I wasn't evaluating for the sake of this research. 255 00:18:02,400 --> 00:18:04,620 You've got the Android application interface 256 00:18:04,620 --> 00:18:06,860 and then it's got a Telnet port open. 257 00:18:07,480 --> 00:18:07,920 Um... 258 00:18:07,920 --> 00:18:09,300 A little bit odd that Telnet is running. 259 00:18:09,420 --> 00:18:11,860 They informed me that this was for diagnostics 260 00:18:11,860 --> 00:18:13,900 and is probably going to go away at some point, 261 00:18:14,020 --> 00:18:16,980 but I was not able to identify a password for it, 262 00:18:17,040 --> 00:18:18,360 so I did not use that. 263 00:18:19,300 --> 00:18:19,740 Um... 264 00:18:19,740 --> 00:18:22,800 Looking over the web at previous research for this, 265 00:18:22,900 --> 00:18:25,000 back at the time when I started looking at it, 266 00:18:25,140 --> 00:18:27,680 there really didn't seem to be a lot of information out there. 267 00:18:28,300 --> 00:18:28,740 Um... 268 00:18:29,500 --> 00:18:30,380 Eventually, afterwards, 269 00:18:31,980 --> 00:18:34,600 there was a report that we'll see in a minute 270 00:18:34,620 --> 00:18:36,420 but when I looked at it, 271 00:18:36,440 --> 00:18:39,300 I actually found that using SSL split, 272 00:18:39,440 --> 00:18:42,080 it was very easy to just fake... 273 00:18:42,080 --> 00:18:43,440 give it a fake SSL certificate. 274 00:18:43,540 --> 00:18:46,520 It would connect through and not care about that. 275 00:18:46,800 --> 00:18:48,760 Looking at the traffic underneath that, 276 00:18:48,800 --> 00:18:50,540 it seemed to be some kind of SSL VPN, 277 00:18:50,900 --> 00:18:54,560 so there could be some risk of somebody traversing into the network, 278 00:18:54,700 --> 00:18:59,040 but there's definitely risk of somebody being able to see data 279 00:18:59,040 --> 00:19:00,600 coming off of your network then, 280 00:19:00,700 --> 00:19:03,060 but it requires a network-level attacker, 281 00:19:03,060 --> 00:19:06,100 and with this being a product 282 00:19:06,100 --> 00:19:09,440 that isn't going to be moving around or anything, 283 00:19:09,680 --> 00:19:11,860 it's not necessarily the biggest risk. 284 00:19:12,220 --> 00:19:12,500 Um... 285 00:19:12,500 --> 00:19:15,280 They also did fix this very quickly. 286 00:19:15,700 --> 00:19:16,300 Uh... 287 00:19:16,300 --> 00:19:17,620 When I had reported it to them, 288 00:19:17,700 --> 00:19:21,160 they informed me that it was something they knew about. 289 00:19:21,260 --> 00:19:23,200 They were getting a patch out subsequently. 290 00:19:24,020 --> 00:19:28,180 I actually reported on this information in London 291 00:19:28,180 --> 00:19:31,360 at the InfoSec Intelligent Defense Conference last month, 292 00:19:31,460 --> 00:19:33,040 and in London, 293 00:19:33,060 --> 00:19:33,540 in the wake of that, 294 00:19:33,600 --> 00:19:35,880 there were several news stories being put out about this, 295 00:19:35,980 --> 00:19:39,000 and I was contacted by another researcher 296 00:19:39,000 --> 00:19:42,940 who had pointed me to his publication that came out this year. 297 00:19:43,180 --> 00:19:43,440 Um... 298 00:19:43,440 --> 00:19:46,540 He actually had reported this to them two weeks before I did, 299 00:19:46,660 --> 00:19:49,000 and then when he looked a little bit further, 300 00:19:49,120 --> 00:19:53,160 found that the NCC group had reported this two weeks before he did. 301 00:19:53,320 --> 00:19:56,320 So it kind of goes to show that these types of things, 302 00:19:56,500 --> 00:19:57,680 they're not staying unknown, 303 00:19:57,920 --> 00:19:58,820 and also, 304 00:19:59,300 --> 00:20:02,260 as you can see with the Trustwave report from Avira, 305 00:20:02,260 --> 00:20:04,880 those types of things are not being looked at alone. 306 00:20:05,140 --> 00:20:05,260 I mean, 307 00:20:05,980 --> 00:20:06,420 um... 308 00:20:06,420 --> 00:20:08,280 These have a lot of low-hanging fruit. 309 00:20:10,160 --> 00:20:11,460 So, as I said, 310 00:20:11,520 --> 00:20:15,560 they have implemented SSL checks for this. 311 00:20:16,160 --> 00:20:16,600 Um... 312 00:20:16,600 --> 00:20:18,920 If you were to have a vulnerable system, 313 00:20:19,140 --> 00:20:21,680 it's not going to connect to their infrastructure anymore 314 00:20:21,680 --> 00:20:22,820 until it takes an update. 315 00:20:23,180 --> 00:20:25,200 So that's a good thing. 316 00:20:25,240 --> 00:20:27,560 That's a good result from this. 317 00:20:28,900 --> 00:20:29,340 Um... 318 00:20:29,900 --> 00:20:32,160 So as a few closing remarks on this, 319 00:20:32,860 --> 00:20:35,740 I want to just mention for a moment again 320 00:20:35,740 --> 00:20:38,900 that the vendor infrastructure in these IoT devices 321 00:20:38,900 --> 00:20:41,300 creates quite a bit of risk for me. 322 00:20:41,460 --> 00:20:41,920 Um... 323 00:20:41,920 --> 00:20:42,900 Meaning... 324 00:20:42,900 --> 00:20:44,820 The fact that you have to create a tunnel 325 00:20:44,820 --> 00:20:46,580 going from the cloud into your home 326 00:20:46,580 --> 00:20:48,700 means that you're really putting a lot of faith 327 00:20:48,700 --> 00:20:50,180 in the vendor's security mechanisms, 328 00:20:50,480 --> 00:20:52,420 that they're not going to be compromised 329 00:20:52,420 --> 00:20:53,820 and expose your home network. 330 00:20:54,140 --> 00:20:56,120 It's also important to realize that 331 00:20:56,120 --> 00:20:59,440 these little things that we're connecting all over the Internet, 332 00:21:00,050 --> 00:21:01,370 they need to be patched, 333 00:21:01,370 --> 00:21:04,050 and people need to be thinking about keeping them up to date 334 00:21:04,050 --> 00:21:05,870 just like you would with your regular computers. 335 00:21:06,650 --> 00:21:07,130 Um... 336 00:21:07,130 --> 00:21:08,150 But unfortunately, 337 00:21:08,230 --> 00:21:10,650 that's probably not going to happen for a lot of cases. 338 00:21:11,070 --> 00:21:12,490 So as an industry, 339 00:21:12,590 --> 00:21:14,230 we need to be looking at different mechanisms 340 00:21:14,890 --> 00:21:16,830 for helping secure these things, 341 00:21:16,970 --> 00:21:18,710 either locking down the attack vectors, 342 00:21:19,230 --> 00:21:21,750 making sure that unpatched systems 343 00:21:21,750 --> 00:21:24,150 aren't going to remain on the Internet for a decade. 344 00:21:24,610 --> 00:21:27,350 But this is really quite a difficult problem. 345 00:21:28,390 --> 00:21:31,090 And also as far as CSERF threats, 346 00:21:31,090 --> 00:21:32,470 these get downplayed a lot, 347 00:21:32,630 --> 00:21:36,330 but we live in an age where everybody grabs smartphone apps 348 00:21:36,330 --> 00:21:37,290 and browser extensions, 349 00:21:37,630 --> 00:21:39,950 and these are systems that have access 350 00:21:39,950 --> 00:21:42,190 to do anything they want on your network generally. 351 00:21:43,030 --> 00:21:44,750 They can find out your IP address, 352 00:21:44,950 --> 00:21:46,190 they can scan through your subnet, 353 00:21:46,330 --> 00:21:48,670 and start popping systems on your LAN. 354 00:21:49,110 --> 00:21:51,790 So CSERF tokens are important, 355 00:21:51,950 --> 00:21:53,590 even on IoT devices, definitely. 356 00:21:54,910 --> 00:21:57,110 So that's all that I have for today. 357 00:21:57,770 --> 00:21:59,290 If anybody has any questions, 358 00:21:59,410 --> 00:22:00,490 you can reach me over Twitter, 359 00:22:00,490 --> 00:22:02,790 or you can check out the Tripwire blog. 360 00:22:03,390 --> 00:22:03,990 Thank you.