[00:00.000 --> 00:02.040] Good morning, welcome to our talk. [00:02.040 --> 00:06.500] If you're expecting a talk about sci-fi robots with lasers, it's the wrong talk. [00:06.640 --> 00:14.560] We're talking about real world systems here, ships, planes, cars, where one bad line of code can cause real physical harm. [00:14.620 --> 00:20.480] And that, in our world, in the transportation world, critical infrastructure, that's not future risk, it's already here. [00:20.480 --> 00:23.560] So yeah, the title's a little clickbait, but the problem is real. [00:23.560 --> 00:30.340] When most people think of cyber threats, they think hackers, ransomware, phishing, and those are real concerns. [00:30.340 --> 00:38.100] But in the maritime industry, there's a Trojan horse creeping that doesn't get enough attention, that's software quality and engineering practice. [00:38.320 --> 00:52.460] So in maritime, we're racing towards more automation, more digitalization, more connected systems in ships and ports, and that's great for efficiency, until the code driving those systems is flawed, misunderstood, or poorly tested. [00:52.680 --> 01:02.900] And unlike a hacker, bad code doesn't have to break in, it's already inside, running exactly as written, even what it's written to do is dangerous. [01:03.860 --> 01:05.400] So who are we? [01:05.400 --> 01:06.620] A little bit about myself. [01:06.620 --> 01:10.520] I'm Michael Duvall, Director of Maritime Cybersecurity at ABS Consulting. [01:10.520 --> 01:31.620] Been in the maritime my whole career, started on the deck plates as a technician, working on ship systems, navigating ships, transitioned into inspecting commercial ships, doing investigation on major maritime casualties, such as Costa Concordia, the cruise ship that sank off the ports off the coast of Italy. [01:32.240 --> 01:48.180] And so through my career, I've seen real incidents, people dying, major environmental disasters, transitioned into cyber about 10 years ago, and been working at the nexus of marine operations, engineering, compliance, and policy, and how that connects to cyber risk. [01:48.200 --> 01:49.940] Co-presenter is Austin Reed. [01:50.740 --> 01:52.020] Good morning, everybody. [01:52.020 --> 01:53.040] My name is Austin Reed. [01:53.040 --> 01:55.060] I am a senior consultant with ABS. [01:55.060 --> 01:57.260] I've been in the maritime industry for 10 years. [01:57.260 --> 01:58.960] This is my fourth DEFCON. [01:59.160 --> 02:04.920] I've started in cargo operations as DVR superintendent and then moved into automated container terminal operations. [02:04.920 --> 02:09.520] So I was able to see kind of the old school way of moving cargo and then the bleeding edge side. [02:09.520 --> 02:19.480] So it was a, it got me passionate about how finding ways to secure control systems and grateful to be able to work with Michael and the team here. [02:19.480 --> 02:21.220] So looking forward to more of the presentation. [02:23.100 --> 02:23.720] All right. [02:23.720 --> 02:27.660] We have to give an acknowledgement to our good friend and colleague, Chris Stein. [02:27.660 --> 02:31.620] We weren't sure if he was gonna make it, but he made it across the pond to be with us today. [02:31.620 --> 02:36.200] So Chris is one of the most brilliant engineers I've ever had the pleasure of knowing. [02:36.480 --> 02:41.160] He's actually worked in developing and maintaining some of these systems that we're gonna talk about today. [02:41.160 --> 02:42.320] So we're happy to have him here. [02:42.320 --> 02:46.700] We're gonna bring him up to talk about a really cool simulation video that he produced. [02:46.800 --> 02:48.020] You wanna say anything, Chris? [02:48.020 --> 02:48.540] No. [02:48.560 --> 02:49.020] Okay. [02:49.100 --> 02:49.960] All right. [02:50.370 --> 02:51.220] All right. [02:52.320 --> 02:53.080] Okay. [02:53.080 --> 02:55.120] So what is cyber today? [02:55.120 --> 03:00.440] Is that this endless wall logos promising to save you from the scary thing of the week? [03:00.740 --> 03:03.320] You know, in 2025, the buzzwords are all the same. [03:03.320 --> 03:07.140] AI, nation state hackers, APTs, hyperconvergence. [03:07.560 --> 03:10.980] And if you throw in AIS, you have yourself a maritime keynote. [03:12.200 --> 03:13.800] So what's the problem? [03:13.800 --> 03:15.140] It's a lot of noise. [03:15.140 --> 03:25.220] And while folks are out there chasing hype, the boring stuff like bad software and critical systems, poor engineering practice, quietly is waiting to cause real world damage. [03:25.600 --> 03:27.600] And that's what we're here to talk about. [03:28.420 --> 03:32.460] But before we go any further, let's all agree on the definition of a computer. [03:32.460 --> 03:38.060] To the layman's, you talk about a computer, it's what's on the left, that's a desktop PC. [03:38.060 --> 03:43.980] But in reality, a computer is anything with a processor, memory, and the ability to execute code. [03:43.980 --> 03:48.740] That's your key fob, your smart lights, your watch, your gaming consoles. [03:48.740 --> 03:57.900] In the maritime world, this includes your navigation system, your engine controls, your balance system, and yes, even the coffee machine on the bridge. [03:57.900 --> 04:05.340] But if it runs code, it's a computer, and that means it can fail, it can be hacked, or it can be programmed badly from the start. [04:05.620 --> 04:07.540] Which brings us to ships. [04:09.860 --> 04:17.120] So on ships, these computers aren't just laptops in the captain's cabin, they're embedded in every single critical system. [04:17.120 --> 04:26.580] The diagram on the top there comes from IAC standard E22, if you're working in maritime, if you're interested in maritime, read it, know it, love it, this is a great standard. [04:26.900 --> 04:29.200] At the top, you have a vessel. [04:29.900 --> 04:38.800] And beneath it are systems, subsystems, programmable devices, and at the heart of every one of those systems are software modules running inside. [04:39.100 --> 04:55.080] So down at the bottom, a few key examples, PLC that controls automation, pump moving critical fluids, variable frequency drive adjusting motor speed, you got your flow meter measuring critical fluids, an engine telegraph that tells the main engine how fast to turn. [04:55.280 --> 04:59.440] The point is, every one of these depends on software. [05:00.020 --> 05:08.040] If the code is wrong, misunderstood, or compromised, that system will still do exactly what the code tells it to do, even if it's dangerous. [05:09.300 --> 05:14.660] So a little example, this is how we went from dumb but safe to smart but hackable. [05:14.660 --> 05:18.420] So on the left, that's an old school wax pellet thermostat. [05:18.500 --> 05:24.880] No IP address, no firmware, no updates, no zero days, just heat in, valve out. [05:24.880 --> 05:27.980] Basically, it's the air gap solution of engine cooling. [05:28.280 --> 05:31.720] On the right, modern PLC-based control system. [05:31.800 --> 05:39.320] You got your sensor, you got your logic controller, motorized valve, and probably a web interface with the default password set to admin. [05:39.800 --> 05:41.540] It's brilliant for precision. [05:41.540 --> 05:48.460] You can set custom temps, you can log everything and probably control it remotely from your couch, but what's the trade-off? [05:48.480 --> 05:53.120] That solid hunk of brass is now a fully-fledged cyber attack service. [05:53.120 --> 05:57.120] Congratulations, your thermostat is now part of the Internet of Targets. [05:58.080 --> 06:00.400] So what's the bigger point? [06:00.620 --> 06:03.960] We replaced mechanical systems with network ones. [06:03.960 --> 06:07.840] We're not just upgrading capability, we're importing risks. [06:07.840 --> 06:10.160] So let's talk about what that means for cyber. [06:10.840 --> 06:19.060] So what does replacing mechanical thermostats with a networked device matter to cyber? [06:19.060 --> 06:22.980] Because we're in the fourth Industrial Revolution, cyber is everywhere. [06:22.980 --> 06:34.020] We've moved from steam and mechanics to mass production, computerized automation, and now to cyber-physical systems where the physical world is tied directly to code and networks. [06:34.160 --> 06:45.300] This means a change in logic, a bug in your code or a compromised sensor doesn't just make the screen flash red, it can make real-world equipment move, fail, or break in dangerous ways. [06:46.140 --> 06:49.520] And it's not always about elite hackers or exotic malware. [06:49.520 --> 06:52.480] Sometimes software quality is just poor. [06:52.760 --> 07:06.000] Developers may not understand process limits, control systems don't protect themselves or protect themselves from the user, and hardware failure is not accounted for, which leads to unpredictable and sometimes catastrophic results. [07:06.560 --> 07:10.480] If you think that's theoretical, look at the headlines. [07:10.820 --> 07:12.620] These aren't just hypothetical. [07:12.620 --> 07:16.140] Software bugs have been killing people and breaking hardware for decades. [07:16.220 --> 07:19.320] Boeing 787's ground by a power bug. [07:19.320 --> 07:22.080] An F-35 lost because of bad code. [07:22.080 --> 07:27.720] NASA's $327 million Mars orbiter gone over a metric imperial mix-up. [07:27.840 --> 07:29.600] Toyota's killer firmware. [07:29.920 --> 07:33.420] A divide-by-zero that stopped a Navy ship dead in the water. [07:33.420 --> 07:36.900] The Chinook helicopter crash tied to unsafe code. [07:36.900 --> 07:41.620] The point is, the system will do exactly what it's told, even if it's the wrong thing. [07:41.700 --> 07:48.580] When code controls the physical world, mistakes don't just crash programs, they crash planes, ships, and cars. [07:50.140 --> 07:52.160] So, we talked about theory. [07:52.200 --> 07:53.220] Let's watch it happen. [07:53.220 --> 07:57.340] I'm gonna bring Chris up to talk about a video he made of a simulation. [07:57.620 --> 07:58.440] Enjoy. [07:59.620 --> 08:00.880] Thanks, Michael. [08:01.160 --> 08:02.000] Hi, everyone. [08:02.000 --> 08:02.920] I'm Chris. [08:03.940 --> 08:07.460] That doesn't work very well in the way that it's configured. [08:07.460 --> 08:09.300] So, let me just see if I can fix it. [08:09.300 --> 08:11.280] If not, I will try to talk to it. [08:11.280 --> 08:13.760] The video is very, very interesting. [08:13.900 --> 08:16.980] So, I really wanna show it to you. [08:18.300 --> 08:23.280] So, let me just try to get it up on screen. [08:28.060 --> 08:31.400] We've got a conference center full of IT people. [08:31.440 --> 08:34.180] So, no wonder we couldn't get this to work. [08:34.820 --> 08:37.640] That's actually a video of my downloads folder. [08:37.740 --> 08:39.340] So , I'm gonna play it straight from the file. [08:39.340 --> 08:39.560] Oh , no. [08:39.560 --> 08:40.280] Oh, I got it. [08:40.280 --> 08:45.380] So, I know this is a little bit unclear. [08:46.520 --> 08:48.800] I'm just gonna start it and start talking. [08:49.320 --> 08:50.720] This is a simulator. [08:50.720 --> 08:56.060] That simulator is made by Kongsberg, one of the leading machinery automation system makers in the maritime industry. [08:56.060 --> 09:00.180] The simulator that we're seeing here is based on a ship called the Viking Grace. [09:00.500 --> 09:10.180] And why that's important is because the Viking Grace is a ROPAX, meaning a ship that takes both cars and passengers that sails from Stockholm to Finland, to Turku. [09:10.280 --> 09:18.160] It also means that it sails through the archipelago in Stockholm, as well as in Turku, about 60% of the time at sea. [09:18.780 --> 09:21.320] So, it's really, really unclear here. [09:21.320 --> 09:24.280] So, let me just pause it for a second and tell you what it is that we're seeing. [09:24.580 --> 09:27.640] What we're seeing here is the ship's power management system. [09:27.700 --> 09:34.700] This is a visual indication of how the engines are doing, how much power that we have, the producers and the consumers. [09:35.200 --> 09:38.620] Right now, we're running on four engines, full ahead. [09:38.780 --> 09:43.820] And the specific configuration for the ship is that we're running all four engines at about 50%. [09:43.820 --> 09:46.840] And the reason for that is, as I said, we're sailing in the archipelago. [09:46.840 --> 09:49.820] If we have a blackout, we risk sailing into a rock. [09:50.000 --> 09:56.960] So, therefore, the ship operator, which is Viking Line, has decided that having spare power is really important in this scenario. [09:56.960 --> 10:00.980] So, we avoid a situation like the Dali up in Baltimore. [10:01.860 --> 10:06.160] What I want to talk about here is, it's not a cyber thing, per se. [10:06.160 --> 10:13.940] It relates to what Michael says, but it also talks a little bit into about how we can engineer ourselves out of some of these software problems without actually touching the software. [10:15.140 --> 10:17.420] It's really, really bad like this. [10:23.910 --> 10:25.810] Yeah, sorry about this, folks. [10:26.770 --> 10:28.610] Really, really, really bad. [10:29.450 --> 10:31.890] Actually, I'm just gonna pause it. [10:32.530 --> 10:36.610] This is more fun when you get to see it happen in the video. [10:36.610 --> 10:39.110] However, I can't really do that. [10:39.370 --> 10:40.930] This is the ship's automation system. [10:40.930 --> 10:48.690] The ship's automation systems allows us to remotely control things from the engine control room that are located down in the machinery space. [10:48.690 --> 10:54.150] In this particular case, what we're looking at here are two of the generators, the diesel generators that we have on the ship. [10:54.230 --> 11:07.970] These generators are being cooled by the seawater cooling system, which then exchanges heat with the freshwater cooling system that then exchanges heat with the freshwater cooling jacket that's in the engine itself. [11:08.290 --> 11:15.790] The water that is circulating in the engine goes from the freshwater cooling jacket in the engine into a heat exchanger. [11:15.790 --> 11:19.070] That heat exchanger is what you see right there. [11:19.290 --> 11:26.950] And the valve that we have right here is the one where you set the set point for when the water is diverted into the heat exchanger. [11:27.130 --> 11:30.110] Now, that set point right now is about 70 degrees. [11:30.530 --> 11:36.710] But because it's digitally controlled, we can change it to whatever we want. [11:36.910 --> 11:47.270] In a scenario where software fails, like Michael talked about, we can actually cause a blackout on the ship just by manipulating that set point on all four engines. [11:47.270 --> 12:04.190] Because the software is identical across all four engines, but it's one big automation system that controls this specific valve, we will risk that any incident that will disrupt, let's say, that set point, will propagate across all four engines. [12:04.430 --> 12:12.590] So in this video, my spiel is normally a little different when I can actually show you the video with a higher quality, so forgive me for being a little bit inconsistent here. [12:12.590 --> 12:16.830] But what we're doing here is we're manually setting the set point to 700 degrees. [12:16.830 --> 12:25.390] And the reason we're doing that is because we want to see what happens when there's a software failure that actually makes that valve stick because of software, not because the valve itself is stuck. [12:26.470 --> 12:30.210] The shocking part here is not that the set point can be changed. [12:30.210 --> 12:31.290] Of course it can be changed. [12:31.290 --> 12:34.750] Software can fail, you can do it manually, somebody does something, whatever. [12:35.110 --> 12:44.310] But what actually happens when that temperature is set to a temperature that's higher than the shutdown temperature for the engine? [12:44.770 --> 12:50.710] Now, let me see if I can pull this out to the right a little bit. [12:50.710 --> 12:52.970] So you see the second counter up there. [12:52.970 --> 12:55.830] We started the simulation at 38 seconds. [12:55.830 --> 13:00.010] Now we're simulating the ship is running full ahead on these four engines. [13:00.330 --> 13:08.870] And one thing that I want you to notice is how little time it actually takes from the point where we made that valve stick till we actually start seeing problems. [13:09.150 --> 13:14.070] And I'm gonna be a little bit silent for a few seconds here, but it's not gonna be long. [13:17.760 --> 13:19.280] The tension is rising. [13:19.760 --> 13:33.880] There, now we're getting the first warning that the temperature on the outlet of the freshwater jacket is high, meaning that the water in the engine is coming up to a temperature that it's not supposed to be at. [13:34.020 --> 13:36.480] We already got the first shutdown pre-warning. [13:36.720 --> 13:47.840] And in just a few seconds here, we got the first engine that tripped, the second engine that tripped, the fourth that tripped, and the third one, the breaker, already tripped there. [13:47.840 --> 13:54.260] So in less than 90 seconds, a manipulation of the set point can cause a complete ship blackout. [13:55.680 --> 13:57.080] That's the video. [13:57.080 --> 13:58.560] So what actually happened here... [13:58.560 --> 14:01.140] Oh , sorry, I forgot about this problem. [14:01.140 --> 14:03.000] I'm not that smart. [14:07.420 --> 14:09.380] We're doing this. [14:09.380 --> 14:22.780] Oh, by the way, all the alarms that we saw, all the red and yellow little lights that were blinking, there are about 600 to 800 alarms that pop up when this happens on a ship. [14:23.000 --> 14:24.760] You have no idea what's going on. [14:24.760 --> 14:29.000] You have to sit and scroll through all these alarms to find out what is it that happened? [14:29.000 --> 14:34.820] Can I actually figure out that it's the set point that was manipulated, or is it something completely different? [14:35.260 --> 14:47.260] So we've seen cases where that has actually impeded some of the investigations, the live investigations on the ship, which has caused catastrophic scenarios. [14:47.260 --> 14:51.620] I will mention the Viking Sky as one of them, if anyone knows what that is. [14:52.140 --> 14:58.720] So what really happened in this scenario, just to go over it really quickly, is something manipulated a set point. [14:58.860 --> 15:00.480] It doesn't matter what it is. [15:00.600 --> 15:02.040] We don't need to talk about hackers. [15:02.040 --> 15:03.300] We don't need to talk about software failure. [15:03.300 --> 15:07.340] What matters is we had a situation where a set point was manipulated. [15:07.500 --> 15:08.560] This is just an example. [15:08.560 --> 15:09.400] It could be anything. [15:09.400 --> 15:14.200] We could turn off the compressors and the oil mist detection would fail and it would cause the same scenario. [15:14.920 --> 15:17.020] We had no circulation through the heat exchanger. [15:17.020 --> 15:18.960] That means that the engine is overheating. [15:18.960 --> 15:31.120] We didn't even touch the engine, but because we touched the cooling of the engine, the emergency shutdown for the engine tripped the engine, which led to a blackout and loss of propulsion. [15:31.540 --> 15:33.720] Technically, we've now sailed into the rock. [15:33.880 --> 15:36.420] And with that, I'll give it to Austin. [15:40.930 --> 15:42.090] Almost done. [15:42.210 --> 15:43.610] Got another two minutes. [15:44.670 --> 15:47.050] Bear with me as we scroll down. [15:49.290 --> 15:54.950] Okay, I am gonna, just for the sake of time, move a little through these last couple slides. [15:54.950 --> 16:01.230] So here, we wanted to go over kind of the example of the Boeing 737 MAX MCAS system. [16:01.230 --> 16:06.170] There's a lot of wonderful, really smart folks here in the front row from the Aerospace Village that can tell you more about that. [16:06.170 --> 16:10.170] So I'm gonna jump right into the maritime-specific examples. [16:10.590 --> 16:16.390] So Michael had mentioned earlier about how there was a divide-by-zero incident aboard the USS Yorktown. [16:16.390 --> 16:19.110] So this is a cautionary tale. [16:19.110 --> 16:24.450] Basically, back in the late 90s, the Navy thought it would be a great idea to digitize shipboard systems. [16:24.450 --> 16:26.110] Windows NT everywhere. [16:26.110 --> 16:27.610] It was sold as the future. [16:27.650 --> 16:31.030] More automation, fewer crew, streamlined operations. [16:31.410 --> 16:37.790] And then they realized that they had gone a little too far. [16:38.450 --> 16:42.350] One of the crew members set a valve set point to zero. [16:42.350 --> 16:50.370] There was a set function in that system that then divided by zero, crashed the system, and the ship systems were offline for about two weeks. [16:50.530 --> 16:53.450] So there's a great kind of caveat there. [16:53.450 --> 17:05.270] Or a quote there from Admiral Alexander Krekic, basically saying that, talking about the benefits of automation without having backups. [17:05.270 --> 17:10.610] And the next slide over basically shows that there's a casualty on the systems there. [17:10.610 --> 17:13.630] So go to the next slide. [17:15.330 --> 17:24.630] So this is the part I'm pretty passionate about, is the risk of, essentially, what vibe coding has brought to critical systems. [17:25.110 --> 17:33.750] This is basically adding in today's development culture of rushing things and trying to not actually understand your critical systems. [17:33.830 --> 17:46.790] So shipping and maritime industry is very legacy and very, basically, a laggard sector that does not adapt to change very well. [17:46.790 --> 17:53.850] So we've seen folks that will basically be working to develop WinZip one day, working on propulsion control systems the next day. [17:54.010 --> 18:06.930] So when we have folks that are relying on AI tools or anything like that, we're starting to see an enchantification, to borrow Cory Doctorow's quote, of code bases. [18:06.930 --> 18:13.650] So I worry that this is going to trickle down into what we'd see in basically the development of critical systems. [18:13.650 --> 18:24.850] So if we start relying on just bad code base and bad code practices, we could see a lot of other systems or a lot of other examples that Michael and Chris talked about today, reach more into the maritime industry. [18:24.850 --> 18:28.450] So that's kind of the concern that a lot of us are worried about. [18:28.450 --> 18:35.650] And I just want, you know, the enchantification is what I see as an apt term for it. [18:35.650 --> 18:40.290] You can't just uninstall and go back to brass valves and wax thermometers. [18:40.770 --> 18:49.410] If something goes bad, you're stuck with that fragility and there's not necessarily a lot of backups engineered into that. [18:49.410 --> 18:54.350] So we have to start layering emerging technology onto the legacy systems. [18:55.410 --> 18:57.170] So is this enough? [18:57.170 --> 19:06.450] There's been a huge push towards our new emerging regulations from the international community on cybersecurity regulator, pardon, regulations from the IX committee. [19:06.450 --> 19:16.090] So International Association of Classification Societies, as Michael mentioned, everyone in this room, if you're interested in maritime, go read E-26, E-27 and E-22. [19:16.090 --> 19:20.650] They are where everything's moving towards, specifically on E-22. [19:20.730 --> 19:29.850] It is basically applying IEC 62443 SL1 control base to the maritime sector. [19:29.850 --> 19:36.350] And it is trying to drag the maritime sector into a secure by-design process for new builds. [19:36.350 --> 20:01.370] So when you layer that momentum of the regulatory bodies pulling the industry forward on top of vendors and providers and business use cases of stacking IT equipment into critical systems, there's a worrying and concern there for failures, whether that's unplanned or result of adversarial activity. [20:02.630 --> 20:04.850] So next slide. [20:07.120 --> 20:08.760] Actually gonna jump down to... [20:10.240 --> 20:18.100] Yeah, so basically if you take nothing else from this talk, I would say that the biggest risks in maritime aren't from external hackers. [20:18.100 --> 20:26.080] It's from the stacking of emerging technology on top of legacy systems with bad code and bad processes and lack of control. [20:26.080 --> 20:27.320] So we've seen it in aviation. [20:27.320 --> 20:28.100] We've seen it in Navy. [20:28.100 --> 20:29.620] We've seen it with the shipping industry. [20:29.720 --> 20:34.700] It's just a matter of time before more instances and examples happen. [20:35.160 --> 20:37.800] So it's, I would say... [20:39.320 --> 20:44.800] Vendor magic sauce until it's so fragile that a single bad variable emissary sensor can take down an entire vessel. [20:44.800 --> 20:52.000] That's Cory Doctorow's in shitification in action, except instead of running on social media sites, it can ruin a ship or take lives. [20:52.000 --> 20:53.840] So I'll end there. [20:53.860 --> 20:55.080] Appreciate everyone. [20:55.320 --> 20:57.060] Thank you for joining the... [20:57.060 --> 20:57.500] Thank you. [20:57.500 --> 20:57.880] Thank you. [20:57.880 --> 20:58.000] Thank you.