1 00:00:00,000 --> 00:00:05,180 Everybody, next speaker up is Mike Godfrey. He's going to talk about how we cost our client 2 00:00:05,180 --> 00:00:11,740 1.2 million pounds with four lines of code and less than two hours. So give him a round 3 00:00:11,740 --> 00:00:12,380 of applause for Mike. 4 00:00:18,940 --> 00:00:24,460 Hello. Well, thanks a lot for coming. We've got a lot to get through in a short amount 5 00:00:24,460 --> 00:00:30,280 of time, so we'll get straight into it. But as you heard, I'm Mike. I'm at Mike G Hacks. 6 00:00:30,700 --> 00:00:35,240 I'm the founder of Insignia. I'm a qualified pen tester. I'm a qualified CCNA CEH. I spent 7 00:00:35,240 --> 00:00:40,040 10 years in priority, about 23 years in breaking it. I specialize in hardware and physical, 8 00:00:40,240 --> 00:00:44,020 and I'm a qualified commercial and industrial electrician and gas engineer. So I actually 9 00:00:44,020 --> 00:00:45,880 started out in ICS as a commercial gas engineer. 10 00:00:46,900 --> 00:00:51,220 So a quick few bits about this talk. We carry out impact-based pen testing, so you're not 11 00:00:51,220 --> 00:00:54,440 going to see Nessus scans. You're not going to see that sort of output. We take on a 12 00:00:54,440 --> 00:00:59,020 about 10 clients a year, so people that come to us really want to know the true impact 13 00:00:59,020 --> 00:01:02,700 of what's going to happen in their systems. I usually give this talk to my colleague Paul 14 00:01:02,700 --> 00:01:06,980 Hunter, who couldn't be here, but my colleague Simon is. So ask me anything. Simon's also 15 00:01:06,980 --> 00:01:11,660 outside of a PLC, and we're going to talk about how to lose 1.2 million pounds in two 16 00:01:11,660 --> 00:01:12,400 hours, about $2 million. 17 00:01:13,440 --> 00:01:18,040 So to tell you a bit about us, we're probably the UK leaders in ICS security training. We've 18 00:01:18,040 --> 00:01:22,540 got a 16,500-square-foot lab that's got loads of legacy technology. It's got all the main 19 00:01:22,540 --> 00:01:24,280 manufacturers, Siemens, Omron, Allen Bradley. 20 00:01:25,380 --> 00:01:28,840 We're the only gas-safe cybersecurity company in the UK. We'll talk about why that's relevant 21 00:01:28,840 --> 00:01:32,680 in a minute. We've got 10 years' experience in attacking ICS, and we're sitting in Guilds 22 00:01:32,680 --> 00:01:36,960 Free Training Center. But this is a couple of pictures of our lab. So this is one area. 23 00:01:37,120 --> 00:01:41,400 It's a bottling plant and a gas rig. This is one of our robotic arms. It's an ABB. 24 00:01:41,840 --> 00:01:45,340 And this is one of our gamification rigs. But here we've got a short video that shows 25 00:01:45,340 --> 00:01:46,100 you a bit about what we do. 26 00:02:07,800 --> 00:02:11,780 Here's a picture of how this works. 27 00:02:12,460 --> 00:02:12,640 . 28 00:02:13,480 --> 00:02:14,320 . 29 00:02:14,320 --> 00:02:15,260 . 30 00:02:15,260 --> 00:02:15,280 . 31 00:02:15,280 --> 00:02:15,540 . 32 00:02:15,540 --> 00:02:16,480 . 33 00:02:16,480 --> 00:02:16,500 . 34 00:02:17,540 --> 00:02:18,380 . 35 00:02:21,060 --> 00:02:21,900 . 36 00:02:21,900 --> 00:02:22,160 . 37 00:02:22,160 --> 00:02:22,180 . 38 00:02:25,140 --> 00:02:32,040 Lines of the stars and sunrises Don't act like it's surprising 39 00:02:34,820 --> 00:02:42,820 Pop the champagne, start a fire We made it, we made it 40 00:02:42,820 --> 00:02:49,160 Put your hands up, raise them higher We made it, yeah 41 00:02:49,160 --> 00:02:52,160 We're on top of the world 42 00:02:57,040 --> 00:03:00,020 We're on top of the world 43 00:03:04,520 --> 00:03:07,200 We're on top of the world 44 00:03:10,520 --> 00:03:13,320 So, I said we're gas safe registered, what does that actually mean? 45 00:03:13,500 --> 00:03:16,220 Well, gas appliances in the UK, this is a typical domestic appliance 46 00:03:16,220 --> 00:03:18,800 These are from about 24 to 40 kilowatt 47 00:03:18,800 --> 00:03:19,140 So, these are from about 24 to 40 kilowatt 48 00:03:19,160 --> 00:03:22,120 And when we're talking about gas systems, what we're actually talking about is things like this 49 00:03:22,120 --> 00:03:25,120 So, things that are up to 70,000 kilowatt, 70 megawatt 50 00:03:25,500 --> 00:03:28,140 So, when we talk about gas throughout this talk, this is really what we're talking about 51 00:03:28,540 --> 00:03:30,860 Now, to talk about a few things on SCADA 52 00:03:31,540 --> 00:03:34,540 Firstly, SCADA is probably not what you think, there is an industrial control system 53 00:03:35,000 --> 00:03:37,160 So, a better description would really be control system 54 00:03:37,160 --> 00:03:40,940 The Bellagio fountains are under control system, similar sorts of things 55 00:03:40,940 --> 00:03:45,240 But these cover everything from industrial process, military equipment, transportation 56 00:03:45,760 --> 00:03:49,020 In fact, this is what people, most people accept as SCADA 57 00:03:49,020 --> 00:03:55,860 But it's prevalent in transportation, in electric, in healthcare, in water, in building management systems 58 00:03:55,860 --> 00:03:59,580 In natural gas, in oil, in chemical, manufacturing 59 00:04:01,060 --> 00:04:03,060 So, what's the problem with securing all these things? 60 00:04:03,260 --> 00:04:05,280 Now, this is an image from Joe Weiss 61 00:04:05,280 --> 00:04:07,760 And basically, it outlines the problem perfectly 62 00:04:07,760 --> 00:04:11,940 Now, the issue is that you've got ICS engineers who haven't really integrated properly with IT 63 00:04:11,940 --> 00:04:15,060 And you've got IT security specialists who don't really understand the engineering side of it 64 00:04:15,060 --> 00:04:18,480 On that basis, it's very, very difficult to work out 65 00:04:18,480 --> 00:04:20,280 What is a cyber attack and what is a cyber failure 66 00:04:20,280 --> 00:04:21,620 Because there's a massive skills gap 67 00:04:22,300 --> 00:04:24,440 When these failures happen, they almost cause wars 68 00:04:24,440 --> 00:04:25,560 We'll talk about that in a minute 69 00:04:25,560 --> 00:04:28,820 And the RAF in the UK is still installing their 7300s 70 00:04:28,820 --> 00:04:29,980 It's a really old technology 71 00:04:30,560 --> 00:04:32,180 Now, if we have a look at the problem with that technology 72 00:04:32,920 --> 00:04:35,720 It's old technology, it's insecure by design, it's cross-protocol 73 00:04:36,140 --> 00:04:38,540 You've got secure level 1 to level 3 devices 74 00:04:38,540 --> 00:04:40,060 So, you've got insufficient backups 75 00:04:40,480 --> 00:04:41,280 Which is a big problem 76 00:04:41,280 --> 00:04:43,820 Because if you drop the power to an old PLC, then it deletes the program 77 00:04:43,820 --> 00:04:44,720 Drops the program 78 00:04:44,720 --> 00:04:46,720 So, without proper backups, it's a big issue 79 00:04:46,720 --> 00:04:48,420 But because these are such good people 80 00:04:48,480 --> 00:04:49,620 These pieces of kit are so reliable 81 00:04:49,620 --> 00:04:52,140 They don't really warrant a full-time on-site technical facility 82 00:04:52,560 --> 00:04:55,000 So, there really isn't ICS engineers on every single location 83 00:04:55,000 --> 00:04:57,140 And there's a lack of ICS security experts 84 00:04:57,600 --> 00:04:58,680 Now, to fly through these 85 00:04:58,680 --> 00:05:00,660 As I said, we're quite short on time 86 00:05:00,660 --> 00:05:02,240 These are really easy to access 87 00:05:02,240 --> 00:05:04,060 That's why they're not great for hackers 88 00:05:04,060 --> 00:05:05,720 They've got little or no security 89 00:05:05,720 --> 00:05:08,460 They've got default hard-coded credentials quite often 90 00:05:08,900 --> 00:05:11,660 And it should really say there's no protection from physical attacks 91 00:05:11,660 --> 00:05:12,620 Because there really isn't 92 00:05:13,300 --> 00:05:15,860 There's almost no traceability of forensic evidence when these are attacked 93 00:05:16,420 --> 00:05:17,560 They're very easy to attack remotely 94 00:05:17,560 --> 00:05:18,460 And there's a range of attacks 95 00:05:18,480 --> 00:05:19,500 There's attack vectors at all levels 96 00:05:20,000 --> 00:05:22,260 And when we have a look at the types of attack that we see on these 97 00:05:22,260 --> 00:05:23,560 Ransomware, indeed, aren't as prevalent 98 00:05:23,560 --> 00:05:24,460 But they do still exist 99 00:05:24,460 --> 00:05:25,800 We'll talk about that in a minute 100 00:05:26,480 --> 00:05:28,580 Sensor spoofing is a really big thing 101 00:05:28,580 --> 00:05:29,980 And disrupting and stopping the process 102 00:05:29,980 --> 00:05:32,280 Is obviously the aim of what we want to do when we run a pen test 103 00:05:33,000 --> 00:05:34,300 Tampering, misguiding on HMIs 104 00:05:34,300 --> 00:05:35,220 And the list goes on 105 00:05:35,700 --> 00:05:38,740 But really, the problem is that these things aren't always baking cakes 106 00:05:38,740 --> 00:05:40,320 They can create harsh chemical reactions 107 00:05:40,320 --> 00:05:41,920 Reach super high temperatures 108 00:05:41,920 --> 00:05:43,120 Get to immensely high pressures 109 00:05:43,120 --> 00:05:44,180 They've got mechanical components 110 00:05:44,180 --> 00:05:45,100 Software components 111 00:05:45,600 --> 00:05:47,740 Physical attacks that can destroy operations in seconds 112 00:05:47,740 --> 00:05:50,320 Like I said, surprisingly, it's not a recipe for Granny's Apple Pie 113 00:05:50,320 --> 00:05:51,220 It's a recipe for disaster 114 00:05:52,220 --> 00:05:53,580 So when we have a look at the impact 115 00:05:53,580 --> 00:05:55,700 Let's take a look at what happens when these things go wrong 116 00:05:56,580 --> 00:05:57,840 This is a Russian power station 117 00:05:57,840 --> 00:06:00,440 It's probably one of the most famous ICS failures 118 00:06:01,100 --> 00:06:02,420 This basically had a turbine 119 00:06:02,420 --> 00:06:03,700 It was a 1,000 tonne turbine 120 00:06:03,700 --> 00:06:05,720 That ramped up to such power in milliseconds 121 00:06:05,720 --> 00:06:07,240 It killed 75 people 122 00:06:07,240 --> 00:06:09,540 And if you look on the bottom left picture 123 00:06:09,540 --> 00:06:11,420 You can probably see a guy standing on a wooden bridge 124 00:06:11,420 --> 00:06:13,160 So that shows the scale of this 125 00:06:14,340 --> 00:06:17,660 That basically made Russia almost launch a counter-strike against the US 126 00:06:17,740 --> 00:06:18,820 Because they thought it was a cyber attack 127 00:06:18,820 --> 00:06:20,900 It wasn't at all, it was a cyber failure 128 00:06:20,900 --> 00:06:24,340 It was a $2 sensor that had fallen off the side of a dam 129 00:06:24,340 --> 00:06:25,640 That had basically overfilled the reservoir 130 00:06:26,200 --> 00:06:27,400 Which was a big, big issue 131 00:06:28,080 --> 00:06:29,420 Now again, when we have a look at the impact 132 00:06:29,420 --> 00:06:31,820 On the left we've got a vehicle manufacturing plant 133 00:06:32,460 --> 00:06:33,960 In the middle we've got a commercial boiler 134 00:06:33,960 --> 00:06:35,320 And on the right we've got an expansion vessel 135 00:06:35,320 --> 00:06:36,700 Which we've successfully blown up 136 00:06:37,140 --> 00:06:38,520 Now, when we have a look on the left 137 00:06:38,520 --> 00:06:39,560 Let's make no mistake about it 138 00:06:39,560 --> 00:06:40,900 That is an automated killing machine 139 00:06:40,900 --> 00:06:43,520 If you walked in there through those safety interlocks 140 00:06:43,520 --> 00:06:44,240 It would kill you 141 00:06:44,240 --> 00:06:45,580 Without a single shadow of a doubt 142 00:06:46,280 --> 00:06:48,100 So what is it that actually stops it killing you? 143 00:06:48,940 --> 00:06:49,940 Well, safety devices 144 00:06:50,340 --> 00:06:51,960 But the things we rely on to keep us alive 145 00:06:51,960 --> 00:06:52,760 Will always fail 146 00:06:52,760 --> 00:06:54,040 And on the left we've got a thermostat 147 00:06:54,040 --> 00:06:55,540 And on the right we've got a temperature sensor 148 00:06:56,220 --> 00:06:58,740 So on the far right we've got a pressure relief valve 149 00:06:58,740 --> 00:07:00,500 Now, these will always fail 150 00:07:00,500 --> 00:07:01,520 These are interchangeable parts 151 00:07:01,520 --> 00:07:02,960 So we know they're going to fail at some point 152 00:07:02,960 --> 00:07:04,820 In fact, when they do fail like this 153 00:07:04,820 --> 00:07:07,140 You've now got a bomb within your building 154 00:07:07,140 --> 00:07:09,040 Because if that pressure ramps up 155 00:07:09,040 --> 00:07:10,760 For overheating or for anything like that 156 00:07:10,760 --> 00:07:12,740 And the pressure relief valve does not go off 157 00:07:12,740 --> 00:07:13,540 That's what will happen 158 00:07:13,540 --> 00:07:15,560 And that's exactly how we blew that expansion vessel up 159 00:07:16,160 --> 00:07:17,960 Now, when we have a look at safety interlocks 160 00:07:17,960 --> 00:07:19,440 And the things that we rely on to keep us alive 161 00:07:20,340 --> 00:07:21,660 This is an ABB controller 162 00:07:21,660 --> 00:07:23,800 You can see here we've got a door interlock 163 00:07:26,480 --> 00:07:28,280 Now, this is the controller for that robotic arm 164 00:07:28,280 --> 00:07:29,020 And for that interlock 165 00:07:29,020 --> 00:07:30,520 All you need is a screwdriver 166 00:07:30,520 --> 00:07:32,400 In fact, we don't even have the keys for that 167 00:07:32,920 --> 00:07:35,540 So we just use a screwdriver to get into it ordinarily 168 00:07:36,200 --> 00:07:37,080 So it's a big issue 169 00:07:38,220 --> 00:07:39,740 Now, what we know about ICS is that 170 00:07:39,740 --> 00:07:40,780 Over 30 billion pounds 171 00:07:40,780 --> 00:07:41,700 About 50 billion dollars 172 00:07:41,700 --> 00:07:44,300 Has been lost in ICS failure, ransom or cyber attacks 173 00:07:44,300 --> 00:07:47,460 It's been 70 plus incidents with severe environmental damage 174 00:07:47,460 --> 00:07:48,640 1,000 plus deaths reportedly 175 00:07:49,260 --> 00:07:51,600 And the environmental disaster of Deepwater Horizon 176 00:07:51,600 --> 00:07:52,020 Was massive 177 00:07:52,020 --> 00:07:56,020 68,000 plus square miles of ocean ruin 178 00:07:56,020 --> 00:07:57,600 It's a big, big issue 179 00:07:57,600 --> 00:07:59,460 But when we have a look at what most of them run 180 00:08:00,240 --> 00:08:01,800 Most of them run Windows 181 00:08:01,800 --> 00:08:02,880 And I know what you're thinking 182 00:08:02,880 --> 00:08:03,660 But believe it or not 183 00:08:03,660 --> 00:08:05,040 Windows does have bugs in it 184 00:08:05,040 --> 00:08:06,180 So it's a big issue 185 00:08:06,180 --> 00:08:08,300 And when we look at these systems 186 00:08:08,300 --> 00:08:09,500 It does get worse 187 00:08:10,200 --> 00:08:11,740 Most run Windows 7 still 188 00:08:12,280 --> 00:08:13,780 Some even run Windows 98 189 00:08:14,480 --> 00:08:15,940 So it's a big, big problem 190 00:08:16,880 --> 00:08:20,220 So when we carry out impact-based pen testing in ICS 191 00:08:20,220 --> 00:08:21,040 What do we actually do? 192 00:08:21,660 --> 00:08:23,260 Well, the default rules do still apply 193 00:08:23,260 --> 00:08:25,260 If you take a USB killer into these environments 194 00:08:25,260 --> 00:08:26,400 Clearly you're going to deck everything 195 00:08:27,020 --> 00:08:28,820 We still use standard tools, etc 196 00:08:29,480 --> 00:08:31,180 But you're going to find things on Shodown 197 00:08:31,180 --> 00:08:33,020 You're going to find web admin panels 198 00:08:33,020 --> 00:08:35,100 You're going to find misconfigurations 199 00:08:35,100 --> 00:08:37,000 You're going to be able to upgrade firmware 200 00:08:37,580 --> 00:08:39,220 You're going to find default credentials 201 00:08:40,200 --> 00:08:41,860 Now this is where things get a bit different 202 00:08:42,700 --> 00:08:44,200 Now, we talk about a level 203 00:08:44,300 --> 00:08:45,280 And the Purge or ICS model 204 00:08:45,280 --> 00:08:46,420 Is probably considered the best thing 205 00:08:46,420 --> 00:08:47,940 For the levels of these devices 206 00:08:47,940 --> 00:08:49,460 But levels seem to differ 207 00:08:49,460 --> 00:08:50,440 Depending on where you look 208 00:08:50,440 --> 00:08:52,960 In fact, here I've got three contradicting images 209 00:08:52,960 --> 00:08:54,420 Of ICS levels 210 00:08:54,840 --> 00:08:56,440 So for the purpose of this talk 211 00:08:56,440 --> 00:08:57,300 And this is the issue 212 00:08:57,300 --> 00:08:59,560 I think how are we going to secure this stuff 213 00:08:59,560 --> 00:09:00,440 We can't agree on the levels 214 00:09:00,440 --> 00:09:02,100 But for the purpose of this talk 215 00:09:02,100 --> 00:09:03,520 Level 3 we see as SCADA 216 00:09:03,520 --> 00:09:05,680 Level 2 we see as HMIs, PLCs and controllers 217 00:09:06,100 --> 00:09:07,520 Level 1 we see as sensors 218 00:09:07,520 --> 00:09:09,860 And level 0 we see as the fabric of buildings 219 00:09:09,860 --> 00:09:10,640 And the process 220 00:09:10,640 --> 00:09:12,060 And we're going to talk about why that is 221 00:09:12,060 --> 00:09:13,840 But when we talk about PLCs 222 00:09:14,320 --> 00:09:16,200 What we're talking about is programmable logic controller 223 00:09:16,200 --> 00:09:17,400 I'm sure most of you know this anyway 224 00:09:17,820 --> 00:09:19,480 But these have got multiple network types 225 00:09:19,480 --> 00:09:20,640 We're not going to go too much into this 226 00:09:20,640 --> 00:09:22,180 But we've got one of these around the corner 227 00:09:22,180 --> 00:09:24,120 So if you want to see these and how we attack them 228 00:09:24,120 --> 00:09:25,480 We're literally just out here 229 00:09:26,020 --> 00:09:27,440 So we've got this exact one 230 00:09:27,440 --> 00:09:28,260 We're happy to show you it 231 00:09:28,680 --> 00:09:30,160 We're also talking about BMS systems 232 00:09:30,160 --> 00:09:31,280 Building management systems 233 00:09:31,280 --> 00:09:33,100 Now this is where I first started 234 00:09:33,100 --> 00:09:34,400 Hacking these types of systems 235 00:09:34,900 --> 00:09:36,220 As a commercial gas engineer 236 00:09:36,220 --> 00:09:38,240 These basically control all the set points 237 00:09:38,240 --> 00:09:39,040 And the building management 238 00:09:39,040 --> 00:09:40,000 Throughout the building 239 00:09:40,000 --> 00:09:42,420 Now quite often these sit in these panels 240 00:09:42,420 --> 00:09:43,820 So this is a 400 meter system 241 00:09:43,840 --> 00:09:45,980 With a 115 volt panel on the right hand side 242 00:09:45,980 --> 00:09:48,360 You need to be qualified to open those in the UK 243 00:09:49,000 --> 00:09:50,800 Here we can easily see where that pressurization unit 244 00:09:50,800 --> 00:09:51,240 Has had a leak 245 00:09:51,240 --> 00:09:51,940 That's a different issue 246 00:09:52,420 --> 00:09:54,360 But what do we get if we open these up? 247 00:09:55,000 --> 00:09:56,200 Well what we get is a router 248 00:09:56,200 --> 00:09:57,360 And a power socket 249 00:09:58,480 --> 00:09:59,580 So straight away for us 250 00:09:59,580 --> 00:10:00,320 That's a good spot 251 00:10:01,060 --> 00:10:02,580 Now what's an ethical hacker going to do 252 00:10:02,580 --> 00:10:03,880 When they find a router in a locked cupboard 253 00:10:03,880 --> 00:10:04,780 With persistent power? 254 00:10:05,600 --> 00:10:07,140 Of course you're going to get your cat to hack it 255 00:10:08,120 --> 00:10:09,720 So what does that hack look like? 256 00:10:10,260 --> 00:10:11,240 So what we did was 257 00:10:11,240 --> 00:10:12,520 Obviously I wanted to make a device 258 00:10:12,520 --> 00:10:13,860 That I could put into this cupboard 259 00:10:13,860 --> 00:10:15,160 And it isn't going to get found 260 00:10:15,160 --> 00:10:16,580 Or isn't really going to allow people straight away 261 00:10:16,580 --> 00:10:17,200 So I made this 262 00:10:17,200 --> 00:10:17,840 It's called the hack plug 263 00:10:17,840 --> 00:10:19,800 And basically it's got multiple interfaces 264 00:10:19,800 --> 00:10:21,660 So it can connect to an ethernet 265 00:10:21,660 --> 00:10:23,060 It can work through the power line 266 00:10:23,060 --> 00:10:23,880 For extra tracing data 267 00:10:23,880 --> 00:10:25,240 It can connect to Wi-Fi 268 00:10:25,240 --> 00:10:27,100 It also works on 3G and 4G 269 00:10:27,100 --> 00:10:28,320 And it's got local protocols as well 270 00:10:28,320 --> 00:10:29,100 Like Bluetooth low energy 271 00:10:29,100 --> 00:10:30,220 So we can connect to it locally 272 00:10:30,780 --> 00:10:31,960 Now to drill into this quickly 273 00:10:31,960 --> 00:10:32,640 With the components 274 00:10:32,640 --> 00:10:34,400 Components is just a surge protector lead 275 00:10:34,400 --> 00:10:36,620 It's got a deshelled laptop power supply 276 00:10:36,620 --> 00:10:37,480 Which gives us three amps 277 00:10:38,260 --> 00:10:39,140 It's got Pi Zero 278 00:10:39,140 --> 00:10:41,120 That's running Kali for Pi 2 279 00:10:41,480 --> 00:10:42,380 It's got Wi-Fi modules 280 00:10:42,520 --> 00:10:43,160 Ethernet connector 281 00:10:44,000 --> 00:10:45,340 Yeah it's got all of that in it 282 00:10:45,340 --> 00:10:46,240 So I'm going to give you this 283 00:10:46,240 --> 00:10:46,820 Because it's off the film 284 00:10:47,740 --> 00:10:48,940 So now we're talking about 285 00:10:48,940 --> 00:10:50,160 Default rules do not apply 286 00:10:50,160 --> 00:10:52,420 So ICS safe network enumeration 287 00:10:52,420 --> 00:10:53,460 So here's an example 288 00:10:53,460 --> 00:10:55,260 Of how you'd enumerate an ICS network safely 289 00:10:55,260 --> 00:10:56,940 Because even just enumerated network 290 00:10:56,940 --> 00:10:58,440 Can flood it and deny the service on it 291 00:10:58,920 --> 00:11:00,040 So once we've done that 292 00:11:00,040 --> 00:11:02,060 We want to start looking at safe test routes 293 00:11:02,060 --> 00:11:04,400 So we're not taking down an actual process 294 00:11:04,400 --> 00:11:04,960 Although we did 295 00:11:04,960 --> 00:11:06,040 And we'll talk about that in a minute 296 00:11:06,040 --> 00:11:07,320 But a lot of what we froze 297 00:11:07,320 --> 00:11:08,160 Are these test routes 298 00:11:08,160 --> 00:11:10,080 They work in the exact same way as a process 299 00:11:10,740 --> 00:11:12,080 So they're really really good bits of kit 300 00:11:12,780 --> 00:11:14,380 But what are we actually talking about 301 00:11:14,380 --> 00:11:17,680 When we say SCADA, ICS, plant, PLCs, RTUs 302 00:11:18,160 --> 00:11:19,860 Well this is what we consider plant equipment 303 00:11:19,860 --> 00:11:21,340 So heating, cooling, distribution 304 00:11:21,860 --> 00:11:22,980 Here we've got gas meters 305 00:11:22,980 --> 00:11:24,180 Thermostatic controller 306 00:11:24,640 --> 00:11:25,600 Fan core units 307 00:11:25,600 --> 00:11:26,580 Commercial boilers 308 00:11:27,200 --> 00:11:28,520 Here we've got shop floor equipment 309 00:11:28,520 --> 00:11:30,580 So things that you'd find throughout a process 310 00:11:30,580 --> 00:11:31,460 On the shop floor 311 00:11:32,220 --> 00:11:33,300 You've got HMIs 312 00:11:33,300 --> 00:11:34,200 Human machine interfaces 313 00:11:34,200 --> 00:11:35,700 Quite often run Windows CE 314 00:11:35,700 --> 00:11:36,260 Windows embedded 315 00:11:37,140 --> 00:11:38,600 Here we've got remote terminal units 316 00:11:38,600 --> 00:11:39,820 I think over here they're referred to as 317 00:11:39,820 --> 00:11:41,620 Remote telemetry units 318 00:11:42,480 --> 00:11:43,660 We've also got field terminal units 319 00:11:43,660 --> 00:11:44,940 But more importantly 320 00:11:44,940 --> 00:11:45,680 We've got the sensors 321 00:11:45,680 --> 00:11:47,720 Now these are the tentacles of a control system 322 00:11:47,720 --> 00:11:49,420 They're the eyes and ears of a control system 323 00:11:49,860 --> 00:11:51,460 They report on information such as 324 00:11:51,460 --> 00:11:53,440 Temperature, pressure, flow, humidity, orientation 325 00:11:53,440 --> 00:11:55,640 They report that back to the PLC 326 00:11:56,160 --> 00:11:57,380 Now these are the types of sensors 327 00:11:57,380 --> 00:11:59,000 That you can have throughout these environments 328 00:11:59,000 --> 00:12:00,400 So you can have a whole plethora 329 00:12:00,400 --> 00:12:02,680 Of sensors available to you 330 00:12:03,140 --> 00:12:04,880 But when we start looking at sensors 331 00:12:04,880 --> 00:12:06,160 We move into safety devices 332 00:12:06,740 --> 00:12:08,540 Now when we look at safety interlocks 333 00:12:08,540 --> 00:12:09,580 They're made to keep us alive 334 00:12:09,580 --> 00:12:11,200 They stop machines in an emergency 335 00:12:11,620 --> 00:12:12,780 Obviously throughout processes 336 00:12:12,780 --> 00:12:14,220 We have emergency stop buttons 337 00:12:14,220 --> 00:12:15,500 But that's an electrical circuit 338 00:12:15,500 --> 00:12:16,640 Reporting to an electronic device 339 00:12:16,640 --> 00:12:18,420 In fact we know from Stuxnet 340 00:12:18,420 --> 00:12:20,360 That the emergency stop buttons weren't working 341 00:12:20,360 --> 00:12:22,080 And there's a number of ways of doing that 342 00:12:22,080 --> 00:12:23,380 We've got overheat sensors 343 00:12:23,380 --> 00:12:24,320 Expansion vessels 344 00:12:24,320 --> 00:12:25,340 Pressure relief valves 345 00:12:25,340 --> 00:12:25,880 Like we discussed 346 00:12:25,880 --> 00:12:27,420 I'm not going to list everything here 347 00:12:27,420 --> 00:12:29,220 But you get the idea of what we're talking about 348 00:12:30,580 --> 00:12:32,280 Now when we have a look at attacks 349 00:12:32,780 --> 00:12:34,780 And obviously this is what everyone really wants to see 350 00:12:36,000 --> 00:12:37,040 It's safe right 351 00:12:38,220 --> 00:12:39,940 Well actually not even safe's are safe 352 00:12:41,060 --> 00:12:43,620 So this is research I've done over the past five or six years 353 00:12:43,620 --> 00:12:44,340 It's pretty old now 354 00:12:44,780 --> 00:12:46,280 But you can see it just proves it's locked 355 00:12:51,680 --> 00:12:52,860 That's all it takes to get into it 356 00:12:52,860 --> 00:12:53,980 So I put this out 357 00:12:53,980 --> 00:12:55,460 And I've been in the hacking community for quite a while 358 00:12:55,460 --> 00:12:56,440 And everyone was like 359 00:12:56,440 --> 00:12:57,060 Yeah you know that's great 360 00:12:57,060 --> 00:12:58,040 But it's crappy safe 361 00:12:58,040 --> 00:12:58,560 And whatever 362 00:12:59,160 --> 00:12:59,920 So I was like alright 363 00:13:00,400 --> 00:13:01,060 Challenge accepted 364 00:13:02,000 --> 00:13:03,940 So this is Costco's display safe 365 00:13:03,940 --> 00:13:05,560 So this is a century safe 366 00:13:05,560 --> 00:13:07,080 It's a medium range safe 367 00:13:07,080 --> 00:13:07,760 It's not super cheap 368 00:13:07,760 --> 00:13:08,560 It's not super expensive 369 00:13:10,620 --> 00:13:12,880 And it's basically just says we're in Costco 370 00:13:19,960 --> 00:13:23,740 So it's just a rare earth magnet 371 00:13:23,740 --> 00:13:24,660 If you can't hear it 372 00:13:24,660 --> 00:13:25,100 And a sock 373 00:13:34,160 --> 00:13:35,420 Simple as that 374 00:13:35,940 --> 00:13:37,940 So obviously responsible disclosure 375 00:13:37,940 --> 00:13:39,540 We told Century about this 376 00:13:39,540 --> 00:13:40,900 And we said look we found the floor in your safe 377 00:13:40,900 --> 00:13:42,260 And they said yeah yeah that's great 378 00:13:42,260 --> 00:13:43,260 But we're not really interested 379 00:13:43,260 --> 00:13:44,480 We've defended it on the next one 380 00:13:44,480 --> 00:13:46,240 And they were releasing a new version 381 00:13:46,640 --> 00:13:47,980 So I was like alright fair enough 382 00:13:48,780 --> 00:13:50,660 So this is their current version 383 00:13:51,080 --> 00:13:52,380 So this is their new version 384 00:13:52,380 --> 00:13:53,540 This is the one that you can buy now 385 00:13:54,500 --> 00:13:55,000 Alright cool 386 00:13:55,000 --> 00:13:57,140 So some of you probably recognise this safe 387 00:13:57,140 --> 00:13:58,460 We hacked it before with a magnet 388 00:13:59,460 --> 00:14:01,300 Basically Century have put a defence into it 389 00:14:01,300 --> 00:14:03,200 So we've got the same near demeanour magnet 390 00:14:03,880 --> 00:14:04,760 What they've done 391 00:14:04,760 --> 00:14:07,440 Is made it that when you place the magnet onto the safe 392 00:14:09,000 --> 00:14:09,520 It works 393 00:14:09,520 --> 00:14:10,340 So when you actually unlock it 394 00:14:10,340 --> 00:14:12,680 You can see the safe is still completely locked 395 00:14:13,320 --> 00:14:14,700 All you actually need to do 396 00:14:16,140 --> 00:14:17,460 Is take the safe forward 397 00:14:19,160 --> 00:14:20,900 And put it back 398 00:14:23,840 --> 00:14:25,780 And this is their most recent one 399 00:14:25,780 --> 00:14:27,240 So what we're saying is that 400 00:14:27,240 --> 00:14:29,480 Even safe products aren't necessarily safe 401 00:14:29,480 --> 00:14:31,100 And people will more than happily sell you stuff 402 00:14:31,100 --> 00:14:31,740 Which is insufficient 403 00:14:32,480 --> 00:14:34,860 Now when we look at the way that this actually works 404 00:14:35,400 --> 00:14:36,640 This is what's inside them 405 00:14:36,640 --> 00:14:38,240 It's an electromagnetic solenoid valve 406 00:14:38,240 --> 00:14:40,160 I can list off loads of attacks on these 407 00:14:40,660 --> 00:14:42,780 But this video just shows a bit about how it works 408 00:14:43,660 --> 00:14:45,680 So this is the quick principle behind it 409 00:14:46,700 --> 00:14:48,820 It's a little electromagnetic solenoid 410 00:14:48,820 --> 00:14:50,740 So basically when you put the pin in 411 00:14:50,740 --> 00:14:52,960 It doesn't interfere with the lock at all 412 00:14:52,960 --> 00:14:54,960 And I mean the pin as in the digital pin code 413 00:14:54,960 --> 00:14:57,000 All it does is close the circuit 414 00:14:57,000 --> 00:14:58,680 Which makes this go 415 00:14:59,900 --> 00:15:00,700 Like that 416 00:15:00,700 --> 00:15:01,480 And pull in 417 00:15:01,480 --> 00:15:02,040 That's it 418 00:15:02,040 --> 00:15:03,480 That clears the way for you to do it 419 00:15:04,060 --> 00:15:05,360 So obviously the way to do it here 420 00:15:05,360 --> 00:15:06,180 Is even banging 421 00:15:06,680 --> 00:15:08,200 Which just bounces this up and down 422 00:15:08,240 --> 00:15:09,100 So when you bang it 423 00:15:09,100 --> 00:15:09,720 That's what you're doing 424 00:15:10,180 --> 00:15:11,480 Short circuit it 425 00:15:12,080 --> 00:15:13,040 Short circuit it 426 00:15:13,040 --> 00:15:13,500 Pulls it down 427 00:15:14,360 --> 00:15:15,520 Or just use the magnet 428 00:15:15,520 --> 00:15:18,680 And the magnet just emulates this electromagnetic 429 00:15:19,600 --> 00:15:21,480 And again in turn pulls it down 430 00:15:22,460 --> 00:15:22,980 That's it 431 00:15:22,980 --> 00:15:24,900 This one keeps you safe when you're safe 432 00:15:24,900 --> 00:15:26,100 Nothing more complicated 433 00:15:26,100 --> 00:15:26,720 So in fact 434 00:15:26,720 --> 00:15:28,140 When we started looking at these 435 00:15:28,140 --> 00:15:30,460 I went down the security aisle in Homebase 436 00:15:30,460 --> 00:15:32,020 Which is like Home Depot over here 437 00:15:32,020 --> 00:15:34,240 And we hacked every single thing in this picture 438 00:15:34,240 --> 00:15:35,960 But they're still happy to sell them 439 00:15:36,440 --> 00:15:37,400 So it's a big problem 440 00:15:37,400 --> 00:15:40,040 But how do we know how to tackle these? 441 00:15:40,660 --> 00:15:42,260 Well in fact they're all gas valves 442 00:15:42,260 --> 00:15:44,320 That we find throughout industrial environments 443 00:15:44,320 --> 00:15:46,060 They're any smart valve pretty much 444 00:15:46,060 --> 00:15:48,960 And when we look at examples of where these are 445 00:15:49,680 --> 00:15:51,660 On the top left you've got a gas valve 446 00:15:51,660 --> 00:15:52,620 Which is probably what you'd find 447 00:15:52,620 --> 00:15:53,800 In your domestic boiler at home 448 00:15:54,660 --> 00:15:55,880 That's just got two electromagnetic 449 00:15:57,000 --> 00:15:57,880 Electromagnetic solenoids on it 450 00:15:57,880 --> 00:15:58,800 It's got one for the pilot 451 00:15:58,800 --> 00:15:59,620 One for the main burner 452 00:16:00,060 --> 00:16:02,820 And then here we can see more commercial industrial ones 453 00:16:03,260 --> 00:16:05,020 Now these are all safety interlocks 454 00:16:05,020 --> 00:16:06,120 Into things like fire alarms 455 00:16:06,120 --> 00:16:07,620 Into emergency stop buttons 456 00:16:07,620 --> 00:16:08,820 So if a fire alarm's triggered 457 00:16:08,820 --> 00:16:10,900 Then it will shut the gas supply off into a building 458 00:16:11,620 --> 00:16:12,780 So if you can mess with that 459 00:16:12,780 --> 00:16:13,440 You can mess with these 460 00:16:13,970 --> 00:16:14,820 So that's a big issue 461 00:16:15,480 --> 00:16:17,340 Now when we have a look at things like sensors 462 00:16:17,970 --> 00:16:19,800 This is an ABB's reception 463 00:16:19,800 --> 00:16:21,020 And basically this says 464 00:16:21,020 --> 00:16:22,660 When you can measure what you're speaking about 465 00:16:22,660 --> 00:16:23,780 And express it in numbers 466 00:16:23,780 --> 00:16:25,120 You know something about it 467 00:16:25,120 --> 00:16:26,580 When you cannot measure it 468 00:16:26,580 --> 00:16:28,640 Your knowledge is meager and unsatisfactory 469 00:16:28,640 --> 00:16:30,240 And it's completely true 470 00:16:30,820 --> 00:16:32,600 Sensors are probably one of the most important things 471 00:16:32,600 --> 00:16:33,880 For an industrial process 472 00:16:33,880 --> 00:16:34,860 Or a commercial process 473 00:16:34,860 --> 00:16:35,580 Or whatever you're doing 474 00:16:35,580 --> 00:16:38,200 And sensors really are the keys to the kingdom 475 00:16:38,200 --> 00:16:38,960 I think anyway 476 00:16:38,960 --> 00:16:39,880 And we'll talk about why 477 00:16:39,880 --> 00:16:42,000 Now like we said 478 00:16:42,000 --> 00:16:43,680 The sensors are the tentacles of a control system 479 00:16:43,680 --> 00:16:45,020 They're very easily spoofed 480 00:16:45,460 --> 00:16:47,700 But the network accepts that data as fact 481 00:16:47,700 --> 00:16:50,900 So if that data's being pushed up from a sensor 482 00:16:50,900 --> 00:16:52,280 The network will always accept it 483 00:16:52,280 --> 00:16:53,600 The PLC will always accept it 484 00:16:53,600 --> 00:16:56,220 It's got no way of checking if it's correct or not 485 00:16:56,220 --> 00:16:58,100 They work in a 4 to 20 milliamp circuit 486 00:16:58,100 --> 00:16:58,820 Some of them 487 00:16:58,820 --> 00:17:00,280 Which measures things like resistance current 488 00:17:00,280 --> 00:17:01,000 Or digital output 489 00:17:01,000 --> 00:17:02,780 So with a UID etc 490 00:17:03,400 --> 00:17:04,840 But they're very easy to check 491 00:17:04,860 --> 00:17:06,460 It's very easy to trick the system into doing something 492 00:17:06,460 --> 00:17:07,340 Or more importantly 493 00:17:07,340 --> 00:17:08,660 Trick people into doing something 494 00:17:08,660 --> 00:17:10,220 Now if you can spoof these sensors 495 00:17:10,220 --> 00:17:12,400 And you make it look like heat detectors are going off everywhere 496 00:17:12,400 --> 00:17:14,500 That looks to an operator like there's a fire 497 00:17:14,500 --> 00:17:16,600 The first thing that he's going to do is shut everything down 498 00:17:16,600 --> 00:17:18,860 In reality there's nothing going wrong with that process at all 499 00:17:18,860 --> 00:17:20,840 So spoofing the sensors is a big thing 500 00:17:20,840 --> 00:17:23,260 These are really easy to intercept, manipulate and forward on 501 00:17:23,260 --> 00:17:25,160 A bunch of different ways that they work 502 00:17:25,680 --> 00:17:26,400 But like we said 503 00:17:26,400 --> 00:17:29,020 They look at things like temperature, pressure, fill levels etc 504 00:17:29,780 --> 00:17:32,400 And we start having a look at ICS network attacks 505 00:17:33,180 --> 00:17:34,840 Clearly denial of service attacks still work 506 00:17:34,860 --> 00:17:37,120 With that you can stop control, you can stop visibility 507 00:17:37,120 --> 00:17:39,380 So if you can carry out a denial of service take 508 00:17:39,380 --> 00:17:41,020 Stop people controlling those PLCs 509 00:17:41,020 --> 00:17:43,360 Obviously we look at things like fuzzing protocols 510 00:17:43,860 --> 00:17:46,540 But most of the switches that we find on these systems are unmanaged 511 00:17:46,540 --> 00:17:48,540 Which is a big big problem obviously 512 00:17:48,540 --> 00:17:51,180 Now with that if you can connect you can control 513 00:17:51,660 --> 00:17:53,900 So you can attack any levels connected to the network 514 00:17:53,900 --> 00:17:57,840 Whether that's a supervisory thing or a corporate network 515 00:17:58,400 --> 00:17:59,540 You can attack all of them 516 00:17:59,540 --> 00:18:03,160 And really you don't need Metasquirt or 1710 Eternal Blue 517 00:18:03,160 --> 00:18:04,760 When you have TIA Portal 518 00:18:04,760 --> 00:18:06,320 Which is Siemens proprietary software 519 00:18:06,320 --> 00:18:07,800 If you can get that onto a network 520 00:18:07,800 --> 00:18:10,020 You literally click enumerate all the PLCs around you 521 00:18:10,020 --> 00:18:11,200 And it will give you a list of all of them 522 00:18:11,200 --> 00:18:12,860 Which is a massive massive issue 523 00:18:12,860 --> 00:18:14,580 So local access is a big thing 524 00:18:15,080 --> 00:18:17,160 Now when we have a look at the limitations of the network 525 00:18:17,620 --> 00:18:19,400 This is a standard denial of service attack 526 00:18:19,400 --> 00:18:21,180 So to anybody that's really technical 527 00:18:21,180 --> 00:18:22,560 And uses Loic or Hoic 528 00:18:22,560 --> 00:18:23,960 You don't need either of them 529 00:18:23,960 --> 00:18:25,640 Literally all you need is hyper ping 530 00:18:26,160 --> 00:18:26,460 That's it 531 00:18:27,180 --> 00:18:29,540 Here it just shows a basic denial of service attack 532 00:18:29,540 --> 00:18:31,240 But on that port and the right IP address 533 00:18:31,240 --> 00:18:33,140 You'll stop a supervision 534 00:18:33,160 --> 00:18:35,540 Supervisor communicating with that network basically 535 00:18:36,260 --> 00:18:37,560 Really really simple attack 536 00:18:37,560 --> 00:18:38,380 Really simple 537 00:18:39,100 --> 00:18:41,200 Now when we look at hacking human segregation 538 00:18:41,200 --> 00:18:42,640 The things that we use to keep us alive 539 00:18:43,080 --> 00:18:44,400 These are standard interlocks 540 00:18:44,400 --> 00:18:45,680 So here we've got a Schneider one on the left 541 00:18:45,680 --> 00:18:47,560 And that works with a twin pole magnetic switch 542 00:18:48,100 --> 00:18:49,880 On the right we've got a light barrier 543 00:18:49,880 --> 00:18:52,860 But engineers ordinarily use these to cut the system off anyway 544 00:18:52,860 --> 00:18:55,060 So rather than walking right back to a panel 545 00:18:55,060 --> 00:18:56,300 They just stick their hand through it 546 00:18:56,300 --> 00:18:57,620 And that will cut the system off 547 00:18:57,620 --> 00:18:58,740 They're expecting it to anyway 548 00:18:59,500 --> 00:19:00,520 So that's a big problem 549 00:19:00,520 --> 00:19:02,880 But if we have a look at what we need to hack these 550 00:19:03,160 --> 00:19:04,240 Of course we use computers 551 00:19:04,240 --> 00:19:07,200 But really you need things like magnets, screwdrivers and mirrors 552 00:19:07,200 --> 00:19:08,980 If you've got these three things 553 00:19:08,980 --> 00:19:12,380 You can start causing havoc within industrial environments 554 00:19:13,300 --> 00:19:15,380 So if we have a look at PLCs 555 00:19:15,380 --> 00:19:16,960 And stop in the process 556 00:19:17,940 --> 00:19:20,420 This is another quick video that we made of a demonstration 557 00:19:21,080 --> 00:19:23,160 So here the test rig is just running the process 558 00:19:23,680 --> 00:19:26,040 It picks this up, verifies there's a hole in it 559 00:19:27,020 --> 00:19:27,740 Transfers it over 560 00:19:30,720 --> 00:19:32,720 And here we can see from our attack machine 561 00:19:36,020 --> 00:19:38,080 Sticking in the IP, setting the port number 562 00:19:39,600 --> 00:19:42,280 And there's a couple of frameworks out there that you can get for this 563 00:19:45,920 --> 00:19:47,140 Set the port to 102 564 00:19:47,580 --> 00:19:48,780 Which is Siemens Control Port 565 00:19:52,420 --> 00:19:53,160 Counts down here 566 00:19:53,520 --> 00:19:55,320 3, 2, 1 567 00:19:57,160 --> 00:20:00,360 And that would work as well on any huge industrial process 568 00:20:00,360 --> 00:20:02,160 I mean don't be fooled because this is a small rig 569 00:20:02,720 --> 00:20:05,200 It's working the exact same way as a proper industrial process would 570 00:20:06,080 --> 00:20:08,540 So when we start having a look at hacking these safety devices 571 00:20:09,020 --> 00:20:10,200 Well these are easy to bypass 572 00:20:10,200 --> 00:20:12,660 A lot of them are normally open or normally closed devices 573 00:20:12,660 --> 00:20:14,540 So they're very easy to satisfy or not satisfy 574 00:20:14,540 --> 00:20:17,600 We can very very easily cause overpressurisation 575 00:20:18,380 --> 00:20:20,120 That turns your infrastructure into a bomb 576 00:20:20,120 --> 00:20:20,700 Like we said 577 00:20:20,700 --> 00:20:22,060 And we can see the effects of this here 578 00:20:22,060 --> 00:20:23,520 Whether you want to blow heat exchanges 579 00:20:23,520 --> 00:20:24,780 You want to blow expansion vessels 580 00:20:24,780 --> 00:20:25,920 You want to blow holes through buildings 581 00:20:25,920 --> 00:20:27,220 That's a good way of doing it 582 00:20:28,040 --> 00:20:29,920 Obviously you can overheat processes and equipment 583 00:20:29,920 --> 00:20:31,940 You can blow expansion vessels like we said 584 00:20:31,940 --> 00:20:33,060 That's often the first thing to go 585 00:20:33,060 --> 00:20:34,960 So wherever you've got heat in a system 586 00:20:34,960 --> 00:20:36,120 Obviously that creates expansion 587 00:20:36,120 --> 00:20:37,740 To absorb that expansion 588 00:20:37,740 --> 00:20:38,960 You need an expansion vessel 589 00:20:39,380 --> 00:20:41,120 If you can cap that or you can take it out 590 00:20:41,120 --> 00:20:42,700 Or even just overheat or overpressurise it 591 00:20:42,700 --> 00:20:43,980 With a defective PRV 592 00:20:43,980 --> 00:20:45,220 That's exactly what's going to happen 593 00:20:45,920 --> 00:20:47,840 With that you can destroy property and cause huge damage 594 00:20:47,840 --> 00:20:48,960 Of course you can kill people 595 00:20:48,960 --> 00:20:50,620 It's one of the biggest effects of this 596 00:20:50,620 --> 00:20:52,880 If you understand the process of the cycle of setup 597 00:20:52,880 --> 00:20:54,040 Then your adversary is in trouble 598 00:20:54,040 --> 00:20:55,560 And we call that the modern spanner 599 00:20:55,560 --> 00:20:57,480 Because people say about putting a spanner in the works 600 00:20:57,480 --> 00:20:59,540 We're not going to chuck a spanner in an industrial process 601 00:20:59,540 --> 00:21:01,920 But the right thing in the right place will always work 602 00:21:01,940 --> 00:21:03,920 And really it's just knowing that system 603 00:21:03,920 --> 00:21:04,960 And what that means 604 00:21:06,040 --> 00:21:07,980 Now of course in Skada things get ransomed 605 00:21:07,980 --> 00:21:10,240 It's a case study of a company in South Brazil 606 00:21:10,860 --> 00:21:12,220 They got done with CryptoLocker 607 00:21:12,220 --> 00:21:14,160 In fact it was a big Taiwanese manufacturer 608 00:21:14,160 --> 00:21:15,600 The biggest manufacturer in Taiwan 609 00:21:15,600 --> 00:21:17,320 That was down for two days 610 00:21:17,320 --> 00:21:19,520 And when you look at the cost of what that means 611 00:21:19,520 --> 00:21:20,460 It's a big, big issue 612 00:21:21,380 --> 00:21:22,800 So now to get to some of our research 613 00:21:23,400 --> 00:21:25,420 One of our clients is an extremely well known company 614 00:21:26,340 --> 00:21:27,820 We weren't going to say what sector they were in 615 00:21:27,820 --> 00:21:28,800 But they weren't very happy about it 616 00:21:28,800 --> 00:21:31,360 But basically they gave us access to multiple lines 617 00:21:31,940 --> 00:21:33,220 Provided with one to attack it 618 00:21:33,220 --> 00:21:35,440 So they run four lines in their facility 619 00:21:36,060 --> 00:21:37,540 Each one of those lines makes 620 00:21:37,540 --> 00:21:39,360 £10,000 of production a minute 621 00:21:39,780 --> 00:21:41,240 So super, super high value 622 00:21:41,240 --> 00:21:43,520 But that's not uncommon, that's not uncommon at all 623 00:21:44,380 --> 00:21:45,920 And that's for each production line 624 00:21:45,920 --> 00:21:47,900 We didn't want to attack level 4 and 5 625 00:21:47,900 --> 00:21:48,560 It was out of scope 626 00:21:48,560 --> 00:21:49,920 So we didn't want to attack that at all 627 00:21:49,920 --> 00:21:52,400 And we did not want to leave a trace more importantly 628 00:21:52,980 --> 00:21:55,520 So getting into how we lost our client this money 629 00:21:55,520 --> 00:21:56,960 How did it actually work 630 00:21:56,960 --> 00:21:58,460 Well step one we wanted physical access 631 00:21:58,460 --> 00:22:00,120 Like we said we want impact based stuff 632 00:22:01,940 --> 00:22:03,400 That doesn't mean that you have to walk in 633 00:22:03,900 --> 00:22:04,700 And do stuff 634 00:22:04,700 --> 00:22:05,760 But we wanted physical access 635 00:22:06,960 --> 00:22:08,640 Next we wanted to weaponize an Arduino 636 00:22:08,640 --> 00:22:10,780 So we wanted that to enumerate the network 637 00:22:10,780 --> 00:22:11,960 Again unmanaged switches 638 00:22:11,960 --> 00:22:13,760 So really, really easy to get onto the network 639 00:22:14,280 --> 00:22:15,800 Enumerate the network and tell us what it is 640 00:22:15,800 --> 00:22:17,580 And when we say about physical access 641 00:22:18,040 --> 00:22:19,660 Could be something like this, again 642 00:22:19,660 --> 00:22:22,000 So it could just be sticking an extension lead in 643 00:22:22,000 --> 00:22:24,120 Which is really, really difficult for people to identify 644 00:22:24,660 --> 00:22:26,040 And then of course step four 645 00:22:26,040 --> 00:22:27,140 Was the actual attack 646 00:22:27,620 --> 00:22:30,320 Now this is not our attack code, this is from a framework 647 00:22:31,940 --> 00:22:33,520 I actually struggled to call it an attack 648 00:22:33,520 --> 00:22:36,000 Because all we've actually done is just sent these PLC 649 00:22:36,000 --> 00:22:37,600 Stop commands, that's it 650 00:22:37,600 --> 00:22:39,840 And we just keep repeating those stop commands 651 00:22:39,840 --> 00:22:41,620 It's really, really difficult to stop 652 00:22:41,620 --> 00:22:43,720 So as much as I want to say 653 00:22:43,720 --> 00:22:44,980 Some super technical rock train 654 00:22:45,640 --> 00:22:47,760 Like buffer overflow or shellcode exploit 655 00:22:47,760 --> 00:22:48,860 Really isn't 656 00:22:48,860 --> 00:22:50,300 All it is is just stop commands 657 00:22:50,300 --> 00:22:51,420 And you can see those here 658 00:22:52,760 --> 00:22:53,840 Really, really simple stuff 659 00:22:53,840 --> 00:22:56,380 So within five seconds the attack is complete 660 00:22:56,380 --> 00:22:59,680 We took the former head of the Metropolitan Police 661 00:22:59,680 --> 00:23:01,160 E-crime unit with us to investigate 662 00:23:01,940 --> 00:23:03,180 And he said that after his investigation 663 00:23:03,180 --> 00:23:05,240 There was no way to easily identify the attack 664 00:23:05,240 --> 00:23:07,940 And definitely not enough artifacts for attribution 665 00:23:08,760 --> 00:23:09,780 So we really got away with it 666 00:23:09,780 --> 00:23:11,460 Really, that's the truth of it 667 00:23:11,460 --> 00:23:13,000 And even when we did get physical access 668 00:23:13,000 --> 00:23:15,500 There was blind spots everywhere, no physical controls 669 00:23:15,500 --> 00:23:17,280 It was a massive, massive problem for them 670 00:23:17,920 --> 00:23:20,040 So the production line was down for two hours 671 00:23:20,040 --> 00:23:21,440 While safety checks were carried out 672 00:23:22,080 --> 00:23:23,540 Again, I would be very naive to think 673 00:23:23,540 --> 00:23:25,040 That it's just a simple reset, it's not 674 00:23:25,040 --> 00:23:27,540 Any company that's responsible is going to want to know 675 00:23:27,540 --> 00:23:28,800 Why their process is stopped 676 00:23:28,800 --> 00:23:31,100 It's somebody trapped in a machine, and when we look at 677 00:23:31,940 --> 00:23:32,380 The line for example 678 00:23:32,380 --> 00:23:34,520 Their site was over 40 acres 679 00:23:34,520 --> 00:23:36,420 So it's a huge, huge plant 680 00:23:37,380 --> 00:23:38,660 They're not just going to click reset 681 00:23:38,660 --> 00:23:40,060 What they're going to do is an SCBO 682 00:23:40,060 --> 00:23:42,140 So they're going to do a status check before operation 683 00:23:42,140 --> 00:23:43,580 Before they reset it 684 00:23:43,580 --> 00:23:46,160 So it's down for two hours, it was only one line 685 00:23:46,160 --> 00:23:48,360 That's 10,000 pounds, 120 minutes 686 00:23:48,360 --> 00:23:51,240 1.2 million pounds that they lost in that amount of time 687 00:23:51,240 --> 00:23:52,940 If it had been on all four lines 688 00:23:52,940 --> 00:23:54,480 We'd see 4.8 million pounds 689 00:23:54,480 --> 00:23:56,940 So if we look at that compared to the Taiwanese attack 690 00:23:56,940 --> 00:23:58,800 That we've just seen, which was two days 691 00:23:58,800 --> 00:24:00,520 They would have lost millions 692 00:24:01,940 --> 00:24:03,300 Hundreds of millions they would have lost on that 693 00:24:04,380 --> 00:24:05,740 So all of these things 694 00:24:05,740 --> 00:24:07,640 Are critical to the operation of modern society 695 00:24:07,640 --> 00:24:09,940 And now we're seeing a lot of industrial IoT 696 00:24:11,080 --> 00:24:11,920 So when we look at 697 00:24:11,920 --> 00:24:12,860 Some of the hardware attacks 698 00:24:12,860 --> 00:24:16,120 Obviously we attack the sensors, obviously we want to bypass safety interlocks 699 00:24:16,120 --> 00:24:17,700 Even a power surge or a flood 700 00:24:17,700 --> 00:24:18,880 Would be a legit vector 701 00:24:19,640 --> 00:24:21,760 But really, we look at things like chip decapping 702 00:24:21,760 --> 00:24:23,700 IoT, reverse engineering, UART attacks 703 00:24:23,700 --> 00:24:25,960 And everyone thinks that's some crazy voodoo hacking shit 704 00:24:25,960 --> 00:24:26,520 It's not at all 705 00:24:26,520 --> 00:24:29,140 What it actually is, is me 706 00:24:29,140 --> 00:24:31,360 This is actually at my mum's house on the dining room table 707 00:24:31,940 --> 00:24:32,760 When I was at a family event 708 00:24:33,440 --> 00:24:35,440 And basically I've just stripped down a Philips Hue 709 00:24:35,440 --> 00:24:36,980 I've banged some headers into it 710 00:24:36,980 --> 00:24:40,480 And then I've used an Arduino to start carrying out a UART attack 711 00:24:40,480 --> 00:24:41,640 And straight away 712 00:24:41,640 --> 00:24:43,900 We've got into the boot loader, we can set the security EMV 713 00:24:43,900 --> 00:24:45,240 As soon as you do that 714 00:24:45,240 --> 00:24:46,800 You drop into a root shell 715 00:24:47,560 --> 00:24:48,300 Simple as that 716 00:24:48,300 --> 00:24:51,180 And we're seeing a lot of this type of stuff in industrial IoT 717 00:24:51,580 --> 00:24:52,600 It's a big, big issue 718 00:24:53,620 --> 00:24:55,400 Now again, when we look at current solutions 719 00:24:55,400 --> 00:24:57,160 So we didn't want to reinvent the wheel 720 00:24:57,160 --> 00:25:00,480 We wanted to put really sensible things in place for our clients 721 00:25:00,840 --> 00:25:01,920 So we started looking at security 722 00:25:01,940 --> 00:25:02,340 Secure RJ45 723 00:25:02,340 --> 00:25:04,140 Now unmanaged switches, big issue 724 00:25:04,140 --> 00:25:05,360 Someone's going to plug into it 725 00:25:05,360 --> 00:25:07,340 So we wanted to occupy those ports 726 00:25:07,340 --> 00:25:09,320 And we wanted to do that with secure RJ45 727 00:25:09,880 --> 00:25:10,920 So we went to this company 728 00:25:11,480 --> 00:25:14,260 And we said look, we're a team of hackers and security engineers 729 00:25:15,060 --> 00:25:18,060 In reality, are we going to be able to stick a screwdriver into your product 730 00:25:18,060 --> 00:25:18,660 And get it out 731 00:25:18,660 --> 00:25:20,240 And they said no, no, no way 732 00:25:20,240 --> 00:25:22,260 Of course you can't, if you did you'd just damage it 733 00:25:22,660 --> 00:25:24,020 So they sent us a sample kit 734 00:25:24,020 --> 00:25:25,300 This is their sample kit 735 00:25:25,300 --> 00:25:27,460 This is within 3 minutes of receiving it 736 00:25:43,560 --> 00:25:45,480 So you can see it didn't take a screwdriver at all 737 00:25:45,480 --> 00:25:46,240 It took 2 spoons 738 00:25:46,800 --> 00:25:47,560 That was it 739 00:25:48,340 --> 00:25:49,580 So what we're saying is 740 00:25:49,580 --> 00:25:50,720 There is no real secure options 741 00:25:50,720 --> 00:25:51,740 Despite the marketing 742 00:25:51,740 --> 00:25:53,980 So despite what we see people marketing stuff as 743 00:25:53,980 --> 00:25:55,400 We don't really consider them to be secure 744 00:25:55,780 --> 00:25:57,380 There's no real tamper evidence or alerting 745 00:25:57,380 --> 00:25:58,220 It just damages it 746 00:25:58,220 --> 00:25:59,140 If it damages it at all 747 00:25:59,140 --> 00:26:00,360 Like we said, you can get through these 748 00:26:00,900 --> 00:26:01,920 Without damaging it at all 749 00:26:01,940 --> 00:26:04,420 There's huge limitations on applications and usability 750 00:26:04,420 --> 00:26:05,600 Of this type of kit 751 00:26:06,760 --> 00:26:07,740 So in summary 752 00:26:09,240 --> 00:26:10,560 Hacking ICS is serious 753 00:26:10,560 --> 00:26:12,160 Hacking this stuff has severe consequences 754 00:26:12,160 --> 00:26:13,900 Obviously because of what's involved in it 755 00:26:13,900 --> 00:26:15,700 It's not a simple reset or recovery 756 00:26:15,700 --> 00:26:17,940 It loses a shed load of money 757 00:26:18,380 --> 00:26:20,480 And it can mess with things we all rely on 758 00:26:20,480 --> 00:26:21,300 To keep us safe and secure 759 00:26:21,780 --> 00:26:23,620 Of course the biggest thing is 760 00:26:23,620 --> 00:26:24,700 It can directly kill people 761 00:26:24,700 --> 00:26:26,680 And that has happened with a thousand plus deaths 762 00:26:27,400 --> 00:26:29,740 But what I'd say is that people will often knock PLCs 763 00:26:29,740 --> 00:26:30,340 And so it's bad 764 00:26:31,940 --> 00:26:33,500 There are super super reliable bits of kit 765 00:26:33,500 --> 00:26:34,720 That we all rely on every day 766 00:26:35,180 --> 00:26:37,960 But they're clearly not as mature as computer systems 767 00:26:37,960 --> 00:26:39,240 And we definitely haven't got that maturity 768 00:26:39,240 --> 00:26:40,260 Within the security of them 769 00:26:40,260 --> 00:26:42,460 So really that's why we give talks like this 770 00:26:42,460 --> 00:26:43,740 And why we want more people to get involved 771 00:26:43,740 --> 00:26:45,040 And hopefully help us secure them 772 00:26:45,540 --> 00:26:47,100 And that is pretty much it from me 773 00:26:47,100 --> 00:26:48,100 Open to any questions 774 00:26:51,560 --> 00:26:53,300 How come we haven't seen more 775 00:26:53,300 --> 00:26:55,840 Real ransomware attacks on ICS 776 00:26:55,840 --> 00:26:57,300 I mean on factories 777 00:26:57,300 --> 00:26:58,680 Like I was talking about 778 00:26:58,680 --> 00:27:01,920 But real ransomware attacks 779 00:27:03,200 --> 00:27:04,260 I think to be honest 780 00:27:04,260 --> 00:27:05,500 This hasn't been on people's radar 781 00:27:05,500 --> 00:27:07,240 And I think security for obscurity 782 00:27:07,240 --> 00:27:08,320 Has been a big thing for this 783 00:27:08,320 --> 00:27:10,160 Now it's very difficult to get access to labs 784 00:27:10,160 --> 00:27:11,300 And we're seeing a lot more of that now 785 00:27:11,300 --> 00:27:12,320 With things like the ICS Village 786 00:27:12,840 --> 00:27:14,420 I think it comes to the understanding 787 00:27:14,420 --> 00:27:15,760 Of what people are doing 788 00:27:15,760 --> 00:27:17,820 But also it comes to the reporting of it 789 00:27:17,820 --> 00:27:19,220 Now under GDPR 790 00:27:19,220 --> 00:27:20,040 Obviously people have to report 791 00:27:20,040 --> 00:27:21,460 If there's been some sort of data breach 792 00:27:21,460 --> 00:27:22,860 But would they have to report a crypto attack 793 00:27:22,860 --> 00:27:23,400 Maybe not 794 00:27:33,660 --> 00:27:34,920 So it's a big issue 795 00:27:34,920 --> 00:27:35,960 I mean how much is it going on 796 00:27:35,960 --> 00:27:37,700 We haven't really got too much visibility in it 797 00:27:38,260 --> 00:27:39,320 But yeah I'd say at the moment 798 00:27:39,320 --> 00:27:40,140 We've been very lucky 799 00:27:40,140 --> 00:27:42,580 And I think when somebody finds a way to ransom PLC 800 00:27:42,580 --> 00:27:43,480 It's going to be a big problem 801 00:27:43,480 --> 00:27:45,100 Because there's so many of these on Shodan 802 00:27:45,100 --> 00:27:47,420 That literally you can get access to hundreds 803 00:27:47,420 --> 00:27:48,140 Thousands of them 804 00:27:49,500 --> 00:27:52,500 Cool, any other questions 805 00:27:54,380 --> 00:27:54,700 Cool 806 00:27:54,700 --> 00:27:56,080 Well yeah if anyone's got any questions 807 00:27:56,080 --> 00:27:57,040 Obviously we're right in the corner 808 00:27:57,780 --> 00:27:58,920 Just find me and my colleague Simon 809 00:28:01,940 --> 00:28:04,540 And we'll get started 810 00:28:04,540 --> 00:28:06,080 Thank you