WEBVTT

00:01.200 --> 00:03.280
Next speaker up is Mike Godfrey.

00:03.280 --> 00:10.540
He's going to talk about how we cost our client 1.2 million pounds, with four lines of code, and less than two hours.

00:10.540 --> 00:12.900
So, give a round of applause for Mike.

00:20.020 --> 00:20.780
Hello.

00:21.240 --> 00:22.560
Well, thanks a lot for coming.

00:22.760 --> 00:27.280
We've got a lot to get through in a short amount of time, so we'll get straight into it.

00:28.240 --> 00:30.600
As you heard on Mike, I'm at Mike G Hacks.

00:30.720 --> 00:32.000
I'm the founder of Insinia.

00:32.000 --> 00:33.080
I'm a qualified pen tester.

00:33.080 --> 00:34.980
I'm qualified CCNA, CEH.

00:34.980 --> 00:38.280
I spent ten years in priority, about 23 years in breaking it.

00:38.740 --> 00:43.700
I specialise in hardware and physical, and I'm a qualified commercial and industrial electrician and gas engineer.

00:43.700 --> 00:46.360
So, I actually started out in ICS as a commercial gas engineer.

00:47.160 --> 00:50.860
To tell you a quick few bits about this talk, we carry out impact-based pen testing.

00:50.860 --> 00:53.680
So, you're not going to see Nessus scans, you're not going to see that sort of output.

00:53.960 --> 00:55.660
We take on about ten clients a year.

00:55.660 --> 01:01.280
So, people that come to us really want to know the true impacts of what's going to happen in their systems.

01:01.400 --> 01:05.560
I usually give this talk to my colleague Paul Hunter, who couldn't be here, but my colleague Simon is.

01:05.780 --> 01:06.560
So, ask me anything.

01:06.560 --> 01:12.800
Simon's also outside of a PLC, and we're going to talk about how to lose 1.2 million pounds in two hours, about $2 million.

01:13.480 --> 01:17.600
So, to tell you a bit about us, we're probably the UK leaders in ICS security training.

01:17.680 --> 01:21.960
We've got a 16,500 square foot lab that's got loads of legacy technology.

01:22.160 --> 01:24.980
It's got all the main manufacturers, Siemens, Omron, Allen-Bradley, etc.

01:25.340 --> 01:28.140
We're the only gas-safe cybersecurity company in the UK.

01:28.180 --> 01:29.600
We'll talk about why that's relevant in a minute.

01:29.820 --> 01:33.700
We've got 10 years' experience in attacking ICS, and we're a city and goods-free training centre.

01:34.180 --> 01:36.380
This is a couple of pictures of our lab.

01:36.400 --> 01:39.100
So, this is one area, a spoiling plant and a gas rig.

01:39.280 --> 01:44.000
This is one of our robotic arms, an ABB, and this is one of our gamification rigs.

01:44.200 --> 01:46.460
Here, we've got a short video that shows you a bit about what we do.

03:10.770 --> 03:12.570
So, I say we're gas-safe registered.

03:12.570 --> 03:13.490
What does that actually mean?

03:13.490 --> 03:16.810
Well, gas appliances in the UK, this is a typical domestic appliance.

03:17.010 --> 03:19.190
It's from about 24 to 40 kilowatt.

03:19.190 --> 03:22.570
When we're talking about gas systems, what we're actually talking about is things like this.

03:22.570 --> 03:25.530
So, things that are up to 70,000 kilowatt, 70 megawatt.

03:25.650 --> 03:28.570
So, when we talk about gas throughout this talk, this is really what we're talking about.

03:28.770 --> 03:31.310
Now, to talk about a few things on SCADA.

03:31.630 --> 03:33.510
Firstly, SCADA is probably not what you think.

03:33.510 --> 03:35.070
There is an industrial control system.

03:35.070 --> 03:37.650
So, a better description would really be control system.

03:37.690 --> 03:41.410
The Bellagio fountains are under control system, similar sorts of things.

03:41.430 --> 03:46.010
But these cover everything from industrial process, military equipment, transportation.

03:46.110 --> 03:49.510
In fact, this is what people, most people, accept as SCADA.

03:49.550 --> 04:00.270
But it's prevalent in transportation, in electric, in healthcare, in water, building management systems, in natural gas, in oil, in chemical, manufacturing.

04:01.330 --> 04:03.310
So, it's the problem with securing all these things.

04:03.310 --> 04:08.010
Now, this is an image from Joe Weiss and basically it outlines the problem perfectly.

04:08.010 --> 04:15.430
Now, the issue is that you've got ICS engineers who haven't really integrated properly with IT and you've got IT security specialists who don't really understand the engineering side of it.

04:15.550 --> 04:22.030
On that basis, it's very, very difficult to work out what is a cyber attack and what is a cyber failure, because there's a massive skills gap.

04:22.250 --> 04:24.750
Um, when these failures happen, they almost cause wars.

04:24.750 --> 04:25.890
We'll talk about that in a minute.

04:25.890 --> 04:28.910
And the RAF in the UK are still installing their 7300s.

04:28.910 --> 04:30.370
It's a really old technology.

04:30.790 --> 04:43.070
If you have a look at the problem with that technology, it's old technology, it's insecure by design, it's cross protocol, you've got secure level 1 to level 3 devices, so you've got insufficient backups, which is a big problem, because if you drop the power to an old PLC,

04:43.070 --> 04:45.170
then it deletes the program, drops the program.

04:45.250 --> 04:47.170
So without proper backups, a big issue.

