start	end	text
0	2040	Good morning, welcome to our talk.
2040	6500	If you're expecting a talk about sci-fi robots with lasers, it's the wrong talk.
6640	14560	We're talking about real world systems here, ships, planes, cars, where one bad line of code can cause real physical harm.
14620	20480	And that, in our world, in the transportation world, critical infrastructure, that's not future risk, it's already here.
20480	23560	So yeah, the title's a little clickbait, but the problem is real.
23560	30340	When most people think of cyber threats, they think hackers, ransomware, phishing, and those are real concerns.
30340	38100	But in the maritime industry, there's a Trojan horse creeping that doesn't get enough attention, that's software quality and engineering practice.
38320	52460	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.
52680	62900	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.
63860	65400	So who are we?
65400	66620	A little bit about myself.
66620	70520	I'm Michael Duvall, Director of Maritime Cybersecurity at ABS Consulting.
70520	91620	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.
92240	108180	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.
108200	109940	Co-presenter is Austin Reed.
110740	112020	Good morning, everybody.
112020	113040	My name is Austin Reed.
113040	115060	I am a senior consultant with ABS.
115060	117260	I've been in the maritime industry for 10 years.
117260	118960	This is my fourth DEFCON.
119160	124920	I've started in cargo operations as DVR superintendent and then moved into automated container terminal operations.
124920	129520	So I was able to see kind of the old school way of moving cargo and then the bleeding edge side.
129520	139480	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.
139480	141220	So looking forward to more of the presentation.
143100	143720	All right.
143720	147660	We have to give an acknowledgement to our good friend and colleague, Chris Stein.
147660	151620	We weren't sure if he was gonna make it, but he made it across the pond to be with us today.
151620	156200	So Chris is one of the most brilliant engineers I've ever had the pleasure of knowing.
156480	161160	He's actually worked in developing and maintaining some of these systems that we're gonna talk about today.
161160	162320	So we're happy to have him here.
162320	166700	We're gonna bring him up to talk about a really cool simulation video that he produced.
166800	168020	You wanna say anything, Chris?
168020	168540	No.
168560	169020	Okay.
169100	169960	All right.
170370	171220	All right.
172320	173080	Okay.
173080	175120	So what is cyber today?
175120	180440	Is that this endless wall logos promising to save you from the scary thing of the week?
180740	183320	You know, in 2025, the buzzwords are all the same.
183320	187140	AI, nation state hackers, APTs, hyperconvergence.
187560	190980	And if you throw in AIS, you have yourself a maritime keynote.
192200	193800	So what's the problem?
193800	195140	It's a lot of noise.
195140	205220	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.
205600	207600	And that's what we're here to talk about.
208420	212460	But before we go any further, let's all agree on the definition of a computer.
212460	218060	To the layman's, you talk about a computer, it's what's on the left, that's a desktop PC.
218060	223980	But in reality, a computer is anything with a processor, memory, and the ability to execute code.
223980	228740	That's your key fob, your smart lights, your watch, your gaming consoles.
228740	237900	In the maritime world, this includes your navigation system, your engine controls, your balance system, and yes, even the coffee machine on the bridge.
237900	245340	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.
245620	247540	Which brings us to ships.
249860	257120	So on ships, these computers aren't just laptops in the captain's cabin, they're embedded in every single critical system.
257120	266580	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.
266900	269200	At the top, you have a vessel.
269900	278800	And beneath it are systems, subsystems, programmable devices, and at the heart of every one of those systems are software modules running inside.
279100	295080	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.
295280	299440	The point is, every one of these depends on software.
300020	308040	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.
309300	314660	So a little example, this is how we went from dumb but safe to smart but hackable.
314660	318420	So on the left, that's an old school wax pellet thermostat.
318500	324880	No IP address, no firmware, no updates, no zero days, just heat in, valve out.
324880	327980	Basically, it's the air gap solution of engine cooling.
328280	331720	On the right, modern PLC-based control system.
331800	339320	You got your sensor, you got your logic controller, motorized valve, and probably a web interface with the default password set to admin.
339800	341540	It's brilliant for precision.
341540	348460	You can set custom temps, you can log everything and probably control it remotely from your couch, but what's the trade-off?
348480	353120	That solid hunk of brass is now a fully-fledged cyber attack service.
353120	357120	Congratulations, your thermostat is now part of the Internet of Targets.
358080	360400	So what's the bigger point?
360620	363960	We replaced mechanical systems with network ones.
363960	367840	We're not just upgrading capability, we're importing risks.
367840	370160	So let's talk about what that means for cyber.
370840	379060	So what does replacing mechanical thermostats with a networked device matter to cyber?
379060	382980	Because we're in the fourth Industrial Revolution, cyber is everywhere.
382980	394020	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.
394160	405300	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.
406140	409520	And it's not always about elite hackers or exotic malware.
409520	412480	Sometimes software quality is just poor.
412760	426000	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.
426560	430480	If you think that's theoretical, look at the headlines.
430820	432620	These aren't just hypothetical.
432620	436140	Software bugs have been killing people and breaking hardware for decades.
436220	439320	Boeing 787's ground by a power bug.
439320	442080	An F-35 lost because of bad code.
442080	447720	NASA's $327 million Mars orbiter gone over a metric imperial mix-up.
447840	449600	Toyota's killer firmware.
449920	453420	A divide-by-zero that stopped a Navy ship dead in the water.
453420	456900	The Chinook helicopter crash tied to unsafe code.
456900	461620	The point is, the system will do exactly what it's told, even if it's the wrong thing.
461700	468580	When code controls the physical world, mistakes don't just crash programs, they crash planes, ships, and cars.
470140	472160	So, we talked about theory.
472200	473220	Let's watch it happen.
473220	477340	I'm gonna bring Chris up to talk about a video he made of a simulation.
477620	478440	Enjoy.
479620	480880	Thanks, Michael.
481160	482000	Hi, everyone.
482000	482920	I'm Chris.
483940	487460	That doesn't work very well in the way that it's configured.
487460	489300	So, let me just see if I can fix it.
489300	491280	If not, I will try to talk to it.
491280	493760	The video is very, very interesting.
493900	496980	So, I really wanna show it to you.
498300	503280	So, let me just try to get it up on screen.
508060	511400	We've got a conference center full of IT people.
511440	514180	So, no wonder we couldn't get this to work.
514820	517640	That's actually a video of my downloads folder.
517740	519340	So , I'm gonna play it straight from the file.
519340	519560	Oh , no.
519560	520280	Oh, I got it.
520280	525380	So, I know this is a little bit unclear.
526520	528800	I'm just gonna start it and start talking.
529320	530720	This is a simulator.
530720	536060	That simulator is made by Kongsberg, one of the leading machinery automation system makers in the maritime industry.
536060	540180	The simulator that we're seeing here is based on a ship called the Viking Grace.
540500	550180	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.
550280	558160	It also means that it sails through the archipelago in Stockholm, as well as in Turku, about 60% of the time at sea.
558780	561320	So, it's really, really unclear here.
561320	564280	So, let me just pause it for a second and tell you what it is that we're seeing.
564580	567640	What we're seeing here is the ship's power management system.
567700	574700	This is a visual indication of how the engines are doing, how much power that we have, the producers and the consumers.
575200	578620	Right now, we're running on four engines, full ahead.
578780	583820	And the specific configuration for the ship is that we're running all four engines at about 50%.
583820	586840	And the reason for that is, as I said, we're sailing in the archipelago.
586840	589820	If we have a blackout, we risk sailing into a rock.
590000	596960	So, therefore, the ship operator, which is Viking Line, has decided that having spare power is really important in this scenario.
596960	600980	So, we avoid a situation like the Dali up in Baltimore.
601860	606160	What I want to talk about here is, it's not a cyber thing, per se.
606160	613940	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.
615140	617420	It's really, really bad like this.
623910	625810	Yeah, sorry about this, folks.
626770	628610	Really, really, really bad.
629450	631890	Actually, I'm just gonna pause it.
632530	636610	This is more fun when you get to see it happen in the video.
636610	639110	However, I can't really do that.
639370	640930	This is the ship's automation system.
640930	648690	The ship's automation systems allows us to remotely control things from the engine control room that are located down in the machinery space.
648690	654150	In this particular case, what we're looking at here are two of the generators, the diesel generators that we have on the ship.
654230	667970	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.
668290	675790	The water that is circulating in the engine goes from the freshwater cooling jacket in the engine into a heat exchanger.
675790	679070	That heat exchanger is what you see right there.
679290	686950	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.
687130	690110	Now, that set point right now is about 70 degrees.
690530	696710	But because it's digitally controlled, we can change it to whatever we want.
696910	707270	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.
707270	724190	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.
724430	732590	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.
732590	736830	But what we're doing here is we're manually setting the set point to 700 degrees.
736830	745390	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.
746470	750210	The shocking part here is not that the set point can be changed.
750210	751290	Of course it can be changed.
751290	754750	Software can fail, you can do it manually, somebody does something, whatever.
755110	764310	But what actually happens when that temperature is set to a temperature that's higher than the shutdown temperature for the engine?
764770	770710	Now, let me see if I can pull this out to the right a little bit.
770710	772970	So you see the second counter up there.
772970	775830	We started the simulation at 38 seconds.
775830	780010	Now we're simulating the ship is running full ahead on these four engines.
780330	788870	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.
789150	794070	And I'm gonna be a little bit silent for a few seconds here, but it's not gonna be long.
797760	799280	The tension is rising.
799760	813880	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.
814020	816480	We already got the first shutdown pre-warning.
816720	827840	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.
827840	834260	So in less than 90 seconds, a manipulation of the set point can cause a complete ship blackout.
835680	837080	That's the video.
837080	838560	So what actually happened here...
838560	841140	Oh , sorry, I forgot about this problem.
841140	843000	I'm not that smart.
847420	849380	We're doing this.
849380	862780	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.
863000	864760	You have no idea what's going on.
864760	869000	You have to sit and scroll through all these alarms to find out what is it that happened?
869000	874820	Can I actually figure out that it's the set point that was manipulated, or is it something completely different?
875260	887260	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.
887260	891620	I will mention the Viking Sky as one of them, if anyone knows what that is.
892140	898720	So what really happened in this scenario, just to go over it really quickly, is something manipulated a set point.
898860	900480	It doesn't matter what it is.
900600	902040	We don't need to talk about hackers.
902040	903300	We don't need to talk about software failure.
903300	907340	What matters is we had a situation where a set point was manipulated.
907500	908560	This is just an example.
908560	909400	It could be anything.
909400	914200	We could turn off the compressors and the oil mist detection would fail and it would cause the same scenario.
914920	917020	We had no circulation through the heat exchanger.
917020	918960	That means that the engine is overheating.
918960	931120	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.
931540	933720	Technically, we've now sailed into the rock.
933880	936420	And with that, I'll give it to Austin.
940930	942090	Almost done.
942210	943610	Got another two minutes.
944670	947050	Bear with me as we scroll down.
949290	954950	Okay, I am gonna, just for the sake of time, move a little through these last couple slides.
954950	961230	So here, we wanted to go over kind of the example of the Boeing 737 MAX MCAS system.
961230	966170	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.
966170	970170	So I'm gonna jump right into the maritime-specific examples.
970590	976390	So Michael had mentioned earlier about how there was a divide-by-zero incident aboard the USS Yorktown.
976390	979110	So this is a cautionary tale.
979110	984450	Basically, back in the late 90s, the Navy thought it would be a great idea to digitize shipboard systems.
984450	986110	Windows NT everywhere.
986110	987610	It was sold as the future.
987650	991030	More automation, fewer crew, streamlined operations.
991410	997790	And then they realized that they had gone a little too far.
998450	1002350	One of the crew members set a valve set point to zero.
1002350	1010370	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.
1010530	1013450	So there's a great kind of caveat there.
1013450	1025270	Or a quote there from Admiral Alexander Krekic, basically saying that, talking about the benefits of automation without having backups.
1025270	1030610	And the next slide over basically shows that there's a casualty on the systems there.
1030610	1033630	So go to the next slide.
1035330	1044630	So this is the part I'm pretty passionate about, is the risk of, essentially, what vibe coding has brought to critical systems.
1045110	1053750	This is basically adding in today's development culture of rushing things and trying to not actually understand your critical systems.
1053830	1066790	So shipping and maritime industry is very legacy and very, basically, a laggard sector that does not adapt to change very well.
1066790	1073850	So we've seen folks that will basically be working to develop WinZip one day, working on propulsion control systems the next day.
1074010	1086930	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.
1086930	1093650	So I worry that this is going to trickle down into what we'd see in basically the development of critical systems.
1093650	1104850	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.
1104850	1108450	So that's kind of the concern that a lot of us are worried about.
1108450	1115650	And I just want, you know, the enchantification is what I see as an apt term for it.
1115650	1120290	You can't just uninstall and go back to brass valves and wax thermometers.
1120770	1129410	If something goes bad, you're stuck with that fragility and there's not necessarily a lot of backups engineered into that.
1129410	1134350	So we have to start layering emerging technology onto the legacy systems.
1135410	1137170	So is this enough?
1137170	1146450	There's been a huge push towards our new emerging regulations from the international community on cybersecurity regulator, pardon, regulations from the IX committee.
1146450	1156090	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.
1156090	1160650	They are where everything's moving towards, specifically on E-22.
1160730	1169850	It is basically applying IEC 62443 SL1 control base to the maritime sector.
1169850	1176350	And it is trying to drag the maritime sector into a secure by-design process for new builds.
1176350	1201370	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.
1202630	1204850	So next slide.
1207120	1208760	Actually gonna jump down to...
1210240	1218100	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.
1218100	1226080	It's from the stacking of emerging technology on top of legacy systems with bad code and bad processes and lack of control.
1226080	1227320	So we've seen it in aviation.
1227320	1228100	We've seen it in Navy.
1228100	1229620	We've seen it with the shipping industry.
1229720	1234700	It's just a matter of time before more instances and examples happen.
1235160	1237800	So it's, I would say...
1239320	1244800	Vendor magic sauce until it's so fragile that a single bad variable emissary sensor can take down an entire vessel.
1244800	1252000	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.
1252000	1253840	So I'll end there.
1253860	1255080	Appreciate everyone.
1255320	1257060	Thank you for joining the...
1257060	1257500	Thank you.
1257500	1257880	Thank you.
1257880	1258000	Thank you.
