1 00:00:00,000 --> 00:00:01,280 Hi, I'm Ante. 2 00:00:01,280 --> 00:00:03,420 Security architect, FoxGuard Solutions. 3 00:00:03,420 --> 00:00:06,000 We do industrial control system security stuff. 4 00:00:07,600 --> 00:00:10,640 And... this is what I think my job is like. 5 00:00:11,660 --> 00:00:12,340 No? 6 00:00:12,340 --> 00:00:13,000 Yeah? 7 00:00:13,380 --> 00:00:14,480 In your job like this? 8 00:00:14,480 --> 00:00:15,280 Everybody. 9 00:00:16,340 --> 00:00:19,100 And this is what my mom thinks my job is like. 10 00:00:20,700 --> 00:00:24,460 And this is what other people think my job is like. 11 00:00:26,180 --> 00:00:29,720 This is what I wish my job was like. 12 00:00:32,140 --> 00:00:36,500 And this is what my job is really like. 13 00:00:36,920 --> 00:00:43,480 Do some security research, look at new attacks, do some training classes, lots of conference talks, new product. 14 00:00:44,040 --> 00:00:47,900 And look at industry requirements and industrial control systems. 15 00:00:47,900 --> 00:00:51,220 Where bits meet atoms, where things happen. 16 00:00:52,580 --> 00:00:54,700 So, let's get started. 17 00:00:54,700 --> 00:00:57,620 We're going to talk about things in light of... 18 00:00:57,620 --> 00:01:00,580 Anybody here work in industrial control systems? 19 00:01:01,080 --> 00:01:01,740 Oh, yeah? 20 00:01:01,740 --> 00:01:02,820 We got a handful. 21 00:01:03,140 --> 00:01:06,200 Anybody heard the term industrial control systems before? 22 00:01:06,960 --> 00:01:07,900 A few more. 23 00:01:07,900 --> 00:01:08,420 Beautiful. 24 00:01:08,420 --> 00:01:09,800 Well, now you're an expert. 25 00:01:09,800 --> 00:01:14,600 Industrial control systems is the part of security that really matters. 26 00:01:14,640 --> 00:01:17,200 Is where bits meet atoms, things move. 27 00:01:17,200 --> 00:01:22,860 This is electricity and manufacturing and your water and your power. 28 00:01:22,860 --> 00:01:24,840 This is where your iPhones come from. 29 00:01:27,320 --> 00:01:30,040 And we're going to take a look at some tools. 30 00:01:30,080 --> 00:01:35,060 So , since I am thinking of things in terms of industrial control systems... 31 00:01:35,060 --> 00:01:36,820 Let's get the mic. 32 00:01:37,800 --> 00:01:39,300 Industrial control systems. 33 00:01:39,300 --> 00:01:44,320 If you're going to look at this as an industrial control system, what are the mechanics involved? 34 00:01:44,320 --> 00:01:51,520 It's like, well, it looks for some button pushes, does some calculations and it displays something on the screen. 35 00:01:51,520 --> 00:01:53,160 That's its I.O., right? 36 00:01:53,160 --> 00:01:57,720 Industrial control, reading things, thinking about things and doing things. 37 00:01:58,220 --> 00:01:59,740 Fun enough? 38 00:02:01,680 --> 00:02:07,160 As an industrial control system, what does this thing do? 39 00:02:08,540 --> 00:02:09,540 Do what? 40 00:02:10,200 --> 00:02:12,280 It opens the box. 41 00:02:12,980 --> 00:02:13,800 What else? 42 00:02:13,800 --> 00:02:15,160 Industrial control system. 43 00:02:15,160 --> 00:02:15,760 What? 44 00:02:15,800 --> 00:02:16,740 Makes holes. 45 00:02:17,660 --> 00:02:19,700 Yeah, but think about the operation. 46 00:02:19,740 --> 00:02:21,860 Bits, atoms, movement. 47 00:02:22,120 --> 00:02:23,180 What's it doing? 48 00:02:23,980 --> 00:02:29,000 All right, so this is a miniature industrial control system that is monitoring the rate of the spin. 49 00:02:29,080 --> 00:02:29,500 All right? 50 00:02:29,500 --> 00:02:30,200 That's one of the things. 51 00:02:30,200 --> 00:02:33,680 It's actually controlling with the pulse width modulation output. 52 00:02:33,680 --> 00:02:35,120 What else is it doing? 53 00:02:40,200 --> 00:02:40,720 Input. 54 00:02:40,720 --> 00:02:41,820 What kind of input? 55 00:02:42,960 --> 00:02:46,260 Yeah, so there's a variable resistor here in this trigger. 56 00:02:46,260 --> 00:02:47,940 And it's reading that value. 57 00:02:47,940 --> 00:02:52,460 It's reading analog value, making some calculations to control the control system. 58 00:02:52,540 --> 00:02:53,800 Do we see anything else? 59 00:02:54,220 --> 00:02:55,020 Light. 60 00:02:55,180 --> 00:02:56,700 Light, so we have a light on the front. 61 00:02:56,700 --> 00:02:57,400 It gets timed. 62 00:02:57,400 --> 00:02:58,680 Look, no power. 63 00:02:58,740 --> 00:03:00,320 All right, we got light on the front. 64 00:03:00,360 --> 00:03:01,920 What about on the sides here? 65 00:03:03,820 --> 00:03:05,880 Yeah, so here's a display. 66 00:03:05,880 --> 00:03:07,200 This is a voltage display. 67 00:03:07,200 --> 00:03:08,600 So it's measuring voltage. 68 00:03:09,240 --> 00:03:11,660 It's also measuring temperature of this battery system. 69 00:03:11,660 --> 00:03:15,640 And it's measuring temperature of MOSFETs inside. 70 00:03:15,640 --> 00:03:21,540 So as far as a very small representation of an industrial control system, this is it. 71 00:03:21,540 --> 00:03:23,640 It's measuring different kinds of inputs. 72 00:03:23,640 --> 00:03:26,120 It's controlling different kinds of outputs. 73 00:03:28,860 --> 00:03:33,440 So which of these two systems do you think is more powerful? 74 00:03:35,100 --> 00:03:35,780 Thoughts? 75 00:03:35,780 --> 00:03:36,380 Comments? 76 00:03:36,380 --> 00:03:36,880 Yes? 77 00:03:36,880 --> 00:03:37,640 No? 78 00:03:45,220 --> 00:03:47,640 Now which one do you think is more powerful? 79 00:03:52,080 --> 00:03:53,090 Yeah, well... 80 00:03:54,260 --> 00:03:59,620 So, a little bit of fun, but actually the drill is a more powerful control system. 81 00:03:59,620 --> 00:04:01,700 So , this calc... Excuse me? 82 00:04:03,620 --> 00:04:04,780 Physically. 83 00:04:05,280 --> 00:04:10,440 Also, look, the calculator clock rate is 6 MHz and the drill, it's 8 MHz. 84 00:04:10,560 --> 00:04:18,080 Besides that, the processor in the calculator takes several clock cycles to do an instruction. 85 00:04:18,080 --> 00:04:20,680 So, 7, 19, 14, 15. 86 00:04:20,680 --> 00:04:23,400 And this is just sort of a random sampling of instructions. 87 00:04:23,420 --> 00:04:28,480 This drill basically does every operation in one instruction cycle. 88 00:04:28,480 --> 00:04:32,360 So, computationally it's a lot more powerful than the calculator as well. 89 00:04:32,360 --> 00:04:41,080 Besides its additional functionality of sort of dedicated pulse width modulation channels and its ability to read analog inputs. 90 00:04:41,080 --> 00:04:50,180 So , if you start looking at the actual power of the system, the drill is a lot more complex system and a lot more one than I expected, right? 91 00:04:50,180 --> 00:04:52,840 It's a battery powered drill. 92 00:04:52,840 --> 00:04:57,040 Who expects a computer in the middle of there? 93 00:04:57,040 --> 00:05:04,820 So, if you were going to attack a control system, let's say this one in particular, you might look to see what's inside of it first. 94 00:05:04,820 --> 00:05:06,980 This is a pretty standard drill. 95 00:05:07,220 --> 00:05:14,060 It has a, let's see, we got a PC board and some power connectors and a motor, a transmission. 96 00:05:18,440 --> 00:05:26,800 We look at the circuit board and we look up these MOSFETs, by the way, that controls the power to the motor that makes the drill run. 97 00:05:26,820 --> 00:05:32,880 They're rated at 202 amps continuous. 98 00:05:33,000 --> 00:05:36,140 And if you do anything with electronics, that's a fair amount of power. 99 00:05:36,400 --> 00:05:39,860 They will also support 800 amps pulse. 100 00:05:40,260 --> 00:05:42,520 So , that's pretty impressive. 101 00:05:44,720 --> 00:05:51,500 You might also need a little help reverse engineering the system as a whole if you're going to look at software. 102 00:05:51,760 --> 00:06:01,480 Because the hardware provides input and it depends upon the way the drill is set up and the way the circuit board is set up. 103 00:06:01,700 --> 00:06:03,460 So, you take a look around. 104 00:06:04,500 --> 00:06:07,840 I found an ATmega 32 pin. 105 00:06:07,840 --> 00:06:18,100 And when I first saw this 32 pin microcontroller, I'm like, you know, they make like eight pin lines and why in the world are they putting this thing in here? 106 00:06:18,380 --> 00:06:26,280 But if you go through and trace out all of those circuits, basically almost all of them, almost all the pins are in use. 107 00:06:26,380 --> 00:06:36,380 It's running front LEDs and power LEDs and two MOSFETs, MOSFET temperature, battery temperature, voltage, trigger, comm, enable pins. 108 00:06:36,380 --> 00:06:41,280 So, it's using a lot more of the capability than you expected even in this simple device. 109 00:06:41,760 --> 00:06:44,740 It's using a lot of computational resources. 110 00:06:46,600 --> 00:06:47,380 All right. 111 00:06:47,380 --> 00:06:51,760 Now, for a little review before we... calculator parts. 112 00:06:52,360 --> 00:06:55,260 Part of a review before we continue. 113 00:06:56,820 --> 00:06:57,720 All right. 114 00:06:57,720 --> 00:06:58,720 Audience participation. 115 00:06:58,720 --> 00:06:59,860 What's RAM? 116 00:07:01,280 --> 00:07:02,680 Random access memory. 117 00:07:02,680 --> 00:07:03,140 Beautiful. 118 00:07:03,140 --> 00:07:05,160 You read right, you turn it off, it goes away. 119 00:07:05,160 --> 00:07:07,360 What is ROM? 120 00:07:08,080 --> 00:07:09,160 Read-only memory. 121 00:07:09,160 --> 00:07:09,400 All right. 122 00:07:09,400 --> 00:07:11,340 So, let's talk about early ROM. 123 00:07:11,340 --> 00:07:13,480 Early ROM is masked ROM. 124 00:07:13,880 --> 00:07:17,040 And it's manufactured that way at the factory. 125 00:07:17,040 --> 00:07:20,760 So, you say, hey, I want a bunch of ROMs that have this program on here. 126 00:07:21,080 --> 00:07:29,140 And you pay them $100,000 and they'll set up the mask and they will make those chips with that program and they will send them to you, right? 127 00:07:29,140 --> 00:07:31,500 You have to buy a big lot to make this profitable. 128 00:07:31,500 --> 00:07:37,580 And now you have, I don't know, 10,000 of these chips programmed just the way you want them. 129 00:07:38,280 --> 00:07:42,260 What do you do with those chips if there was a bug in your software? 130 00:07:45,060 --> 00:07:46,380 Not bad. 131 00:07:46,820 --> 00:07:48,180 Put them in a landfill. 132 00:07:48,180 --> 00:07:49,760 Sell them and don't tell anybody. 133 00:07:51,460 --> 00:07:53,180 You are my head of marketing. 134 00:07:54,780 --> 00:07:55,660 Yeah. 135 00:07:56,420 --> 00:07:58,980 Or, I like to say, throw them in the ocean. 136 00:07:58,980 --> 00:08:02,260 Because you can only write to them once. 137 00:08:02,260 --> 00:08:03,240 They are made at the factory. 138 00:08:03,240 --> 00:08:08,640 And now you have to call up the factory again and say, hey, for another $100,000, can you set me up another mask and run me another batch of these? 139 00:08:08,680 --> 00:08:13,500 So, we decided that that didn't work very well. 140 00:08:13,500 --> 00:08:15,840 And we come up with things like PROM. 141 00:08:15,840 --> 00:08:17,800 So, what's PROM stand for? 142 00:08:19,660 --> 00:08:23,200 So, this is programmable read-only memory. 143 00:08:23,200 --> 00:08:29,700 So, you get these chips that are typically, let's say, one-time programmable. 144 00:08:29,700 --> 00:08:30,840 You get the chip. 145 00:08:30,880 --> 00:08:32,780 You can put your piece of code on it. 146 00:08:32,780 --> 00:08:35,620 And then you can put it in your device. 147 00:08:37,280 --> 00:08:44,220 If that chip has vulnerabilities or problems in the software, what do you do with that chip? 148 00:08:48,640 --> 00:08:50,340 Yes, you throw it in the landfill. 149 00:08:50,340 --> 00:08:56,900 But you only have one, because the next chip you get off the shelf, you can program and put it in your device, right? 150 00:08:56,900 --> 00:09:01,220 So, that works a lot quicker and easier, and it's more cost-effective. 151 00:09:01,500 --> 00:09:03,500 So, manufacturers like that. 152 00:09:03,880 --> 00:09:07,000 But you go on to the next level, EPROM. 153 00:09:07,000 --> 00:09:08,240 What's EPROM? 154 00:09:09,980 --> 00:09:14,620 Yeah, so this is erasable programmable read-only memory. 155 00:09:15,380 --> 00:09:18,060 And typically, they were UV erasable. 156 00:09:18,060 --> 00:09:21,580 So, if you look here, this has a little window in it. 157 00:09:22,380 --> 00:09:26,040 A UV light will erase it, set it all back to ones. 158 00:09:26,180 --> 00:09:29,300 And you can change some of those to zeros and end up with a program. 159 00:09:30,300 --> 00:09:33,720 Now, if there is something wrong with this chip, what can we do with it? 160 00:09:35,400 --> 00:09:36,740 Yeah, you can pull it out. 161 00:09:36,740 --> 00:09:39,580 You can shine some light on it and reprogram it and put it back in. 162 00:09:39,580 --> 00:09:41,660 You don't even have to throw anything away. 163 00:09:44,420 --> 00:09:47,280 But you do have to pull it out and program it. 164 00:09:48,060 --> 00:09:49,800 So, EEPROM. 165 00:09:49,800 --> 00:09:51,200 What's EEPROM? 166 00:09:53,040 --> 00:09:58,300 Yeah, electrically erasable programmable read-only memory. 167 00:09:58,300 --> 00:10:01,800 So, now you can program this thing in the circuit. 168 00:10:01,800 --> 00:10:03,300 You don't have to pull it out. 169 00:10:03,300 --> 00:10:07,280 You don't have to shine UV light on it, you know, like you're curing your nails or something. 170 00:10:08,180 --> 00:10:12,720 And if you have a problem, you can fix it in the device. 171 00:10:13,420 --> 00:10:15,040 So, that's quite a bit easier. 172 00:10:15,040 --> 00:10:17,240 Now, you think as a manufacturer, that's great. 173 00:10:17,320 --> 00:10:19,880 We screwed something up, we need to update something. 174 00:10:20,780 --> 00:10:21,680 We're all good. 175 00:10:21,680 --> 00:10:23,800 We can program it back in place. 176 00:10:24,420 --> 00:10:25,020 All right. 177 00:10:25,160 --> 00:10:28,680 Now, I'm depending on you all. 178 00:10:28,680 --> 00:10:30,440 What does flash stand for? 179 00:10:34,460 --> 00:10:35,340 What? 180 00:10:35,960 --> 00:10:37,780 You all are a quiet group. 181 00:10:38,200 --> 00:10:39,080 Flash? 182 00:10:39,080 --> 00:10:40,880 No, flash doesn't stand for anything. 183 00:10:40,880 --> 00:10:42,320 It's a marketing term. 184 00:10:43,080 --> 00:10:46,440 So, flash is basically a version of EEPROM. 185 00:10:46,440 --> 00:10:47,280 It tends to be larger. 186 00:10:47,280 --> 00:10:48,580 You write it in larger blocks. 187 00:10:48,920 --> 00:10:53,040 It will sustain fewer write cycles before it gets destroyed. 188 00:10:53,040 --> 00:10:55,920 But it's basically a marketing term. 189 00:10:56,060 --> 00:10:58,960 And that's how we end up. 190 00:10:58,960 --> 00:11:03,400 That's the short version of how we end up with devices that you can program sort of by default. 191 00:11:03,400 --> 00:11:04,740 It saves you money. 192 00:11:04,740 --> 00:11:06,440 It saves you time. 193 00:11:06,440 --> 00:11:10,040 So, that's a review. 194 00:11:10,040 --> 00:11:18,920 For the particular microcontroller in this drill, we see it has some EEPROM, which is designed to be written in smaller blocks and more time. 195 00:11:19,080 --> 00:11:19,720 More time. 196 00:11:19,720 --> 00:11:20,440 Some RAM. 197 00:11:20,440 --> 00:11:21,700 Some flash. 198 00:11:22,960 --> 00:11:30,020 And in system programming, we don't have to take it out and clip some clip on it and hook some programmer up to it. 199 00:11:30,020 --> 00:11:31,960 It's much easier to set up. 200 00:11:31,960 --> 00:11:34,340 You probably buy your hardware. 201 00:11:34,340 --> 00:11:35,620 You get it shipped to you. 202 00:11:35,620 --> 00:11:41,220 And then back at your plant, you can blow on the latest firmware when you get the device. 203 00:11:41,220 --> 00:11:42,460 Much easier. 204 00:11:42,460 --> 00:11:48,120 That allows for the updates that you may have changed or made to your firmware, your software. 205 00:11:49,160 --> 00:11:54,500 And in some cases, maybe account for some minor manufacturing difficulties. 206 00:11:54,500 --> 00:11:55,860 You might be able to adjust for them. 207 00:11:55,860 --> 00:11:56,700 Maybe. 208 00:11:57,020 --> 00:11:58,240 In firmware. 209 00:12:00,800 --> 00:12:02,680 So, we take it apart. 210 00:12:03,080 --> 00:12:06,640 And we're looking at how to manipulate it. 211 00:12:06,640 --> 00:12:09,680 And it would be great if we could find an SPI port. 212 00:12:09,680 --> 00:12:11,200 Typically six pins. 213 00:12:11,220 --> 00:12:12,180 And what do we see here? 214 00:12:12,180 --> 00:12:12,960 Six pins. 215 00:12:12,960 --> 00:12:16,660 And as a matter of fact, half the work is already done for us. 216 00:12:16,660 --> 00:12:21,600 Because there is a reset, a clock, and 3.3 volts. 217 00:12:21,660 --> 00:12:22,960 That's pointing to something else. 218 00:12:22,960 --> 00:12:25,280 So, three of our six pins are already labeled. 219 00:12:25,820 --> 00:12:28,740 We only have to figure out the other three, and we're in. 220 00:12:34,160 --> 00:12:35,580 Yeah, we need a couple. 221 00:12:35,580 --> 00:12:37,320 We need MIMO and MOMI. 222 00:12:37,320 --> 00:12:42,320 But if you turn the circuit board over, now you have MOMI and MIMO on the ground. 223 00:12:42,320 --> 00:12:44,100 So, they labeled the other three for you. 224 00:12:44,100 --> 00:12:45,040 That's great. 225 00:12:45,040 --> 00:12:46,060 That's awesome. 226 00:12:47,000 --> 00:12:48,260 You need a programmer. 227 00:12:48,260 --> 00:12:49,260 I was in a hurry. 228 00:12:49,260 --> 00:12:52,440 I built one out of a teensy iHead laying around. 229 00:12:52,440 --> 00:12:56,200 And put a 3D printed case and got some free software. 230 00:12:56,840 --> 00:13:01,140 But if you want to buy them, they're available in all your favorite sources. 231 00:13:02,600 --> 00:13:04,180 These are great. 232 00:13:04,220 --> 00:13:05,840 $3.36. 233 00:13:06,600 --> 00:13:07,880 Shipped to your door. 234 00:13:08,320 --> 00:13:09,760 On the slow boat. 235 00:13:13,570 --> 00:13:17,170 So, I pulled the software off of this device. 236 00:13:18,290 --> 00:13:21,930 And did a little reverse engineering. 237 00:13:21,930 --> 00:13:23,410 Maybe a little disassembly, right? 238 00:13:23,410 --> 00:13:26,010 So, you end up with assembly code all ones and zeros. 239 00:13:26,010 --> 00:13:26,950 Hard to figure out. 240 00:13:26,950 --> 00:13:30,430 But you're going to disassemble it somehow to make it a little easier. 241 00:13:30,430 --> 00:13:32,070 There are a couple of free ones. 242 00:13:32,390 --> 00:13:35,450 You know, AVR, OBJ dump. 243 00:13:35,450 --> 00:13:36,310 That's kind of cool. 244 00:13:36,310 --> 00:13:38,750 I read about this cool one, ReAVR. 245 00:13:40,710 --> 00:13:44,230 But it was kind of from a sketchy site from Russia. 246 00:13:44,230 --> 00:13:46,630 And I didn't really want to install it on my computer. 247 00:13:47,290 --> 00:13:48,810 So, I talked to my buddy. 248 00:13:48,810 --> 00:13:52,710 And I said, can you install this software and rerun this file through it? 249 00:13:52,710 --> 00:13:53,670 And he was like, yeah. 250 00:13:53,670 --> 00:13:54,790 I'm like, sweet. 251 00:13:55,190 --> 00:13:57,350 I'm too paranoid for that stuff. 252 00:13:57,850 --> 00:13:59,630 And other commercial software. 253 00:13:59,830 --> 00:14:03,470 But now you end up with just sort of, you know, this side, right? 254 00:14:03,470 --> 00:14:04,730 The assembly language instructions. 255 00:14:04,730 --> 00:14:06,570 Which still may not mean a lot. 256 00:14:06,770 --> 00:14:14,210 And worked through it quite a bit to try to figure out what these registers and what the instructions meant and what they did. 257 00:14:14,210 --> 00:14:15,950 This is just a brief section of it. 258 00:14:15,950 --> 00:14:18,530 So, made a few comments as I went along. 259 00:14:18,670 --> 00:14:29,730 I thought, one of the reasons I just pulled this tiny section of code was, this right here is setting up to write to the EEPROM. 260 00:14:30,670 --> 00:14:32,970 And this is the EEPROM write. 261 00:14:32,970 --> 00:14:42,370 So, this drill has the capability of changing the EEPROM, right? 262 00:14:42,370 --> 00:14:43,650 It can write things. 263 00:14:43,650 --> 00:14:45,450 It can keep track of things. 264 00:14:47,290 --> 00:14:52,450 I also asked my friend, who I was working with at the time, what do you think this thing is writing? 265 00:14:52,450 --> 00:14:53,950 What's it keeping up with? 266 00:14:54,030 --> 00:14:56,050 He says, oh, I know, I know. 267 00:14:56,050 --> 00:14:59,670 It's looking for warranty day plus one. 268 00:15:00,090 --> 00:15:01,050 Right? 269 00:15:01,690 --> 00:15:02,990 I'm like, huh. 270 00:15:03,850 --> 00:15:08,570 Maybe it is looking for, I don't know, usage time or something like that. 271 00:15:08,570 --> 00:15:10,330 But there's no real time clock. 272 00:15:10,350 --> 00:15:10,930 I checked. 273 00:15:10,930 --> 00:15:12,430 It doesn't get updated that way. 274 00:15:12,430 --> 00:15:19,070 I think it's doing calibration for the trigger, right? 275 00:15:19,310 --> 00:15:23,070 They could have slightly different ranges and so forth. 276 00:15:24,870 --> 00:15:34,120 So, oh, at this point, we are going to have a little bit of a live demo. 277 00:15:35,000 --> 00:15:36,980 I need a volunteer. 278 00:15:37,620 --> 00:15:40,100 Who would come up here and give me a hand? 279 00:15:40,100 --> 00:15:41,300 Welcome, sir. 280 00:15:41,940 --> 00:15:44,000 I'm not going to regret this, am I? 281 00:15:44,700 --> 00:15:45,360 Probably. 282 00:15:45,360 --> 00:15:47,060 Do you have good health insurance? 283 00:15:48,060 --> 00:15:49,100 Let's just go. 284 00:15:49,100 --> 00:15:49,560 All right. 285 00:15:49,560 --> 00:15:50,560 Let's just go. 286 00:15:50,660 --> 00:15:51,120 Okay. 287 00:15:51,120 --> 00:15:54,100 So, if you would, hang on. 288 00:15:54,560 --> 00:15:56,140 We'll at least take the drill bit out for you. 289 00:15:56,140 --> 00:15:56,920 How about that? 290 00:16:01,750 --> 00:16:02,930 You're standing on my line. 291 00:16:02,930 --> 00:16:04,510 You should stand right there. 292 00:16:04,510 --> 00:16:05,450 Oh, much better. 293 00:16:10,940 --> 00:16:11,380 Okay. 294 00:16:11,380 --> 00:16:12,580 Can you hold this for me? 295 00:16:13,600 --> 00:16:14,880 I think I can. 296 00:16:15,320 --> 00:16:16,040 Excellent. 297 00:16:16,100 --> 00:16:16,780 Excellent. 298 00:16:19,640 --> 00:16:23,040 So, right, you buy them, you build them, whatever. 299 00:16:23,240 --> 00:16:25,280 We'll walk over this way just a little bit. 300 00:16:25,280 --> 00:16:26,300 We are going to... 301 00:16:26,300 --> 00:16:31,700 The only thing I did is I pulled those pins to the outside just to make this go a little quicker and easier. 302 00:16:33,920 --> 00:16:34,360 And... 303 00:16:34,360 --> 00:16:37,200 I can figure out which way is up. 304 00:16:38,060 --> 00:16:39,060 Turn it three times. 305 00:16:39,060 --> 00:16:39,700 It'll work. 306 00:16:39,700 --> 00:16:40,280 Yeah. 307 00:16:41,040 --> 00:16:43,020 You've done this before, haven't you? 308 00:16:43,020 --> 00:16:44,060 I can tell. 309 00:16:44,960 --> 00:16:45,740 All right. 310 00:16:46,920 --> 00:16:47,360 So... 311 00:16:51,300 --> 00:16:59,760 It takes, you know, a line or two of code to do this, but since I can't type and talk, especially in front of people, we've got a couple of scripts. 312 00:17:00,720 --> 00:17:07,000 I am going to run Hash Comparison. 313 00:17:07,000 --> 00:17:16,440 So, what this is doing is it's pulling the existing firmware off the device, writing it to my hard drive, and then I'm comparing it to my known good file. 314 00:17:16,440 --> 00:17:20,100 And if you look at the bottom, you see it says files match. 315 00:17:20,200 --> 00:17:25,140 So, the firmware on this device hash matches my expectations. 316 00:17:25,200 --> 00:17:26,820 I believe this is a good device. 317 00:17:26,820 --> 00:17:28,840 I will be happy to use it. 318 00:17:32,420 --> 00:17:36,100 I also wrote some other code for this device. 319 00:17:39,760 --> 00:17:44,380 And now we are putting some other code on this device. 320 00:17:44,380 --> 00:17:47,240 And we will check the hash. 321 00:17:48,460 --> 00:17:59,780 If we receive the device in this state, we are reading the firmware off, we are running the hash on, comparing it to our known good, and it says those files differ. 322 00:17:59,960 --> 00:18:03,000 It would be nice if it said it was malware, but... 323 00:18:03,000 --> 00:18:06,660 It says those files differ. 324 00:18:07,220 --> 00:18:09,960 So, do you notice anything strange? 325 00:18:11,440 --> 00:18:14,920 There is a blinking red light along the side of the drill. 326 00:18:15,400 --> 00:18:20,040 Oh, that's suspicious right there. 327 00:18:20,040 --> 00:18:21,240 Let me tell you. 328 00:18:21,600 --> 00:18:22,140 Yeah. 329 00:18:22,860 --> 00:18:23,540 Yeah. 330 00:18:23,620 --> 00:18:25,060 Okay, hang on. 331 00:18:31,550 --> 00:18:32,190 Yeah. 332 00:18:32,190 --> 00:18:33,370 So, what is this? 333 00:18:33,370 --> 00:18:35,070 I thought I heard the comment up front. 334 00:18:35,110 --> 00:18:36,550 This is called, it has a name. 335 00:18:36,550 --> 00:18:38,350 It's called a Larson scanner. 336 00:18:38,730 --> 00:18:41,250 It's named for this guy, Glenn Larson. 337 00:18:41,910 --> 00:18:43,790 TV producer and writer. 338 00:18:43,790 --> 00:18:45,850 He created various shows, as you see. 339 00:18:45,850 --> 00:18:48,590 Buck Rogers in the 25th century. 340 00:18:49,570 --> 00:18:51,390 What are the last two? 341 00:18:52,250 --> 00:18:55,430 Knight Rider, and what's the last one? 342 00:18:56,090 --> 00:18:57,270 Right, right. 343 00:18:57,270 --> 00:18:59,830 So, he's responsible for this. 344 00:18:59,830 --> 00:19:03,250 But what it really means is this is the start of AI, right? 345 00:19:03,250 --> 00:19:05,630 This is where bad AI comes from. 346 00:19:06,790 --> 00:19:07,810 Okay. 347 00:19:07,850 --> 00:19:10,150 Now, you have another chore to do. 348 00:19:10,150 --> 00:19:12,790 If you will pass me the drills for a second. 349 00:19:16,280 --> 00:19:24,140 It is now your job to take this microphone and hold it against the end of this drill. 350 00:19:24,300 --> 00:19:24,900 Okay. 351 00:19:24,900 --> 00:19:25,480 All right. 352 00:19:25,680 --> 00:19:26,440 Microphone, drill. 353 00:19:26,440 --> 00:19:27,120 You got that? 354 00:19:27,120 --> 00:19:28,400 No, I hold the drill. 355 00:19:28,660 --> 00:19:29,200 You hold it. 356 00:19:29,200 --> 00:19:29,820 Yeah. 357 00:19:29,820 --> 00:19:30,320 You got that? 358 00:19:30,320 --> 00:19:31,220 All right, we figured it out. 359 00:19:31,520 --> 00:19:32,440 You good? 360 00:19:33,880 --> 00:19:34,940 Oh, you are good. 361 00:19:34,940 --> 00:19:36,080 All right, I like him. 362 00:19:36,200 --> 00:19:37,120 I'll keep him. 363 00:19:37,640 --> 00:19:38,140 All right. 364 00:19:38,140 --> 00:19:39,200 So, pay attention. 365 00:19:39,200 --> 00:19:39,800 Hold it now. 366 00:19:39,800 --> 00:19:40,560 You ready? 367 00:19:41,440 --> 00:19:42,660 Here we go. 368 00:19:49,320 --> 00:19:50,340 Thank you. 369 00:19:50,340 --> 00:19:50,800 Thank you. 370 00:19:50,800 --> 00:19:51,900 Thank you very much. 371 00:19:57,160 --> 00:19:59,520 And another round of applause for my able helper. 372 00:19:59,520 --> 00:20:00,820 Thank you very much. 373 00:20:06,060 --> 00:20:06,740 All right. 374 00:20:06,740 --> 00:20:07,180 Yeah. 375 00:20:07,180 --> 00:20:09,000 Darth Vader's theme, of course. 376 00:20:09,000 --> 00:20:09,820 What else do you play? 377 00:20:09,820 --> 00:20:10,180 All right. 378 00:20:10,180 --> 00:20:12,680 Oh, no, I don't have my Darth Vader theme T-shirt on. 379 00:20:13,660 --> 00:20:18,880 But let's talk about why I do something silly like this, right? 380 00:20:18,880 --> 00:20:20,080 Pretty impractical attack. 381 00:20:20,080 --> 00:20:22,200 This industrial control system is air-gapped. 382 00:20:22,200 --> 00:20:26,900 There's no network connection, no financial consequences, you know. 383 00:20:27,060 --> 00:20:29,780 It's an example of firmware in unexpected places. 384 00:20:29,780 --> 00:20:36,260 What I really want people in industrial control systems to take away is this drill is a computer-running software. 385 00:20:36,260 --> 00:20:48,500 And if the drill is a computer-running software, there are a lot of pieces in your important plant that are computers-running software that you need to think about securing, right? 386 00:20:48,500 --> 00:20:59,380 Drill's probably not top on your list, but some of the other pieces of hardware in your device, media converters that you don't think of as computers running malware, could be. 387 00:21:00,560 --> 00:21:03,180 I mean, you could do interdiction, right? 388 00:21:03,180 --> 00:21:09,720 Any good intelligence agency can delay your package for a little while and add you a little special gift. 389 00:21:11,700 --> 00:21:16,000 But, you know, not really any financial consequences. 390 00:21:16,000 --> 00:21:18,940 But the first one I bought looked like this, right? 391 00:21:18,940 --> 00:21:20,160 My budget's kind of small. 392 00:21:20,160 --> 00:21:21,500 I buy cheap stuff off eBay. 393 00:21:21,500 --> 00:21:24,580 The first one I got was broken, but the computer still worked. 394 00:21:24,580 --> 00:21:33,020 But I noticed, maybe you can see it, that these big MOSFETs, somebody let the magic smoke out, right? 395 00:21:33,020 --> 00:21:35,440 They've been overheated, they've been destroyed. 396 00:21:35,740 --> 00:21:38,300 This is actually a thermal sensor, right? 397 00:21:38,300 --> 00:21:42,060 Even with that in place, it's looking for overheating. 398 00:21:42,420 --> 00:21:45,120 Somebody cracked these accidentally. 399 00:21:45,980 --> 00:21:48,740 So, you might have some financial consequences. 400 00:21:48,740 --> 00:21:51,400 You can blow up the drill, a couple hundred bucks. 401 00:21:52,720 --> 00:21:55,280 Well, LiPo's aren't exactly stable. 402 00:21:56,500 --> 00:22:01,000 Occasionally, they catch... who knows what... anybody know what this is? 403 00:22:01,920 --> 00:22:03,140 Yeah, I don't know. 404 00:22:03,140 --> 00:22:04,320 Yeah, Galaxy. 405 00:22:05,440 --> 00:22:06,680 I like this one. 406 00:22:06,680 --> 00:22:09,420 They're at a conference and somebody's laptop is on fire. 407 00:22:09,420 --> 00:22:11,560 And everybody's standing around going, ooh, look at that. 408 00:22:11,680 --> 00:22:13,520 Man, that's bad, isn't it? 409 00:22:15,520 --> 00:22:24,240 If you're in the hobby of doing RC stuff, you generally charge LiPo's either in a fireproof bag or something with cinder blocks around it, right? 410 00:22:24,240 --> 00:22:25,160 You know, you know. 411 00:22:25,160 --> 00:22:30,060 So, maybe if you could catch it on fire, there might be some consequences. 412 00:22:30,060 --> 00:22:33,200 But it's largely impractical. 413 00:22:34,160 --> 00:22:37,040 I did come across these things in my research, though. 414 00:22:38,360 --> 00:22:39,280 Research. 415 00:22:39,420 --> 00:22:41,120 Five minutes on Google. 416 00:22:41,120 --> 00:22:42,820 That's what we call research these days. 417 00:22:44,040 --> 00:22:45,580 These two Bosch... 418 00:22:47,220 --> 00:22:48,940 These two Bosch... 419 00:22:49,700 --> 00:22:50,860 I'm trying. 420 00:22:51,760 --> 00:22:53,980 These two Bosch devices. 421 00:22:54,340 --> 00:22:57,960 One of them is called BT-Exact and BT-Angle-Exact. 422 00:22:57,960 --> 00:23:00,080 Who knows what the BT stands for? 423 00:23:00,920 --> 00:23:02,040 Bluetooth. 424 00:23:02,180 --> 00:23:02,760 All right. 425 00:23:02,760 --> 00:23:05,120 Well, there goes part of our air gap. 426 00:23:05,120 --> 00:23:08,060 And if you will look at the highlighted text above. 427 00:23:08,320 --> 00:23:15,640 The screwdrivers are locked when they are delivered and can be unlocked only by the access point exact connect. 428 00:23:15,640 --> 00:23:17,940 So, you can't even use it until you connect it. 429 00:23:19,160 --> 00:23:26,900 The system can talk to and take commands from external devices like a PLC, which might be an important part of your control system. 430 00:23:26,900 --> 00:23:32,740 So, this device is going to communicate to your control system. 431 00:23:33,360 --> 00:23:38,940 By the way, why would you want to communicate with devices like wrenches and drills and... 432 00:23:40,640 --> 00:23:42,540 Maybe you want to... yeah, oh, yeah. 433 00:23:44,660 --> 00:23:46,760 Sometimes to know where they are. 434 00:23:47,060 --> 00:23:58,500 What if you're making very high tolerance stuff like vehicle suspensions on big trucks, like a plant next to where I live does, or turbine engines on a jet aircraft. 435 00:23:58,940 --> 00:23:59,900 Excuse me? 436 00:24:00,320 --> 00:24:02,220 Yeah, precision torque, right? 437 00:24:02,220 --> 00:24:03,700 You'll have a torque requirement. 438 00:24:03,700 --> 00:24:06,960 You need to make sure every nut is appropriately tightened. 439 00:24:07,060 --> 00:24:10,620 And you might be checking battery life and RPM and usage. 440 00:24:10,620 --> 00:24:14,900 So, there are some valid reasons to want to communicate with these tools. 441 00:24:17,240 --> 00:24:23,500 And I also saw this available at your favorite home construction store. 442 00:24:23,940 --> 00:24:26,350 Guess what this device comes with? 443 00:24:26,860 --> 00:24:28,120 All right. 444 00:24:28,120 --> 00:24:29,680 Its own cell phone app. 445 00:24:30,910 --> 00:24:34,430 Because you need an app. 446 00:24:37,420 --> 00:24:39,360 I'm lost here. 447 00:24:39,360 --> 00:24:50,280 Where you can monitor the RPM, set the torques, and it says it will keep track of the last place it saw the device. 448 00:24:51,260 --> 00:24:53,400 For you, battery charge. 449 00:24:53,400 --> 00:24:55,460 And where do you think it stores this information? 450 00:24:56,640 --> 00:24:58,360 In the cloud. 451 00:24:59,500 --> 00:25:01,200 In the cloud. 452 00:25:01,380 --> 00:25:07,000 So, now maybe you have some connection between your device and whatever. 453 00:25:07,000 --> 00:25:13,440 And we've seen denial of service attacks blocking out parts of the internet from tons and tons of small devices. 454 00:25:13,440 --> 00:25:21,540 If you're in an industrial control system, the network latency in messaging is very important. 455 00:25:21,540 --> 00:25:29,820 You might have maybe a five millisecond latency requirement because you are controlling a very large, dangerous piece of equipment. 456 00:25:29,820 --> 00:25:36,300 And if you can't monitor it, feedback, change its position, see where it is every five milliseconds, things can go wrong. 457 00:25:36,300 --> 00:25:42,600 And if you're looking for denial of service on your network, who looks at the drill first? 458 00:25:42,900 --> 00:25:44,880 Yeah, not even me, right? 459 00:25:44,920 --> 00:25:48,880 So, but it kind of comes, and it's not, again, it really isn't the drill. 460 00:25:48,880 --> 00:25:50,580 The drill is the extreme example, right? 461 00:25:50,580 --> 00:25:51,940 The drill is the fun part. 462 00:25:51,940 --> 00:25:56,180 But it could be from a lot of different devices that you don't expect. 463 00:25:56,180 --> 00:25:59,840 It's firmware and computers in places that you don't expect. 464 00:26:01,340 --> 00:26:07,280 And finally, you have a chance to listen to my favorite rant. 465 00:26:08,080 --> 00:26:11,700 What is the difference between firmware and software? 466 00:26:13,980 --> 00:26:16,220 Yes, sir, in the back. 467 00:26:16,320 --> 00:26:17,240 Nothing! 468 00:26:17,480 --> 00:26:19,120 You win a prize. 469 00:26:19,120 --> 00:26:20,400 Dang, do I have a prize? 470 00:26:20,400 --> 00:26:21,920 I'll have to look for a prize. 471 00:26:23,360 --> 00:26:25,080 Basically, nothing. 472 00:26:25,280 --> 00:26:29,040 At one time, for most considerations, call it nothing. 473 00:26:29,040 --> 00:26:35,720 At one time, we might have said an important consideration was that firmware, for instance, you couldn't change it. 474 00:26:36,320 --> 00:26:36,620 Right? 475 00:26:36,620 --> 00:26:41,520 We looked at, you know, the original ROMs, like mast ROMs and one-time programmable. 476 00:26:41,520 --> 00:26:43,660 You really couldn't change those. 477 00:26:43,920 --> 00:26:50,900 And so that might make a significant difference, sort of, for firmware in terms of security. 478 00:26:51,360 --> 00:26:53,800 But even think about that for a second. 479 00:26:53,800 --> 00:27:03,780 Let's say you have software on a device, and it's software, that you cannot change, and you discover a vulnerability. 480 00:27:05,920 --> 00:27:06,500 Right? 481 00:27:06,500 --> 00:27:09,660 Best case, you will always have that vulnerability. 482 00:27:09,660 --> 00:27:11,060 You can't fix it. 483 00:27:11,060 --> 00:27:13,100 Who believes software is perfect? 484 00:27:13,640 --> 00:27:16,260 You guys are way smarter than you look. 485 00:27:16,260 --> 00:27:20,290 So, I have a couple of... 486 00:27:23,780 --> 00:27:30,860 I have people that work in my company, a programming team. 487 00:27:31,660 --> 00:27:35,700 And I can come up to them and I say, hey, I've got two projects for you to work on. 488 00:27:35,700 --> 00:27:39,620 I have the software project, and I have this firmware project. 489 00:27:39,620 --> 00:27:46,060 And what I need is you all to divide yourself out, because I need all the perfect programmers over here on the firmware side. 490 00:27:46,180 --> 00:27:48,920 And I want everybody else here on the software side. 491 00:27:48,940 --> 00:27:51,780 So, after I have this talk, who ends up on this side? 492 00:27:52,400 --> 00:27:56,960 Nobody, or, yeah, you, the liars, right? 493 00:27:58,080 --> 00:28:00,480 Either way, it's software. 494 00:28:00,480 --> 00:28:03,440 It has as many vulnerabilities or problems as anything else. 495 00:28:03,440 --> 00:28:05,620 So, that's my rant. 496 00:28:05,620 --> 00:28:09,360 Never say firmware again, at least from a security perspective. 497 00:28:09,360 --> 00:28:11,960 There really isn't a significant difference there. 498 00:28:11,960 --> 00:28:16,200 It's software, it has vulnerabilities, it can be overwritten, it can damage things. 499 00:28:16,600 --> 00:28:20,960 People sometimes say, oh, firmware, must be perfect, can't change it. 500 00:28:20,960 --> 00:28:22,800 When we're done, we're going to go someplace else. 501 00:28:22,800 --> 00:28:24,280 No, no. 502 00:28:26,180 --> 00:28:28,300 And it's sort of led to my rule of thumb. 503 00:28:28,300 --> 00:28:35,500 I think this audience probably knows it, but industrial control systems not as much, those folks working there. 504 00:28:35,500 --> 00:28:43,000 Is that, look, if it plugs in or if it has batteries, and you bought it in the last five years, it's a computer. 505 00:28:44,200 --> 00:28:49,460 There's nothing that you could buy that plugs in or has batteries that isn't a computer. 506 00:28:49,460 --> 00:28:54,460 I was surprised seeing, you know, this is a battery and a switch, right? 507 00:28:54,460 --> 00:28:58,700 Not a more powerful computer. 508 00:28:58,700 --> 00:29:00,340 Oh , sorry, this is yours. 509 00:29:00,340 --> 00:29:02,520 Thank you very much for helping me. 510 00:29:03,500 --> 00:29:04,540 You're welcome. 511 00:29:04,540 --> 00:29:07,560 Or if not, you can give it to the guy who needs the prize in the back. 512 00:29:09,600 --> 00:29:12,340 All right, so it's a computer. 513 00:29:12,340 --> 00:29:13,460 It's a computer. 514 00:29:14,940 --> 00:29:22,220 And finally, my analysis after tearing down this tool is that it had very nice copper heat sinks. 515 00:29:22,220 --> 00:29:23,760 Copper conducts better than aluminum. 516 00:29:23,760 --> 00:29:25,280 I thought they were very fine. 517 00:29:25,560 --> 00:29:27,580 It has thermal sensors for the battery. 518 00:29:27,580 --> 00:29:30,480 It's looking for overload and overload on the MOSFETs. 519 00:29:30,480 --> 00:29:31,780 That's a good thing. 520 00:29:32,500 --> 00:29:35,640 The PC board has a nice conformal coating. 521 00:29:35,860 --> 00:29:41,080 That's a plastic kind of overspray that protects the board from harsh environments. 522 00:29:41,080 --> 00:29:45,780 So particularly in industrial control systems, those computers don't live in server rooms. 523 00:29:45,900 --> 00:29:50,740 They get bolted to things that shake and have dust and sand and are too hot. 524 00:29:50,900 --> 00:29:56,340 So something like, you know, this can avoid things like salt spray and dust and help protect it. 525 00:29:56,340 --> 00:29:57,600 I thought that was good. 526 00:29:58,680 --> 00:30:00,620 I thought it was good that they didn't... 527 00:30:00,620 --> 00:30:05,020 In some instances, you can change a fuse in the device and make the firmware write-only. 528 00:30:06,660 --> 00:30:08,560 How much protection is that? 529 00:30:09,280 --> 00:30:11,320 Notice I said write-only. 530 00:30:12,620 --> 00:30:16,700 What does it mean if I get this thing and I want to know if it's been modified somehow? 531 00:30:17,600 --> 00:30:19,400 I can't read it, right? 532 00:30:19,460 --> 00:30:24,020 So one of the things that we did was we pulled the firmware off to check that it was okay. 533 00:30:24,360 --> 00:30:27,320 How long would it, right, how long would it take me to do this? 534 00:30:27,600 --> 00:30:38,240 You know, if I took it to the bathroom with me in a plant, 10 minutes, 5, 10, something like that, take the screws out, it takes as long as it takes, put the screws back in. 535 00:30:41,240 --> 00:30:50,940 So by not making the firmware write-only, we can validate, verify that this piece of software running this important control system is still valid. 536 00:30:50,940 --> 00:30:53,340 I think that's a very good thing, to be able to do that. 537 00:30:53,740 --> 00:30:59,560 We also have a group of people that help do patches and look up patches for industrial control systems. 538 00:30:59,700 --> 00:31:02,520 And I went to them and I'm like, would you check for me? 539 00:31:02,520 --> 00:31:05,260 Has there been any new firmware released for this drill? 540 00:31:05,680 --> 00:31:07,400 And that's kind of what they do for a living. 541 00:31:07,400 --> 00:31:09,480 And they're like, nope, can't find any. 542 00:31:09,720 --> 00:31:10,640 I'm like, okay. 543 00:31:10,920 --> 00:31:12,280 Some things don't have patches. 544 00:31:12,280 --> 00:31:14,960 I'm not going to fault people for not delivering patches. 545 00:31:14,960 --> 00:31:19,920 I don't see anything incredibly wrong, necessarily, with it. 546 00:31:21,020 --> 00:31:30,880 But if I did have an ask for this manufacturer, it would be to publish the hash for the firmware that they've installed. 547 00:31:31,080 --> 00:31:39,500 Now, I'm taking my good firmware, because I have a couple of these drills, and that's what it came with, and I assumed that they matched, that it was the right one. 548 00:31:39,500 --> 00:31:43,860 But to really be sure, I'd like to see a signed hash from the manufacturer. 549 00:31:43,860 --> 00:31:47,860 So that would be the one thing that they could really do better. 550 00:31:49,020 --> 00:31:51,660 Maybe execute signed-only code. 551 00:31:51,660 --> 00:31:52,620 That would probably work. 552 00:31:52,620 --> 00:31:58,660 But the processing power and storage in this chip is pretty small, so that might be too much of an ask. 553 00:31:58,660 --> 00:32:01,080 But they'd at least publish the hash. 554 00:32:01,180 --> 00:32:05,520 And I also like that they make these headers easily available. 555 00:32:05,520 --> 00:32:07,040 Somewhat easily available. 556 00:32:07,080 --> 00:32:16,080 I would almost like to see them on the outside, because I'm more interested in being able to verify that my device is right. 557 00:32:16,080 --> 00:32:18,900 Remember we said somebody might capture it along the way. 558 00:32:18,920 --> 00:32:20,760 Somebody might take it to the restroom. 559 00:32:21,340 --> 00:32:23,080 Not this device in particular. 560 00:32:23,320 --> 00:32:29,620 There's a computer in this thing, and there are computers in these cameras, and there's computers all over the place. 561 00:32:29,720 --> 00:32:32,960 And in an industrial plant, that might mean the difference between life and death. 562 00:32:32,960 --> 00:32:36,540 I want to be able to check that they are okay. 563 00:32:36,760 --> 00:32:42,020 So if you make programming headers easily available, and often they are pretty easily available. 564 00:32:42,020 --> 00:32:44,420 This one didn't have pins on it. 565 00:32:44,420 --> 00:32:45,260 It was fairly easy. 566 00:32:45,260 --> 00:32:47,320 A lot of them already have pins available. 567 00:32:47,600 --> 00:32:48,340 JTAG ports. 568 00:32:48,340 --> 00:32:50,460 Because they have to program them when they come out. 569 00:32:52,540 --> 00:32:53,360 All right. 570 00:32:53,360 --> 00:32:55,540 We have a couple more minutes. 571 00:32:55,540 --> 00:32:57,540 I want to tell you one more thing. 572 00:32:57,540 --> 00:33:02,440 This is mostly for my industrial control system audience, of which there are a few. 573 00:33:02,540 --> 00:33:06,600 Is that, well, actually it's for both. 574 00:33:07,200 --> 00:33:11,480 How do we protect these things from a security point of view? 575 00:33:11,480 --> 00:33:13,840 Well, we talked about being able to validate the firmware. 576 00:33:14,420 --> 00:33:18,360 Now, let me plant one idea in your mind. 577 00:33:18,900 --> 00:33:22,540 This is a computer running software. 578 00:33:24,160 --> 00:33:34,940 So, ignoring the specifics of this device, tell me, generically, how do you protect a computer running software? 579 00:33:34,940 --> 00:33:36,400 What tools do you have? 580 00:33:36,900 --> 00:33:37,820 Signing. 581 00:33:38,140 --> 00:33:40,020 If you can sign the code, right? 582 00:33:40,020 --> 00:33:41,280 Maybe you could sign code on it. 583 00:33:41,280 --> 00:33:42,920 It might not have enough processing power. 584 00:33:42,980 --> 00:33:44,160 What else can we do? 585 00:33:45,640 --> 00:33:46,820 Antivirus, right? 586 00:33:47,460 --> 00:33:50,540 I might ask my vendor to provide antivirus. 587 00:33:50,540 --> 00:33:53,060 They might not be able to support it, but I can at least ask. 588 00:33:53,520 --> 00:33:55,580 Who runs antivirus on this? 589 00:33:56,700 --> 00:33:58,180 At least one, right? 590 00:33:58,220 --> 00:34:00,120 I do, except this is my burner. 591 00:34:01,140 --> 00:34:03,300 So, you can run AV on these devices. 592 00:34:03,300 --> 00:34:05,220 So, if you can run AV, run it. 593 00:34:05,220 --> 00:34:13,060 And if you're buying 10,000 whatever devices it is for your plant, at least ask the manufacturer if you can run AV on it. 594 00:34:13,060 --> 00:34:14,980 They may not be able to provide it, but maybe. 595 00:34:15,320 --> 00:34:20,020 What else do we do to protect computers running software? 596 00:34:22,450 --> 00:34:24,190 Protect the network, right? 597 00:34:24,190 --> 00:34:26,970 If this thing isn't connected, the other ones are, right? 598 00:34:26,970 --> 00:34:34,150 We use firewall rules and IDSs to protect the network. 599 00:34:34,730 --> 00:34:35,970 Anything else? 600 00:34:37,370 --> 00:34:38,150 Patches, right? 601 00:34:38,150 --> 00:34:38,750 That too. 602 00:34:38,750 --> 00:34:42,690 So, we're going to check to see if there are any known vulnerabilities, and we're going to patch these devices. 603 00:34:42,690 --> 00:34:45,650 So, the final takeaways are drills are fun. 604 00:34:45,650 --> 00:34:46,410 No, wait a minute. 605 00:34:46,410 --> 00:34:57,610 Are that everything's a computer running software, and even if that's what you're faced with, no matter how bizarre they look, you have tools to help protect them. 606 00:34:57,770 --> 00:35:08,670 If you can't do exactly what you want, if you can't run AV on here, you want to be creative and do something else, like run firewall rules in your wireless or so forth. 607 00:35:08,750 --> 00:35:11,770 You have to be a little more thoughtful about how to protect it. 608 00:35:11,770 --> 00:35:14,390 But you have the opportunity to do that. 609 00:35:14,390 --> 00:35:15,390 Be creative. 610 00:35:15,430 --> 00:35:17,270 With that, thank you very much. 611 00:35:17,650 --> 00:35:19,070 Oh, wait a minute. 612 00:35:19,070 --> 00:35:20,950 I took the charger apart too. 613 00:35:20,950 --> 00:35:23,010 Anybody, any idea what this is? 614 00:35:24,470 --> 00:35:25,790 Another microcontroller. 615 00:35:25,850 --> 00:35:27,250 All right, well, I'm Monte. 616 00:35:27,250 --> 00:35:28,470 Thank you all very much. 617 00:35:28,470 --> 00:35:29,750 Catch me online somewhere. 618 00:35:29,750 --> 00:35:31,610 I'm here the rest of the week. 619 00:35:31,610 --> 00:35:34,230 Thank you.