1 00:00:00,000 --> 00:00:03,160 All right, guys. Looks like I'm going to get started. It's 5.01 2 00:00:03,160 --> 00:00:08,400 now. All right. So my talk is going to be about IOT, basically 3 00:00:08,400 --> 00:00:12,940 securing it how we can, a little bit of downfalls. I'll start with 4 00:00:12,940 --> 00:00:18,640 some basics. My name is Aaron. I'm a pen tester. I'm also a 5 00:00:18,640 --> 00:00:22,120 leader for OWASP, Cloud Security Alliance, and HCCIA in the Los 6 00:00:22,120 --> 00:00:25,420 Angeles area. Amongst other things, we put on conferences 7 00:00:25,420 --> 00:00:30,440 like AppSec California, all the OWASP chapters kind of get 8 00:00:30,440 --> 00:00:33,260 together in Santa Monica, have a conference. It's pretty awesome. 9 00:00:33,560 --> 00:00:35,600 If you guys haven't checked it out, you guys definitely should. 10 00:00:37,140 --> 00:00:39,460 There's my Twitter handle if you guys want to catch me, my 11 00:00:39,460 --> 00:00:41,860 research. Usually my research. I don't put anything personal out 12 00:00:41,860 --> 00:00:46,340 there, to be honest with you. So I'm going to go through just 13 00:00:46,340 --> 00:00:51,040 about how these devices are created, you know, where they're 14 00:00:51,040 --> 00:00:54,900 coming from, what type of companies are getting involved. 15 00:00:55,420 --> 00:00:59,600 The supply chain process, manufacturing, the issues and 16 00:00:59,600 --> 00:01:02,380 kind of regulations part, and then how, you know, we can maybe 17 00:01:02,380 --> 00:01:09,240 move forward and start fixing these things. So just general 18 00:01:09,240 --> 00:01:13,320 definition, IOT, network connected object, in and out 19 00:01:13,810 --> 00:01:17,900 from external network, internal. You know, you guys know the whole 20 00:01:19,980 --> 00:01:25,100 cars, you have your routers, your cameras, everything, the 21 00:01:25,100 --> 00:01:25,400 whole nine-to-nine stuff. So I'm going to talk a little bit about the 22 00:01:25,400 --> 00:01:30,420 network. You have your health, you have your FitBid, you have 23 00:01:30,420 --> 00:01:33,380 your watches, like Android Wear like I have myself. Everything 24 00:01:33,380 --> 00:01:37,860 that's network connected can be defined as Internet of Things 25 00:01:37,860 --> 00:01:42,460 device. So what it takes, it usually starts with some sort of 26 00:01:42,460 --> 00:01:45,300 hardware, right? I mean, same thing with this watch. You have 27 00:01:45,300 --> 00:01:49,880 a board, usually like a PCB board or some sort of like EPROM chip 28 00:01:49,880 --> 00:01:53,560 that, you know, you then build your software stack on. And with 29 00:01:53,560 --> 00:01:55,380 those, you have some sort of platform. You can build a lot of 30 00:01:55,380 --> 00:01:58,740 things. You have, like, HomeKit, OpenWRT, you can use 31 00:01:58,740 --> 00:02:04,420 Linux-based, RTOS-based, which is not based on Linux. You can use 32 00:02:04,420 --> 00:02:08,320 AllJoin, just basically frameworks that can build your 33 00:02:08,960 --> 00:02:13,120 IOT application and device kind of more rapidly and more 34 00:02:13,120 --> 00:02:17,680 uniformly at that. And you have this thing called the cloud. 35 00:02:18,080 --> 00:02:20,480 Anything that has, you know, connects to the cloud to come 36 00:02:20,480 --> 00:02:23,520 back into your internal network to make the commands from usually 37 00:02:23,520 --> 00:02:25,360 your mobile device or a web application. And then you have 38 00:02:28,100 --> 00:02:31,440 these international platforms. It's called everything. So you 39 00:02:31,440 --> 00:02:33,820 have these, you know, Amazon has these little fresh things. Push a 40 00:02:33,820 --> 00:02:37,440 button, kind of orders it for you. Crock Pot, same thing. 41 00:02:37,720 --> 00:02:41,860 They just have basically SDK API that you can connect to as a 42 00:02:41,860 --> 00:02:45,200 developer. From there, you just have your hardware. Send the 43 00:02:45,200 --> 00:02:48,680 commands, usually a REST API. Turns on and off. There's kind 44 00:02:48,680 --> 00:02:52,740 of some basic functions. Motion detection, whatever it is that 45 00:02:52,740 --> 00:02:55,360 your module on the device can do. And then those are connected to 46 00:02:55,380 --> 00:02:58,240 the device is capable of doing. You can then create schedules, 47 00:02:58,920 --> 00:03:01,960 automate things. That's kind of the idea of IoT, make your life 48 00:03:01,960 --> 00:03:06,120 kind of easier. And we'll talk why it can also make your life 49 00:03:06,120 --> 00:03:09,520 more complicated. And there's the protocols that kind of bind 50 00:03:09,520 --> 00:03:13,460 everything together. Wi-Fi, Zigbee, Bluetooth, Bluetooth low 51 00:03:13,460 --> 00:03:20,520 energy, GSM, RFID, Lutron. Some proprietary, some you may never 52 00:03:20,520 --> 00:03:24,160 heard of. Some have security built in. Some have encryption 53 00:03:24,160 --> 00:03:27,640 built in. Not to say that the encryption is suffice. There's 54 00:03:27,640 --> 00:03:30,680 encryption keys out in the wild that you can just, you know, 55 00:03:30,680 --> 00:03:34,900 Google. For example, Zigbee. Zigbee had their link master key 56 00:03:35,440 --> 00:03:38,620 leaked earlier this year. So anybody can create a link 57 00:03:38,620 --> 00:03:43,080 device. Basically a light bulb. So that's awesome. So this is a 58 00:03:43,080 --> 00:03:45,920 great little infographic. But kind of goes from the ground up 59 00:03:45,920 --> 00:03:53,040 of physical up to kind of GSM satellite area. With NFC, you 60 00:03:53,040 --> 00:03:54,140 know, you have kind of close-ups. You know, you can 61 00:03:54,760 --> 00:03:58,200 have close interaction Bluetooth and you have Wi-Fi kind of gets 62 00:03:58,200 --> 00:04:01,460 further. And Zigbee is a little bit further. Same thing with Z 63 00:04:01,460 --> 00:04:04,260 wave and things like that. So you have PAN, local network, 64 00:04:04,600 --> 00:04:08,080 WAN, kind of how all these devices talk. Bunch of different 65 00:04:08,080 --> 00:04:13,400 protocols. Bunch of different specs. Not much of a uniform 66 00:04:13,400 --> 00:04:16,080 manner to create these devices. It's kind of whatever works, 67 00:04:16,120 --> 00:04:20,400 works. And there's a lot of start-ups, right? IoT is like the 68 00:04:20,400 --> 00:04:22,980 hot thing. Everybody wants to create this new hot device, make 69 00:04:22,980 --> 00:04:24,140 your life easier. You know, it's kind of like, you know, it's 70 00:04:24,160 --> 00:04:28,160 like, you know, whatever it is, you know, who has time to bind 71 00:04:28,160 --> 00:04:32,440 all these protocols together to talk to one another. And with 72 00:04:32,440 --> 00:04:36,060 that, you have something called a hub. You may or may not heard 73 00:04:36,060 --> 00:04:38,460 of the Wink Hub. You have Insteon Hub. You have Samsung 74 00:04:38,900 --> 00:04:42,940 SmartThings Hub. And what these do is basically bridge all those 75 00:04:42,940 --> 00:04:46,560 protocols together so you can manage your devices from one 76 00:04:46,560 --> 00:04:49,760 application. Makes your life kind of simpler. But then again, 77 00:04:50,180 --> 00:04:52,940 opens your attack surface even more. You have not only the 78 00:04:52,940 --> 00:04:54,140 native app, but the, you know, the, you know, the, you know, 79 00:04:54,140 --> 00:04:58,220 the hub app that you'd have to worry about security-wise. And 80 00:04:58,220 --> 00:05:01,900 then if you're plugging in as the manufacturer, you have to worry 81 00:05:01,900 --> 00:05:05,200 about the SDK you're plugging into. So just keep that in mind 82 00:05:05,200 --> 00:05:08,300 as I go along all these kind of different building blocks as it 83 00:05:08,300 --> 00:05:10,960 takes to create this one little device that may be, you know, 84 00:05:12,580 --> 00:05:15,040 this book that is connected to the Internet. I don't know. It 85 00:05:15,040 --> 00:05:19,600 tells me what page I'm on. It doesn't matter. So according to 86 00:05:19,600 --> 00:05:22,920 Gartner, there's going to be 4.9 billion devices connected by the 87 00:05:22,920 --> 00:05:24,120 end of 2015. You know, it's going to be, you know, it's going 88 00:05:24,140 --> 00:05:26,060 to be a lot of work. So we're probably already there. It's 89 00:05:26,060 --> 00:05:30,420 just, it's just getting crazy. So with these hardware that I was 90 00:05:30,420 --> 00:05:32,840 speaking of, you have, you know, the PCB boards, actually, 91 00:05:32,880 --> 00:05:39,200 the low layer, low layer design. Boards actually have the pads, 92 00:05:39,400 --> 00:05:42,260 the leads. You know, you have to have a certain expertise. 93 00:05:42,460 --> 00:05:45,040 Usually in a company, there's maybe four or five from a 94 00:05:45,040 --> 00:05:49,100 manufacturing side of things. You know, you have to, there's 95 00:05:49,100 --> 00:05:53,160 different layers, silk screens. That all comes into play from the 96 00:05:53,160 --> 00:05:54,120 attacker side of things. So I think that's the main thing. I'm 97 00:05:54,140 --> 00:05:54,880 going to talk a little bit more about the attacker perspective. 98 00:05:55,760 --> 00:05:58,960 When you're trying to take these devices apart, you're going to want 99 00:05:58,960 --> 00:06:01,340 to know how these devices are put together in order to take them 100 00:06:01,340 --> 00:06:04,340 apart and not break the devices. There's something called 101 00:06:04,340 --> 00:06:09,180 reflow. And what reflow basically does is loosen up the metal on 102 00:06:09,180 --> 00:06:11,820 the chips and you can basically just take it off by heating it, 103 00:06:11,900 --> 00:06:14,320 putting it in a microwave, which is what this is showing here, 104 00:06:14,360 --> 00:06:19,880 this illustration. Now, here's the fun stuff. It's going to get a 105 00:06:19,880 --> 00:06:22,120 little bit more interesting. So there's something called BSPs, 106 00:06:22,200 --> 00:06:24,120 board support packages. And, you know, there's a bunch of 107 00:06:24,140 --> 00:06:25,620 different ways to do this. You're probably familiar with 108 00:06:25,620 --> 00:06:29,500 MarVal as one of the big ones when you go through. If you guys 109 00:06:29,500 --> 00:06:32,440 have Wi-Fi, your Wi-Fi chipset, you'll see like MarVal something 110 00:06:32,440 --> 00:06:35,800 and a different other Wi-Fi interface. These are the guys 111 00:06:35,800 --> 00:06:39,240 who create the drivers that talk from, you know, the hardware to 112 00:06:39,240 --> 00:06:44,800 software. And you have, you know, other companies like Texas 113 00:06:44,800 --> 00:06:50,340 Instruments, Intel, Broadcom especially. These are kind of 114 00:06:50,340 --> 00:06:53,640 the big ones, though, like Broadcom, MarVal that create that 115 00:06:54,140 --> 00:06:57,120 relationship between the hardware itself to the software. 116 00:06:57,660 --> 00:07:00,580 These are all external parties. They all have their own software 117 00:07:00,580 --> 00:07:03,660 development teams. They all have their own QA cycles. This is 118 00:07:03,660 --> 00:07:07,200 kind of like the layer one, the level one of how to, you know, 119 00:07:07,240 --> 00:07:09,900 what the first software stack that gets built on these devices. 120 00:07:10,120 --> 00:07:13,820 You can think of it that way. From there, you have your ODM, 121 00:07:14,500 --> 00:07:20,640 another additional layer of software SDKs that are being 122 00:07:20,640 --> 00:07:24,000 plugged into this one device that you're trying to create. And, 123 00:07:24,140 --> 00:07:29,640 again, the ODM is basically another third party. Often, 124 00:07:29,900 --> 00:07:33,800 usually another smaller party. It could be a company of 10, 15 125 00:07:33,800 --> 00:07:37,980 people that kind of just spit out, you know, a software stack, 126 00:07:38,260 --> 00:07:43,160 a user interface that another company can put their logo on, a 127 00:07:43,160 --> 00:07:46,260 mobile application. It could be another startup as well. They're 128 00:07:46,700 --> 00:07:53,160 usually kind of spinoffs. And, again, just another API SDK that 129 00:07:54,140 --> 00:07:56,520 you can plug into in order to create their own application. So 130 00:07:56,520 --> 00:07:59,840 it's the idea of rapid development. The faster you can 131 00:07:59,840 --> 00:08:02,100 go to market, the more money you're going to get profit off 132 00:08:02,100 --> 00:08:05,400 of. And, again, these are a dime a dozen. There's many ODMs 133 00:08:05,400 --> 00:08:08,980 in China, kind of in the Middle East area as well. And in the 134 00:08:08,980 --> 00:08:13,120 manufacturing standpoint, kind of the cheapest bid wins, whether 135 00:08:13,120 --> 00:08:16,880 it's ODM and as well as a chip. So when you kind of question 136 00:08:16,880 --> 00:08:18,960 yourself, you know, why don't these manufacturers put secure 137 00:08:18,960 --> 00:08:21,680 elements into these devices, these cameras, whatever it is, 138 00:08:21,720 --> 00:08:24,120 it mostly comes down to dollar wise. And, again, it's kind of a 139 00:08:24,140 --> 00:08:26,920 dollar wise, cent wise, basically. Wi-Fi chip could be 140 00:08:26,920 --> 00:08:29,640 5, 10 cents. Secure element could be 30, 40 cents. And that 141 00:08:30,460 --> 00:08:33,360 multiplies really quick. And with the margins of these 142 00:08:33,360 --> 00:08:36,680 devices, right now the justification may not be there. 143 00:08:36,900 --> 00:08:43,140 For us, for me, yeah. But it's my opinion. So the cloud service 144 00:08:43,140 --> 00:08:47,700 providers. ODMs also use these. So you can have a whole, like 145 00:08:47,700 --> 00:08:49,620 the everything I showed about earlier, the everything platform. 146 00:08:50,100 --> 00:08:53,960 They are the ODM and the cloud service provider. So they also, 147 00:08:54,140 --> 00:08:57,140 you know, host their own cloud to where your data is housed. And 148 00:08:57,140 --> 00:09:00,660 these calls are being made to. So you all have the big ones, the 149 00:09:00,660 --> 00:09:04,960 Amazons, the Googles. They have their security teams. They lock 150 00:09:04,960 --> 00:09:07,460 down their stuff. But have you guys heard of ThingsWorks? 151 00:09:07,780 --> 00:09:10,360 Probably not. Do they have their own security team? I 152 00:09:10,360 --> 00:09:12,680 couldn't find it on LinkedIn. I don't know. I couldn't. I was 153 00:09:12,680 --> 00:09:15,100 trying to dox and I couldn't find much. But, again, another 154 00:09:15,100 --> 00:09:18,680 layer of SDKs that need to be provided in order to create this 155 00:09:19,700 --> 00:09:24,120 IOT device. So it's kind of a big deal. But, again, it's kind of 156 00:09:24,120 --> 00:09:26,460 data going everywhere. Kind of many different software 157 00:09:26,460 --> 00:09:29,740 development teams involved, again, just to create this 158 00:09:29,740 --> 00:09:33,320 device. Then you have, you know, your OEM. The person who 159 00:09:33,320 --> 00:09:38,740 puts their logos on. The resale and support. And I'll warranty 160 00:09:38,740 --> 00:09:41,080 any type of security issues. They usually report it to these 161 00:09:41,080 --> 00:09:44,760 guys. These guys kind of take the PR hit more than anything. 162 00:09:44,960 --> 00:09:48,140 But the ODMs are the ones who they're going to have to report 163 00:09:48,140 --> 00:09:52,900 to, to fix it. So you have ODMs. So when I take a step back and 164 00:09:52,900 --> 00:09:54,100 talk about ODMs. I'm going to take a step back and talk about 165 00:09:55,340 --> 00:10:03,500 drivers, for example. What it takes to have SMB or media 166 00:10:03,500 --> 00:10:08,100 sharing. Twonky media sharing. This is all another third party 167 00:10:08,940 --> 00:10:12,340 external development team that creates this. So not only do you 168 00:10:12,340 --> 00:10:15,160 have the ODM, but you also have these drivers as well that are 169 00:10:15,160 --> 00:10:20,400 also farmed out. Another company that's touching this product. So 170 00:10:20,400 --> 00:10:24,100 to actually make that product secure with maybe three or four 171 00:10:24,120 --> 00:10:26,780 other teams, or maybe ten teams, touching one hardware device 172 00:10:26,780 --> 00:10:33,300 is going to be an issue. So here's the general IOT supply 173 00:10:33,300 --> 00:10:36,100 chain process. You have your BSP. The guys who create the 174 00:10:36,100 --> 00:10:38,540 drivers. You have your ODM who build on top of those drivers. 175 00:10:39,040 --> 00:10:42,320 And then you want to create some sort of Cloud infrastructure that 176 00:10:42,320 --> 00:10:46,120 you can talk to and from the device to the Cloud and make 177 00:10:46,120 --> 00:10:49,660 those kind of commands. And then you have the OEM that kind of 178 00:10:49,660 --> 00:10:54,100 puts it out to market. Supports it, warranty. And again, it's a 179 00:10:54,100 --> 00:10:56,220 all these different teams, you probably have five teams, 180 00:10:56,560 --> 00:10:58,960 whatever, Waterfall, Scrum, whatever it is, 181 00:10:59,040 --> 00:11:00,480 they're all doing their own process, procedures, 182 00:11:01,560 --> 00:11:04,080 unit tests, who knows if they're even QA'ing. 183 00:11:05,460 --> 00:11:07,500 So, and then out to market, out to market's key, 184 00:11:07,580 --> 00:11:08,540 that's that little world there. 185 00:11:10,920 --> 00:11:13,440 So, keep in mind, everything comes from all around the world. 186 00:11:13,580 --> 00:11:18,680 So, these ODMs, these hardware, the BSPs, everything else, 187 00:11:18,700 --> 00:11:19,880 they are everywhere there. 188 00:11:20,160 --> 00:11:23,220 And, you know, I heard, someone asked me earlier, you know, 189 00:11:23,220 --> 00:11:26,460 can we just bring everything in house and that solve the problem? 190 00:11:26,640 --> 00:11:29,640 It's like, no, because the lowest bidder wins, typically, 191 00:11:29,780 --> 00:11:33,240 and that's just the way it works in this kind of market. 192 00:11:35,360 --> 00:11:37,940 So, you know, when you have everybody touching their hands, 193 00:11:38,040 --> 00:11:40,300 you have the manufacturing, you have people writing the code, 194 00:11:40,380 --> 00:11:45,160 the developers and firmware, the ODMs, the drivers for, 195 00:11:45,340 --> 00:11:47,380 you know, SMB, FTP, things like that. 196 00:11:48,340 --> 00:11:49,960 Again, all around the world, from everywhere, 197 00:11:50,080 --> 00:11:52,940 all different types of styles, languages they're coding in. 198 00:11:53,220 --> 00:11:58,560 C, C++, mostly C, usually in the embedded world. 199 00:11:59,880 --> 00:12:01,900 So, in these startups, for the most part, 200 00:12:02,120 --> 00:12:04,540 you have very few established IOT companies. 201 00:12:04,800 --> 00:12:07,020 And the established ones are the bigger companies 202 00:12:07,020 --> 00:12:08,080 that bought out smaller companies. 203 00:12:08,360 --> 00:12:10,640 So, likely, it's still a startup within a big company. 204 00:12:11,600 --> 00:12:14,100 So, the kind of core functions are usually sales, 205 00:12:14,300 --> 00:12:15,920 project managers, program managers, 206 00:12:16,280 --> 00:12:19,420 and the general engineers, the guys working around the clock 207 00:12:19,420 --> 00:12:21,700 to make this product go to market. 208 00:12:23,220 --> 00:12:25,660 Their job duties, get the business, outreach, 209 00:12:25,900 --> 00:12:28,580 create some relationships, PM's. 210 00:12:28,680 --> 00:12:29,520 You know, you have to prioritize, 211 00:12:29,720 --> 00:12:32,020 get these products, get these products made, 212 00:12:32,200 --> 00:12:33,860 you know, specific engineering teams, 213 00:12:33,940 --> 00:12:35,760 and the engineers write the code day and night, 214 00:12:35,860 --> 00:12:37,360 split up features, UI, UX. 215 00:12:38,380 --> 00:12:40,100 You have Android, you have IOS, 216 00:12:40,120 --> 00:12:44,860 you have many different aspects of coding and coding styles 217 00:12:44,860 --> 00:12:47,300 and coding languages just for these devices. 218 00:12:49,320 --> 00:12:52,680 And I say that because who is looking at security, right? 219 00:12:53,300 --> 00:12:57,920 Who has the dollar amount? Who has the expertise? These guys are all startups. These guys, 220 00:12:59,240 --> 00:13:07,740 not to say startups aren't security conscious, but it becomes a question of should we invest 221 00:13:07,740 --> 00:13:11,840 now or should we invest later? Do we even want to worry about it now? Do we want to just get 222 00:13:11,840 --> 00:13:19,280 money is the typical response you get from the startups. So usually you'll see fails. I don't 223 00:13:19,280 --> 00:13:26,040 know how many of you guys are researchers, IOT researcher, any type of researcher, mobile. If 224 00:13:26,040 --> 00:13:30,880 you've ever looked at some of these IOT devices, mobile app, web app, things like that, it's 225 00:13:30,880 --> 00:13:37,240 insane. I'm kind of going to go through some of them. So here's kind of the attack surface. I'll 226 00:13:37,240 --> 00:13:42,580 start from the low level which is the hardware. You have things like UART, JTAG, the EPROM chip, 227 00:13:43,800 --> 00:13:49,260 SPI, SOIC, I2C buses and you also have the tools to kind of manipulate these. You have the 228 00:13:51,480 --> 00:14:03,360 ZIPITER, BUSPIRATE, FLASHROM, just use general E tools as in like electronic engineer 229 00:14:03,360 --> 00:14:11,860 tools basically to spectrum analyze and things like that to short out to get a U-boot shell for 230 00:14:11,860 --> 00:14:18,320 example. And chip quick to take these chips apart. And that's right there, that's a linksys 231 00:14:18,320 --> 00:14:19,260 router, by the way. So that's what I'm going to show you. So I'm going to show you the 232 00:14:21,100 --> 00:14:25,300 tool chain. And you have the embedded side of things. And you have like a Linux kernel running 233 00:14:25,300 --> 00:14:30,060 on these devices. For the most part they are, not all of them are running on Linux. Like I said, 234 00:14:30,140 --> 00:14:36,600 RTOS is another operating system that these devices run off of. So you have the regular, you 235 00:14:36,600 --> 00:14:43,320 know, tool chains of embedded software. Again back to UART. But layer 7 actually with application 236 00:14:43,320 --> 00:14:48,640 layer is what I'm talking about, the transport between the devices to the cloud and back down to 237 00:14:48,640 --> 00:14:51,920 the device. So meaning your house or not from your house. 238 00:14:52,180 --> 00:14:55,640 You could be remote, out driving your car, sending command to 239 00:14:55,640 --> 00:14:57,720 your house and your house sending command back to the 240 00:14:58,220 --> 00:15:00,780 cloud and the cloud back to your device just to make something 241 00:15:00,780 --> 00:15:03,380 work. There's a lot going on in between that and to make that 242 00:15:03,380 --> 00:15:08,920 secure. You know, you have, you know, Bluetooth and E prom and 243 00:15:09,340 --> 00:15:11,440 you know, those are the most common but the less common would 244 00:15:11,440 --> 00:15:15,200 be like, well, they're all kind of common really. But the 245 00:15:15,200 --> 00:15:18,300 kernel is really what's kind of what's key. There's been a kind 246 00:15:18,300 --> 00:15:23,440 of an up rise in the Linux kernel vulnerabilities. You 247 00:15:23,440 --> 00:15:27,360 already had, I looked up last year, 115 CVEs and about half of 248 00:15:27,360 --> 00:15:29,760 them are exploitable. So just think about that, all these 249 00:15:29,760 --> 00:15:33,980 devices being deployed with old kernels, usually 2.6, they're 250 00:15:33,980 --> 00:15:37,560 really, really old, 2.4, 2.3, really, really old, ancient. And 251 00:15:37,560 --> 00:15:40,660 to them, you know, it's not a problem for manufacturers to 252 00:15:40,660 --> 00:15:43,220 create these with old kernels. It just matters if it works to 253 00:15:43,220 --> 00:15:47,900 them for the most part. And you have, as far as attack surface 254 00:15:47,900 --> 00:15:48,280 is concerned, you have, you know, you have a lot of 255 00:15:48,300 --> 00:15:51,840 stuff. You have wireless. You have ZigBee and you have tools 256 00:15:51,840 --> 00:15:53,960 like KillerBee. There's actually another tool I released 257 00:15:53,960 --> 00:15:58,500 yesterday for ZigBee research. I retweeted it on Twitter but I 258 00:15:58,500 --> 00:16:02,840 totally forgot what the name is. Soon ZipRouter is going to be 259 00:16:02,840 --> 00:16:10,520 releasing RFCAT specifically for ZigBee. So 802.4, 802.11.4 260 00:16:11,430 --> 00:16:17,620 spectrum analyzing to listen and receive and transmit. So receive 261 00:16:17,620 --> 00:16:21,300 and transmit. You have Z-Wave. You have just general 802.11, 262 00:16:21,540 --> 00:16:25,840 meaning Wi-Fi, Bluetooth LE, proprietary bands as well that 263 00:16:25,840 --> 00:16:31,480 you can sniff with. Something like TIC1111 is what it is. So 264 00:16:31,480 --> 00:16:34,040 basically you can, that's what, I don't know if you guys heard 265 00:16:34,040 --> 00:16:37,620 of SammyComCore, but that's the kind of the little device he 266 00:16:37,620 --> 00:16:40,860 uses on the little girl device. It's like this little pink 267 00:16:40,860 --> 00:16:44,280 device that he got off of Toys R Us. And it had the same chip 268 00:16:44,280 --> 00:16:45,760 in there. And that's a... 269 00:16:45,760 --> 00:16:46,560 It's IME. 270 00:16:46,560 --> 00:16:50,660 IME, correct. Yes. So that's pretty awesome. And you can 271 00:16:50,660 --> 00:16:52,820 also just buy the chip by itself. It's not too expensive 272 00:16:52,820 --> 00:16:56,340 either. But just think about how, you know, these devices, 273 00:16:56,440 --> 00:17:00,100 they have so much, so much to worry about. But just, you 274 00:17:00,100 --> 00:17:08,900 know, it's just one device. So that's Bluetooth LE. If you 275 00:17:08,900 --> 00:17:13,380 guys have an Ubertooth, those are pretty awesome. You have 276 00:17:13,380 --> 00:17:16,480 Android app security with WebView. You have privacy issue 277 00:17:16,560 --> 00:17:19,440 client side injections, cross site scripting, SQL injections, 278 00:17:19,700 --> 00:17:24,380 the same old, same thing as web. Specific permission issues, 279 00:17:24,740 --> 00:17:27,240 asking too much permissions. I'll get through a couple 280 00:17:27,240 --> 00:17:31,980 slides later demonstrating that with one app specifically. You 281 00:17:31,980 --> 00:17:36,020 have specific activities, broadcast receivers, services 282 00:17:37,100 --> 00:17:40,740 that are only on Android that are not specific to anything 283 00:17:40,740 --> 00:17:44,280 else, like IOS. IOS does not have those type of functions. So 284 00:17:44,920 --> 00:17:46,540 you have, like, 50% of the time, you're not going to have 285 00:17:46,560 --> 00:17:47,840 those. And you can use those filters, intent filters, or what 286 00:17:47,840 --> 00:17:50,640 they call it, to secure those, in a sense, not totally secure. 287 00:17:50,860 --> 00:17:56,160 But, again, just Android security, as a whole, is a huge 288 00:17:56,160 --> 00:17:58,840 attack surface and you can compromise one whole device 289 00:17:58,840 --> 00:18:05,180 based off of one slip up, from the developing standpoint. You 290 00:18:05,180 --> 00:18:07,360 know, you have memory security. So it's the same thing. You 291 00:18:07,360 --> 00:18:10,540 have embedded, and with embedded, you have buffer 292 00:18:10,540 --> 00:18:13,700 overflows and things like that. Phones are still embedded, 293 00:18:14,400 --> 00:18:16,540 embedded devices. Still very rare. But, you know, you have 294 00:18:16,560 --> 00:18:21,120 relevant. It's up to the developer to set up their IDEs 295 00:18:22,540 --> 00:18:27,320 according to or in order to prevent from memory issues. 296 00:18:27,760 --> 00:18:31,760 There's a few switches in Android and iOS which I'll get 297 00:18:31,760 --> 00:18:35,820 to next. And secure storage. You'll see a lot of credentials 298 00:18:35,820 --> 00:18:41,620 being stored on SD card. You'll see them on SQLite databases in 299 00:18:41,620 --> 00:18:43,700 your SD card. You'll kind of just see them in the temp 300 00:18:43,700 --> 00:18:48,980 directory. That's from my experience. And also to think 301 00:18:48,980 --> 00:18:52,880 about transport security. So SSL. Half these people do not 302 00:18:52,880 --> 00:18:55,480 validate their SSL certificates. I'm not even talking about 303 00:18:55,480 --> 00:18:58,180 pinning. I'm talking about validating. Man in the middle, 304 00:18:58,300 --> 00:19:02,360 everything. Actually I haven't even seen one application yet to 305 00:19:03,160 --> 00:19:08,120 pin. To pin correctly I should say. So pinning meaning you're 306 00:19:08,120 --> 00:19:13,540 actually referencing the either the domain and the 307 00:19:13,700 --> 00:19:18,080 certificate hash and only pinning to that certificate. You 308 00:19:18,080 --> 00:19:20,500 can do it a few ways. You can do public key pinning which is 309 00:19:20,500 --> 00:19:26,600 something else. You get a SHA 512 hash. And then there's iPhone. 310 00:19:26,920 --> 00:19:30,240 Again another attack surface. Another way you can compromise 311 00:19:30,240 --> 00:19:33,760 this IOT device. Same thing with web view. A lot of people, 312 00:19:34,000 --> 00:19:40,460 they're hybrid applications. So it's not only specific to iOS but 313 00:19:40,460 --> 00:19:43,640 it also has a web app basically. It uses the web app to perform 314 00:19:43,700 --> 00:19:47,480 its functions. And again you have data protection as well. 315 00:19:47,820 --> 00:19:53,080 Specific API to iOS. You have the cloud API security that it's 316 00:19:53,080 --> 00:19:56,700 talking to. The SDK. Again memory security. And this is 317 00:19:56,700 --> 00:20:00,800 all in Xcode as well. Just three check boxes that puts like a 318 00:20:00,800 --> 00:20:04,960 pie memory canary in there. That way it can't be buff overflow 319 00:20:04,960 --> 00:20:08,180 their application. Same thing with injection attacks. 320 00:20:09,420 --> 00:20:13,680 Transport security. SSL pinning. A lot of what I see a lot of 321 00:20:13,700 --> 00:20:18,560 is kind of the boilerplate SSL code. It's just copy, pasted, 322 00:20:18,740 --> 00:20:24,660 allow all certificates and call it a day. So when you think about 323 00:20:24,660 --> 00:20:27,640 these attacks from IOT standpoint, they're more 324 00:20:27,640 --> 00:20:30,320 targeted. They're more close to home. They're more about your 325 00:20:30,320 --> 00:20:34,180 home. It could be your light, your plug, your camera. It could 326 00:20:34,180 --> 00:20:38,580 be anything. Your crock pot. Start a fire. Whatever it is. 327 00:20:38,640 --> 00:20:40,820 But all this information is being transmitted in the clear. 328 00:20:40,940 --> 00:20:43,020 Anybody can see that information. You could be 329 00:20:44,180 --> 00:20:47,280 sending commands through a coffee shop. Or here you could 330 00:20:47,280 --> 00:20:49,280 end up in the wall of sheep from DEFCON. You're just sending 331 00:20:49,280 --> 00:20:52,560 commands trying to turn off your light or something. SSL is not 332 00:20:52,560 --> 00:20:55,180 being pinned. They wouldn't be able to put that stuff up there 333 00:20:55,180 --> 00:20:58,360 if the application was pinned. Put it that way. That kills like 334 00:20:58,360 --> 00:21:02,220 more than half the attack surface. So it's kind of huge in 335 00:21:02,220 --> 00:21:06,940 the privacy standpoint. Let's see. So logging. Oh, yeah. 336 00:21:06,980 --> 00:21:10,520 Logging with iOS is funny. And the same thing with Android. You 337 00:21:10,520 --> 00:21:13,680 have logcat. You just logcat and you can see the IP address. 338 00:21:14,220 --> 00:21:19,320 The debug code that the developer actually intended to 339 00:21:19,320 --> 00:21:21,620 spit out to the console. So you'll see passwords, 340 00:21:21,900 --> 00:21:30,520 usernames, API keys. You'll see things like, let's see. We'll 341 00:21:30,520 --> 00:21:32,480 just stop there. There's a lot more than that, though. But 342 00:21:32,480 --> 00:21:35,440 iPhone app security for IOT. You also have a home key, which 343 00:21:35,440 --> 00:21:40,480 actually makes use of a secure element in the iOS device. So 344 00:21:40,480 --> 00:21:43,440 if you want to store some secrets, it's more targeted. The 345 00:21:44,480 --> 00:21:49,300 manufacturer could choose to do that with the iPhone devices. 346 00:21:49,760 --> 00:21:52,140 Android might be out of luck. You could use something like 347 00:21:52,140 --> 00:21:57,180 Samsung Knox for a secure element. But just, again, 348 00:21:57,260 --> 00:22:03,440 another way to get into these devices. Web applications, you 349 00:22:03,440 --> 00:22:07,120 know, access controls and databases, web servers. Again, 350 00:22:07,140 --> 00:22:11,040 there's a whole infrastructure behind what these applications 351 00:22:11,040 --> 00:22:13,680 are talking to. It's not just the mobile device, what you're 352 00:22:13,700 --> 00:22:18,360 seeing. It's actually hitting an API endpoint, a rest endpoint. 353 00:22:18,640 --> 00:22:21,380 And then from there, that's just the beginning. It goes from 354 00:22:21,380 --> 00:22:24,260 there to the app server to the database server and all the way 355 00:22:24,260 --> 00:22:27,300 back through. And who knows, you know, how secure that is 356 00:22:27,300 --> 00:22:30,380 between the two. If they use an ORM, how that data is 357 00:22:30,380 --> 00:22:34,260 transformed between your device, between your network and all the 358 00:22:34,260 --> 00:22:37,320 way back. All the languages, third party frameworks. JQuery. 359 00:22:37,580 --> 00:22:40,560 JQuery has a ton of vulnerabilities, DOM cross site 360 00:22:40,560 --> 00:22:43,680 scripting, things like that. Just JavaScript in general. So 361 00:22:43,700 --> 00:22:45,320 it's a lot of work. And Daemon, just listening services 362 00:22:45,320 --> 00:22:48,700 that can compromise everything that this device is providing 363 00:22:49,260 --> 00:22:53,440 benefit for you. Turning your lights on and off, your camera, 364 00:22:53,680 --> 00:22:56,940 humidity, whatever it is, it can actually hurt you more than 365 00:22:56,940 --> 00:23:01,380 benefit you in the long term. And, again, it's a lot of work. 366 00:23:01,760 --> 00:23:04,220 It's a lot of work. Just kind of describing all the attack 367 00:23:04,220 --> 00:23:07,680 surfaces, what it takes to kind of put these devices together. 368 00:23:07,980 --> 00:23:10,440 And this is kind of like the last one here. You have these 369 00:23:10,440 --> 00:23:13,260 desktop applications. You have a CD, whatever it is to set up your 370 00:23:13,700 --> 00:23:17,220 camera. And a lot of times these CDs aren't, you know, locked 371 00:23:17,220 --> 00:23:21,380 down to the best that they could be. Windows, OSX. I saw a talk 372 00:23:21,380 --> 00:23:26,000 yesterday from one of the SINAC guys. And he was actually 373 00:23:26,000 --> 00:23:31,340 describing how when you try to install a new router, it gives 374 00:23:31,340 --> 00:23:36,660 you full rewrite access permissions to the OSX box. And 375 00:23:36,660 --> 00:23:40,800 now you have full access. As for malware, you can just do 376 00:23:40,800 --> 00:23:43,580 whatever you want. Because all these usually typical 377 00:23:43,700 --> 00:23:46,060 things, basically the way these configuration files are stored 378 00:23:46,060 --> 00:23:49,180 are in clear text. It's just referenced in like a nested 379 00:23:49,180 --> 00:23:52,240 file whenever you set up your router. Just kind of spits it 380 00:23:52,240 --> 00:23:55,660 out there. The user name and password. So think about 381 00:23:55,660 --> 00:23:59,020 persistence, malware, bots. It's all very possible. Just another 382 00:23:59,020 --> 00:24:03,300 attack vector that has to be kept in mind. So that's kind of 383 00:24:03,300 --> 00:24:05,900 how developers are after, you know, really have to worry about 384 00:24:05,900 --> 00:24:09,220 all that. Or manufacturers, companies. That's kind of what I 385 00:24:09,220 --> 00:24:13,320 look like after reading all that. No, no. I think this one. 386 00:24:13,700 --> 00:24:18,600 Fits. That's more like me. Especially you guys on Saturday 387 00:24:18,600 --> 00:24:24,420 at 525. Yeah. So here's some known security downfalls I'll 388 00:24:24,420 --> 00:24:32,160 talk about. Sorry. I thought that was funny. It's basically a 389 00:24:32,160 --> 00:24:36,460 quote. All the many hands touching, again, the devices and 390 00:24:36,460 --> 00:24:39,600 they're delivered to you. So, you know, talk about back doors 391 00:24:39,600 --> 00:24:43,180 and hardware-wise. A lot of these devices are, again, 392 00:24:43,300 --> 00:24:43,680 creative. You know, it's a lot of fun. You know, it's a lot of 393 00:24:44,540 --> 00:24:49,440 fun. You hear things from HDL code that you can never even see, 394 00:24:49,500 --> 00:24:54,120 you'll never even know. BSPs can be kind of sketchy sometimes. 395 00:24:55,100 --> 00:24:58,640 Could be a developer who's disgruntled. Whatever it is, 396 00:24:58,800 --> 00:25:02,000 it's hard to kind of knock down the supply chain process and 397 00:25:02,000 --> 00:25:05,500 manufacturing process of these devices just because the nature 398 00:25:05,500 --> 00:25:09,200 in which the market is and how they have been created for 399 00:25:09,200 --> 00:25:13,680 years. Now IOTs just kind of just, you know, have this 400 00:25:13,680 --> 00:25:18,880 having a big upheld in sales and things like that and media and everybody just wants to 401 00:25:18,880 --> 00:25:25,440 create it. But with all the different hands, again, you get things like this. Which is 402 00:25:25,440 --> 00:25:29,380 fine. Some of them are fine. Some of them need to happen for verification purposes. 403 00:25:30,420 --> 00:25:37,100 Like UART pins exposed, but they use simple passwords, no passwords. So serial connections 404 00:25:37,100 --> 00:25:45,040 on the hardware aspect of the device. Just serial headers basically that you connect to. You 405 00:25:45,040 --> 00:25:50,340 have manufacturing debugging scripts. So you'll have services listening, send a certain header 406 00:25:50,340 --> 00:25:56,600 and hey, you have a shell, hey, you have admin access now. These are things that have happened 407 00:25:56,600 --> 00:26:02,700 and I'm sure you guys may or may not have heard of them. You know, again, back doors with 408 00:26:02,700 --> 00:26:07,080 secret user agents. Put a little present there because the developer put a little present 409 00:26:07,100 --> 00:26:12,960 for himself and he can access any router, any camera, anything he wants that's facing the 410 00:26:12,960 --> 00:26:20,800 Internet. Private keys on devices. You know, usually try to put them in a different partition or 411 00:26:20,800 --> 00:26:24,040 thinking that it's safe because it's on the hardware device themselves and no one's going to 412 00:26:24,040 --> 00:26:29,140 get access. People do. It's their device. They can do what they want. And they are going to 413 00:26:29,140 --> 00:26:36,080 look at the hardware. So I wouldn't rely on, you know, private data on any type of client 414 00:26:37,700 --> 00:26:44,460 device. So you have a lot of default passwords as well. A lot of people keep their devices with 415 00:26:44,460 --> 00:26:49,680 default passwords, set up their routers, their cameras, any type of device with their default 416 00:26:49,680 --> 00:26:53,760 passwords. As long as it works, it works and they don't have to worry about it. Set it and forget 417 00:26:53,760 --> 00:27:01,160 it. But that's what a lot of router malware consists of is taking advantage of those people. A 418 00:27:01,160 --> 00:27:06,440 lot of them just kind of scan and there's a few out there that kind of just go through each router 419 00:27:06,440 --> 00:27:07,080 manufacturer and they kind of just scan and there's a few out there that kind of just go through each 420 00:27:07,080 --> 00:27:13,680 router manufacturer and submit based off of CSRF the admin, username, admin password. So admin, 421 00:27:13,740 --> 00:27:19,460 admin, if it's D link, if it's TP link, they'll type in admin, admin one, whatever it is or blank 422 00:27:19,460 --> 00:27:28,140 password. But again, speak about HDL code, be again in back doors that can be so stealthy you 423 00:27:28,140 --> 00:27:32,280 will never even know. And we probably won't know. It's probably already happening. I've heard some 424 00:27:32,280 --> 00:27:37,060 conversations outside that manufacturers are thinking about that. Not manufacturers, but 425 00:27:37,080 --> 00:27:42,340 manufacturers, I'm sorry, BSP and chipset providers. So how can we kind of make this better, 426 00:27:42,440 --> 00:27:48,800 right? Kind of, you know, talking about all the bad things, we kind of want to move forward and see 427 00:27:48,800 --> 00:27:54,700 how we can not get access to shell if someone just gets hardware access, physical access, life's 428 00:27:54,700 --> 00:28:01,640 over. Maybe we can try to put some Tapper resistance on these, you know, headers, UR headers, 429 00:28:01,900 --> 00:28:06,580 JTAG headers, whatever it is. I'll silk screen them, kind of try to put a couple layers for these 430 00:28:06,580 --> 00:28:11,000 researchers or whoever. I mean, the point is to kind of make it harder, life harder. We want it 431 00:28:11,000 --> 00:28:16,420 more secure, but at the same time we want to do most due diligence we can to kind of keep 432 00:28:17,660 --> 00:28:24,140 consumers protected. Maybe some very long passwords to get access to UR or any other type of 433 00:28:24,140 --> 00:28:31,680 interface for default. Default web admin or mobile admin, whatever it is. Password. Doesn't matter. 434 00:28:31,700 --> 00:28:36,560 As long as it's long. Update kernel packages and keep it updated. As you said, if you have a 435 00:28:36,580 --> 00:28:41,160 lot of code, you can send out new products. I think that's kind of huge. Like I said, a lot of old 436 00:28:41,160 --> 00:28:47,900 kernels out there. And it's not, they're not getting any newer. And we, I don't know if you guys 437 00:28:47,900 --> 00:28:52,580 know, but with kernels, it's kind of a pain. They're going to want to change their whole code 438 00:28:52,580 --> 00:28:57,980 base based on the kernel or be scared to change their whole code base based on new kernels. So we 439 00:28:57,980 --> 00:29:02,460 can also harden the operating system. It could be based off BusyBox. Like I said, services running. 440 00:29:02,660 --> 00:29:06,560 You guys hear, like the Parrot, the Parrot drone. That's, you know, it's a little bit of a 441 00:29:06,580 --> 00:29:12,480 mess. That's a few, a few rooms down. I had Talnet open. He just got onto the network. Got on 442 00:29:12,480 --> 00:29:16,980 Talnet and then pressed halt and just the drone died just because it had Talnet. Without that, I 443 00:29:16,980 --> 00:29:21,380 mean, all you have to do is turn off Talnet. If you're not using it, don't use it. That's how I 444 00:29:21,380 --> 00:29:29,960 see it. So it can be anything from Talnet, FTP, SSH, vulnerable services just listening. And then 445 00:29:29,960 --> 00:29:36,460 down to just updating the software stack. Whatever it is, if there's a vulnerability, it has to be a 446 00:29:36,460 --> 00:29:41,300 fast and quick and easy way to update these devices. Otherwise, you're going to have old days 447 00:29:41,300 --> 00:29:46,320 out there that are not going to be fixed and people are going to be vulnerable to these zero day 448 00:29:46,320 --> 00:29:53,040 attacks. And they're going to be exploited. They may not have specific statistics on this, 449 00:29:53,120 --> 00:29:57,540 unless you're running some sort of honeypot or honey net or things like that. But they're 450 00:29:57,540 --> 00:30:03,080 definitely out there and it's definitely real. So with that, you have like secure C functions, 451 00:30:03,280 --> 00:30:06,440 again, all embedded. You know, string copy. You have to have a lot of stuff. So if you're 452 00:30:06,460 --> 00:30:09,720 running some sort of mem copy and things like that. And of course, verify and test your code. 453 00:30:10,040 --> 00:30:16,220 QA your codes. You know, get security teams involved early. We'll talk about other ways you 454 00:30:16,220 --> 00:30:22,280 can, without people who don't have the money to have a security team, there's other ways that you 455 00:30:22,280 --> 00:30:32,380 can test your devices. So here's a little image from, to actually not use like STRL copy. There's 456 00:30:32,380 --> 00:30:36,440 another one from mem copy, but you guys want to take a second, like, let's see if we can get some 457 00:30:37,520 --> 00:30:43,780 security teams involved in this. So basically, they're not validated, so don't use them. I 458 00:30:43,780 --> 00:30:53,480 respect myself. That's why I use printf. All right. So there's also kind of a regulatory 459 00:30:53,480 --> 00:30:58,060 impact. They're trying to make some sort of, some sort of hedge way in this kind of aspect. So, 460 00:30:59,100 --> 00:31:04,800 you know, they made a statement earlier on this year, maybe late last year, trying to implement 461 00:31:04,800 --> 00:31:06,440 security by design rather than, you know, you know, you know, you know, you know, you know, you know, you 462 00:31:06,440 --> 00:31:08,460 know. something about security. So equity afterthought. Guangming security as an after thought. 463 00:31:08,820 --> 00:31:14,180 It's your product and services as an outset of your planning process. So again, get security 464 00:31:14,180 --> 00:31:21,240 involved in design and throughout the SDLC test. And test before code is been deployed. Passed 465 00:31:21,240 --> 00:31:27,460 after it's been deployed, after it's all built. It's kind of the idea. And then privacy by 466 00:31:27,460 --> 00:31:34,180 design. Take as little information as possible from the consumers. These devices, whatever it is. 467 00:31:34,260 --> 00:31:36,420 And any type of platform, Android. So they can sorry for you guys or whatever. But I use privacy by design. 468 00:31:36,420 --> 00:31:44,100 IOS. And it's interesting with the categorization of IOT 469 00:31:44,100 --> 00:31:49,780 devices. They kind of try to put, you know, what is IOT device 470 00:31:49,780 --> 00:31:53,040 and what is not. From the FTC standpoint and the EU commission 471 00:31:53,040 --> 00:31:56,660 standpoint. But at this point there's no regulations for these 472 00:31:56,660 --> 00:32:00,160 consumer devices. So that's kind of the biggest protection at 473 00:32:00,160 --> 00:32:04,100 this point. There's no like PCI or anything like that. There's 474 00:32:04,100 --> 00:32:07,900 no, you know, anything being brought upon the manufacturers 475 00:32:07,900 --> 00:32:11,420 to implement any type of security by design or privacy by 476 00:32:11,420 --> 00:32:17,360 design. So, of course, if it's not, you know, required, they're 477 00:32:17,360 --> 00:32:19,400 not going to do it. It's just more money, more time for them, 478 00:32:19,480 --> 00:32:24,420 more process, process change, things like that. So, yeah, 479 00:32:24,480 --> 00:32:27,500 privacy by design, security by design, yeah, we'll see how that 480 00:32:27,500 --> 00:32:32,080 works. Right when I opened up my IFTTT app, it asked me if I 481 00:32:32,080 --> 00:32:34,080 wanted to read my call log when it has nothing to do with 482 00:32:34,080 --> 00:32:38,060 reading my call log. At all, at all, at all. And then my SMS 483 00:32:38,060 --> 00:32:41,200 messages. It has nothing to do with reading my SMS messages. 484 00:32:41,480 --> 00:32:46,020 So what IFTTT is, it basically, it's almost like a scheduling 485 00:32:46,020 --> 00:32:49,380 tasker. You can set your either IOT devices, Android 486 00:32:49,380 --> 00:32:52,720 devices, your e-mail, things like that and kind of automate 487 00:32:52,720 --> 00:32:56,800 things is the idea. But this controls a lot of like Samsung 488 00:32:56,800 --> 00:32:59,880 smart things and your nest devices and things like that. So 489 00:33:00,520 --> 00:33:04,060 to me I think it fits in the realm of IOT. So we've got a 490 00:33:04,080 --> 00:33:06,320 couple of things here. First of all, if you see apps asking for 491 00:33:07,360 --> 00:33:10,800 permissions that is not necessary, it blows my mind to 492 00:33:10,800 --> 00:33:13,600 think that they're ever going to change their processes according 493 00:33:13,600 --> 00:33:18,300 to FTC unless something is actually regulated by them. You 494 00:33:18,300 --> 00:33:25,020 can't see that, but this is my IFTTT mobile app sending a bunch 495 00:33:25,020 --> 00:33:30,020 of analytics every ten seconds back to their cloud. And I'll 496 00:33:30,020 --> 00:33:32,100 show you right now what it says. But it's literally ten seconds. 497 00:33:32,240 --> 00:33:34,060 I just went to the restroom, came back to the room, went to 498 00:33:34,080 --> 00:33:37,340 the back and I was like, whoa, all right. This is analytics 499 00:33:37,340 --> 00:33:40,000 here and this is what it is. You can't even see it. Basically 500 00:33:40,000 --> 00:33:44,520 client secret, my Android version, my time zone, my device 501 00:33:44,520 --> 00:33:49,840 name, my API level on my Android device, my log in, my 502 00:33:49,840 --> 00:33:54,160 user secret. Every ten seconds. And again, this is obviously 503 00:33:54,160 --> 00:33:59,660 this isn't SSL pin. This is just being shot off. So if I'm in, 504 00:33:59,800 --> 00:34:03,180 you know, again, a coffee shop, whatever it is, you can grab 505 00:34:03,180 --> 00:34:04,060 that easily. You don't have to worry about it. You don't have 506 00:34:04,080 --> 00:34:07,420 to worry about it. It's easy. So privacy by design for an 507 00:34:07,920 --> 00:34:12,060 IoT company like that, I don't know. It doesn't seem like they 508 00:34:12,060 --> 00:34:17,760 take it pretty seriously. So aside from that, with the FTC 509 00:34:17,760 --> 00:34:21,860 statements, what they didn't kind of address is the supply 510 00:34:21,860 --> 00:34:26,080 chain process. Again, how these devices are created and from the 511 00:34:26,080 --> 00:34:30,620 beginning to end. It's kind of how I've been describing. So 512 00:34:30,620 --> 00:34:34,060 again, I kind of just keep talking about it. It's kind of a 513 00:34:34,080 --> 00:34:36,360 liability. These guys aren't going to change unless something 514 00:34:36,360 --> 00:34:40,340 changes with the responsibilities and how they 515 00:34:40,340 --> 00:34:44,520 push these devices to production. You can try your best 516 00:34:44,520 --> 00:34:47,360 to create security agreements. I mean, not security agreements, 517 00:34:47,460 --> 00:34:50,500 but like master service agreements with the ODM so they 518 00:34:50,500 --> 00:34:53,560 can do their own due diligence and security testing and kind of 519 00:34:53,560 --> 00:34:57,180 how partners do to get into companies like Google, 520 00:34:59,060 --> 00:35:01,880 Microsoft, you know, Fox, any type of media company to have 521 00:35:01,880 --> 00:35:04,060 them do a pen test on their app, on their device, on their 522 00:35:04,080 --> 00:35:07,240 SDK, whatever it is, source code analysis, whatever it is, 523 00:35:07,300 --> 00:35:09,800 and then it's vetted out at least. It's looked at. Not to say 524 00:35:09,800 --> 00:35:12,240 that's secure, but at least it's one step towards the right 525 00:35:12,240 --> 00:35:17,060 direction. Again, legal repercussions, I don't know. I 526 00:35:17,060 --> 00:35:20,580 keep thinking about PCI, but again, I think it's just one 527 00:35:20,580 --> 00:35:24,160 step that needs to be taken in order to kind of fix these 528 00:35:24,160 --> 00:35:27,480 problems that we're having. Community projects, you have 529 00:35:27,480 --> 00:35:31,560 OWASP, there's a few, you know, IOT top ten is actually right 530 00:35:31,560 --> 00:35:34,040 here. I don't know who put it here, but if anybody wants to 531 00:35:34,080 --> 00:35:37,900 grab it. So there's also a cloud security alliance. They 532 00:35:37,900 --> 00:35:41,460 have IOT for early adopters, how to deploy these things in 533 00:35:41,460 --> 00:35:45,640 production, how to do threat models, how to pen test these 534 00:35:45,640 --> 00:35:49,320 devices. Really good info out there for anybody to get 535 00:35:49,320 --> 00:35:53,160 involved. I think half the problem is the awareness to 536 00:35:54,100 --> 00:35:57,180 consumers. You know, you don't want to scare them. You want to 537 00:35:57,180 --> 00:36:00,560 make them aware of what these devices are actually doing and 538 00:36:00,560 --> 00:36:04,060 how we can make them, you know, more secure. Because, you know, 539 00:36:04,080 --> 00:36:06,700 again, consumer devices, consumer companies, 540 00:36:08,600 --> 00:36:10,740 manufacturers, if there's a breach like Target, Home Depot, 541 00:36:11,140 --> 00:36:13,780 they're still going to go to Home Depot and Target. So we'd 542 00:36:13,780 --> 00:36:16,680 just rather have them more aware that, hey, yeah, just to let you 543 00:36:16,680 --> 00:36:18,860 know, that guy's going to be viewing, that guy right there is 544 00:36:18,860 --> 00:36:22,280 going to be viewing your camera tomorrow at 12. You know what I 545 00:36:22,280 --> 00:36:25,260 mean? I don't know. Just some things to keep in mind. Not him 546 00:36:25,260 --> 00:36:30,220 specifically, but. So security processing to SDLC, like I said, 547 00:36:30,260 --> 00:36:34,060 product design. From right when the product is being used, you 548 00:36:34,080 --> 00:36:35,980 can think about, okay, I'm building a camera. I'm building 549 00:36:37,260 --> 00:36:40,580 crock pot. What can it do? What can it do? Get security involved. 550 00:36:41,040 --> 00:36:45,680 Let's see what we can, you know, vet out. Have the security in 551 00:36:45,680 --> 00:36:48,520 the calls. You don't have to be on every type of, you know, put 552 00:36:48,520 --> 00:36:51,820 your input on everything. But if you hear something, definitely 553 00:36:51,820 --> 00:36:56,140 put your two cents in. You know, it could be something like a 554 00:36:56,140 --> 00:36:58,240 certification, like Wi-Fi alliance. Maybe a little 555 00:36:58,240 --> 00:37:00,740 sticker. Hey, yeah, this is certified. I don't know. Again, 556 00:37:00,820 --> 00:37:04,060 it's a checklist approach, but it's just one step. I guess 557 00:37:04,080 --> 00:37:07,180 in the right direction that we can try to do. Same thing with 558 00:37:07,180 --> 00:37:09,460 Zigbee. But those are kind of like pay to play type of 559 00:37:09,460 --> 00:37:12,300 organizations. But still, like I said, some sort of certification 560 00:37:12,300 --> 00:37:15,120 that has the bare minimum security. Of course, they're 561 00:37:15,120 --> 00:37:19,080 going to shoot for bare minimum. But again, some sort of step in 562 00:37:19,080 --> 00:37:22,320 the right direction. And who knows? Who knows if that's even 563 00:37:22,320 --> 00:37:26,700 realistic and if it will ever happen. But we'll see. Maybe the 564 00:37:26,700 --> 00:37:30,560 next couple years, few years, as these devices become shooting 565 00:37:30,560 --> 00:37:33,380 up, you know, billions, like we're saying, 20 billion even in 566 00:37:33,380 --> 00:37:34,060 the next few years. We'll see. But we'll see. But we'll see. 567 00:37:35,260 --> 00:37:38,220 So the key is defense in depth. Obviously, there's all these 568 00:37:38,220 --> 00:37:42,260 different attack surfaces, web, mobile, specific Android iOS, 569 00:37:42,740 --> 00:37:49,220 hardware embedded. So do what you can to help. There's 570 00:37:49,220 --> 00:37:52,220 organizations, like I said, OWASP, where you kind of become 571 00:37:52,220 --> 00:37:55,320 more aware in the different testing methodologies. You have 572 00:37:55,320 --> 00:37:59,900 third parties like bug crowd and build it securely, which have 573 00:37:59,900 --> 00:38:03,760 researchers kind of on hold that you can exercise to look at your 574 00:38:04,080 --> 00:38:08,480 IoT devices from the manufacturing standpoint. And bug 575 00:38:08,480 --> 00:38:11,760 crowd, if you're a manufacturer, you can have a private bounty with 576 00:38:11,760 --> 00:38:15,120 bug crowd, send your devices to a few people who are interested, 577 00:38:15,300 --> 00:38:18,640 who know hardware, software, whatever it is, who have kind of 578 00:38:18,640 --> 00:38:20,980 proven themselves in the industry to vet out your 579 00:38:20,980 --> 00:38:24,320 application, your device, your cloud infrastructure, whatever it 580 00:38:24,320 --> 00:38:28,140 is, just so it can have more eyes to be looked at. And the 581 00:38:28,140 --> 00:38:31,780 more, the better is the idea. We just keep hitting these 582 00:38:31,780 --> 00:38:34,060 manufacturers in the head, keep shooting in these bugs. And the 583 00:38:34,060 --> 00:38:36,940 problem is, zero days, whatever it is, because otherwise it's 584 00:38:36,940 --> 00:38:40,600 going to get complicated. And it's getting complicated. But 585 00:38:42,280 --> 00:38:46,820 that's the idea for me, though. All right. That's it. Any 586 00:38:46,820 --> 00:39:02,960 questions, guys? Yes, sir? It's not a matter of, did you say, 587 00:39:03,000 --> 00:39:04,040 like, difficulty? It's not a matter of, like, the 588 00:39:04,060 --> 00:39:06,560 security-wise, how hard is it? It's not a matter of being hard. 589 00:39:06,680 --> 00:39:10,240 I think it's just about the vetting of the new code, QA 590 00:39:10,240 --> 00:39:13,200 test processes. And then if you want to have security tested 591 00:39:13,200 --> 00:39:17,760 again, if it's involved with security, it's just a process 592 00:39:17,760 --> 00:39:22,500 that has to be defined within a manufacturing company. So it's 593 00:39:23,020 --> 00:39:26,120 in an immature state right now. So how many, you know, IoT 594 00:39:26,120 --> 00:39:28,800 consumer companies have security teams? You know what I mean? So 595 00:39:28,800 --> 00:39:32,340 probably a handful. Most of them are big. I think it's more than 596 00:39:32,340 --> 00:39:34,040 that, you know, in one person. Yeah, I think it's more than that. 597 00:39:48,920 --> 00:39:54,140 It's... Okay, so Apache-wise, that's more... Yeah, or LIDAR 598 00:39:54,140 --> 00:39:59,340 CTPD, whatever it is. It's pretty simple. It's usually 599 00:39:59,340 --> 00:40:03,640 already a workflow created for an established company, consumer 600 00:40:03,640 --> 00:40:04,040 device company, and then you give it a couple of years and then you 601 00:40:04,060 --> 00:40:06,500 company. It's just a matter of them if they want to automatically 602 00:40:06,500 --> 00:40:10,480 click in a box. For example, you'll see those on your routers 603 00:40:10,480 --> 00:40:15,620 or your cameras. But some manufacturers, they make it 604 00:40:15,620 --> 00:40:18,680 harder. They make you actually have to go to their website, 605 00:40:18,980 --> 00:40:22,520 download it, save it locally, and then like browse it for the 606 00:40:22,520 --> 00:40:24,980 file, that whole process. So it's kind of up to the 607 00:40:24,980 --> 00:40:27,280 manufacturer how easy they want the workflow to be, the user 608 00:40:27,280 --> 00:40:30,120 experience. But for the most part, for established companies, 609 00:40:30,300 --> 00:40:33,400 it's usually just a click of the box, check now for more 610 00:40:33,400 --> 00:40:37,020 updating. There it is. Light HTTP header is no longer there. 611 00:40:37,200 --> 00:40:42,240 You have no service versions broadcasting. So again, it's 612 00:40:42,240 --> 00:40:45,100 just a matter of maturity, really, on their updating 613 00:40:45,100 --> 00:40:48,400 process. Yes, sir? 614 00:41:08,640 --> 00:41:12,560 So it's hard. How can you do analytics on the number of 615 00:41:12,560 --> 00:41:15,360 researchers who are attacking at the hardware level, on the low 616 00:41:15,360 --> 00:41:18,480 level, the physical level? I mean, it's more of a specialized 617 00:41:18,480 --> 00:41:20,880 area. I mean, there's a lot of them here, a lot of the security 618 00:41:20,880 --> 00:41:25,060 researchers who actually attack at the hardware level. Sometimes 619 00:41:25,060 --> 00:41:28,040 you don't have to. But as far as analytics are concerned, the 620 00:41:28,040 --> 00:41:30,960 number of people or attackers that are doing that, there is no 621 00:41:30,960 --> 00:41:33,380 number. There's no way to kind of keep track of it unless you're 622 00:41:33,400 --> 00:41:36,560 like, hey, you guys have some sort of idea that can maybe work. 623 00:41:36,960 --> 00:41:40,480 Maybe people kind of putting a platform out and kind of like, 624 00:41:40,540 --> 00:41:44,080 hey, I'm one of those guys. I'm a hardware security guy. I 625 00:41:44,080 --> 00:41:46,840 don't know. Maybe the hardware guys, yeah, they're actually 626 00:41:46,840 --> 00:41:52,640 right here. That's probably them. All of them. Any other 627 00:41:52,640 --> 00:41:58,140 questions? Come on, one more? Sweet. Yes. 628 00:42:15,840 --> 00:42:18,700 . Yeah. So the security of the hub you're 629 00:42:18,700 --> 00:42:33,280 saying? . No, no, it connects to your router. So 630 00:42:33,400 --> 00:42:35,880 you pair it with your router and then from there you pair your 631 00:42:35,880 --> 00:42:39,640 device to your hub. And then from there you control it through 632 00:42:39,640 --> 00:42:46,660 your mobile app. . For the most part, there's an 633 00:42:47,580 --> 00:42:51,580 SDK API that one of the hub providers, Wink, SmartThings, 634 00:42:51,580 --> 00:42:55,400 Insteon, they provide that the manufacturer uses to connect to 635 00:42:55,400 --> 00:43:00,240 them. So it's not the same exact code. It's not the same exact 636 00:43:00,240 --> 00:43:03,380 code. But it's just, again, broadening the attack surface. So 637 00:43:03,400 --> 00:43:05,260 it's something else you have to worry about. It's not only your 638 00:43:05,260 --> 00:43:08,720 product now. It's their product that connects to yours. And it's 639 00:43:08,720 --> 00:43:14,000 your home. You have multiple ways to control your device. And 640 00:43:14,700 --> 00:43:18,440 you know, how well can they do it and how well can you do it as 641 00:43:18,440 --> 00:43:23,520 a manufacturer? Anything else? Any other questions? Last ones? 642 00:43:25,800 --> 00:43:28,480 . What's that? Yeah, they're actually on Google 643 00:43:28,480 --> 00:43:31,600 sites. I can even tweet it out if you guys want them. If you 644 00:43:31,600 --> 00:43:33,380 guys have my Twitter handle, I'll tweet it right after the 645 00:43:33,400 --> 00:43:36,640 talk. All right. Thank you. .