04:47.190 --> 04:52.690
But because these are such good pieces of kit and are so reliable, they don't really warrant a full-time on-site technical facility.

04:52.790 --> 04:55.510
So there really isn't ICS engineers on every single location.

04:55.650 --> 04:57.610
And there's a lack of ICS security experts.

04:57.910 --> 05:01.010
Now, to fly through these, as I've said, we're quite short on time.

05:01.190 --> 05:04.550
These are really easy to access, that's why they're not great for hackers.

05:04.690 --> 05:06.050
They've got little or no security.

05:06.050 --> 05:08.850
They've got default hard-coded credentials quite often.

05:09.110 --> 05:13.090
And it should really say there's no protection from physical attacks, because there really isn't.

05:13.390 --> 05:16.330
There's almost no traceability of forensic evidence when these are attacked.

05:16.450 --> 05:19.930
They're very easy to attack remotely, and there's a range of attack vectors at all levels.

05:20.370 --> 05:24.910
And when we have a look at the types of attack that we see on these, ransomware and DDoS aren't as prevalent, but they do still exist.

05:24.990 --> 05:26.110
We'll talk about that in a minute.

05:26.510 --> 05:28.790
Census spoofing is a really big thing.

05:28.790 --> 05:32.650
And disrupting and stopping the process, obviously the aim of what we want to do when we run a pen test.

05:33.070 --> 05:35.610
Tampering with SCADA and HMIs, and the list goes on.

05:36.030 --> 05:38.970
But really the problem is that these things aren't always baking cakes.

05:38.970 --> 05:43.290
They can create harsh chemical reactions, reach super high temperatures, get to immensely high pressures.

05:43.290 --> 05:48.230
They've got mechanical components, software components, physical attacks that can destroy operations in seconds.

05:48.370 --> 05:51.670
Like I said, surprisingly it's not a recipe for granny's apple pie, it's a recipe for disaster.

05:52.450 --> 05:56.110
So when we have a look at the impacts, let's take a look at what happens when these things go wrong.

05:56.710 --> 05:58.190
This is a Russian power station.

05:58.190 --> 06:00.810
It's probably one of the most famous ICS failures.

06:00.810 --> 06:07.710
This basically had a turbine, it was a 1,000 ton turbine that ramped up to such power in milliseconds, it killed 75 people.

06:07.830 --> 06:11.870
And if you look on the bottom left picture, you can probably see a guy standing on a wooden bridge.

06:11.950 --> 06:13.570
So that shows the scale of this.

06:13.930 --> 06:19.310
That basically made Russia almost launch a counter strike against the US because they thought it was a cyber attack.

06:19.430 --> 06:21.310
It wasn't at all, it was a cyber failure.

06:21.370 --> 06:37.090
It was a $2 sensor that had fallen off the side of a dam that had basically overfilled the reservoir, which was a big, On the left we've got a vehicle manufacturing plant, in the middle we've got a commercial boiler, and on the right we've got an expansion vessel which we've successfully blown up.

06:37.330 --> 06:41.330
Now, when we have a look on the left, let's make no mistake about it, that is an automated killing machine.

06:41.450 --> 06:45.970
If you walked in there, three-day safety interlocks, it would kill you, without a single shadow of a doubt.

06:46.510 --> 06:48.470
So what is it that actually stops it killing you?

06:49.150 --> 06:50.470
Well, safety devices.

06:50.790 --> 06:52.890
The things we rely on to keep us alive will always fail.

06:52.890 --> 06:59.110
And on the left we've got a thermostat, on the right we've got a temperature sensor, so on the far right we've got a pressure relief valve.

06:59.110 --> 07:00.650
Now, these will always fail.

07:00.650 --> 07:03.230
These are interchangeable parts, so we know they're going to fail at some point.

07:03.230 --> 07:07.550
In fact, when they do fail, like this, you've now got a bomb within your building.

07:07.550 --> 07:13.950
Because if that pressure ramps up for overheating or for anything like that, and the pressure relief valve does not go off, that's what will happen.

07:13.950 --> 07:16.170
And that's exactly how we blew that expansion vessel up.

07:16.570 --> 07:22.190
And when we have a look at safety interlocks and the things that we rely on to keep us alive, this is an ABB controller.

07:22.190 --> 07:24.210
You can see here we've got a door interlock.

07:26.590 --> 07:29.490
This is the controller for that robotic arm and for that interlock.

07:29.610 --> 07:31.010
All you need is a screwdriver.

07:31.010 --> 07:32.890
In fact, we don't even have the keys for that.

07:33.050 --> 07:36.030
So we just use a screwdriver to get into it ordinarily.

07:36.310 --> 07:37.570
So it's a big issue.

07:38.370 --> 07:44.930
Now, what we know about ICS is that over £30 billion, about $50 billion has been lost in ICS failure, ransom or cyber attacks.

07:45.090 --> 07:49.210
There's been 70-plus incidents with severe environmental damage, 1,000-plus deaths reportedly.

07:49.730 --> 07:56.630
An environmental disaster at Deepwater Horizon was massive, 68,000-plus square miles of ocean ruined.

07:56.630 --> 07:58.050
It's a big, big issue.

07:58.210 --> 08:02.250
When we have a look at what most of them run, most of them run Windows.

08:02.270 --> 08:05.390
And I know what you're thinking, but believe it or not, Windows does have bugs in it.

08:05.390 --> 08:06.650
So it's a big issue.

08:07.010 --> 08:10.010
And when we look at these systems, it does get worse.

