1 00:00:00,000 --> 00:00:03,560 I think we're going to go ahead and get started. So my name is 2 00:00:03,560 --> 00:00:07,100 Daniel. We're going to talk about ways to find more 3 00:00:07,100 --> 00:00:15,120 vulnerabilities in IOT devices. So anyone recognize this quote 4 00:00:15,120 --> 00:00:19,780 here? Don't have to say the name of who it is if you do recognize 5 00:00:19,780 --> 00:00:29,980 it. But anyone recognize the quote? Basically we get it. You 6 00:00:29,980 --> 00:00:32,160 know, all these conferences these days always have a track 7 00:00:32,160 --> 00:00:34,660 on how you can hack this stuff. And of course we're here in the 8 00:00:34,660 --> 00:00:38,880 village so that is this track. The stuff is always going to be 9 00:00:38,880 --> 00:00:44,100 hackable. Sort of a shot at another project there. And then 10 00:00:44,980 --> 00:00:50,020 enough with the junk hacking. And enough with being amazed 11 00:00:50,020 --> 00:00:56,100 when people hack their junk. And so my main thing here is the 12 00:00:56,100 --> 00:00:59,960 person who wrote this is actually really smart. I 13 00:00:59,980 --> 00:01:04,180 mean, HD, you know, Kaminsky smart. Really, really smart. 14 00:01:04,860 --> 00:01:09,840 And I just think he happens to be wrong in this case. Can anyone 15 00:01:09,840 --> 00:01:13,300 give an example of a space that's not horribly broken? I 16 00:01:13,300 --> 00:01:17,600 think most spaces are horribly broken. And I think what we end 17 00:01:17,600 --> 00:01:21,100 up with here is vulnerability shaming. Like different 18 00:01:21,100 --> 00:01:25,960 statuses of vulnerabilities or security. And I don't think 19 00:01:25,960 --> 00:01:29,960 that's a healthy thing. I don't think it's easier or more 20 00:01:29,960 --> 00:01:34,340 harder to hack IOT systems versus web frameworks or 21 00:01:34,340 --> 00:01:36,660 whatever the platform. So I think this is definitely 22 00:01:37,240 --> 00:01:40,780 incorrect and we should be proud of whatever phones we can find 23 00:01:40,780 --> 00:01:45,920 in IOT stuff. I want to start with talking about the naming. 24 00:01:47,600 --> 00:01:50,920 IOT in general is sort of a strange name. People make fun of 25 00:01:50,920 --> 00:01:55,160 it a lot. So one proposed name that could be different. 26 00:01:56,540 --> 00:01:59,820 Universal daemonization. The idea everything has a daemon 27 00:01:59,960 --> 00:02:04,460 emanates from it. Universal object interaction. So 28 00:02:04,460 --> 00:02:06,800 everything is an object and you can interact with it in some 29 00:02:06,800 --> 00:02:14,060 sort of way. Programmable object interfaces. POIs. You 30 00:02:14,060 --> 00:02:19,340 know, this could potentially be a better name. Transpuregated 31 00:02:19,340 --> 00:02:22,380 phase inversion. I made that up. I don't know what it means. 32 00:02:22,560 --> 00:02:26,180 But it might actually be a better name than Internet of 33 00:02:26,180 --> 00:02:29,940 Things. So defining IOT is a little bit complicated. You 34 00:02:29,960 --> 00:02:35,800 know, IOT, I think it comes down to what definition you want to 35 00:02:35,800 --> 00:02:40,440 use. You know, what are popular definitions versus what are 36 00:02:40,440 --> 00:02:44,840 better ones. So Wikipedia has a pretty decent one. Network of 37 00:02:44,840 --> 00:02:48,960 physical objects or things enabled with electronics. Makes 38 00:02:48,960 --> 00:02:51,940 a lot of sense. Oxford has a slightly more concise version. 39 00:02:52,840 --> 00:02:56,280 Everyday objects have network connectivity. That makes sense. 40 00:02:56,520 --> 00:02:59,460 The one I really like and the one I usually try to use, 41 00:02:59,540 --> 00:02:59,940 especially when I'm working on a project, is the one that I 42 00:02:59,960 --> 00:03:04,560 use with, you know, manager types and such. Interface 43 00:03:04,560 --> 00:03:08,840 between the physical and digital world that allows one to gather 44 00:03:08,840 --> 00:03:13,780 information from and control everyday objects. So I think 45 00:03:13,780 --> 00:03:21,700 this is an intuitive one. So the question is, and this is really 46 00:03:21,700 --> 00:03:25,680 the heart of the talk, right? When you have a random object, a 47 00:03:25,680 --> 00:03:29,940 random thing that you're going to test, what do you do to it? 48 00:03:29,960 --> 00:03:34,860 How do you test it? What is your methodology? So it might be a 49 00:03:34,860 --> 00:03:39,760 white box. It might be a plane. Might be a toothbrush. Might 50 00:03:39,760 --> 00:03:44,740 be a SCADA network, ICS network. Could be a sniper rifle. You 51 00:03:44,740 --> 00:03:49,380 guys heard about the hack that just happened? Basically it was 52 00:03:49,380 --> 00:03:53,660 possible to change the target of a sniper rifle over the network. 53 00:03:55,020 --> 00:03:59,940 Which is a big, big problem. They, I don't know, I don't know 54 00:03:59,960 --> 00:04:01,320 if you guys have heard of it. The researcher said that other 55 00:04:01,320 --> 00:04:07,580 than this, it was pretty locked down. So that's cool. One thing 56 00:04:07,580 --> 00:04:12,360 that IOT is definitely not is only the security of a device. 57 00:04:14,080 --> 00:04:17,440 That's kind of a big misconception. We've actually 58 00:04:17,440 --> 00:04:21,760 talked to a lot of different manufacturers of these products 59 00:04:21,760 --> 00:04:25,320 and talked to them about what are you doing for IOT security 60 00:04:25,320 --> 00:04:28,320 and they say, well, you know, it's not that big of an issue. 61 00:04:28,480 --> 00:04:29,940 We keep pretty strong control over the security of the 62 00:04:29,940 --> 00:04:31,080 device. We keep pretty strong control over our source code. 63 00:04:32,060 --> 00:04:34,860 And they think if you don't have source code, if you don't have 64 00:04:35,680 --> 00:04:39,960 perfect physical access to the device itself, then you have 65 00:04:39,960 --> 00:04:43,880 good IOT security. And that's not the case. You've got all 66 00:04:43,880 --> 00:04:48,020 sorts of applications facing the IOT device or the device itself. 67 00:04:48,260 --> 00:04:51,680 You've got mobile apps. You've got network connectivity. You've 68 00:04:51,680 --> 00:04:54,940 got an admin interface. You've got cloud connectivity. And you 69 00:04:54,940 --> 00:04:59,920 have to test all of that. So existing approaches to sort of 70 00:04:59,940 --> 00:05:02,840 finding these wrongs, right, you look at a collection of common 71 00:05:02,840 --> 00:05:07,720 vulnerabilities. So there's lists out there. We have a list. 72 00:05:08,740 --> 00:05:12,720 That's one approach. You can pull up your own go to list that 73 00:05:12,720 --> 00:05:16,760 you've sort of made yourself. That's one option. You can kind 74 00:05:16,760 --> 00:05:19,600 of think about all the things that happen bad in the news and 75 00:05:19,600 --> 00:05:24,460 sort of check for them. And just sort of think about, you know, 76 00:05:24,480 --> 00:05:29,440 what else happened and doesn't apply to my device. So OWASP is 77 00:05:29,940 --> 00:05:35,680 a project that goes by the list approach. And, you know, it's 78 00:05:35,680 --> 00:05:39,840 made a lot of progress. It's done some good things. There are 79 00:05:39,840 --> 00:05:45,160 some shortcomings, though. One of them is that vulns are mixed 80 00:05:45,160 --> 00:05:48,260 with threats, are mixed with vulnerabilities. We have C surf 81 00:05:48,260 --> 00:05:53,260 at the same level as injection. It's confusing to people. I 82 00:05:53,260 --> 00:05:56,460 still think it does more net good than harm. So I think it's 83 00:05:56,460 --> 00:05:59,780 still a good project. And we're definitely not sort of throwing 84 00:05:59,940 --> 00:06:07,260 stones because we lead the OWASP IOT project and also the mobile 85 00:06:07,260 --> 00:06:12,420 project as well. So, yeah, we know the limitations. And we 86 00:06:12,420 --> 00:06:18,900 think it's more good than harm. What we decided to do, though, 87 00:06:18,940 --> 00:06:23,360 with this project is build a high level umbrella project, 88 00:06:23,520 --> 00:06:27,080 which is the IOT project, and then have underneath it separate 89 00:06:27,740 --> 00:06:29,920 distinctions for attack surfaces, attack surfaces, and 90 00:06:29,940 --> 00:06:33,960 testing guide, top vulnerabilities and that sort of 91 00:06:33,960 --> 00:06:36,160 thing. And what we're talking about today is the attack 92 00:06:36,160 --> 00:06:43,020 surfaces. So different approaches. So checking against 93 00:06:43,020 --> 00:06:47,900 the list of vulns. Going to your favorite issues. And 94 00:06:47,900 --> 00:06:52,060 finally, what are all of the attack surfaces that could 95 00:06:52,060 --> 00:06:56,120 possibly exist on any type of device? Right? Doesn't matter 96 00:06:56,120 --> 00:06:59,320 what type of device it is. Trying to make it universal for 97 00:07:00,080 --> 00:07:05,380 a million node massive network that is global versus whatever, 98 00:07:05,540 --> 00:07:13,360 a toaster. So step through now the actual attack surfaces. So 99 00:07:13,360 --> 00:07:18,180 first one is ecosystem access control. So this is the idea 100 00:07:18,180 --> 00:07:22,820 that going back to the idea of an IOT product being a complete 101 00:07:22,820 --> 00:07:26,720 ecosystem, you've got to look at everything, how the mobile 102 00:07:26,720 --> 00:07:29,920 app talks to the device, how it talks to the web app. You've 103 00:07:30,560 --> 00:07:33,040 got to look at how the web app talks to the internet, how the 104 00:07:33,040 --> 00:07:36,680 network traffic moves, everything. And you've got to 105 00:07:36,680 --> 00:07:39,000 look at the trust relationships between these components. 106 00:07:39,420 --> 00:07:43,400 Right? Sometimes mobile apps are trusted to talk to the web 107 00:07:43,400 --> 00:07:47,940 interface and vice versa. So it's bad news. And this is the 108 00:07:47,940 --> 00:07:55,140 idea of overall security of that web. Next one is device memory. 109 00:07:55,360 --> 00:07:58,440 This one is pretty intuitive. But we're trying to isolate them 110 00:07:58,440 --> 00:07:59,080 very directly. 111 00:08:00,840 --> 00:08:03,800 Usernames, passwords, keys, all sorts of stuff can be 112 00:08:03,800 --> 00:08:07,600 found in device memory. Kind of typical of a thick client 113 00:08:07,600 --> 00:08:13,780 assessment. Physical interfaces of devices. This is something 114 00:08:13,780 --> 00:08:17,360 that people do naturally associate with an IOT 115 00:08:17,360 --> 00:08:22,020 assessment. And this is what can you plug into? How can you 116 00:08:22,020 --> 00:08:26,140 access the circuit board to get a root shell? How can you, you 117 00:08:26,140 --> 00:08:28,600 know, press a button on the back and reset it to a default? 118 00:08:29,940 --> 00:08:32,260 You know, in the security community we've always known 119 00:08:32,260 --> 00:08:35,640 that once you have physical access, oftentimes you have 120 00:08:35,640 --> 00:08:38,240 control of the device. So this is kind of going in that 121 00:08:38,240 --> 00:08:42,040 direction. You definitely need to test physical ports to the 122 00:08:42,040 --> 00:08:47,120 box. Next the device usually has a web interface on it. And 123 00:08:47,120 --> 00:08:53,100 it's usually like 1999 over again on that web interface on 124 00:08:53,100 --> 00:08:56,600 the device. So you have just the classic stuff. You can do 125 00:08:57,280 --> 00:08:59,920 whatever you want. Hit it with an automated scanner. You can do 126 00:08:59,920 --> 00:09:06,780 all kinds of stuff. We have in our research. The device 127 00:09:06,780 --> 00:09:10,420 firmware. This is a really cool surface area. You can find all 128 00:09:10,420 --> 00:09:15,360 kinds of stuff. Very similar to like a memory dump. Hard coded 129 00:09:15,360 --> 00:09:18,100 passwords, sensitive URLs you can pull out of the firmware. 130 00:09:20,780 --> 00:09:25,220 Device network services. We've tested a number of devices in 131 00:09:26,100 --> 00:09:29,900 our research where there were actually a number of devices that 132 00:09:29,920 --> 00:09:33,380 were actually listening open ports with root shells available and 133 00:09:33,380 --> 00:09:37,140 listening. So you absolutely have to test it from a network 134 00:09:37,140 --> 00:09:40,200 security standpoint as well. You not only can get shells, but 135 00:09:40,200 --> 00:09:44,620 you can get banner information, pull content out of the banners 136 00:09:44,620 --> 00:09:49,780 that come back. Stuff like that. So the administrative 137 00:09:49,780 --> 00:09:54,280 interface. So we have this listed separately from the web 138 00:09:54,280 --> 00:09:59,620 interface that is on the device. Right? It might not be. 139 00:09:59,920 --> 00:10:03,000 There might be some admin functionality on that system. 140 00:10:03,240 --> 00:10:06,580 But there could be a whole separate interface that manages 141 00:10:06,580 --> 00:10:08,660 it. It could be a thick client. It could be another web 142 00:10:08,660 --> 00:10:15,300 application. Whatever it is. But think airplane or ICS system. 143 00:10:15,660 --> 00:10:18,500 There could be. You need to find out if you're testing an ICS 144 00:10:18,500 --> 00:10:22,480 system or SCADA system, is there another module that I can 145 00:10:22,480 --> 00:10:26,340 download, install, whatever that also controls this entire 146 00:10:27,280 --> 00:10:29,760 interface. And if it's web, then you hit it with the web 147 00:10:29,760 --> 00:10:36,200 attacks network. You hit it with network attacks. Local data 148 00:10:36,200 --> 00:10:40,080 storage. So there's oftentimes storage on the physical device as 149 00:10:40,080 --> 00:10:44,620 well. Looking there for local storage is the same as any other 150 00:10:44,620 --> 00:10:49,240 platform where you're looking at data. Right? Is it encrypted? 151 00:10:49,580 --> 00:10:52,340 What kind of key management is there to pull this stuff off? 152 00:10:52,500 --> 00:10:58,300 That sort of thing. So cloud web interface. So not only is there 153 00:10:58,300 --> 00:10:59,740 a web interface, but there's also a web interface that can 154 00:11:00,300 --> 00:11:02,080 be used as an application sitting on the device itself. 155 00:11:02,360 --> 00:11:06,120 There's oftentimes a whole separate cloud interface. And 156 00:11:06,120 --> 00:11:08,660 this is really bad because this is where the IOT comes in. 157 00:11:08,840 --> 00:11:11,700 Right? Because now maybe there's millions of these devices. 158 00:11:11,960 --> 00:11:14,500 They're all out there and available. Now you've got the 159 00:11:14,500 --> 00:11:18,480 same list of vulnerabilities that you normally check for. In 160 00:11:18,480 --> 00:11:22,080 particular, in our research, we found so many that have massive 161 00:11:22,080 --> 00:11:24,880 flaws with weak passwords. The password is already out there on 162 00:11:24,880 --> 00:11:29,740 the Internet for auto config. No account lockout. You can't 163 00:11:29,760 --> 00:11:33,020 log in. No notifications of someone logging in from another 164 00:11:33,020 --> 00:11:36,000 location. All these sorts of problems and it's on the 165 00:11:36,000 --> 00:11:39,080 Internet. Some of our research, we actually looked at ten 166 00:11:39,080 --> 00:11:43,740 different home security cameras. Ten out of ten we could 167 00:11:43,740 --> 00:11:46,720 log in to, look at the inside of the house, see when they're 168 00:11:46,720 --> 00:11:49,880 home, see when they're not home, watch the cameras. It was all 169 00:11:49,880 --> 00:11:55,560 bad news. So definitely have to check the cloud interface. Next 170 00:11:55,560 --> 00:11:59,360 one we specifically break out are third party back end APIs. 171 00:12:00,560 --> 00:12:07,580 So, so much of the time, when you're putting content into an 172 00:12:07,580 --> 00:12:11,900 application, an IOT application, maybe it's a watch, maybe it's a 173 00:12:11,900 --> 00:12:14,540 mobile phone, some sort of device, thermostat, whatever, 174 00:12:15,700 --> 00:12:18,040 you don't know where that data is going. It's actually going 175 00:12:18,040 --> 00:12:22,860 multiple places and oftentimes not very securely. So definitely 176 00:12:22,860 --> 00:12:25,900 want to check if it's going to any third parties in addition to 177 00:12:25,900 --> 00:12:29,740 the regular back end. Next update mechanism is the 178 00:12:29,760 --> 00:12:32,860 update system or next sort of surface area we talk about is the 179 00:12:32,860 --> 00:12:38,020 update system. There are so many vulnerabilities in this. Just off 180 00:12:38,020 --> 00:12:42,300 the top, I mean, you have the transport protocol that's used to 181 00:12:42,300 --> 00:12:46,300 pull down the update. We see tons of FTP. Lots of, you know, 182 00:12:46,320 --> 00:12:51,520 default credentials for FTP credentials. The location of the 183 00:12:51,520 --> 00:12:57,140 update server itself actually being writable for the entire 184 00:12:57,140 --> 00:12:59,740 company, not just for that product. So we've been trying to 185 00:12:59,740 --> 00:13:05,060 lack of signing, so you can just modify any of the content on the server. When they download it, 186 00:13:05,120 --> 00:13:11,340 they download the malicious version. All sorts of things. So updates are super critical. We saw 187 00:13:11,340 --> 00:13:15,720 it with the BMW thing where they sort of did it the right way. Well, they did it the wrong way and 188 00:13:15,720 --> 00:13:22,400 then they quickly changed it to being the right way. So absolutely critical, especially as you 189 00:13:22,400 --> 00:13:27,240 have more and more of these out there. Millions, then billions. If you can't update them, it's a 190 00:13:27,240 --> 00:13:33,520 big problem. Next is a mobile application. This one is somewhat known that a mobile app often 191 00:13:33,520 --> 00:13:39,420 comes with an IOT device. Seems pretty common. And there's a whole suite of mobile application 192 00:13:39,420 --> 00:13:43,580 vulnerabilities that you have to look for. But you also want to look for not just the 193 00:13:43,580 --> 00:13:49,440 vulnerability in the app itself, but how it relates to the rest of the ecosystem. Can it 194 00:13:49,440 --> 00:13:55,340 control the cloud app? Can it do other things? Can it add devices into the ecosystem and out of 195 00:13:55,340 --> 00:13:57,220 the ecosystem? So you want to see how it affects the ecosystem. So you want to see how it affects 196 00:13:57,220 --> 00:14:04,980 the whole thing. Now the vendor back end APIs. So we talked about the third party ones, but 197 00:14:04,980 --> 00:14:10,560 there's also the vendor ones. The question is, what's being sent there? So just because it is the 198 00:14:10,560 --> 00:14:15,240 vendor that's associated with the device doesn't mean you want that data going there. And 199 00:14:15,240 --> 00:14:20,340 oftentimes you're putting in, you know, very personal stuff. And you should assume that it is 200 00:14:20,340 --> 00:14:25,920 going to the vendor if you're putting it in for that product. But oftentimes it goes to three or 201 00:14:25,920 --> 00:14:27,200 four vendor back ends. And you don't want that data going there. So you want to see how it 202 00:14:27,220 --> 00:14:32,240 affects multiple third party back ends. And you want to be able to monitor and check for what 203 00:14:32,240 --> 00:14:38,800 data is going there. And if it's doing it securely. If it's the right protocols and such. So 204 00:14:38,800 --> 00:14:46,520 ecosystem communication. This is another really interesting surface area which is different than 205 00:14:46,520 --> 00:14:53,320 the ecosystem access control. This is basically where the ecosystem might have heartbeats. It 206 00:14:53,320 --> 00:14:57,200 might have, you know, a list of devices that are part of the system. And you want to be able to 207 00:14:57,200 --> 00:15:00,700 monitor them. And it's pinging them to check and see if they're alive, seeing if they're doing okay. 208 00:15:02,480 --> 00:15:09,120 And what is that protocol? What are they using? Is it web services? Is it soap? Is it rest? What is the 209 00:15:09,120 --> 00:15:15,320 off on it? Is it some static token that's just used for days or weeks at a time? And what all can you 210 00:15:15,320 --> 00:15:22,140 push? Right? Can you monitor one of these? Can you replay it? Is there any replay defense? Updates? 211 00:15:22,220 --> 00:15:26,660 Can you push updates automatically that they'll just install? So this sort of infrastructure, 212 00:15:27,200 --> 00:15:34,040 combined with the other ecosystem look, I think gives a really good view of how it's overall 213 00:15:34,040 --> 00:15:41,740 secure. Next one is network traffic. This one is just absolutely critical. So there's tons of land 214 00:15:41,740 --> 00:15:46,780 traffic happening. Especially when you have like an ecosystem like, well, I won't say any names. 215 00:15:46,880 --> 00:15:52,700 But an ecosystem where one hub controls lots of different devices. I mean, there's just lots of 216 00:15:52,700 --> 00:15:57,180 chatter going across the land all the time. Some of which is encrypted. Some isn't. And so, you can 217 00:15:57,180 --> 00:16:01,120 see that. Then you have the content going out to the Internet, from the Internet coming in. All 218 00:16:01,120 --> 00:16:07,440 sorts of different sort of vectors. You also have short range versus long range. You have full 219 00:16:07,440 --> 00:16:13,640 TCP IP traffic going back and forth. You also have, you know, do you have RFID? Is it ZigBee? Is 220 00:16:13,640 --> 00:16:21,160 it, you know, other protocols like that? And this is what we kind of end up with. It's a lot. It's 221 00:16:21,160 --> 00:16:27,160 also not an even number, which super upsets me. But here's what's cool, right? Is when you're 222 00:16:27,180 --> 00:16:34,700 not sure about these, we really like these. We think this is valuable. But we're here so that if 223 00:16:34,700 --> 00:16:40,500 this is a dumb list, you guys can let us know. Right? If you would like to see a couple of these 224 00:16:40,500 --> 00:16:47,280 combined, broken out, added, subtracted, you know, we forgot 17 of them, whatever. Just let us 225 00:16:47,280 --> 00:16:55,200 know. This is the project that houses all this stuff. It is an official OWASP project, OWASP IOT 226 00:17:00,280 --> 00:17:07,920 security project. And that's the URL. So one of the cool things you can kind of do if you think 227 00:17:07,920 --> 00:17:13,720 from like a consulting or for as a manufacturer, what can you do with this? You can do this kind 228 00:17:13,720 --> 00:17:17,680 of mapping. This isn't explicitly part of the project, but this is the type of thing you can do 229 00:17:17,680 --> 00:17:24,760 with it, right? You can go from a surface area and say in a surface area, you can possibly do this 230 00:17:24,760 --> 00:17:27,160 vulnerability and get this type of data. You can go from a surface area and say in a surface area, you 231 00:17:27,160 --> 00:17:31,620 can synchronize this number. Right? This is just a very clear way to see what your problems are. 232 00:17:31,820 --> 00:17:40,660 And how to go about fixing it. So going back to the network real quick. You really want to sort of 233 00:17:40,660 --> 00:17:47,120 talk about this. This is something I find really interesting as a surface area. Is being able to 234 00:17:47,120 --> 00:17:52,220 look at what's going across, if it has any special data in it. This is kind 235 00:17:57,160 --> 00:18:01,520 they get something from Best Buy. They're like, well, yeah, there's one secure connection. It 236 00:18:01,520 --> 00:18:08,240 goes to one server. Everything is fine. This is kind of what they actually have. Clear text 237 00:18:08,240 --> 00:18:13,500 sensitive data. It's going to 15 different locations. They're not even sure how they're 238 00:18:13,500 --> 00:18:21,320 related or what those relationships are. And it's all bad news. So what I like to look for in 239 00:18:21,320 --> 00:18:28,440 PCAPs are how many connections were made while running this IoT application. You know, let's say 240 00:18:28,440 --> 00:18:35,160 it's a smart watch or whatever, a mobile app. And you know you put in whatever, a fake social. You 241 00:18:35,160 --> 00:18:39,660 put in a fake social. You put in a date of birth. You put in whatever, how many heartbeats per 242 00:18:39,660 --> 00:18:45,460 minute you average. Whatever sensitive data you put in. And the question is, where did that get 243 00:18:45,460 --> 00:18:51,300 sprinkled around the entire Internet? How many destinations? Was that data? Was that data 244 00:18:51,300 --> 00:18:57,840 in any of those connections? Did it go to third parties or only the legit back ends? And if you 245 00:18:57,840 --> 00:19:06,060 see any of this data in pure network traffic, why is that bad? Because it wasn't HTTPS, right? So 246 00:19:06,060 --> 00:19:12,760 that could be a problem. So what I've done is put together a tool that will do this for you 247 00:19:12,760 --> 00:19:19,860 automatically. So this tool will take a PCAP, it will parse it, it will break it into its 248 00:19:19,860 --> 00:19:21,280 different pieces. For example, if you have a PCAP, you're going to have a PCAP that will 249 00:19:21,280 --> 00:19:25,360 search for each destination that's being communicated with. And then it will search for 250 00:19:25,980 --> 00:19:30,820 sensitive data inside of each of those individual PCAP so it could tell you which 251 00:19:30,820 --> 00:19:38,140 connection actually caused it. So it's actually really easy to do this. There are multiple ways. 252 00:19:38,240 --> 00:19:44,480 You could do it with like virtual switching like on ESXi. But you could just go get this device 253 00:19:44,480 --> 00:19:51,040 first of all. 180 bucks on Amazon. You could actually just tap where you have a choke point that 254 00:19:51,040 --> 00:19:51,740 It goes to the Internet. 255 00:19:52,300 --> 00:19:53,320 Get your PCAP. 256 00:19:54,760 --> 00:20:00,260 And let me just show you real quick what this looks like. 257 00:20:13,020 --> 00:20:13,600 All right. 258 00:20:13,620 --> 00:20:15,400 So, I mean, this is basically what it's doing. 259 00:20:16,020 --> 00:20:17,300 We're running T-Shark. 260 00:20:18,060 --> 00:20:19,500 We're running T-Suite Dump. 261 00:20:20,700 --> 00:20:35,200 Also, we're actually getting a list of bad streams, basically bad honey tokens that are being searched inside of the PCAP. 262 00:20:35,960 --> 00:20:45,840 This is from our Cyclist project, actually, myself and Jason Haddix presented on this at Black Hat Arsenal on Wednesday. 263 00:20:46,520 --> 00:20:47,200 Cool project. 264 00:20:47,280 --> 00:20:48,200 Check out Cyclist. 265 00:20:48,800 --> 00:20:59,060 We're pulling a pattern-matching list, in this case, for PCAPs, streams, and we're searching through them and giving out them. 266 00:21:09,200 --> 00:21:12,840 And I'm at DEF CON, so I'm in video because we're not getting any of it. 267 00:21:15,240 --> 00:21:16,540 So that's the code again. 268 00:21:16,580 --> 00:21:17,580 Again, the Cyclist. 269 00:21:20,820 --> 00:21:24,240 T-Shark, the T-Suite Dump piece. 270 00:21:25,600 --> 00:21:31,780 Again, that's breaking it into an individual host list and then building an individual PCAP for each host. 271 00:21:33,360 --> 00:21:34,820 And now we're going to run it. 272 00:21:39,760 --> 00:21:42,720 So first thing it does is go in and retrieve the sensitive strings. 273 00:21:44,200 --> 00:21:46,960 And then it starts searching for those strings. 274 00:21:48,200 --> 00:21:49,140 Ignore that top one. 275 00:21:50,540 --> 00:21:52,300 Like to go back to a job on Monday. 276 00:21:54,380 --> 00:22:09,840 So it's looking for AES keys, secret keys, scanning the PCAP again, 64 connections to 41 hosts, shows the actual host names that we're connected to, and shows you the hits. 277 00:22:10,060 --> 00:22:13,440 And this is actively being developed, put together a few days ago. 278 00:22:14,400 --> 00:22:16,920 So it'll probably be a lot better by the time you get back to work. 279 00:22:18,380 --> 00:22:18,860 So it's going to be a lot better by the time you get back to work. 280 00:22:18,860 --> 00:22:31,040 Already breaks out the host, tells you if there are any hits, and these are automatically critical or high findings, especially if it's going to an untrusted host, which I'm about to add a bunch of reputation stuff into it. 281 00:22:31,260 --> 00:22:35,080 So definitely worth checking out. 282 00:22:39,940 --> 00:22:42,780 So I also want to mention a couple of sister projects. 283 00:22:43,060 --> 00:22:48,100 One is I Am the Cavalry, which is run by Josh Corman and a few other guys. 284 00:22:48,200 --> 00:22:49,380 And it's really cool. 285 00:22:49,460 --> 00:22:52,300 It's focused on public safety in IoT. 286 00:22:52,560 --> 00:22:55,780 So car security, airplane security. 287 00:22:56,020 --> 00:22:58,060 They have a five-star system that they're developing. 288 00:22:58,320 --> 00:22:59,680 Definitely worth looking at. 289 00:23:00,160 --> 00:23:05,080 There's also the Build It Securely project run by Mark Stanislav and Zach Lanier. 290 00:23:06,840 --> 00:23:12,260 And this combined with our efforts in OWASP kind of give you a rounded out sort of approach there. 291 00:23:14,700 --> 00:23:16,240 This is a Craig Smith slide. 292 00:23:16,380 --> 00:23:17,660 Craig Smith is sitting right here. 293 00:23:18,200 --> 00:23:23,060 And he's done a tremendous amount of research and work on this project. 294 00:23:23,220 --> 00:23:31,360 So tons of research on the HP side, on the OWASP side, maintaining the project, reaching out to people. 295 00:23:31,480 --> 00:23:33,080 Just massive props to Craig. 296 00:23:34,860 --> 00:23:35,320 All right. 297 00:23:35,820 --> 00:23:36,800 Takeaways and goodies. 298 00:23:38,160 --> 00:23:41,360 So IoT testing is the same as other testing. 299 00:23:42,200 --> 00:23:47,260 And we shouldn't have vuln shaming around IoT not being some sort of elite thing. 300 00:23:49,140 --> 00:23:51,720 IoT security is not device security. 301 00:23:52,060 --> 00:23:55,060 It's absolutely critical to understand, especially for manufacturers, 302 00:23:55,420 --> 00:23:59,420 who unfortunately are the people who get it the least, in my experience. 303 00:24:00,980 --> 00:24:06,780 The attack surface project is basically proposing a universal way to attack IoT. 304 00:24:08,080 --> 00:24:14,560 Any product, any product type, you know, erasers, jet planes, whatever. 305 00:24:15,560 --> 00:24:17,720 A big part of that is the network piece. 306 00:24:19,220 --> 00:24:19,680 And that's the thing. 307 00:24:19,680 --> 00:24:19,880 It's a powerful tool. 308 00:24:19,880 --> 00:24:20,220 It's a powerful tool. 309 00:24:20,460 --> 00:24:22,700 It's a tool that can do that analysis for you. 310 00:24:23,100 --> 00:24:23,820 It's free. 311 00:24:24,000 --> 00:24:24,940 It was released today. 312 00:24:25,200 --> 00:24:27,720 And it will be improved, you know, ongoing. 313 00:24:28,100 --> 00:24:29,120 Craig Smith is awesome. 314 00:24:29,260 --> 00:24:31,060 I think we established this. 315 00:24:31,940 --> 00:24:33,040 And there's a handout. 316 00:24:33,680 --> 00:24:39,540 So we actually have a handout, which is not the exact list that is up there, 317 00:24:39,620 --> 00:24:44,180 but it actually has a whole bunch of different ways to look at any IoT device. 318 00:24:44,400 --> 00:24:46,580 And I think there will be enough. 319 00:24:47,720 --> 00:24:48,180 All right. 320 00:24:48,200 --> 00:24:52,340 that's what it looks like and here's the meta. Happy to take 321 00:24:52,340 --> 00:24:54,320 any questions and I appreciate the time. 322 00:25:34,100 --> 00:25:40,560 Yeah. Yeah. It was discussed a bit last night. But it's a great 323 00:25:40,560 --> 00:25:45,420 point. What's really cool about the umbrella project is that if 324 00:25:45,420 --> 00:25:48,180 someone has an idea like that, any sort of idea that's 325 00:25:58,140 --> 00:26:02,260 under the umbrella but not quite the same, we'd love to have 326 00:26:02,260 --> 00:26:06,600 it and we'd love to have you lead it. So you just signed up. 327 00:26:06,780 --> 00:26:11,080 I mean, I hope you have an OWASP e-mail address. They're free. 328 00:26:12,780 --> 00:26:16,520 Yeah, definitely these types of projects really, really good to 329 00:26:16,520 --> 00:26:18,160 group under it. And it's a really good way to build a 330 00:26:18,180 --> 00:26:20,900 community. And it keeps us from having to use the top ten name, 331 00:26:21,080 --> 00:26:25,860 which is troublesome. The top ten name has done a lot for 332 00:26:25,860 --> 00:26:30,500 people. But it also sort of confuses people and that's why 333 00:26:30,500 --> 00:26:33,360 we're trying to avoid that. So if you have a project idea, 334 00:26:33,520 --> 00:26:38,480 definitely come and contribute and reach out to us and we'd 335 00:26:38,480 --> 00:26:47,680 love to hear from you. Other questions? Which one? 336 00:26:50,020 --> 00:26:56,880 Oh, the device. Yeah, I always confuse dual comm and qualcomm. 337 00:26:57,120 --> 00:27:01,280 Yeah. Yeah, this is the device. You basically have an in and you 338 00:27:01,280 --> 00:27:05,440 have an out, and you have the where all that traffic is going. 339 00:27:06,300 --> 00:27:09,620 Right. And actually if you just Google the device, it's got a 340 00:27:09,620 --> 00:27:13,060 full dock on how to configure the various ports for where you 341 00:27:13,060 --> 00:27:18,160 get the packets. Yeah, and it's up to gigabyte to gigabyte. So 342 00:27:18,160 --> 00:27:34,680 bit. So. Any other questions? All right. So Jason Haddix is 343 00:27:34,680 --> 00:27:38,960 right here in the front row. He is speaking at 4. Just erase all 344 00:27:38,960 --> 00:27:48,140 other things that are at 4 o'clock and go to his talk. You 345 00:28:11,000 --> 00:28:17,600 should definitely go. I'll be there. All right. Thanks a lot. 346 00:28:18,140 --> 00:28:19,960 Thank you.