start	end	text
0	1960	Hello and good afternoon everyone.
1960	7720	Welcome to our presentation on hijacking marine autopilots.
8740	12790	Alrighty, let's start off with a video.
14140	24840	This is a chart plotter that's updating an autopilot and what looks to be a very simple and routine update process.
24840	31280	However, that's not the case here and that's what we are going to show you through this presentation.
34540	45420	Alrighty, for those familiar with CAN data, what we have is the upgrade happening over the CAN network, sending all this data to the autopilot, which is a malicious firmware update.
45740	52480	At this point, the autopilot then takes the update and reboots and then it starts sending out what's called address claims.
52780	61220	This is something we'll talk about a little bit more later if you're not familiar with CAN, but essentially we are taking control over the engine controller on the network.
63120	68440	So, this research and what you'll see here, we wanted to follow a responsible disclosure process.
68740	74700	Obviously, we want to be ethical hackers, improve the cyber security industry and the maritime industry.
74700	75920	We don't want to harm them.
76220	88620	So, what we did once we discovered some of these things here was inform the manufacturer of this directly, shared a PowerPoint of these findings, and we also asked them if they had a vulnerability reporting system and unfortunately they did not.
88620	94320	So, what we did is proceeded to submit information to MITRE to request a CVE ID.
94520	101700	We did this late April 2025, giving us more than three months to present and we did receive a CVE ID.
101700	103960	It's currently in the reserve but public state.
104300	109660	After this presentation becomes public, there will be more information on it.
109680	114340	But additionally, we decided also not to name the company or the product here.
115680	117320	So, my name is Carson.
117320	125300	I am a current master's student at Colorado State University studying systems engineering and I have my bachelor's in electrical engineering.
126940	128460	Hi, I'm Rick.
128600	132920	I'm a current PhD student in systems engineering at Colorado State.
132920	136740	I got my bachelor's in computer science and then my master's in systems.
137000	138840	Both of us work for Dr.
138840	143200	Jeremy Daly, who is an associate professor in our department at Colorado State.
144880	156360	We work for the system cyber research lab located at the powerhouse energy campus at Colorado State and our main research focus areas are critical infrastructure, embedded cyber security.
156360	159500	We do a lot of work on commercial vehicle cyber security.
159520	162380	We presented at the main stage last year on that.
162380	171740	We have a big truck as you can see and we get to take that out on fun rides in the airport during all the snow that Fort Collins gets and we build out a lot of electronics as well.
173060	177160	So, we do a lot of truck research, so why suddenly investigate boats?
177160	178620	Well, I do have a theory.
178840	183360	So, our advisor got a boat and took it out on the water with us.
183620	187260	Carson was water skiing, fell off the boat, decided to hack an autopilot.
187840	190880	And meanwhile, Rick was too afraid to even get in the water.
192480	199920	Well, on a more serious note though, boats and marine systems are used in a wide variety of industries.
199920	203820	It's important for transportation, shipping, and in military applications.
203820	208440	There's also hobbies and entertainment as well, some research and rescue.
208440	214060	And in some ways and in some parts, they are part of critical infrastructure, in some parts they aren't.
214760	225800	To dig a deep more into boats, we are familiar with very much with Canon J1939 and boats have NMEA 2000 network, so that similarity kind of drew us in.
226460	233480	And a lot of boats nowadays do use autopilots for maintaining heading, controlling the radar, and interfacing with GPS and other stuff.
233820	238620	So, that was one of the main reasons why I decided to get into boats and start looking at them in the first place.
239880	249480	Well, before we dive into how we got the autopilot hack, we want to give everyone a basic 101 on control area networks.
249480	262340	So, although the application layer is still NMEA 2000, most boats still use the physical CAN network, like right beneath the NMEA 2000.
262340	263400	So, what is CAN?
263400	271080	Well, basically it's a two-wire network that has a bunch of embedded computers on it, or we also call them electronic control units or ECUs.
271180	277120	The two wires work on differential signaling and really works well for harsh environments.
277240	281600	It's message-based and does arbitration to avoid conflicts.
281600	286580	It's very reliable, and that's why it's probably used in a lot of different industries and applications.
286700	292160	Cars use them, trucks use them, industrial control systems use them, and also marine systems.
294040	301480	So, part of the vulnerability that we are going to discuss is called an address claim attack.
301800	308520	Address claiming is a very routine procedure in control area networks and in application layers above that.
308540	315600	So, basically, whenever a new device or a node joins the network, it has to have a source address, usually from 0 to 253.
315980	318960	And this is resolved through an address claim message.
318960	328860	So, if you can look at the diagram on your right of the screen, whenever a new device comes into the network, it just sends out an address claim message with a name in the data field.
329640	335160	Now, most conflicts in address claiming are resolved through name priority.
335160	338880	That is, the lower the value of the name field, that wins.
339160	343420	So, say, for example, there are two controllers trying to claim the address 0.
343560	347980	The name priority basically decides who gets to use that address 0.
348320	349960	There is no authentication.
349960	353080	So, essentially, you can steal someone else's address.
353120	356500	And that's what we show in the diagram is what we did here.
357080	365740	Like, say, for example, the engine comes in, normal startup, claims address 0, and now starts using address 0 for sending out all the messages.
366320	374020	Then after some time, there is a malicious autopilot node that comes in, and it claims address 0 with a lower value in the name field.
374660	382020	And then the engine is basically thrown off the network because it can no longer use address 0 and everyone else recognizes the engine through address 0.
382440	385940	And that's a classic example of what an address claim attack is.
386740	388420	Anyway, moving on.
389460	399120	So, the overall motivation of our work, obviously, we look into cyber physical systems, but oftentimes people see boats, trucks as air-gapped.
399220	401520	In reality, this is not really the case.
401780	406140	As they become more modernized, there's more wireless links to them.
406260	416420	But a lot recent exploits have shown that cyber physical systems, such as trucks and boats and other critical infrastructure, they are vulnerable to different forms of external control.
417140	423720	And this is also seen as a pretty big target for other nations, other groups, whatever they may be.
423720	432740	So, our goal as researchers is to improve and harden these systems through discovering vulnerabilities, reporting them properly, and ideally helping secure these devices.
435080	438720	So, this is what a typical marine system architecture may look like.
438720	441320	On the left, we have more of a pleasure craft or a yacht.
441520	444000	On the right is more of a shipping vessel, for instance.
444280	450220	There can be a lot of different devices in there, such as displays, laptops, compasses, autopilots.
450680	455820	Your engine is considered a device on the network because it may have a controller associated with it.
456320	463860	Obviously, smaller boats are going to be a More things to hack on.
465740	470860	So, what we did is we wanted to take that and essentially put it into a small box that we have here.
471340	475200	So, on the photo on the right, we have a chart plotter on the top.
475220	480180	This connects up to the autopilot computer over CAN using the NMEA 2000 protocol.
480620	482840	That's what the backbone cable is there for.
482900	484160	And a power supply.
484380	491560	On the left, we just have a systems diagram showing that you can plug in via an SD card, for instance, to update things.
491560	495400	And you can also plug in with your laptop using a CAN device.
497280	502060	So, taking a look at the autopilot hardware itself, this is what the PCB looks like.
502340	510360	Some of the first questions that you want to ask when hardware reverse engineering is, how can I update this and how can I connect to it and start reading data, figure out how it works?
510840	515240	So, we removed it from the enclosure and started looking at the very small part numbers on there.
515880	518540	Kind of hard to read using microscopes.
520240	522000	Let's see, soldering equipment.
522460	527780	But ideally, we want to locate the data sheets from there, look at the user manuals and the wiring diagrams.
528260	531000	So, if you notice, I've highlighted something down here.
531000	533680	This is a standard connector for the NMEA 2000.
533680	536480	This has CAN high and CAN low, power and ground on there.
536480	538620	So, that was something important to note on there.
540580	546180	As we dive in a little bit deeper, we start to understand how the autopilot works and what features it has.
546480	550340	So, on the top right, we have a wonderful 20-pin header, which looks pretty interesting.
550940	556420	As we dive deeper, we can see that we can send and receive NMEA 2000 frames from this autopilot.
556640	560480	It has the ability to control the steering wheel via a feedback mechanism.
560480	569020	It can control the angle of the router and that 20-pin header, we can actually extract the firmware via JTAG and update it as well over the CAN network.
570980	579760	So, one of the things that we discovered while we were looking up this device and the part numbers is that there is a software update available online through the manufacturer.
581160	583420	This was something that we'll cover a little bit later.
583420	588600	And then on the right, we just have an image of what the memory map looks like for this specific chip architecture.
589200	593340	These are very important things when you want to reverse engineer firmware.
593680	599780	So, we initially plugged in using something called a We then switched to a JLink for more consistency.
600020	605500	But what we plugged into is a programming port, which was unfortunately unlocked for us.
605520	609940	What we can do with this is extract, modify, and upload firmware to it.
609940	614500	We can perform live debugging and also view the registers on the chip live.
617520	623760	So, now that we have the firmware, this is what a usual high-level overview of software reverse engineering looks like.
623760	628340	First, from identifying the binary architecture all the way through locating the patch target.
628420	630980	Now, when you get a binary, you don't know what any of this means.
630980	632540	It's essentially ones and zeros.
632820	636300	So, we have to go through and make it a lot more human readable.
636380	644240	This takes many hours of us sitting there scratching our heads trying to rename functions, trying to figure out which strings map to what.
644560	649080	One of the key things that we did was we wanted to send out this address claim.
649380	658180	And so, we looked for what registers are correlated to the can send function and start remapping and renaming functions in that binary.
658680	667220	We used a very popular tool, you might recognize it, to identify the flow and code regions and, as I said, identify the can-related functionality.
667620	671020	So, we wanted to modify a specific function to do something specific.
671020	681740	Now, this is just one example of what you can do, but we wanted to implement this address claim attack, removing the legitimate device from the network and keep it from communicating any further.
681740	684600	This ideally demonstrates control over the network.
684600	687720	So, on the left side, this is what the initial binary looks like.
687920	690800	And the highlighted part, this is what the arguments are.
690800	693760	It gets passed in a message and data bytes.
693760	701320	So, we essentially just patched that to be a hard-coded address claim in here just to provide a proof of concept.
702640	711580	Once we had those opcodes that we needed to patch the firmware, we actually had to upload it back into that file that we can access online.
711880	715100	The file name is a swap or software update.
715140	718900	It's really just an S record encoded into an XML format.
719380	727020	Luckily, Wikipedia has a lot of information on S records, which helped us figure out how to do all the checksums and what all the headers mean for each line.
727780	734400	After we patched the file, we then can save this to an SD card, at which point we go back to what we saw earlier.
734400	741820	We're inserting the SD card into this chart plotter, navigate to the file that we want to upload, and select the target device.
741820	743020	Click upgrade.
743740	752460	And so, what we get again now is the software update being sent over the network without any authentication, only that checksum there.
752560	757820	The autopilot takes this and then reboots and then starts sending out address claims.
757820	761600	And this can be nefarious if used improperly.
762740	764700	But ideally, this is hacked.
764760	769500	All right, we've demonstrated that we can send arbitrary messages from the autopilot.
769760	774140	Now, this is, again, just one example, but it's not limited to address claim messages.
774140	777280	We could be sending out different GPS commands.
777500	781940	We could be sending out other commands to control various other parts of a marine network.
785140	789360	So, essentially, at this point, we have gained two important things.
789360	797620	One is remote code execution on the autopilot and that leading to arbitrary injection with any targeted messages.
797700	807700	And that could be used by a nefarious actor, honestly, to gain control over the NMEA network and also control of physical actuators through the autopilot even.
808580	825160	Well, there is some physical access involved in this, but as marine systems keep getting bigger and bigger and there is more IoT devices being plugged into marine systems, a lot of these devices also have Wi-Fi networks, which is something which is interesting.
825160	834660	So, it'll be interesting to see what other things can be done and how or whether or not this can be done totally wirelessly without even needing a chart plotter in the first place.
836420	856060	So, to conclude our presentation, basically, what we want to say out loud to the entire community and the maritime community is we need to follow good software practices, disable JTAGs in production, possibly encrypt firmware, maybe remove identifiers from PCB components in production,
856060	860200	go through a secure boot process during power up and so forth.
861500	864800	With that, that ends our presentation.
865280	874480	However, we do also have a demo and we are planning to show the entire thing live to you guys if you are patient for a couple of minutes with us.
913040	924500	Unfortunately, we don't have an HDMI for the chart plotter, but if you can see our setup up here, you are even welcome to come up to see this around the stage.
925040	926340	Sorry, just got a quick question.
926340	926760	Yeah, sure.
926760	933200	People are going to come up there, but how earth-basic is this time on, like, massive ships and stuff like that?
935180	940040	Well, to be honest, different boats have different architectures.
940040	940280	Yeah .
940280	946600	But however, autopilots, from what I know, autopilots are present on a lot of larger vessels as well.
946600	947040	Right .
947660	951940	And they operate a lot different, so it depends on what protocols they're using.
951940	954840	The big boats also will be using it at the age of 15.
955700	956460	Oh, okay, good.
956460	957160	Thank you, Max.
959780	962680	So, what we have here is a chart plotter.
962680	968260	Autopilots and an actual linking console that we are going to claim the address of.
973360	976700	I'm outdated to the firmware updates.
976720	979240	Scrolling the SD card on here.
987660	989720	It's not showing up.
990940	992540	There you go.
1009120	1012440	So, we have normal messages coming across the network right now.
1012440	1015200	So, I'm going to go ahead and select that malicious upgrades file.
1016240	1019300	And I'm going to select the device that I want to upgrade with it.
1019960	1021720	And click start upgrade.
1022580	1027800	Now, this is sending out this upgrade to the autopilot, which is down here.
1027860	1030760	There's not really any authentication process.
1031040	1033240	There's... it's being sent in plain text as well.
1033240	1037440	So, a simple capture and replay would also work to upgrade the autopilot.
1038240	1040440	Unfortunately, this is not working out here.
1043160	1046620	It is by wire over NDA 2.0.
1048840	1058000	Unfortunately, the server out here is not working for some reason.
1058000	1060440	And that's what happens when you try to give live demos.
1061460	1065260	Well, what we are going to do is simply look at the can dump.
1069020	1072260	That's the update being sent out from the autopilot right there.
1078700	1079200	Yeah.
1079200	1079850	Do you even know...
1086740	1092400	There's some aftermarket devices that you can purchase, just like hot electronics.
1092540	1097640	I, myself, am not familiar with standard devices that have that on there.
1097720	1100560	We usually just purchase random things off the internet.
1102120	1106140	So, again, I noticed in the apartment, they still have a control system.
1106140	1109260	You go to chartplotter, and that integrates with the smartwatch that they make.
1109260	1111880	You know, if I'm going to do things remotely, I'm going to do a lot of optics.
1113340	1116520	And you can control the 12-way motor state on your wrist.
1116560	1117700	So , you can do that.
1119820	1121420	But, yeah, I'll be fine.
1121420	1128340	I kind of, like, I asked a lot of people, I'll try to integrate this with anything that you can, any kind of sci-fi remote or something like that.
1133100	1138080	Yeah, there's actually another student in our lab sitting right here that has looked at something like that.
1138080	1141640	Obviously, we need to look into it a little bit more.
1141640	1145060	But there are devices out there that can interface between the two.
1145700	1148860	Well, on a nicer note, this simulator is now working.
1149000	1151720	You can see the engine controller is active on there.
1151960	1156540	So, there's a source ID of 00 on the right side that you'll see.
1156540	1164860	And then once we start sending out the data frames with a lot of zeros on the right-hand side, you'll notice that the engine actually gets kicked off the network.
1164980	1167260	Should be right about now.
1170710	1172030	And it's gone.
1173190	1175770	So, you're seeing a bunch of address claim messages.
1175770	1177130	So , what this allows is...
1178970	1180650	Sorry about that.
1180750	1182750	Looks like our timer is almost over.
1182750	1184650	We have 20 minutes on the clock.
1186770	1189030	But that's what it allows us to do.
1189030	1190530	It kicks the engine off the network.
1190530	1198190	And at this point, if there are other controllers on the network that are trying to send out messages to the engine, the engine will not receive it.
1198190	1200990	So, say, for example, your brake is trying to tell your...
1200990	1203430	This is a typical truck scenario example, though.
1203430	1208250	But when you're driving a big rig, your brake tells your engine to slow down.
1208710	1210950	It tells your transmission to slow down.
1210950	1214630	Essentially, the engine can't hear any of those messages anymore.
1214650	1216310	With an address claim.
1218150	1220970	With that, we would like to conclude our presentation.
1220970	1221570	Thank you.
1221570	1224770	And if you have any questions, please go ahead.