08:10.430 --> 08:12.210
Most run Windows 7 still.

08:12.570 --> 08:14.350
Some even run Windows 98.

08:14.810 --> 08:16.350
So it's a big, big problem.

08:16.730 --> 08:21.510
So when we carry out impact-based pen testing ICS, what do we actually do?

08:21.850 --> 08:23.670
Well, the default rules do still apply.

08:23.670 --> 08:26.870
If you take a USB killer into these environments, clearly you're going to deck everything.

08:27.130 --> 08:29.430
We still use standard tools, et cetera.

08:29.630 --> 08:31.670
But you're going to find things on showdown.

08:31.730 --> 08:33.570
You're going to find web admin panels.

08:33.630 --> 08:35.530
You're going to find misconfigurations.

08:35.710 --> 08:37.510
You're going to be able to upgrade firmware.

08:37.790 --> 08:39.710
You're going to find default credentials.

08:40.410 --> 08:42.310
Now this is where things get a bit different.

08:42.670 --> 08:48.470
Now, we talk about the levels, and the Purger ICS model is probably considered the best thing for the levels of these devices.

08:48.590 --> 08:50.910
But levels seem to differ depending on where you look.

08:50.930 --> 08:54.870
In fact, here I've got three contradicting images of ICS levels.

08:55.250 --> 08:59.690
So for the purpose of this talk, and this is the issue, like, I think, like, how are we going to secure this stuff?

08:59.690 --> 09:00.670
We can't agree on the levels.

09:00.670 --> 09:03.650
But for the purpose of this talk, like, level three we see as SCADA.

09:03.650 --> 09:06.110
Level two we see as HMIs, PLCs, and controllers.

09:06.310 --> 09:07.770
Level one we see as sensors.

09:07.770 --> 09:10.910
And level zero we see as the fabric of buildings and the process.

09:10.910 --> 09:12.390
And we're going to talk about why that is.

09:12.730 --> 09:16.390
But when we talk about PLCs, we're talking about as programmable logic controller.

09:16.390 --> 09:17.830
I'm sure most of you know this anyway.

09:18.150 --> 09:19.610
But it's got multiple network types.

09:19.610 --> 09:22.510
We're not going to go too much into this, but we've got one of these around the corner.

09:22.510 --> 09:25.950
So if you want to see these and how we attack them, we're literally just out here.

09:26.110 --> 09:27.590
So we've got this exact one.

09:27.590 --> 09:28.630
We're happy to show you it.

09:28.930 --> 09:31.770
We're also talking about BMS systems, so building management systems.

09:31.770 --> 09:36.610
Now this is where I first started hacking these types of systems as a commercial gas engineer.

09:36.610 --> 09:40.410
These basically controlled all the set points and the building management throughout the building.

09:40.770 --> 09:42.830
And quite often these sit in these panels.

09:42.830 --> 09:46.390
So this is a 415 volt panel on the right-hand side.

09:46.390 --> 09:48.690
You need to be qualified to open those in the UK.

09:49.170 --> 09:51.430
Here we can actually see where that pressurization unit's had a leap.

09:51.430 --> 09:52.350
That's a different issue.

09:52.710 --> 09:54.730
But what do we get if we open these up?

09:55.210 --> 09:57.770
What we get is a router and a power socket.

09:58.630 --> 10:00.710
So straight away for us, that's a good spot.

10:01.350 --> 10:05.150
Now what's an ethical hacker going to do when they find a router in a locked cupboard with persistent power?

10:05.790 --> 10:07.470
Of course you're going to get your cat to hack it.

10:08.250 --> 10:10.070
So what does that hack look like?

10:10.410 --> 10:16.710
So what we did was, obviously I wanted to make a device that I could put into this cupboard and it isn't going to get found or isn't really going to alert people straight away.

10:16.710 --> 10:18.270
So I made this, it's called a hack plug.

10:18.410 --> 10:30.630
And basically it's got multiple interfaces so it can connect to an ethernet, it can work through the power line for extra tracing data, it can connect to wifi, it also works on 3G and 4G and it's got local protocols as well like B2 flow energy so you can connect to it locally.

10:31.070 --> 10:32.970
Now to drill into this quickly with the components.

10:32.970 --> 10:37.910
Components, it's a surge protector lead, it's got a D-shelled laptop power supply which gives us 4 amps.

10:38.270 --> 10:41.410
It's got pi zero, that's running Cali for, for pi two.

10:41.490 --> 10:43.630
It's got wifi module, ethernet connector.

10:44.130 --> 10:45.470
Yeah, it's got all that in it.

10:45.470 --> 10:47.230
So, we'll give you the spec it's off if you want.

10:47.410 --> 10:50.610
So, now we're talking about default rules do not apply.

10:50.730 --> 10:52.850
So, ICS safe network enumeration.

10:52.870 --> 10:55.630
So here's an example of how you'd enumerate an ICS network safely.

10:55.630 --> 10:58.810
Because even just enumerating a network can flood it and deny the service on it.

10:59.110 --> 11:02.390
So once we've done that, we want to start looking at safe test streaks.

11:02.390 --> 11:06.170
So we're not taking down an actual process, although we did and we'll talk about that in a minute.

11:06.170 --> 11:08.550
But a lot of what we froze are these test streaks.

11:08.550 --> 11:10.510
They work in the exact same way as a process.

11:10.550 --> 11:12.350
Um, so they're really, really good bits of kit.

