1 00:00:00,000 --> 00:00:04,080 The talk for 1230 will be starting as of now. 2 00:00:04,080 --> 00:00:10,020 So please give a round of applause to Lee Brotherston. 3 00:00:11,340 --> 00:00:14,080 I read that for the first time today. 4 00:00:14,560 --> 00:00:17,280 Hey, thank you. 5 00:00:17,360 --> 00:00:23,000 So this is, well, it's my glorious celebration of IOT security, as you can see. 6 00:00:24,380 --> 00:00:27,680 These are the objectives I kind of want to cover today. 7 00:00:27,720 --> 00:00:31,240 An introduction, which in part is this. 8 00:00:31,820 --> 00:00:38,260 Then we'll go into some challenges of IOT, why problems occur, and about how we're doing as security. 9 00:00:38,820 --> 00:00:49,400 So the background on this is very much that, as I'll show in a minute, there are certain IOT talks and IOT types of talk that come up frequently. 10 00:00:49,980 --> 00:00:53,320 But I think that very often the root cause is not always addressed. 11 00:00:53,320 --> 00:01:02,160 So this is aiming more to talk about the root causes and how those problems get established in the first place rather than popping shells and actually demonstrating exploits. 12 00:01:02,780 --> 00:01:05,960 So who am I and why am I talking about this? 13 00:01:05,960 --> 00:01:10,180 Well, I'm a security person, not an IOT person by trade. 14 00:01:10,280 --> 00:01:13,440 I typically work on the defense side of things. 15 00:01:14,060 --> 00:01:17,020 You know, day job is being a defense person. 16 00:01:17,020 --> 00:01:22,620 But more specifically, I'm a security person in an IOT company, specifically Ecobee. 17 00:01:22,820 --> 00:01:29,280 But this equally applies to things I've learned from sort of industry-type events and that sort of thing. 18 00:01:30,980 --> 00:01:43,440 And really, this is the reason I want to talk, because I think that a lot of IOT companies do not have security teams, and a lot of people that give talks at conferences are not from IOT companies. 19 00:01:43,440 --> 00:01:45,780 So I feel like it's hopefully a unique perspective. 20 00:01:46,100 --> 00:01:47,360 Apologies if it's not. 21 00:01:48,040 --> 00:01:53,600 So at the minute, existing talks to me fall into a few, sort of three broad categories a lot of the time. 22 00:01:53,600 --> 00:01:56,440 And that's great, but I wanted to do something different. 23 00:01:56,440 --> 00:02:06,700 The categories being, hey, like, there's an old thing because IOT devices run like Linux from five years ago, so here's a redoing the five years ago Linux exploit talk. 24 00:02:07,640 --> 00:02:11,160 There's normal web app stuff that just happens to be on an IOT device. 25 00:02:11,660 --> 00:02:16,400 Or the common one, which is the, so with physical access to the hardware, I can do a thing. 26 00:02:16,440 --> 00:02:26,140 And these are legitimate in a lot of cases, but if we're talking about threat modeling, you know, with physical access to some big industrial thing, like, that's great. 27 00:02:26,540 --> 00:02:31,700 But if you've already broken into my house, I don't really care if you can reflash my DVD player. 28 00:02:31,700 --> 00:02:34,480 That's, like, not really the threat model that I'm going into. 29 00:02:34,680 --> 00:02:38,000 So, got DVD players showing my age now. 30 00:02:38,300 --> 00:02:44,540 But the point is that that's often not a threat model for most people. 31 00:02:44,540 --> 00:02:50,000 IOT, maybe not exclusively, but for the most part, we're talking about consumer devices in a consumer home. 32 00:02:50,000 --> 00:02:52,680 We're not talking so much about industrial control. 33 00:02:52,680 --> 00:02:54,140 We're not talking about production line. 34 00:02:54,140 --> 00:02:57,280 We're not talking about, like, airlines and public transit and all that kind of stuff. 35 00:02:58,280 --> 00:03:04,920 So, because of that perspective that a lot of people take, it often focuses on the impact of the hack rather than the root cause. 36 00:03:04,920 --> 00:03:06,320 I know I'm generalizing. 37 00:03:06,320 --> 00:03:08,540 I'm not meaning to shoot anyone down there. 38 00:03:09,460 --> 00:03:15,880 It's often largely presented by people outside of IOT just because there are not that many people in security in IOT. 39 00:03:17,060 --> 00:03:21,680 And there's also guesswork because people are, by definition, they're having to reverse engineer things. 40 00:03:21,680 --> 00:03:22,840 They don't work in the companies. 41 00:03:22,840 --> 00:03:25,100 They don't have access to the source code. 42 00:03:25,520 --> 00:03:35,720 They don't have access to schematics, so they're taking devices apart, dumping firmware, that sort of thing, which is awesome, but it does involve a certain level of guesswork and inference. 43 00:03:36,840 --> 00:03:38,740 So, we've seen the headlines. 44 00:03:39,320 --> 00:03:41,900 This mostly covers the sort of stuff we're seeing. 45 00:03:42,120 --> 00:03:48,000 I'm sure everyone in this room has an interest in IOT and so has seen these, although these are slightly dated. 46 00:03:48,000 --> 00:04:00,180 So, to revamp my slides, these are now the headlines that we see, focusing very much on the Alexa's and Google Home's recording things and, oh, my God, privacy, et cetera. 47 00:04:01,300 --> 00:04:11,300 A pretty good base for the main problems, and not a lot of people seem to realize this, is that OWASP have done an IOT-specific top ten, and it's actually pretty good. 48 00:04:11,380 --> 00:04:22,840 And based on what I've seen, both within my own organization and other organizations, I would say it's a fairly representative and characteristic overview of the core issues. 49 00:04:23,060 --> 00:04:26,480 I'm just going to switch the slide, because this was a screen capper there, pretty graphic. 50 00:04:26,480 --> 00:04:29,440 This is the same top ten, just in text you can read. 51 00:04:30,280 --> 00:04:33,660 You probably know them, but we're just going to super quickly skim over them. 52 00:04:33,720 --> 00:04:35,800 So, weak, hard-coded or guessable passwords. 53 00:04:35,800 --> 00:04:41,240 I'm pretty sure you'll have seen the talk here already today where some hard-coded token can be reused. 54 00:04:41,680 --> 00:04:46,740 Insecure network services, so that's like old versions of daemons, old HTTPDs and stuff. 55 00:04:47,400 --> 00:04:53,380 Insecure ecosystems as a whole, because most of these devices, I'm guessing when you buy them, you're not using in isolation. 56 00:04:53,700 --> 00:04:57,100 They often talk to a mobile app, to some, like, web service or something. 57 00:04:57,900 --> 00:04:59,580 Lack of secure update mechanism. 58 00:04:59,580 --> 00:05:06,180 This is a big thing, because IoT devices often don't get updates, or they've got a terrible update mechanism when they do. 59 00:05:06,780 --> 00:05:08,760 Insecure and outdated components. 60 00:05:08,880 --> 00:05:11,040 I believe this is software components. 61 00:05:11,040 --> 00:05:14,080 We're not really talking about outdated capacitors and such like. 62 00:05:14,720 --> 00:05:19,320 Privacy protection is fairly non-existent in many, many areas. 63 00:05:20,300 --> 00:05:23,900 And the same with sufficient data transfer and storage protection. 64 00:05:24,440 --> 00:05:39,440 Device management is mostly referring to the fact that you can't adequately do things like network config, being able to set passwords, being able to set cryptography appropriately on Wi-Fi connections and that sort of thing. 65 00:05:39,740 --> 00:05:42,640 Insecure defaults and lack of physical hardening. 66 00:05:42,980 --> 00:05:50,240 Like I said before, physical hardening is very much threat model dependent, so I'm not going to delve into that one too much. 67 00:05:51,420 --> 00:05:54,360 But really the crux of this is, like, why? 68 00:05:54,700 --> 00:05:57,540 So there are a few areas, and I'm just going to delve into each of them. 69 00:05:57,540 --> 00:05:59,820 I've broken it down into sort of four broad topics. 70 00:06:00,500 --> 00:06:02,260 So first of all, there's the company. 71 00:06:02,480 --> 00:06:11,960 I'm going to get a little bit more into detail on that, but there are effectively three types of companies that make IoT devices right now when we're looking at, like, consumer IoT devices. 72 00:06:12,160 --> 00:06:14,080 So you've got dedicated IoT companies. 73 00:06:14,080 --> 00:06:19,340 The companies where, like, their core product or their flagship product lines are IoT devices. 74 00:06:19,340 --> 00:06:20,600 That's what they do. 75 00:06:21,060 --> 00:06:27,600 You've got tech companies who often make larger sort of commercial grade equipment. 76 00:06:27,660 --> 00:06:35,200 So think, you know, big network provider who's like, I'm going to do a consumer offering, make it a smaller , simpler IoT device. 77 00:06:35,200 --> 00:06:39,880 And then you've got a third type, which is a traditional player in some other market. 78 00:06:39,880 --> 00:06:49,140 So I'm talking when a lock manufacturer decides to do IoT door locks or a kettle manufacturer does an IoT kettle or whatever. 79 00:06:49,140 --> 00:06:53,000 It's like tech is not actually their product. 80 00:06:53,000 --> 00:06:55,080 They're sort of diversifying into that. 81 00:06:55,080 --> 00:06:56,140 I'll come back to that. 82 00:06:57,160 --> 00:06:59,180 There's a product development lifecycle. 83 00:06:59,200 --> 00:07:04,060 That causes a bunch of issues just by the very design of how it has to work, and we'll go into that. 84 00:07:04,400 --> 00:07:07,440 There's actually some logistics issues. 85 00:07:09,060 --> 00:07:16,640 And finally, second to that is economics, which I know this is not really an economics conference, but there are some economic reasons. 86 00:07:16,640 --> 00:07:17,460 I'll touch on that. 87 00:07:17,460 --> 00:07:19,680 Hopefully it'll enlighten a little bit. 88 00:07:19,700 --> 00:07:21,780 And then there's just straight up technical stuff. 89 00:07:22,260 --> 00:07:27,800 So to look at the third company type, the people that work in a non-tech company that are diversifying. 90 00:07:27,940 --> 00:07:33,760 So this is a real photo from Dave's toaster manufacturer company. 91 00:07:34,120 --> 00:07:35,520 They make toasters. 92 00:07:35,520 --> 00:07:38,940 And they realize that, you know, they've got to diversify their market a bit. 93 00:07:39,200 --> 00:07:41,060 Toasters are kind of for old guys. 94 00:07:41,940 --> 00:07:44,100 And they want to broaden out. 95 00:07:44,100 --> 00:07:48,220 So they start thinking about the millennial market so they can get their avocado toast on. 96 00:07:49,040 --> 00:07:51,680 And they think, like, okay, so how can we do this? 97 00:07:51,680 --> 00:07:57,360 Well, we know how to make toasters, and we need to appeal to, like, the kids. 98 00:07:57,500 --> 00:08:04,940 And, like, I hear that guy in IT can do an internet, so we can probably, like, stick these things together and make an IT device. 99 00:08:05,760 --> 00:08:07,140 We should do an IT. 100 00:08:08,480 --> 00:08:09,780 Oh, we should do an IT. 101 00:08:09,780 --> 00:08:10,200 There you go. 102 00:08:10,200 --> 00:08:11,420 So we'll get a toaster. 103 00:08:11,580 --> 00:08:12,200 That's cool. 104 00:08:12,200 --> 00:08:13,380 We know how to do that. 105 00:08:13,440 --> 00:08:18,720 We'll kind of, like, duct tape a raspberry pie to it or something similar, some Arduino or whatever. 106 00:08:18,820 --> 00:08:22,880 It may be prototyping, but I've seen things that end up literally like this for real. 107 00:08:23,680 --> 00:08:29,980 Yeah, and then we'll just apply some duct tape, and, like, it'll all be fine, and we can, like, enter into new markets and become ridiculously rich. 108 00:08:30,200 --> 00:08:31,700 So what does that work out like? 109 00:08:31,920 --> 00:08:33,460 Something like this, probably. 110 00:08:34,000 --> 00:08:37,520 But it's not so far from the truth, worryingly. 111 00:08:37,520 --> 00:08:39,480 And at least these have taken it a little further. 112 00:08:39,480 --> 00:08:42,200 They've put an Alexa on there, so voice activated. 113 00:08:42,200 --> 00:08:42,920 Awesome. 114 00:08:44,080 --> 00:08:47,900 And, of course, that's never caused a problem before, ever, for anyone. 115 00:08:48,840 --> 00:09:04,600 There is the incident of, yeah, of a door-locking manufacturer who didn't really know about uptime and didn't really know about whether to fail open or fail closed, so the locks just stopped working during an outage, which was amazing. 116 00:09:05,620 --> 00:09:16,580 And, obviously, they haven't thought through issues, partly safety and legal issues as well, like, do you want to fail to unlocking everyone's door or locking everyone in the house during a fire? 117 00:09:16,580 --> 00:09:18,760 Neither of those are sort of great situations. 118 00:09:19,100 --> 00:09:21,480 But, yes, that's how they work sometimes. 119 00:09:22,620 --> 00:09:27,580 This is from Tesla, where you can't drive your car because you need an update. 120 00:09:28,220 --> 00:09:32,720 Again, you know, probably not exactly the user experience that people are looking for. 121 00:09:34,260 --> 00:09:45,820 And, yes, this was the backlash from Yale, specifically, from people who were not super-duper happy about the situation when they couldn't use their door anymore. 122 00:09:47,460 --> 00:09:49,620 And so how does this stuff happen? 123 00:09:49,620 --> 00:09:56,560 So this is actually the hardware life cycle for people that work in hardware design and manufacturing. 124 00:09:56,760 --> 00:10:02,500 So the little loopy bit at the beginning is the closest you will ever come to agile in hardware. 125 00:10:02,940 --> 00:10:14,240 This is where people are sat in a lab and they're taking components on and off of a breadboard and, like, moving wires around and that sort of thing and iterating on their design to make a hardware design that works. 126 00:10:15,080 --> 00:10:17,240 And then it naturally goes through a few stages. 127 00:10:17,320 --> 00:10:27,260 People make real PCBs, you know, they 3D print a chassis, they make little prototypes that are good enough for you to test functionality in-house, but they're still not quite the real thing. 128 00:10:27,500 --> 00:10:33,220 And they go through this loop until you land on a fairly solid design. 129 00:10:33,340 --> 00:10:35,380 At that point, you go into EVT. 130 00:10:36,480 --> 00:10:39,240 That's engineering validation and testing. 131 00:10:39,300 --> 00:10:44,340 So this is the hardware equivalent of functional requirements testing. 132 00:10:44,440 --> 00:10:47,940 You're going through and saying, does it do the thing that we designed it to do? 133 00:10:49,580 --> 00:10:57,460 And you're also doing things like getting certifications because hardware manufacturers don't just have to make it do what it says it does. 134 00:10:57,460 --> 00:11:05,660 Unlike software, there are things like electrical safety standards testing and thermal testing and RF emissions testing and all that kind of thing. 135 00:11:06,100 --> 00:11:08,080 So that all happens during this phase. 136 00:11:08,500 --> 00:11:18,920 And what that means is that there are certain changes that will have to happen to hardware and certain things that cannot change in hardware because you have to, you know, meet these requirements or fix a shortcoming. 137 00:11:18,920 --> 00:11:25,380 What that means is that you effectively, from a hardware perspective, have what is like a software change freeze. 138 00:11:26,440 --> 00:11:31,580 The reason I mention this is that until this point, people don't like developing the firmware. 139 00:11:31,640 --> 00:11:40,100 So the firmware development life cycle is not as long as you may think because during this lead up point, hardware is changing. 140 00:11:40,100 --> 00:11:51,940 If you're trying to write device drivers in software and you're constantly changing it because someone is YOLO switching some component out that no longer, you know, different chipsets and stuff, it causes all sorts of havoc with that. 141 00:11:52,580 --> 00:11:57,640 But then once you've frozen it, then the reverse is true. 142 00:11:57,640 --> 00:12:04,960 You can develop all you like, but if you find a problem in your software that requires a hardware change, good luck to you because it's not happening. 143 00:12:05,140 --> 00:12:06,600 Certifications have happened. 144 00:12:06,880 --> 00:12:08,500 Things are not being retested. 145 00:12:09,120 --> 00:12:11,220 Then there's design validation and testing. 146 00:12:11,220 --> 00:12:13,240 This is a little bit more like QA. 147 00:12:13,920 --> 00:12:17,380 And then PVT, which is product validation testing. 148 00:12:18,140 --> 00:12:21,160 Sorry, not product, production validation testing. 149 00:12:21,160 --> 00:12:29,240 So that's stuff coming off the line that gets tested to say, okay, the sample's worked. 150 00:12:29,240 --> 00:12:32,180 Are they coming off mass production looking what we expected? 151 00:12:32,380 --> 00:12:42,180 But what that means is that firmware needs to be developed after the hardware is constantly changing, but be on there and working before you're testing stuff coming off the production line. 152 00:12:42,180 --> 00:12:51,160 So you've actually got a relatively narrow gap during which you're shopping out firmware, because firmware has to be on the device when you're shipping it to consumers, and then you're into mass production. 153 00:12:52,120 --> 00:12:54,760 And so like I just said, building hardware's a few areas. 154 00:12:54,760 --> 00:12:58,060 So there's PCB fabrication, that's physically making the boards. 155 00:12:58,340 --> 00:13:05,100 Sourcing and shipping components, which if you've read any headlines on supply chain stuff, that's its own bit of fun. 156 00:13:05,200 --> 00:13:08,080 There's assembly, which is often a completely different plant. 157 00:13:08,440 --> 00:13:14,500 Build and quality testing is literally just like, well, exactly what it sounds like. 158 00:13:14,500 --> 00:13:21,120 Making cases and accessories, so that's the pretty touch screens and the boxes they're in and everything, and then packaging and shipping. 159 00:13:22,580 --> 00:13:29,260 So getting a little bit more technical, but not super duper technical, hardware actually changes what languages you can use. 160 00:13:29,260 --> 00:13:37,460 So I'm sure you're all aware, you don't run massive like 32 core x86 processors in IoT devices. 161 00:13:37,460 --> 00:13:40,120 There normally are more MIPS for the most part. 162 00:13:40,120 --> 00:13:44,940 There might be some other stuff, but you know, that's predominantly the architecture. 163 00:13:45,400 --> 00:13:56,760 That leads to various constraints, not just in hardware, but you've got processing power, you've got things like the amount of addressable memory, you've got the cost of getting the memory into the devices and all these things. 164 00:13:56,760 --> 00:13:59,220 So you're very often resource constrained. 165 00:14:00,080 --> 00:14:06,420 Additionally, you're probably running some embedded Linux, like a busy box or whatever, because no one actually writes their own OS. 166 00:14:06,420 --> 00:14:09,160 Everyone takes a base OS and tweakifies it a bit. 167 00:14:09,300 --> 00:14:15,260 Same as in big vendor land where they inevitably take Linux or BSD or something and just tweak it. 168 00:14:16,540 --> 00:14:30,140 So then you've got the resource constraint, which means you've only got so much memory and so much processing you can do, which means that things like encryption and not writing things to volatile storage and that sort of thing gets a lot more difficult, 169 00:14:30,140 --> 00:14:34,300 which in terms of things like managing keys and that sort of thing is also challenging. 170 00:14:34,300 --> 00:14:36,180 And I'll come back to that in just a sec too. 171 00:14:36,580 --> 00:14:49,240 You've also got kernel drivers and black box drivers, which is super fun, because some chipset manufacturers, even when you are putting their chips into your hardware yourself, pull the thing that any of you that run Linux with a graphics card are used to, 172 00:14:49,240 --> 00:14:50,600 where it's like source? 173 00:14:51,100 --> 00:14:52,100 No. 174 00:14:52,180 --> 00:14:53,380 Binary driver. 175 00:14:53,380 --> 00:14:54,100 Off you go. 176 00:14:54,100 --> 00:14:54,980 Good luck. 177 00:14:54,980 --> 00:15:01,020 So you end up running bits of code that you may not even understand yourself on your hardware. 178 00:15:02,380 --> 00:15:05,080 And as I mentioned, key management is hard. 179 00:15:05,080 --> 00:15:06,860 It's like super duper duper hard. 180 00:15:06,860 --> 00:15:12,680 And if key management is hard and you're used to key management being hard, IoT key management is harder. 181 00:15:13,920 --> 00:15:15,360 And why is that? 182 00:15:15,360 --> 00:15:18,700 Well, it's what I just mentioned about the hardware life cycle, right? 183 00:15:18,700 --> 00:15:22,020 So how are you going to ship the keys? 184 00:15:22,160 --> 00:15:26,140 Am I going to say I'm not putting any keying material on devices? 185 00:15:26,260 --> 00:15:35,860 Or am I going to say I'm going to put a shared key on device, because I have to give that shared key to some fabrication facility that I don't own in God knows where. 186 00:15:36,240 --> 00:15:39,280 Are they going to have that key and put it on the devices? 187 00:15:39,500 --> 00:15:50,260 Or do the devices get individual keys, which we know is like way better, all the devices having individual keys, but does that mean that I have to give them some kind of root cert to sign all the individual keys? 188 00:15:50,260 --> 00:15:53,320 Because that also sounds like a fun idea. 189 00:15:53,320 --> 00:15:59,700 Or you can go the tofu route, which is the trust on first use, where devices do not have any keying material at all. 190 00:15:59,960 --> 00:16:07,860 And they're just set on first boot up to go grab some keys, which is great, because you've not exposed your key material to an external third party. 191 00:16:07,880 --> 00:16:13,380 But it is a little bit of an issue in that when your device is plugged in, it has no keying material. 192 00:16:13,380 --> 00:16:19,100 And then you're at risk of things like if things are man-in-the-middle on first use, you know, and that sort of thing. 193 00:16:19,940 --> 00:16:22,560 Next up is software supply chain. 194 00:16:23,320 --> 00:16:28,600 So as you're aware, these are typically like your Linux boxes, and they run some processes that are rewrote. 195 00:16:28,600 --> 00:16:31,540 They'll run processes that are part of the OS. 196 00:16:31,560 --> 00:16:36,120 They'll probably run some random open SSL version or whatever, too. 197 00:16:36,700 --> 00:16:45,620 And what you start to realize is that you have inadvertently become an OS vendor, because you took that base Linux and went, like, that's great, but the open SSL is out of date. 198 00:16:45,620 --> 00:16:47,380 I'm just going to update mine. 199 00:16:47,380 --> 00:16:50,020 Suddenly you're no longer using the base version. 200 00:16:50,020 --> 00:16:52,480 You can't just be updating the base version. 201 00:16:52,480 --> 00:16:55,700 You're updating whole firmware images. 202 00:16:55,820 --> 00:17:09,300 Also, unlike things like Mac OS or Windows or something, where you're used to vendors pushing updates, if you compile, build, and install an embedded Linux system, most of them are not doing OS updates at all. 203 00:17:09,300 --> 00:17:10,940 Package management, nothing. 204 00:17:11,600 --> 00:17:21,820 Which means that the IoT vendors have to do those updates and package it in, which is sometimes I think a thing that people don't anticipate, that they are now becoming like a whole OS vendor, effectively. 205 00:17:21,820 --> 00:17:24,160 A small OS, but a whole OS vendor. 206 00:17:24,180 --> 00:17:27,360 And then you get stuck in the urgh dependencies route. 207 00:17:29,040 --> 00:17:33,540 Another fun thing, if any of you are developers, is water agile full development. 208 00:17:35,360 --> 00:17:44,340 Because, like, most IoT companies are like these young startup, microservices, AWS, everywhere. 209 00:17:44,600 --> 00:17:46,020 And, you know, that's great. 210 00:17:46,020 --> 00:17:48,720 That is a great way of doing things right now. 211 00:17:49,000 --> 00:17:52,760 However, you can't modify hardware on the fly anywhere near as easily. 212 00:17:52,760 --> 00:17:55,100 The closest you can come is reflashing firmware. 213 00:17:55,180 --> 00:17:59,460 There is no, hey, would you mind yanking your thermostat off the wall, switching these chips out? 214 00:17:59,460 --> 00:18:01,240 No, you're great and ready for the next version. 215 00:18:01,240 --> 00:18:02,700 That's not going to happen. 216 00:18:02,760 --> 00:18:07,000 So you somehow have to manage agile development at the back end. 217 00:18:07,000 --> 00:18:10,200 So, like, APIs, mobile apps, all that sort of thing. 218 00:18:10,400 --> 00:18:16,820 With what's effectively waterfall methodology for the actual hardware itself that this is running on. 219 00:18:16,820 --> 00:18:19,660 Which leads us into the pain of logistics. 220 00:18:19,660 --> 00:18:23,800 And this is actually where I think a lot of IoT companies get their issues. 221 00:18:23,960 --> 00:18:27,820 So you have things, and they are in places. 222 00:18:27,920 --> 00:18:32,780 Those things being the IoT devices that, as a company, are shipping to consumers. 223 00:18:32,800 --> 00:18:34,620 And then places are places. 224 00:18:34,740 --> 00:18:36,800 So there's the factory they're built in. 225 00:18:36,800 --> 00:18:38,420 There's things like the warehouse. 226 00:18:38,420 --> 00:18:41,220 Because we don't all ship direct to people. 227 00:18:41,220 --> 00:18:44,620 They sit in, like, Costco or an AWS warehouse or something. 228 00:18:44,620 --> 00:18:48,160 An Amazon warehouse or something like that. 229 00:18:48,380 --> 00:18:53,040 Because consumers, you know, want to buy from a variety of places, not direct from vendors. 230 00:18:53,840 --> 00:18:55,240 This poses a small issue. 231 00:18:55,240 --> 00:18:58,320 Because the time to thing being online is unknown. 232 00:18:58,320 --> 00:19:13,920 That means if I write firmware that has an inherent vulnerability in it that needs to be fixed by disabling something on it or killing an API end point for me, I can't do that. 233 00:19:14,280 --> 00:19:18,820 Because there may be some device in a warehouse that's not going to be plugged in for six months. 234 00:19:18,820 --> 00:19:27,360 If I kill the vulnerable API end point and then someone plugs it in in six months and it's a brick, I am going to be shot by someone. 235 00:19:27,360 --> 00:19:29,020 So, you know, you have to keep that online. 236 00:19:29,020 --> 00:19:31,820 You have to find alternative methods of securing it. 237 00:19:32,280 --> 00:19:37,980 Similarly, devices themselves, you know, we send firmware updates to them and everything. 238 00:19:37,980 --> 00:19:43,900 But on first connection, they're still going to be running that six month old version of firmware or whatever it was that was put on at the factory. 239 00:19:45,200 --> 00:19:48,560 The other thing is you don't know the geography of the thing at the time. 240 00:19:49,940 --> 00:20:00,100 And by that, I mean, if you have various methods of updates, they don't all work everywhere. 241 00:20:00,540 --> 00:20:09,120 So, for example, if you're putting things into a corporate environment, there's often things like proxies and firewalls and stuff in the way. 242 00:20:09,120 --> 00:20:17,080 And unlike when you're getting big commercial gear put in, there isn't a whole these are your requirements for opening up your firewall that people read. 243 00:20:17,080 --> 00:20:19,040 Consumers plug it in and hope it goes. 244 00:20:19,040 --> 00:20:22,880 If they're blocked, they're blocked and we probably aren't going to get updates to them. 245 00:20:23,420 --> 00:20:35,380 And speaking of which, like, if anyone remembers what this is, so that's about as frequently as users will update if you don't make that automatically happen for them. 246 00:20:35,440 --> 00:20:41,780 So, if things are not updating on their own, then all those previous problems I mentioned, they're just going to stay. 247 00:20:41,780 --> 00:20:43,680 Like, they're not going to change. 248 00:20:44,380 --> 00:20:49,640 And then people like Bloomberg pull this stuff, which was fucking annoying. 249 00:20:49,640 --> 00:20:58,080 Anyway, so, as a heads up, if you start working in an IOT company and this headline comes out, surely afterwards you're in for like the least fun week of your life. 250 00:20:58,500 --> 00:21:00,560 But effectively this got debunked. 251 00:21:01,440 --> 00:21:05,280 Not debunked that it could happen, but debunked that it did happen. 252 00:21:06,100 --> 00:21:18,700 There are a couple of talks out there that are really worth watching if this is an area you're interested in and the TLDR is this is like supply chain attacks like fabrication plant switch chips, oh my god, the NSA's or Chinese government or whatever, 253 00:21:18,700 --> 00:21:19,340 panic. 254 00:21:20,520 --> 00:21:27,700 And people proved that they could happen, but Falken Dastar did a talk, Shmucon, which is really good. 255 00:21:27,700 --> 00:21:34,000 It shows there's probably a bunch of other areas in the supply chain that would be way easier to achieve this with. 256 00:21:34,000 --> 00:21:38,500 And actually some of the QA checks catch way more of this than you would think they would. 257 00:21:39,880 --> 00:21:42,580 So, on to the economics part. 258 00:21:42,580 --> 00:21:48,260 And the Bordens, this is because we're a Canadian company and we don't have Benjamins, so this is our equivalent. 259 00:21:49,060 --> 00:21:53,440 So, you've got the retail price of a piece of hardware. 260 00:21:54,520 --> 00:21:56,860 So, whatever, just imagine the number. 261 00:21:56,860 --> 00:22:00,180 You're going to take some taxes out of that because we have to pay some taxes. 262 00:22:00,480 --> 00:22:03,440 The retailer takes a chunk because they don't do it for free. 263 00:22:04,620 --> 00:22:07,340 Shipping and packaging, take that out of the price. 264 00:22:07,780 --> 00:22:10,700 Take out the physical parts and the labor to build it. 265 00:22:11,620 --> 00:22:15,700 Recouping some R&D costs because, of course, you're not making any money whilst you're designing a device. 266 00:22:15,700 --> 00:22:17,220 You only make money when you sell it. 267 00:22:17,220 --> 00:22:18,900 So, you've got to recoup those costs. 268 00:22:19,060 --> 00:22:21,600 There's marketing because it's all pretty blinky. 269 00:22:21,640 --> 00:22:22,920 Ads all over the place. 270 00:22:22,920 --> 00:22:25,480 There's Facebook banners to pay for and whatever else. 271 00:22:25,740 --> 00:22:28,660 And, oh yeah, hopefully some profit at the back. 272 00:22:29,380 --> 00:22:31,900 So, that's like your fixed costs. 273 00:22:32,360 --> 00:22:34,380 If you're a subscription service, you're lucky. 274 00:22:34,380 --> 00:22:37,220 You can probably roll the rest of your costs into the subscription. 275 00:22:37,220 --> 00:22:44,260 But if you're buying a device where you buy the device and that's it, the following also has to come out of the cost of that device. 276 00:22:45,140 --> 00:22:45,600 Oh, sorry. 277 00:22:45,600 --> 00:22:45,860 Wait. 278 00:22:45,860 --> 00:22:47,200 No subscription revenue? 279 00:22:48,500 --> 00:22:49,880 So, one, tech support. 280 00:22:49,880 --> 00:22:51,780 You probably want to be able to call someone and get support. 281 00:22:51,780 --> 00:22:54,240 Those people need to be paid, as do the phone lines. 282 00:22:54,940 --> 00:22:58,760 Customer service for complaints because people love IoT. 283 00:23:00,220 --> 00:23:01,900 And then you've got replacements and returns. 284 00:23:01,900 --> 00:23:02,900 Those cost money. 285 00:23:03,340 --> 00:23:07,420 Hosting and bandwidth and APIs and all that stuff in AWS. 286 00:23:07,780 --> 00:23:10,340 Building the free mobile app you're planning to use. 287 00:23:11,780 --> 00:23:14,000 And the free online portal. 288 00:23:14,000 --> 00:23:25,400 And then having deducted this entire list and the profit that the company probably wants to keep, with what's left, you can patch and update and do future development. 289 00:23:25,400 --> 00:23:26,900 You can operate your security team. 290 00:23:26,900 --> 00:23:29,440 You can pay for your pen tests and your bug bounties. 291 00:23:29,440 --> 00:23:31,940 People sometimes wonder why security work doesn't get done. 292 00:23:31,940 --> 00:23:33,980 This is actually a large part of it for people. 293 00:23:34,400 --> 00:23:36,260 You have to pay for that stuff. 294 00:23:36,260 --> 00:23:37,420 And there's only so much. 295 00:23:37,420 --> 00:23:42,740 And if you want to do more, you're going to jack up prices or cut from somewhere else. 296 00:23:43,220 --> 00:23:45,760 So, let's quickly talk updates because I've just seen the time. 297 00:23:46,100 --> 00:23:50,180 This is BMW's update process as published on the website. 298 00:23:51,220 --> 00:23:54,540 How many of you do this with your car regularly? 299 00:23:54,540 --> 00:23:56,580 I'm guessing probably close to zero. 300 00:23:56,580 --> 00:23:58,300 Maybe when it's in the shop or something. 301 00:23:58,580 --> 00:24:00,100 So, let's talk updates. 302 00:24:00,780 --> 00:24:05,640 Ideally, you want to do over-the-air signed updates that can't be rolled back to previous versions. 303 00:24:05,700 --> 00:24:07,200 So, people can only move forwards. 304 00:24:07,200 --> 00:24:08,780 They know it's safe from the vendor. 305 00:24:09,480 --> 00:24:10,940 And it's over-the-air and works. 306 00:24:10,940 --> 00:24:11,440 And great. 307 00:24:11,440 --> 00:24:11,820 P.S. 308 00:24:11,820 --> 00:24:12,920 That's what we do. 309 00:24:12,920 --> 00:24:13,680 Yes! 310 00:24:14,780 --> 00:24:16,720 A lot of the time that's not the case. 311 00:24:16,820 --> 00:24:20,380 Often it's over-the-air manually initiated and signed. 312 00:24:20,440 --> 00:24:21,860 If you're lucky. 313 00:24:22,840 --> 00:24:24,640 Over-the-air manually initiated. 314 00:24:24,640 --> 00:24:27,880 You're probably used to this with, like, Wi-Fi access points or something. 315 00:24:27,960 --> 00:24:29,540 It does the other updates. 316 00:24:29,540 --> 00:24:30,360 Yeah, other updates. 317 00:24:30,360 --> 00:24:30,820 Fine. 318 00:24:30,820 --> 00:24:31,840 Clicky clicky. 319 00:24:33,880 --> 00:24:35,940 There's the case with that BMW. 320 00:24:36,520 --> 00:24:38,300 A USB stick. 321 00:24:38,400 --> 00:24:39,360 None. 322 00:24:39,420 --> 00:24:41,260 A lot of them fall into none. 323 00:24:41,820 --> 00:24:44,940 Sometimes devices are end of life and they just don't care. 324 00:24:45,300 --> 00:24:47,360 Sometimes they haven't thought through update processes. 325 00:24:47,360 --> 00:24:51,100 But, like, not thinking this through makes it very hard to fix. 326 00:24:51,100 --> 00:24:55,380 Because how do you put a new update service on something that doesn't have an update service? 327 00:24:55,580 --> 00:24:57,340 It's a common pitfall, anyway. 328 00:24:57,980 --> 00:25:01,960 And speaking of updates, like, updates can go wrong. 329 00:25:01,960 --> 00:25:04,440 You've probably seen these in your life somewhere. 330 00:25:04,620 --> 00:25:05,680 Why is that bad? 331 00:25:05,680 --> 00:25:08,040 Well, in IoT, bad updates are bad. 332 00:25:08,040 --> 00:25:10,800 Number one, it's non-tech users that get them, right? 333 00:25:11,120 --> 00:25:15,200 It's often people who have no awareness of what's actually happening under the hood. 334 00:25:15,200 --> 00:25:16,980 So they're not going to fix it if it goes wrong. 335 00:25:16,980 --> 00:25:19,460 And if it goes wrong, the devices are often a brick. 336 00:25:19,520 --> 00:25:25,840 It's not like Windows or something where it goes, hey, would you like to go into safe mode and fix it mode or whatever else? 337 00:25:26,160 --> 00:25:28,120 Like, a brick is a brick. 338 00:25:28,120 --> 00:25:34,720 And when that's something like a door lock, a thermostat, light switches, people don't like brick devices for some reason. 339 00:25:34,900 --> 00:25:36,780 It also makes Agile hard. 340 00:25:36,980 --> 00:25:40,500 So when people say it takes a long time to fix vulnerabilities, often this is why. 341 00:25:40,500 --> 00:25:47,700 There's like a ton of testing because you have to test the upgrade from every version of firmware to every version of firmware on every version of hardware. 342 00:25:47,700 --> 00:25:50,420 If you don't, things just stop. 343 00:25:50,420 --> 00:25:51,840 And that's bad. 344 00:25:53,100 --> 00:25:57,340 And there's also, we have to be conscious of the environment. 345 00:25:57,340 --> 00:25:59,480 So we recycle, refurbish, and RMA. 346 00:25:59,820 --> 00:26:01,160 RMAs are returns. 347 00:26:02,460 --> 00:26:10,140 This also makes it hard because we have to handle the process of being able to get new devices out to customers. 348 00:26:11,600 --> 00:26:16,060 And not finally, almost finally, getting finally, so there's low friction deployment. 349 00:26:17,000 --> 00:26:24,020 You will know the magic, if any of you have bought Apple, especially the AirPods, for example, it's magical. 350 00:26:24,020 --> 00:26:27,840 You open the box and your phone goes, ah, you bought a thing, use a thing. 351 00:26:27,840 --> 00:26:28,580 That's the end of it. 352 00:26:28,580 --> 00:26:31,140 That's what everyone's shooting for in this department. 353 00:26:31,200 --> 00:26:36,860 They don't want people to be like, oh, and then I have to cable a thing and plug in this other cable and push this code, blah, blah, blah. 354 00:26:37,180 --> 00:26:41,360 People want to go, oh, I got this cool device, plug it in, works, done, great. 355 00:26:41,440 --> 00:26:44,380 So it brings in this box. 356 00:26:44,720 --> 00:26:47,560 And you see these triads all over the place in security. 357 00:26:47,560 --> 00:26:48,600 You can do all these. 358 00:26:48,600 --> 00:26:49,440 That's great. 359 00:26:49,740 --> 00:26:53,500 Absolutely no chance of getting all three nailed. 360 00:26:53,500 --> 00:26:54,740 It doesn't happen. 361 00:26:55,260 --> 00:26:58,640 And so you have to pick which one is removed. 362 00:26:58,640 --> 00:27:00,260 And for many people, that is security. 363 00:27:00,260 --> 00:27:02,740 I would like to think no one else, but it is often the case. 364 00:27:03,080 --> 00:27:04,840 But it's not all bad. 365 00:27:04,840 --> 00:27:06,560 Some companies are waking up. 366 00:27:06,960 --> 00:27:10,560 Some companies are getting abysmal press and being forced to wake up. 367 00:27:10,560 --> 00:27:13,840 And public awareness is moving up, which is forcing the hand of people. 368 00:27:14,020 --> 00:27:16,120 So in summary, everything's fine. 369 00:27:16,120 --> 00:27:16,740 Don't worry. 370 00:27:16,740 --> 00:27:17,740 It's all good. 371 00:27:18,540 --> 00:27:20,700 I am, like, two minutes away from being done. 372 00:27:20,700 --> 00:27:22,140 So, like, thanks for your time. 373 00:27:22,140 --> 00:27:24,360 And if there's any questions, I would love to take them. 374 00:27:24,360 --> 00:27:25,500 Otherwise, just thank you. 375 00:27:27,380 --> 00:27:28,420 I'll take it as a no.