11:12.850 --> 11:18.170
But what are we actually talking about when we say SCADA, ICS, plant, PLCs, RTUs?

11:18.310 --> 11:21.890
Well, this is what we consider plant equipment, so heating, cooling, distribution.

11:21.890 --> 11:26.950
Here we've got gas meters, thermostatic controller, uh, fan core unit and some commercial boilers.

11:27.270 --> 11:31.930
Here we've got shop floor equipment, so things that you'd find throughout a process on a shop floor.

11:32.270 --> 11:36.990
We've got HMIs, human machine interfaces, quite often run Windows CE, Windows Embedded.

11:37.430 --> 11:38.830
Here we've got remote terminal units.

11:38.830 --> 11:42.130
I think over here they're referred to as remote, uh, telemetry units.

11:42.350 --> 11:44.230
Um, we've also got field terminal units.

11:44.270 --> 11:46.110
But more importantly, we've got the sensors.

11:46.150 --> 11:47.890
Now these are the tentacles of a control system.

11:47.890 --> 11:49.750
They're the eyes and ears of a control system.

11:49.850 --> 11:54.030
Um, they report on information such as temperature, pressure, flow, humidity, orientation.

11:54.070 --> 11:56.050
They report that back to the PLC.

11:56.450 --> 11:59.330
Now these are types of sensors that you can have throughout these environments.

11:59.330 --> 12:03.050
So you can have a whole plethora of, um, of sensors available to you.

12:03.450 --> 12:06.830
But when we start looking at, uh, sensors, we move into safety devices.

12:07.010 --> 12:10.070
Um, when we look at safety interlocks, they're made to keep us alive.

12:10.070 --> 12:11.630
They stop machines in an emergency.

12:11.890 --> 12:17.190
Obviously throughout processes we have emergency stop buttons, but that's an electrical circuit reporting to an electronic device.

12:17.210 --> 12:20.670
In fact, we know from Stuxnet that the emergency stop buttons weren't working.

12:20.670 --> 12:22.410
And there's a number of ways of doing that.

12:22.410 --> 12:26.290
We've got either heat sensors, expansion vessels, pressure relief valves like we discussed.

12:26.370 --> 12:29.630
I'm not gonna list everything here, but you get the idea of, of what we're talking about.

12:30.030 --> 12:35.150
Now, when we have a look at attacks, and obviously this is what everyone really wants to see.

12:36.170 --> 12:37.410
It's safe, right?

12:38.450 --> 12:40.330
Well, actually not even safe's a safe.

12:41.150 --> 12:43.730
So this is research I've done over like the past five or six years.

12:43.730 --> 12:44.710
It's pretty old now.

12:45.070 --> 12:46.710
But you can see it just proves it's locked.

12:51.690 --> 12:53.210
That's all it takes to get into it.

12:53.250 --> 12:58.850
So I put this out, and I've been in the hacking community for quite a while, and, um, everyone was like, yeah, you know, that's great, but it's a crappy safe, whatever.

12:59.210 --> 13:01.470
So I was like, all right, the challenge accepted.

13:02.250 --> 13:04.310
So this is Costco's display safe.

13:04.310 --> 13:05.990
So this is a century safe.

13:06.070 --> 13:07.090
It's a medium range safe.

13:07.090 --> 13:07.910
It's not super cheap.

13:07.910 --> 13:08.970
It's not super expensive.

13:11.050 --> 13:13.230
And it's basically just says we're in Costco.

13:18.330 --> 13:25.530
So it's just a rare earth magnet, if you can't hear it, and a sock.

13:34.820 --> 13:35.820
Simple as that.

13:36.300 --> 13:38.380
So obviously, responsible disclosure.

13:38.420 --> 13:41.120
We told Century about this, and we said, look, we found the floor in your safe.

13:41.120 --> 13:43.480
And they said, yeah, yeah, that's great, but we're not really interested.

13:43.480 --> 13:44.880
We've defended it on the next one.

13:45.080 --> 13:46.620
And they're releasing a new version.

13:46.780 --> 13:47.620
So it's all right.

13:47.620 --> 13:48.400
Fair enough.

13:48.660 --> 13:51.020
So, uh, this is their current version.

13:51.080 --> 13:52.500
So this is their new version.

13:52.500 --> 13:54.060
This is the one that you can buy now.

14:13.460 --> 14:21.480
All you actually need to do is take the tape forward, and put it back.

14:23.960 --> 14:26.260
And this is their most recent one.

14:26.300 --> 14:32.220
So what we're saying is that even safe products aren't necessarily safe and people will more than happily sell you stuff, which is insufficient.

14:32.820 --> 14:36.840
Now, when we look at the way that this actually works, this is what's inside them.

14:36.840 --> 14:38.360
It's an electromagnetic solenoid valve.

14:38.360 --> 14:40.660
I can list off loads of attacks on these.

14:40.860 --> 14:43.200
Um, but this video just shows a bit about how it works.

14:49.080 --> 14:53.440
So basically when you put the pin in, it doesn't interfere with the lock at all.

14:55.280 --> 15:01.080
All it does is closes the circuit, which makes this go like that.

15:01.560 --> 15:02.220
That's it.

15:02.220 --> 15:03.880
That clears the way for you to do it.

15:04.040 --> 15:08.520
So obviously the way to do it is you bang it, which just bounces this up and down.

15:08.520 --> 15:09.940
So when you bang it, that's what you're doing.

15:09.940 --> 15:11.860
Short circuit here.

15:12.020 --> 15:13.560
Short circuit here.

15:14.320 --> 15:19.540
Or just use the magnet, and the magnet just emulates this electromagnet.

15:20.000 --> 15:21.960
And again, in turn pulls it down.

15:22.580 --> 15:23.460
That's it.

15:23.460 --> 15:25.380
This one keeps you safe and safe.

15:25.380 --> 15:26.280
Nothing complicated.

15:26.280 --> 15:36.400
So in fact, when we started looking at these, I went down the security aisle in Homebase, which is like Home Depot over here, and we hacked every single thing in this picture, but they're still happy to sell them.

15:36.660 --> 15:37.860
So it's a big problem.

15:37.860 --> 15:40.520
But how do we know how to tackle these?

15:40.980 --> 15:44.600
Well, in fact, they're all gas valves that we find throughout industrial environments.

15:44.600 --> 15:46.480
They're any smart valve, pretty much.

15:46.860 --> 15:54.180
And when we look at examples of where these are, on the top left, you've got a gas valve, which is probably what you'd find in your domestic boiler at home.

15:54.920 --> 15:57.960
That's just got two electromagnetic solenoids on it.

15:57.960 --> 16:00.000
It's just got one for the pilot, one for the main burner.

16:00.500 --> 16:03.260
And then here we can see more commercial industrial ones.

16:03.260 --> 16:07.820
Now, these are all safety interlocked into things like fire alarms, into emergency stop buttons.

16:07.820 --> 16:11.360
So if a fire alarm is triggered, then it will shut the gas supply off into a building.

16:11.780 --> 16:13.960
So if you can mess with that, you can mess with these.

16:14.040 --> 16:15.280
So that's a big issue.

16:15.780 --> 16:20.320
Now, when we have a look at things like sensors, this is in ABB's reception.

16:20.400 --> 16:25.420
And basically this says, when you can measure what you're speaking about and express it in numbers, you know something about it.

16:25.420 --> 16:29.100
When you cannot measure it, your knowledge is meager and unsatisfactory.

16:29.200 --> 16:30.720
And it's completely true.

16:30.720 --> 16:36.000
Sensors are probably one of the most important things for an industrial process or a commercial process or whatever you're doing.

16:36.300 --> 16:40.360
And sensors really are the keys to the kingdom, I think anyway, and we'll talk about why.

16:40.540 --> 16:44.100
Now, like we said, the sensors are the tentacles of the control system.

16:44.100 --> 16:45.720
They're very easily spoofed.

16:45.720 --> 16:48.200
But the network accepts that data as fact.

16:48.280 --> 16:52.360
So if that data has been pushed up from a sensor, the network will always accept it.

16:52.360 --> 16:53.640
The PLC will always accept it.

16:53.640 --> 16:56.660
It's got no way of checking if it's correct or not.

16:56.660 --> 17:03.200
They work on a 4 to 20 milliamp circuit, some of them, which measures things like resistance, current, or digital output, so with a UID, etc.

17:03.620 --> 17:04.960
But they're very easy to trick.

17:04.960 --> 17:09.000
It's very easy to trick the system into doing something, or more importantly, trick people into doing something.

17:09.160 --> 17:14.880
Now, if you can spoof these sensors and you make it look like heat detectors are going off everywhere, that looks to an operator like there's a fire.

17:14.920 --> 17:16.760
The first thing that he's going to do is shut everything down.

17:16.760 --> 17:19.240
In reality, there's nothing going wrong with that process at all.

17:19.340 --> 17:21.140
So spoofing the sensors is a big thing.

17:21.220 --> 17:23.620
These are really easy to intercept, manipulate, and forward on.

17:23.800 --> 17:25.560
A bunch of different ways that they work.

17:25.560 --> 17:29.460
But like we said, they look at things like temperature, pressure, fill levels, etc.

17:30.060 --> 17:32.940
Then we start to have a look at ICS network attacks.

17:33.440 --> 17:35.240
Clearly, denial-of-service attacks still work.

17:35.240 --> 17:37.580
With that, you can stop control, you can stop visibility.

17:37.660 --> 17:41.420
So if you can carry out a denial-of-service attack, you can stop people controlling those PLCs.

17:41.700 --> 17:48.960
Obviously, we look at things like fuzzing protocols, but most of the switches that we find on these systems are unmanaged, which is a big, big problem, obviously.

17:49.220 --> 17:51.620
Now, with that, if you can connect, you can control.

17:51.620 --> 17:59.940
So you can attack any levels connected to the network, whether that's a supervisory thing or a corporate network, you can attack all of them.

18:00.000 --> 18:06.740
And really, you don't need Metasploit or 1710 Eternal Blue when you have TIA Portal, which is Siemens' proprietary software.

18:06.780 --> 18:13.300
If you can get onto a network, you literally click enumerate all the PLCs around you, and it will give you a list of all of them, which is a massive, massive issue.

18:13.320 --> 18:14.900
So local access is a big thing.

18:15.400 --> 18:19.940
Now, when we have a look at the limitations of the network, this is a standard denial-of-service attack.

18:19.940 --> 18:24.300
So to anybody that's really technical and uses LOIC or HOIC, you don't need either of them.

18:24.300 --> 18:26.880
Literally, all you need is Hyperping, that's it.

18:27.280 --> 18:35.980
Here it just shows a basic denial-of-service attack, but on that port and the right IP address, you'll stop a supervisor communicating with that network, basically.

18:36.480 --> 18:38.800
Really, really simple attack, really simple.

18:39.320 --> 18:44.520
Now, when we look at hacking human segregation, the things that we use to keep us alive, these are standard interlocks.

18:44.520 --> 18:48.120
So here we've got a Schneider one on the left, and that works with a twin-pole magnetic switch.

18:48.120 --> 18:50.320
On the right, we've got a light barrier.

18:50.500 --> 18:53.220
But engineers ordinarily use these to cut the system off anyway.

18:53.220 --> 18:57.740
So rather than walking right back to a panel, they just stick their hand through it, and that will cut the system off.

18:57.740 --> 18:59.180
They're expecting it to anyway.

18:59.580 --> 19:00.860
So that's a big problem.

19:00.860 --> 19:04.600
But if we have a look at what we need to hack these, of course we use computers.

19:04.600 --> 19:07.560
But really, you need things like magnets, screwdrivers, and mirrors.

19:07.840 --> 19:12.820
If you've got these three things, you can start causing havoc within industrial environments.

19:13.200 --> 19:21.040
So, if we have a look at PLCs and stopping the process, this is another quick video that we made of a demonstration.

19:21.280 --> 19:23.760
So here, the test rig is just running the process.

19:24.060 --> 19:28.160
It picks this up, verifies there's a hole in it, transfers it over.

19:31.120 --> 19:33.240
And here we can see from our attack machine.

19:36.120 --> 19:38.500
Sticking in the IP, setting the port number.

19:39.820 --> 19:42.600
And there's a couple of frameworks out there that you can get for this.

19:46.030 --> 19:49.350
Set port to 102, which is Siemens control port.

19:52.350 --> 19:53.450
It counts down here.

19:53.450 --> 19:55.950
3, 2, 1.

19:57.230 --> 20:00.550
And that would work as well on any huge industrial process.

20:00.550 --> 20:02.290
I mean, don't be fooled, because this is a small rig.

20:02.290 --> 20:05.690
Because it's working the exact same way as a proper industrial process would.

20:06.070 --> 20:09.210
So, when we start having a look at hacking these safety devices.

20:09.270 --> 20:10.470
These are easy to bypass.

20:10.470 --> 20:12.930
A lot of them are normally open or normally closed devices.

20:12.930 --> 20:15.090
So they're very easy to satisfy or not satisfy.

20:15.090 --> 20:18.110
We can very, very easily cause over-pressurization.

20:18.570 --> 20:20.790
That turns your infrastructure into a bomb, like we said.

20:20.790 --> 20:22.390
And we can see the effects of this here.

20:22.390 --> 20:26.090
Whether you want to blow heat exchanges, you want to blow expansion vessels, you want to blow pulse rebuildings.

20:26.090 --> 20:27.630
That's a good way of doing it.

20:28.170 --> 20:30.390
Obviously, you can overheat processes and equipment.

20:30.410 --> 20:32.030
You can blow expansion vessels, like we said.

20:32.030 --> 20:33.190
That's often the first thing to go.

20:33.190 --> 20:36.630
So, wherever you've got heat in a system, obviously that creates expansion.

20:36.810 --> 20:39.470
To absorb that expansion, you need an expansion vessel.

20:39.590 --> 20:41.150
If you can cap that, or you can take it out.

20:41.150 --> 20:44.170
Or even just overheat or over-pressurize it with a defective PRV.

20:44.170 --> 20:45.550
That's exactly what's going to happen.

20:46.010 --> 20:47.990
With that, you can destroy property and cause huge damage.

20:47.990 --> 20:49.310
Of course, you can kill people.

20:49.450 --> 20:51.010
It's one of the biggest effects of this.

20:51.030 --> 20:54.370
If you understand the process or the cycle of setup, then your adversary is in trouble.

20:54.450 --> 20:55.730
And we call that the modern spanner.

20:55.730 --> 20:57.870
Because people say about putting a spanner in the works.

20:57.890 --> 20:59.690
Well, you're not going to chuck a spanner in an industrial process.

20:59.690 --> 21:02.370
But the right thing in the right place will always work.

21:02.370 --> 21:05.390
And really, it's just knowing that system and what that means.

21:06.310 --> 21:08.230
Now, of course, in SCADA, things get ransomed.

21:08.230 --> 21:10.630
It's a case study of a company in South Brazil.

21:10.930 --> 21:12.590
They got done with Cryptolocker.

21:12.590 --> 21:14.450
In fact, I think that was a big Taiwanese manufacturer.

21:14.450 --> 21:17.690
The biggest manufacturer in Taiwan that was down for two days.

21:17.690 --> 21:20.890
And when you look at the cost of what that means, it's a big, big issue.

21:21.590 --> 21:23.370
So now, let's get to some of our research.

21:23.590 --> 21:25.830
One of our clients, extremely well-known company.

21:26.370 --> 21:29.170
We were going to say what sector they were in, but they weren't very happy about it.

21:29.170 --> 21:31.490
But basically, they gave us access to multiple lines.

21:31.490 --> 21:33.370
But we were provided with one to attack it.

21:33.370 --> 21:36.010
So they run four lines in their facility.

21:36.290 --> 21:39.770
Each one of those lines makes £10,000 of production a minute.

21:40.010 --> 21:41.330
It's a super, super high value.

21:41.330 --> 21:42.310
But that's not uncommon.

21:42.410 --> 21:43.950
That's not uncommon at all.

21:44.450 --> 21:46.290
And that's for each production line.

21:46.450 --> 21:48.890
We didn't want to attack level four and five, it was out of scope.

21:48.890 --> 21:50.270
So we didn't want to attack that at all.

21:50.270 --> 21:52.770
And we did not want to leave a trace, more importantly.

21:53.130 --> 21:55.970
So, getting into how we lost our client this money.

21:56.070 --> 21:57.090
How did it actually work?

21:57.090 --> 21:58.750
Step one, we wanted physical access.

21:58.750 --> 22:00.530
Like we said, we want impact-based stuff.

22:00.550 --> 22:01.930
And we're going to talk about physical access.

22:01.930 --> 22:04.790
That doesn't mean that you have to walk in and do stuff.

22:04.790 --> 22:06.130
But we wanted physical access.

22:07.090 --> 22:09.130
Next, we wanted to weaponize an Arduino.

22:09.130 --> 22:11.130
So we wanted that to enumerate the network.

22:11.130 --> 22:12.410
Again, unmanaged switches.

22:12.410 --> 22:14.250
So really, really easy to get onto the network.

22:14.310 --> 22:16.170
Enumerate the network and tell us what it is.

22:16.230 --> 22:19.490
And when we say about physical access, it could be something like this.

22:19.490 --> 22:20.090
Again.

22:20.290 --> 22:22.270
So it could just be sticking an extension lead in.

22:22.270 --> 22:24.550
Which is really, really difficult for people to identify.

22:24.870 --> 22:27.550
And then of course, step four was the actual attack.

22:27.910 --> 22:29.510
Now this is not our attack code.

22:29.510 --> 22:30.610
This is from a framework.

22:30.610 --> 22:32.230
But you can see that the attack...

22:32.230 --> 22:34.010
I actually struggle to call it an attack.

22:34.010 --> 22:37.070
Because all we've actually done is just sent these PLC stop commands.

22:37.070 --> 22:37.950
That's it.

22:37.950 --> 22:40.090
And we just keep repeating those stop commands.

22:40.090 --> 22:42.090
It's really, really difficult to stop.

22:42.130 --> 22:49.070
So as much as I want to say it's some super technical work chain, like buffer overflow or shellcode exploit, it really isn't.

22:49.070 --> 22:50.630
All it is is just stop commands.

22:50.630 --> 22:51.890
And you can see those here.

22:52.790 --> 22:54.330
Really, really simple stuff.

22:54.470 --> 22:56.990
So within five seconds, the attack's complete.

22:57.050 --> 23:01.670
We took the former head of the Metropolitan Police e-crime unit with us to investigate.

23:01.770 --> 23:05.710
And he said that after his investigation, there was no way to easily identify the attack.

23:05.710 --> 23:07.050
And definitely not enough artifacts.

23:07.050 --> 23:08.930
For attribution.

23:09.050 --> 23:10.190
So we really got away with it.

23:10.190 --> 23:10.810
Really.

23:10.870 --> 23:11.630
That's the truth of it.

23:11.630 --> 23:14.650
And even when we did get physical access, there was blind spots everywhere.

23:14.650 --> 23:15.990
No physical controls.

23:15.990 --> 23:17.670
It was a massive, massive problem for them.

23:18.150 --> 23:20.250
So the production line was down for two hours.

23:20.250 --> 23:21.810
All safety checks were carried out.

23:22.130 --> 23:24.790
Again, I would be very naive to think that it's just a simple reset.

23:24.790 --> 23:25.490
It's not.

23:25.510 --> 23:29.190
Any company that's responsible is going to want to know why their process has stopped.

23:29.190 --> 23:30.570
It's somebody trapped in a machine.

23:30.570 --> 23:34.950
And when we look at this client, for example, their site was over 40 acres.

23:35.030 --> 23:36.950
So it's a huge, huge plant.

23:37.510 --> 23:38.890
They're not just going to click reset.

23:38.890 --> 23:40.470
What they're going to do is an SCBO.

23:40.470 --> 23:42.530
So they're going to do a status check before operation.

23:42.550 --> 23:43.950
Before they reset it.

23:43.950 --> 23:45.350
So it's down for two hours.

23:45.350 --> 23:46.550
It was only one line.

23:46.550 --> 23:47.510
That's £10,000.

23:47.510 --> 23:48.690
That's 120 minutes.

23:48.690 --> 23:51.650
£1.2 million that they lost in that amount of time.

23:51.650 --> 23:54.590
If it had been on all four lines, it would have been £4.8 million.

23:54.770 --> 24:00.970
So if we look at that compared to the Taiwanese attack that we've just seen, which was two days, they would have lost millions.

24:00.970 --> 24:02.710
They would have lost tens, even hundreds of millions.

24:02.710 --> 24:03.730
They would have lost on that.

24:04.590 --> 24:08.290
So all of these things are critical to the operation of modern society.

24:08.290 --> 24:10.430
And now we're seeing a lot of industrial IOT.

24:11.130 --> 24:16.510
So when we look at some of the hardware attacks, obviously we attack the sensors, obviously we want to bypass safety interlocks.

24:16.510 --> 24:19.430
Even a power surge or a flood would be a legit vector.

24:19.710 --> 24:26.050
But really, we look at things like chip decapping, IOT, reverse engineering, UR attacks, and everyone thinks that's some crazy voodoo hacker shit.

24:26.050 --> 24:26.930
It's not at all.

24:26.930 --> 24:29.670
What it actually is, is me.

24:29.670 --> 24:33.230
I was actually at my mum's house on a dining room table when I was at a family event.

24:33.890 --> 24:40.870
Basically I've just stripped down a Philips Hue, I've banged some headers into it, and then I've used an Arduino to start carrying out a UR attack.

24:41.170 --> 24:44.350
Straight away we've got into the boot loader, we can set the security EMV.

24:44.550 --> 24:47.250
As soon as you do that, you drop into a root shell.

24:47.630 --> 24:48.690
Simple as that.

24:48.690 --> 24:51.670
And we're seeing a lot of this type of stuff in industrial IOT.

24:51.810 --> 24:53.010
It's a big, big issue.

24:53.890 --> 24:57.270
Again, when we look at current solutions, we didn't want to reinvent the wheel.

24:57.270 --> 25:00.910
We wanted to put really sensible things in place for our clients.

25:01.050 --> 25:02.770
So we started looking at secure RJ45.

25:02.770 --> 25:04.450
Now, unmanaged switches, big issue.

25:04.450 --> 25:05.710
Someone's going to plug into it.

25:05.710 --> 25:09.750
So we wanted to occupy those ports, and we wanted to do that with secure RJ45.

25:10.030 --> 25:14.690
So we went to this company, and we said, look, we're a team of hackers and security engineers.

25:15.290 --> 25:19.050
In reality, are we going to be able to stick a screwdriver into your product and get it out?

25:19.050 --> 25:20.430
And they said, no, no, no way.

25:20.430 --> 25:21.130
Of course you can't.

25:21.130 --> 25:22.630
If you did, you'll just damage it.

25:22.830 --> 25:24.310
So they sent us a sample kit.

25:24.310 --> 25:25.690
This is their sample kit.

25:25.690 --> 25:27.810
This is within three minutes of receiving it.

25:43.640 --> 25:45.560
So you can see it didn't take a screwdriver at all.

25:45.560 --> 25:46.700
It took two spoons.

25:47.180 --> 25:47.960
That was it.

25:48.280 --> 25:52.080
So what we're saying is there is no real secure options, despite the marketing.

25:52.080 --> 25:55.800
So despite what we see people marketing stuff as, we don't really consider them to be secure.

25:55.940 --> 25:57.520
There's no real tamper evidence or alerting.

25:57.520 --> 25:59.280
It just damages it, if it damages it at all.

25:59.280 --> 26:02.480
Like we said, you can get through these without damaging it at all.

26:02.480 --> 26:06.000
It's huge limitations on applications and usability of this type of kit.

26:06.940 --> 26:10.860
So in summary, hacking ICS is serious.

26:10.860 --> 26:14.240
Hacking stuff has severe consequences, obviously, because of what's involved in it.

26:14.240 --> 26:16.180
It's not a simple reset or recovery.

26:16.180 --> 26:18.420
It loses a shed load of money.

26:18.800 --> 26:21.800
And it can mess with things we all rely on to keep us safe and secure.

26:21.880 --> 26:25.060
Of course the biggest thing is it can directly kill people.

26:25.060 --> 26:27.140
And that has happened with a thousand plus deaths.

26:27.420 --> 26:30.480
But what I'd say is that people will often not PLCs, and so it's bad.

26:30.480 --> 26:31.940
PLCs are great bits of kit.

26:32.000 --> 26:35.200
Super, super reliable bits of kit that we all rely on every day.

26:35.400 --> 26:40.620
But they're clearly not as mature as computer systems, and we definitely haven't got that maturity and security of them.

26:41.060 --> 26:45.380
So really, that's why we give talks like this, and why we want more people to get involved, and hopefully help us secure them.

26:45.920 --> 26:47.260
And that is pretty much it for me.

26:47.260 --> 26:48.480
I'm open to any questions.

26:50.640 --> 26:51.240
Yeah?

26:51.240 --> 26:51.680
Yeah?

26:53.360 --> 26:53.680
Yeah

27:01.580 --> 27:01.900
.

27:03.380 --> 27:05.800
I think, to be honest, this hasn't been on people's radar.

27:05.800 --> 27:08.420
And I think security for obscurity has been a big thing for this.

27:08.420 --> 27:12.740
Now it's very difficult to get access to labs, and I've been saying a lot more of that now with things like the ICS village.

27:12.740 --> 27:18.160
I think it comes to the understanding of what people are doing, but also it comes to the reporting of it.

27:18.240 --> 27:23.040
Now under GDPR obviously people have to report if there's been some sort of data breach, but would they have to report a crypto attack?

27:23.040 --> 27:23.860
Maybe not.

27:24.420 --> 27:27.840
In the UK especially, you're not obliged to report anything to the police.

27:30.120 --> 27:30.640
Yeah.

27:31.400 --> 27:32.320
Hopefully, yeah.

27:33.860 --> 27:35.040
So it's a big issue.

27:35.040 --> 27:36.020
I mean, how much is it going on?

27:36.020 --> 27:38.060
We haven't really got too much visibility in it.

27:38.500 --> 27:40.520
But yeah, I'd say at the moment we've been very lucky.

27:40.560 --> 27:43.800
And I think when somebody finds a way to ransom PLCs it's going to be a big problem.

27:43.800 --> 27:48.520
Because there's so many of these on Shodan that literally you can get access to hundreds, thousands of them.

27:51.670 --> 27:52.030
Cool.

27:52.030 --> 27:52.890
Any other questions?

27:54.550 --> 27:55.050
Cool.

27:55.050 --> 27:57.410
Well yeah, if anyone's got any questions, as I've said, we're right on the corner.

27:57.970 --> 28:00.190
Just find me or my colleague Simon at the top of the chat.

28:00.950 --> 28:01.470
Cool.

