[00:00.000 --> 00:06.200] Good morning everybody. It's early in the morning, I know. [00:06.200 --> 00:09.240] Everyone has partied last night, I think. [00:09.760 --> 00:13.880] Today I want to talk a little bit about remote yacht hacking. [00:15.560 --> 00:21.700] About some attacks and some issues that I found on maritime stuff. [00:21.780 --> 00:25.800] And we will have some fun together, I think. [00:28.760 --> 00:30.820] My clicker is not working. [00:34.080 --> 00:35.440] Ah, here we are. [01:21.340 --> 01:24.220] We were shot watching the movie, I think. [01:25.200 --> 01:27.460] Yeah, that was 1995. [01:27.460 --> 01:30.640] They gave already suggestions about what could happen. [01:30.640 --> 01:35.040] So they hacked the balance system of a big ship there. [01:35.040 --> 01:37.800] And that was 1995. [01:37.800 --> 01:40.760] Now we have 2019. [01:42.000 --> 01:47.140] And we will see actually such kind of attacks more and more happen, maybe. [01:47.140 --> 01:54.140] What I'm talking today is a short overview about maritime 101, [01:55.060 --> 01:57.200] router and SATCOM vulnerabilities, [01:57.200 --> 02:00.980] autonomous ships and some Q&A, if we have time enough. [02:02.380 --> 02:04.400] Why hacking yachts? [02:05.220 --> 02:07.740] Maybe someone has an idea about that? [02:08.960 --> 02:11.280] Why not? That's a good answer. [02:12.280 --> 02:13.840] Yeah, why hacking yachts? [02:13.840 --> 02:18.140] They are mostly privacy owned, privately owned. [02:18.960 --> 02:24.680] And CEOs or people who have big money doing their job on board. [02:24.780 --> 02:31.580] And when you have access over the satellite internet connection or the modem over Wi-Fi or whatever, [02:31.580 --> 02:36.740] you maybe have the option to get some information that should not be outside there. [02:38.120 --> 02:42.560] Another one could be also celebrities on their ships. [02:42.560 --> 02:49.010] When you have access to the multimedia devices, all those smart TVs on board, [02:49.320 --> 02:54.020] you maybe get some pictures that some others not have. [02:54.480 --> 03:01.700] Yeah, that's the two things why privately owned yachts mostly are attacked. [03:02.240 --> 03:05.480] Yeah, several celebrities, I also said. [03:05.480 --> 03:12.440] And as I already mentioned, if we have access over the internet connection, we can do whatever we want. [03:13.740 --> 03:19.120] My name is Stefan Gerling, you can also find me on the ob1666 on Twitter. [03:19.660 --> 03:21.560] I'm older than the internet. [03:23.440 --> 03:25.840] Quite old now? No, not really. [03:26.580 --> 03:32.700] A couple of certifications I have, GCFA, CISSP, MCSE, you name it. [03:32.700 --> 03:38.720] I'm an electronic specialist from the past, doing now IT security stuff. [03:38.780 --> 03:45.660] I joined the army a couple of years and doing their navigation systems, maintenance for helicopters. [03:46.440 --> 03:50.920] By the way, I'm also a firefighter, volunteering firefighter since 31 years now. [03:52.740 --> 03:57.020] I'm working in the oil and gas industry for my employer Rosen. [03:57.020 --> 04:04.040] We're doing pipeline inspection, that's our main business, but also focusing now more and more on yachts. [04:04.460 --> 04:11.280] That's why the company certification is here on my slides, so that's another branch of our company. [04:12.200 --> 04:20.040] Yes, I void guarantees, I buy stuff, looking how it is working, then I open it and to see what's in there. [04:21.020 --> 04:25.340] And I'm volunteering, I'm the cavalry and also DEF CON. [04:25.340 --> 04:31.660] As you see, I'm just on duty, I just come from my shift here and now there. [04:32.600 --> 04:34.320] Here, how it is started. [04:35.340 --> 04:40.560] There were a couple of news about hacking yachts in the past. [04:40.620 --> 04:45.500] So, the marine had some accidents a couple of years ago, 2017. [04:45.500 --> 05:00.740] So, they had four accidents with their ships and also some other things that hackers owning in a yacht or cybercrime on the high sea and so on. [05:00.740 --> 05:04.600] So, that were some information that you find there. [05:04.600 --> 05:08.980] So, this is also then one of the news that was really interesting. [05:08.980 --> 05:17.940] So, when we looked at the schedule there, the US Navy had 2017 four accidents with their warships. [05:18.440 --> 05:23.740] And then you try to figure out, why the fuck they have four accidents with their ships. [05:24.040 --> 05:28.620] They should know about navigation very good, but it happens at that time. [05:28.620 --> 05:34.660] So, the rumors come up that somehow their ships were maybe hacked. [05:34.780 --> 05:40.640] But I've read two of those reports after that. [05:40.760 --> 05:45.500] It turns out that it was more or less a human error, navigation failure. [05:45.500 --> 05:53.660] So, people at night were not really well trained doing the navigation at night alone. [05:53.660 --> 05:56.800] So, it was somehow a human error. [05:56.800 --> 06:00.620] So, they did not follow the good guidelines for that. [06:00.680 --> 06:04.840] And last year also, there was a Norwegian frigate. [06:05.780 --> 06:12.200] So, during the military exercises in the NATO, they had also an accident with that. [06:13.280 --> 06:18.460] So, this was a couple of pictures from the frigate. [06:18.460 --> 06:27.660] So, it crashed into another vessel and you see it has now 45 degree on the side. [06:28.900 --> 06:38.600] When you maybe remember the pictures, this was the vessel that crashed in it, or the frigate crashed in that. [06:38.660 --> 06:40.540] And this picture was shown. [06:40.680 --> 06:45.080] If you could see here maybe, here are some scratches. [06:45.080 --> 06:53.600] So, the first thing that you'd maybe think about is the frigate crashed into the side here. [06:53.600 --> 06:59.520] But it did not fit with the things that you see here. [06:59.780 --> 07:04.640] So, also open source intelligence will help a little bit. [07:04.640 --> 07:07.640] So, I looked up on marinatraffic.com. [07:07.640 --> 07:11.880] There you find pictures with the same dents and scratches. [07:11.880 --> 07:22.240] And when you look at the date of the pictures, it turns out that the picture was taken half a year before the crash happened. [07:22.240 --> 07:26.640] So, the marks are not fitting together. [07:26.640 --> 07:32.800] So, just only a quick thing about some pictures that are shown in the news. [07:33.660 --> 07:35.700] Vessel, yachts and ships. [07:36.920 --> 07:40.160] A yacht is more or less a recreational ship. [07:40.160 --> 07:43.340] And the term comes from the Dutch marine. [07:43.860 --> 07:53.620] So, the Dutch had some very fast small vessels for hunting pirates in the shallow waters in the past. [07:54.080 --> 08:00.220] And yacht is a Dutch term. It means hunting. [08:00.480 --> 08:06.420] And from that the term yacht was introduced, because of small and fast vessels. [08:06.920 --> 08:08.920] And of course, size matters. [08:09.540 --> 08:11.860] Small boats are up to 7 meters. [08:12.160 --> 08:14.140] Yachts are already over 10 meters. [08:14.140 --> 08:20.040] If you have a super yacht, then you're bigger than 24 meters or 79 feet. [08:20.200 --> 08:25.340] It's already equipped with some kind of GSM, Wi-Fi, Internet stuff and so on. [08:25.500 --> 08:29.840] And mega yachts, you can say it's a swimming IoT device. [08:30.180 --> 08:38.000] Because you have already smart TVs, smart home equipment, ICS stuff in the propulsion units and so on. [08:39.640 --> 08:44.220] Just a small picture about one of the super yachts. [08:44.220 --> 08:49.340] So, this is a picture of a TV star from Germany and his yacht. [08:49.440 --> 08:52.100] But we'll see information about it later. [08:53.440 --> 08:55.240] So, why swimming IoT? [08:55.880 --> 09:00.500] Because we have so many different systems on board. [09:01.280 --> 09:03.020] Vessel traffic services. [09:03.020 --> 09:05.420] We have automatic identification system. [09:05.420 --> 09:07.580] We have an autopilot somehow. [09:07.580 --> 09:11.120] We have GPS, radar system, cameras, thermal imaging. [09:11.220 --> 09:14.800] We have engine control units and monitoring devices. [09:14.800 --> 09:18.780] We have Internet access and we have a couple of entertainment systems. [09:19.500 --> 09:26.480] I know for example from a 72 meter yacht, they have 50 smart TVs on board. [09:26.780 --> 09:27.860] 50! [09:27.860 --> 09:32.280] And more than 150 connected devices on the network. [09:32.680 --> 09:37.560] Only for getting their stuff like at home. [09:39.400 --> 09:45.840] For the maritime stuff, most of the things are connected with an NMEA bus. [09:45.840 --> 09:48.580] The NMEA bus is somehow... [09:49.620 --> 09:53.040] In the past it was a serial bus. [09:53.240 --> 09:56.300] And it's called NMEA 0183. [09:56.300 --> 09:58.840] So, here we have one of those things. [09:59.060 --> 10:03.680] And in modern yachts now we have NMEA 2000. [10:03.680 --> 10:08.520] And NMEA 2000 is nothing less than like a CAN bus in the car. [10:08.880 --> 10:14.440] So, we have some terminators here, this is a CAN bus and everything is connected to the bus system. [10:14.820 --> 10:26.920] So, when we have connection to the bus here, like here we have a gateway that turns the signals from the CAN bus to your computer. [10:27.020 --> 10:31.420] Or it is directly connected then to the network and some other computers. [10:31.420 --> 10:34.880] So, that's how everything is connected together. [10:35.960 --> 10:38.900] So, the cabling is a little bit easy. [10:39.380 --> 10:43.500] I'm not sure if you have seen it in the exhibit on the CTF. [10:43.500 --> 10:46.520] There were some pictures, you can see it also there. [10:46.520 --> 10:56.040] But it looks like these old CAN-based T-connectors from the past where the people have dealt with the cheaper net and BNC cabling. [10:56.040 --> 10:58.600] So, it looks like that, but it's a little bit different. [11:00.280 --> 11:10.860] In the past, the Anemia 0183 from the National Marine Electronic Association, it was a serial bus with 4800 baud speed. [11:10.860 --> 11:20.560] Not that much, but it was much enough for echo sonars, sonars, animators, gyro compass, autopilots and GPS and some other stuff. [11:20.820 --> 11:22.860] Whatever you have there. [11:23.700 --> 11:29.800] So, the speed was not enough, so then they introduced the CAN bus part and called it Anemia 2000. [11:30.540 --> 11:35.900] Here we have now one megabit network bandwidth that we can use. [11:37.500 --> 11:45.980] It's electrically the same as the CAN bus in the automobile industry, but you have different connectors for that. [11:46.940 --> 11:52.840] And it's not electrically compatible with the old standard, so there you have some converters for that. [11:52.860 --> 11:59.800] And because the speed was not enough, then they introduced newer standards. [11:59.800 --> 12:05.160] Ray Marine called it, for example, SeaTorque Next Generation, that's why it's NG. [12:05.300 --> 12:08.900] And there is also, this one has already 10 megabit. [12:09.420 --> 12:14.980] And there is a SeaTorque HS, high speed HS. [12:15.680 --> 12:19.100] There you have already 100 megabit on speed on the bus system. [12:19.100 --> 12:24.880] So, when you look here at the pictures, these are most of the stuff for the navigation part. [12:25.640 --> 12:33.140] And some of the points that I trigger on is, here is the receiver and the sender for the autopilot system. [12:33.140 --> 12:35.080] Here we have the GPS receiver. [12:35.220 --> 12:42.940] And all those information going to the bus system and then spread it to all the devices who are interested in the information. [12:48.320 --> 12:53.880] So, some of the systems are used as a vessel traffic service. [12:54.480 --> 13:09.440] So, it's some kind of... you can say it's similar to the aircraft control system, where they... air traffic control, you can say. [13:09.440 --> 13:10.900] It's similar to that. [13:10.900 --> 13:18.840] It's used mostly in harbors, where they get the information about the system or the ship and put it in the right place. [13:18.840 --> 13:26.160] It's using radar, CCGV, VHF radio communication and the AIS system. [13:27.660 --> 13:32.080] The AIS system, it's pretty easy. [13:32.560 --> 13:37.180] You have it on most ships from a specific size on. [13:37.820 --> 13:43.500] Then it's mandatory and most of the systems are working on VHF. [13:43.800 --> 13:47.120] We see it later or there is also a satellite version of that. [13:49.200 --> 13:56.460] So, the AIS supplements in the radar system and get also the information from that. [13:56.640 --> 14:00.540] So, it's some kind of collision avoidance that you can look up for that. [14:01.680 --> 14:08.940] So, the AIS using the GPS information from the CAN bus, from the NMEA network, to be correct. [14:09.540 --> 14:15.400] Then we have an ACTIS, the electronic chart display and information system. [14:15.400 --> 14:21.640] So, this is some kind of an electronic version about your C cards. [14:21.840 --> 14:27.660] So, in the part you have a paper printout of the C cards, where you travel on. [14:27.660 --> 14:35.120] And you don't have to have it now, unless you have two different GPS devices. [14:35.120 --> 14:39.300] And then you can completely rely on those ACTIS on those electronic versions. [14:39.440 --> 14:51.840] So, the thing is then, all the information that the ACTIS get about the position, it's getting from the AIS and also from the GPS system on the NMEA bus system. [14:52.880 --> 14:55.680] And then we have some kind of IT equipment on board. [14:57.580 --> 14:59.860] Anyhow, we have to have internet access. [14:59.860 --> 15:07.740] So, it's done by GSM or Wi-Fi or satellite dishes, where you can access the internet on the high seat. [15:08.340 --> 15:11.680] And on board we have a couple of IT systems also. [15:11.680 --> 15:15.140] Entertainment system, voice over IP, I've seen a couple of things. [15:15.140 --> 15:20.960] Wi-Fi for the guests, for the crew, for the owner of the ship and so on. [15:22.360 --> 15:29.780] This for example is a picture of a 40 meter yacht with a 90 inch rack full of IT stuff. [15:30.440 --> 15:35.260] To just show it a little bit, it's an internet router where you have your access. [15:36.320 --> 15:39.980] Here are three servers to get all the things controlled. [15:40.260 --> 15:42.960] We have two voice over IP gateways there. [15:42.960 --> 15:47.900] And a completely full stacked network switch with 48 ports. [15:47.900 --> 15:51.680] And some kind of uninterrupted power supply. [15:52.920 --> 15:59.360] And the other things we have on board are 10 smart TVs, one chart PC, the actors. [15:59.560 --> 16:02.820] 14 voice over IP telephones on the network. [16:03.040 --> 16:07.600] The internet router and four access points for Wi-Fi. [16:08.330 --> 16:19.960] As I mentioned in front of it, the 72 meter yacht that I've seen has 24 access points on the ship to have a full coverage over Wi-Fi. [16:19.960 --> 16:22.060] So, 24 already. [16:22.240 --> 16:26.220] Who is patching that shit? We will see. [16:26.540 --> 16:28.300] That's a big story. [16:29.640 --> 16:33.240] And the ships are going more and more to be smart ships. [16:33.240 --> 16:44.640] So, as you can see here, only a few pictures about, you control with your tablet, you can control the light, you can control the electric curtains of the ship. [16:44.700 --> 16:56.120] You have monitoring access or also other access to the rudder information, the RPM of the engine, the oil stand and so on. [16:56.620 --> 17:01.560] So, all the information you can access via your smart tablet. [17:01.560 --> 17:04.900] So, with your smart devices. [17:05.660 --> 17:12.140] And you can also access those things remotely with your mobile phone. [17:14.080 --> 17:18.080] So, this is then how a network on a ship looks like. [17:18.080 --> 17:26.180] So, I've put everything together and it looks like a network at home, in your business, in your company, however. [17:26.680 --> 17:30.560] So, starting at the top, we have some internet routers. [17:31.740 --> 17:34.500] That we maybe can access or attack. [17:35.160 --> 17:40.040] The next attack situation we could have is the computers on board. [17:40.040 --> 17:42.880] So, they are connected to the network and to the internet. [17:44.420 --> 17:55.140] Another attack vector could be the mobile devices of the crew, of the guests and so on, that are connected over the Wi-Fi system to the network of the ship. [17:56.200 --> 18:04.520] And then, when we have access maybe on the network of the ship, we have to look for the gateways that are going to the CAN bus. [18:04.520 --> 18:12.220] So, here it is separated by these devices. It could be a USB device, it could also be a standalone device. [18:12.740 --> 18:16.020] And then, we are now on the ship network. [18:16.380 --> 18:21.620] On the CAN bus of the ship, where we have access then to all other information. [18:21.620 --> 18:27.440] As you can see, the GPS, the engine, AIS, radar, sonar and so on and so on. [18:28.560 --> 18:31.420] So, this is then the bus where we can access it. [18:32.180 --> 18:42.160] So, the first thing we maybe can do is, we can spoof or fake the GPS information to get the ship maybe on a different course. [18:44.540 --> 18:49.340] By the way, there are a couple of GPS systems today online. [18:50.000 --> 18:56.760] We have the U.S. version. It was the first one that most of the people say, GPS is GPS. [18:57.120 --> 19:02.260] But GPS is the U.S. version of the Global Navigation Satellite System. [19:02.840 --> 19:07.360] The Russians are using their GLONASS system, the Europeans their GALILEO. [19:07.580 --> 19:13.540] It's not fully operable now and two weeks ago they had a big issue with their system. [19:13.540 --> 19:17.340] So, they fucked up the atomic clock synchronization. [19:17.340 --> 19:25.260] So, I don't know, has someone heard about that, that the GALILEO system was more than one week not working? [19:27.740 --> 19:28.940] What? [19:30.900 --> 19:33.880] No, it wasn't. [19:36.000 --> 19:38.340] I read a report about that. [19:38.540 --> 19:47.320] So, the problem was, the satellites have atomic clocks inside for correct timing. [19:47.340 --> 19:52.260] So, these atomic clocks are synchronized to the ground station. [19:52.500 --> 19:57.600] And for the GALILEO system we have two ground stations. One is in Germany, one is in Switzerland. [19:58.660 --> 20:02.440] And they are maintained by two different companies. [20:02.440 --> 20:06.080] So, the German one is a different company than the Switzerland one. [20:06.160 --> 20:14.560] So, the problem was then, the German had a normal maintenance phase where they switched off the atomic clock in Germany. [20:14.560 --> 20:21.100] And at the same time, in Switzerland, somehow, something happened with their system. [20:21.480 --> 20:26.360] So, the clock drifted a little bit away and they had to shut down their system too. [20:26.400 --> 20:31.480] So, both atomic clocks could not synchronize with the satellite in the air. [20:31.680 --> 20:40.260] And the satellite then decided, OK, I have no synchronized clock now, we switch off our operation. [20:40.260 --> 20:50.500] And then all the 24 satellites for the GALILEO were switched off and did not get anymore a correct position about that. [20:50.680 --> 20:57.420] It took them more than one week to recover all the synchronization to the system and now it is working again. [20:57.900 --> 21:02.340] Yeah, only a small story about that. [21:06.910 --> 21:13.770] When we look at the frequencies, you can see we have three bands where all the systems are working on. [21:14.250 --> 21:21.550] And all privately used devices for that are working on the L1 band. [21:21.550 --> 21:26.770] And then you have only a couple of frequencies where all of the systems are working on. [21:27.330 --> 21:28.890] It is not that much. [21:29.610 --> 21:34.230] So, the scenarios could be then, we can spoof the signal or we can jam it. [21:34.290 --> 21:36.330] Jamming is very easy. [21:36.850 --> 21:43.110] You just have to have a software-defined radio device that can transmit something. [21:43.310 --> 21:47.630] And then you can jam the signal or using some other stuff. [21:47.670 --> 21:58.430] Spoofing is a little bit difficult, but you can also do it with equipment starting about 350€, 400$ for example. [22:00.110 --> 22:03.190] Yeah, jamming happens quite often. [22:03.190 --> 22:14.490] Every time when the military is doing a military exercise, you will see somehow GPS interferences, anomalies and so on. [22:14.910 --> 22:21.490] Especially when the Russians are doing their exercises, they jam the GPS all the time. [22:21.490 --> 22:34.710] There is also a link here to a report from 2017 where more than 20 ships and some aircrafts reported anomalies in their systems. [22:36.010 --> 22:39.830] Yeah, for jamming it's not really... [22:39.830 --> 22:47.270] By the way, the US Navy is teaching again navigation with a 6th sent, so they stopped somehow teaching that. [22:47.270 --> 22:55.310] And after they figured out a couple of years ago that it is not maybe a good idea only to rely on GPS information. [22:55.310 --> 22:59.930] We should be able also to navigate in a traditional way. [22:59.930 --> 23:09.530] And the first Navy officers trained again on that come to Germany and get trained on the system again. [23:09.530 --> 23:14.130] How to navigate with a 6th sent, just to know about. [23:15.310 --> 23:20.610] GPS jammers you can buy online, for example at selljammers.com. [23:20.610 --> 23:25.850] It's starting from... yeah, these are a little bit expensive ones. [23:26.190 --> 23:34.010] And you can also have small USB devices for 80 bucks and also for the cigarette lighter in your car. [23:34.070 --> 23:47.510] So, when you maybe are thinking about someone has a GPS tracker on your car, take this cigarette lighter version and then your GPS tracker in the car is not working anymore. [23:49.910 --> 23:54.830] For professional testing you can have also these GNS simulators. [23:55.070 --> 24:00.230] They are quite expensive. This one is around 15.000 Euro. [24:00.310 --> 24:06.430] But then you can simulate all the things that a real satellite navigation system is doing. [24:06.810 --> 24:10.610] You can replay waypoints and so on. [24:11.370 --> 24:15.350] We had used one for our devices that we are using in our company. [24:15.350 --> 24:20.150] So, for the pipeline tracking we have also some GPS trackers that we build our own. [24:20.150 --> 24:23.730] And to test them we are using such kind of devices. [24:25.590 --> 24:27.930] But yeah, it's very expensive. [24:28.070 --> 24:33.130] But maybe it's a little bit easier to fake the GPS signals on the NMEA bus. [24:35.150 --> 24:37.490] So, then we come to the spoofing. [24:37.890 --> 24:41.730] So, spoofing is a little bit... it's not really difficult. [24:42.090 --> 24:43.650] You need only the right tools. [24:43.650 --> 24:46.210] For example, buy a HackRF. [24:46.350 --> 24:48.450] Have the right antenna in place. [24:48.930 --> 24:51.990] And you need some strips for that and that's it. [24:52.150 --> 24:55.870] Or you can also use a BladeRF. It's a little bit more powerful. [24:56.610 --> 24:58.830] And then you can gamble with that. [24:59.850 --> 25:01.630] Just a small advice. [25:01.910 --> 25:06.130] Don't mess with the GPS signals. You may disturb some others. [25:06.290 --> 25:12.090] Use a forensic bag or a Faraday cage where you can set up your lab for that. [25:14.110 --> 25:15.150] Yeah. [25:15.810 --> 25:22.830] For spoofing the signals you need a software defined radio and you need the right software for that. [25:22.830 --> 25:25.270] So, the software you can download on GitHub. [25:25.850 --> 25:32.290] It's a GPS SDR simulator and with that you can already do all what you want. [25:35.330 --> 25:40.330] One thing you need for that is, once you have all your equipment in place, [25:40.330 --> 25:46.830] you need to have the daily download of the constellation of the satellites in the air. [25:47.150 --> 25:50.790] So that you can download from the FTP site of the NASA. [25:51.650 --> 26:02.130] And then you have to calculate your daily file about that. [26:02.130 --> 26:05.850] And then with the information that you want to spoof, you put everything in place, [26:05.850 --> 26:12.130] you compile a new script for that and then you transmit it with the software defined radio devices. [26:12.130 --> 26:15.310] So, these are the few commands that you then need. [26:16.470 --> 26:20.950] As you can see, you set the frequency on the device that you need. [26:21.070 --> 26:23.650] You need the right sample rate and bandwidth. [26:24.390 --> 26:26.210] The gain for that. [26:26.210 --> 26:39.270] And below you can see that there is the bin file that we use with the information of the GPS signals that we want to spoof. [26:39.270 --> 26:45.630] And then you send the file over the device and you are done. [26:47.730 --> 26:53.590] Some drawbacks are there. You have to have the right gain of the signal. [26:53.590 --> 26:58.190] So, if your signal is too strong, maybe the devices are not accepting yours, [26:58.190 --> 27:05.450] because some devices are detecting, OK, there is now another signal with a higher gain. [27:05.770 --> 27:07.590] We ignore that. [27:08.330 --> 27:10.270] But somehow it works. [27:11.950 --> 27:19.210] Another thing, when we have access to the NMEA bus, we can maybe use different things. [27:19.210 --> 27:26.150] So, this is a software from ATLsoft. It's a GPS simulator. [27:27.170 --> 27:32.910] You can see it's connected to the NMEA 0183 bus. [27:33.010 --> 27:35.450] It's with a COM port connected. [27:35.570 --> 27:40.770] And then you can set your information to what latitude and longitude you want. [27:40.830 --> 27:48.410] And then press the start button and then it sends out the NMEA data on the bus with the fake GPS signals. [27:49.210 --> 27:56.510] So, if you have somehow access, for example, to the bus by renting a yacht, [27:56.510 --> 28:01.170] you maybe have them when you have enough time and access the system, [28:01.170 --> 28:07.910] you can put some fishy, spoofy devices in the ship and then can do some stuff with it later. [28:08.550 --> 28:09.170] Yeah. [28:09.730 --> 28:12.530] So now, how we can protect for that. [28:13.650 --> 28:17.250] This is a research project in Germany. [28:17.250 --> 28:21.850] They are using a 2x2 antenna device. [28:21.850 --> 28:26.410] So, here is the antenna. It's an array of about four antennas. [28:27.890 --> 28:31.470] And then you see the radio signal about that. [28:31.590 --> 28:35.450] And by the four antennas you can already calculate, [28:35.450 --> 28:40.310] OK, the signal is maybe coming from the side or it's coming from the right position from the top. [28:41.230 --> 28:46.390] With that, you easily can see if it is a spoof signal coming from the side [28:46.390 --> 28:48.950] or is it an original one from the top. [28:49.330 --> 28:52.350] And another thing that is possible with this, [28:52.350 --> 28:57.290] it can filter out the spoof signal and amplify the original one. [28:57.290 --> 29:02.310] So, it's still in a test phase. It is working. [29:02.310 --> 29:07.210] And I think we will see it in a couple of years as a normal device. [29:08.450 --> 29:12.450] And I have also found you can buy now a GPS firewall. [29:13.810 --> 29:17.710] Sounds a little bit like snake oil. I don't know. [29:18.310 --> 29:20.730] Yeah, it's a device that you can buy. [29:21.190 --> 29:26.730] Maybe it's working the same as the research project from the Germans [29:27.370 --> 29:33.590] because it's connected between the GPS antenna, the device and doing then some stuff. [29:34.070 --> 29:41.410] Anyhow, if I have the chance to get one of those devices to test, I will do it and put it in later. [29:41.410 --> 29:44.310] Have someone maybe one? I don't know. [29:44.310 --> 29:47.210] If yes, contact me, please. [29:48.690 --> 29:51.730] Okay, yeah, AIS system. [29:52.610 --> 29:56.350] AIS using the GPS information that I already mentioned [29:56.350 --> 30:03.670] and sends then over its own device, over their own system, the information back to another thing. [30:05.790 --> 30:11.690] Every 2 to 10 seconds they are sending messages when the ship is underway. [30:11.970 --> 30:23.570] For example, the status, I'm on anchor, I'm on the way, on the motor, my speed, my heading, my course over ground and so on. [30:24.070 --> 30:27.550] And the system is quite easy. [30:27.550 --> 30:33.650] It is working on VHF radio, 161 MHz and 162 MHz. [30:33.670 --> 30:36.830] Just two channels that you need. [30:37.050 --> 30:46.870] The encoding is also very easy and with those informations and with your software-defined radio, you can receive your own AIS system. [30:47.690 --> 30:58.690] Just use a software-defined radio device like the AKRF, download the scripts for GNU AIS and you can receive your own. [30:59.610 --> 31:10.110] And when you change some kind of those GNU radio stuff, then you can also transmit different systems. [31:10.110 --> 31:21.890] So, when you change it a little bit, you are able to transmit fake AIS information and it shows them on every other system in the world to the AIS devices. [31:23.650 --> 31:27.790] Another one is the autopilot I have already mentioned about. [31:27.790 --> 31:33.610] So, I am still in the research phase of that. [31:33.610 --> 31:44.790] So, in September I have access again to one of those systems and then I can record the radio signals and get more in my research for that. [31:44.870 --> 31:51.390] So, how it is working? It is a handheld radio controlled and on the right you see the receiver for that. [31:53.410 --> 32:04.070] In this case it was a Raymarine S100 wireless device and you can put in some new heading and speed information. [32:04.070 --> 32:14.250] So, you put in those information, say OK, this is my new course and speed, it sends them to the autopilot system and the ship is then following that. [32:14.330 --> 32:19.870] Mostly you find it on sailing yachts, but this was also on a normal motor yacht. [32:21.810 --> 32:32.650] How you look at that stuff? Every device that is transmitting radio signals must be registered at the FCC. [32:33.590 --> 32:40.870] And then you can also look up at the FCC ID. There are search options where you can figure out what it is. [32:41.390 --> 32:49.850] I have done it here in the picture. The granted code is called PG5 and it is a smart device. [32:49.870 --> 32:54.330] Mikko Hüppinen said once, when a device is smart you can hack it. [32:59.610 --> 33:08.550] When you read the documentation there, you figure out, OK, it is some kind of an autopilot system and it is working on 2.45 GHz. [33:08.630 --> 33:12.570] And it is not Wi-Fi, so it is somehow something else. [33:12.790 --> 33:15.530] And there are other information about that you can find. [33:15.530 --> 33:21.370] So this is then also the information that you can get on the FCC ID website, how the system is working. [33:21.890 --> 33:27.190] So there is some kind of a processor, a network processor and an RF transceiver. [33:27.790 --> 33:33.490] It is an Amiga microprocessor and they are running their own Amberstack wireless protocol on that. [33:33.790 --> 33:42.310] So with that information you have already everything that you needed to figure out how maybe the RF signals are looking like. [33:42.310 --> 33:47.490] So I think I have an update on that in October this year. [33:48.750 --> 33:53.330] Now we are coming on how to hack the internet connections. [33:53.610 --> 34:01.590] So when I started with that, I had access to the Locomarine jogger router. [34:01.950 --> 34:05.370] So that is a very nice device. It is looking like this. [34:06.090 --> 34:09.750] It has a Wi-Fi booster with 1.6 Watt. [34:10.990 --> 34:13.070] Electrical energy. [34:13.070 --> 34:21.550] And with the right antenna I had on the Monkey Island around 25 Watt EERP sending power. [34:21.710 --> 34:23.710] It is very high. [34:24.050 --> 34:30.090] And they claim to have Wi-Fi at least at 15 nautical miles. [34:30.470 --> 34:35.550] And a mobile phone should be working up to 30 nautical miles. [34:35.550 --> 34:41.110] I was not able to test it because I am always only on the yacht when it is in the harbor. [34:41.890 --> 34:43.550] Yeah, some drawbacks. [34:44.090 --> 34:44.870] But yeah. [34:45.910 --> 34:51.810] When I looked up then how the system is working, they have a nice software for that. [34:51.870 --> 34:57.150] You can install it on your computer, you can install it on your mobile phone, on your tablet, whatever. [34:58.210 --> 35:03.410] So this is then an overview about the complete things that you can do. [35:03.410 --> 35:09.070] So navigation, these are the different Wi-Fi systems that they have. [35:09.070 --> 35:13.730] Access to other systems, surveillance and so on. [35:14.890 --> 35:18.270] You can also access your multimedia devices. [35:18.830 --> 35:22.730] And this is all done over this control panel. [35:22.810 --> 35:27.690] So then I looked up how this software was working. [35:27.690 --> 35:34.070] And it figured out the software connects via FTP to the router. [35:34.890 --> 35:36.910] That's the first thing, so FTP. [35:36.910 --> 35:38.790] Okay, FTP is cleartext. [35:39.370 --> 35:41.950] Then it downloads an XML file. [35:42.310 --> 35:47.530] When you change something in the software, you change it on your tablet for example. [35:47.650 --> 35:53.470] Then you modify it and later on when you say save, it sends them back the XML file to the router. [35:53.470 --> 35:55.890] And then restart it. [35:56.030 --> 35:56.990] Yeah, yeah. [35:57.690 --> 36:00.050] As you know, FTP is cleartext. [36:01.010 --> 36:06.270] The first thing I thought, okay, they're using anonymous authentication, so that means nothing. [36:06.270 --> 36:10.990] Or they're using hard-coded credentials, which could be even worse. [36:11.430 --> 36:17.150] So in this case it figured out they're using hard-coded credentials. [36:17.590 --> 36:19.690] So the username was loco. [36:19.750 --> 36:21.990] Loco is the Spanish word for mad. [36:22.190 --> 36:26.410] And I love the password, secure connecting user. [36:26.410 --> 36:27.410] Wow. [36:28.250 --> 36:32.270] Yeah, some things of that. [36:32.390 --> 36:37.650] So then I downloaded again the software and looked up what it is. [36:37.650 --> 36:42.730] So in this case it's a .NET application. [36:43.250 --> 36:49.370] Then I used a tool like ILSpy, where you can reanalyze the source code about that. [36:49.370 --> 36:55.250] And then you find a couple of juicy information inside of the software. [36:55.250 --> 37:01.650] For example, one of those developers, somehow John, I don't know who is it. [37:01.650 --> 37:04.910] Jerry is one of the developers from the company. [37:05.790 --> 37:07.670] Some other information there. [37:07.670 --> 37:13.490] And when you find the Yotrouter engine, there you find a complete configuration about... [37:14.310 --> 37:21.450] Okay, username, password, IP address of the internal server, the name of the XML file, [37:21.450 --> 37:27.330] some information about the Wi-Fi, the Wi-Fi names, the passwords for the Wi-Fi and so on. [37:28.690 --> 37:29.930] So, okay. [37:31.070 --> 37:34.410] First thought, they are using it only internally. [37:34.590 --> 37:37.330] Let's look up how it looks like from the Internet. [37:37.850 --> 37:42.670] So I did an NMAP scan on the public IP address after the device is online. [37:43.290 --> 37:45.930] And these are then the open ports. So what? [37:45.930 --> 37:52.090] We have hard-coded credentials and the FTP port is open to the Internet. [37:52.390 --> 37:58.350] So you can access that device anyhow when it is online with those hard-coded credentials. [37:59.090 --> 38:02.270] And some other ports also. [38:02.310 --> 38:04.990] This one is very nice. We see it later. [38:06.550 --> 38:07.090] Yeah. [38:07.810 --> 38:12.150] Then another thing is in the software, they have some remote support. [38:12.350 --> 38:13.990] This is from the documentation. [38:16.130 --> 38:22.170] So when you read it, you will find out you don't have to send them an IP address. [38:22.770 --> 38:28.790] If you need remote support from them, you have only to say, [38:28.790 --> 38:33.710] okay, this is my serial number of my device and this is the time when you can access it. [38:33.830 --> 38:34.850] That's it. [38:35.090 --> 38:38.850] How do they know that? They need an IP address for that. [38:38.850 --> 38:44.030] So it turns out that they make a pingback to their systems. [38:44.030 --> 38:49.170] So this is the IP address of their devices and it's belonging to Locomarine. [38:49.170 --> 38:54.590] So every time when the device is online, they know your IP address when you are online. [38:54.850 --> 38:59.630] So for privacy reasons, it's also not so fine. [39:00.330 --> 39:03.390] Okay, then how can they access that? [39:03.830 --> 39:07.490] Okay, they know the hard-coded credentials of the FTP. [39:07.490 --> 39:14.810] But, it turns out, they are using then the MicroTik Winbox management software. [39:14.810 --> 39:20.390] So it's running on port 8291 TCP and it's a very nice software. [39:21.090 --> 39:27.930] With this management software, you can do much more than in the normal software of the device. [39:28.210 --> 39:32.490] You can also change the Wi-Fi settings and there is also... [39:34.550 --> 39:38.310] I'm not seeing it here now, but I have a picture here. [39:38.690 --> 39:40.670] You have access to the user list. [39:41.450 --> 39:47.150] These are the credentials that are then in turn, so the user local, we already know. [39:47.150 --> 39:48.870] But there is another one, Gerrit. [39:49.210 --> 39:53.150] So Gerrit has always access to the device when it is online. [39:53.650 --> 39:55.910] And he knows every time when it is online. [39:55.990 --> 39:59.290] So if this is a good idea, I don't know. [40:00.650 --> 40:04.070] After I reported it, they may change it. [40:04.070 --> 40:05.930] I have to look up later. [40:06.390 --> 40:09.130] So they promised they have a new device now online. [40:09.490 --> 40:13.570] And they promised to send me a new sample of that. [40:13.650 --> 40:15.190] I'm waiting for that. [40:16.050 --> 40:22.290] If you are not familiar with looking up the stuff with ILSpy decompiling software, [40:22.290 --> 40:30.950] you can also use tools like MK Brutus, where you can attack microtik router devices. [40:30.950 --> 40:32.850] So it does everything for you. [40:32.850 --> 40:35.450] For example, there is a small Python script. [40:35.950 --> 40:39.810] You only need the Python script and the IP addresses, [40:39.810 --> 40:43.270] and it gives you then back the username and the password for that. [40:44.090 --> 40:45.470] Very easy. [40:46.710 --> 40:49.090] I reported the things to the vendor. [40:49.230 --> 40:50.850] Two bugs they fixed. [40:50.850 --> 40:52.830] The other one took a little bit longer. [40:53.190 --> 40:55.690] They gave out a new software about that. [40:55.690 --> 40:56.910] And then they patched it. [40:56.910 --> 40:58.970] I received my CVE for that. [41:00.090 --> 41:03.310] And then I looked up the patched software that they gave. [41:03.510 --> 41:06.210] So they changed now FTP to SSH. [41:06.210 --> 41:07.770] That's already a good version. [41:08.270 --> 41:09.650] And then I was thinking, OK. [41:11.530 --> 41:15.850] And they are still using hard-coded credentials. [41:16.430 --> 41:19.350] The other thing that they did, obfuscation. [41:19.350 --> 41:23.230] They obfuscated their software so that you not easily can decode it. [41:23.230 --> 41:29.430] But with a little bit more time investment, it's also not that bad. [41:29.430 --> 41:32.230] So maybe it takes an hour longer yet. [41:33.230 --> 41:34.730] It's not that hard. [41:35.270 --> 41:39.090] This is then the normal crash of your decompiler. [41:39.410 --> 41:41.570] So it has some errors then. [41:42.590 --> 41:45.790] In that case, OK, I'd struggle at that point. [41:45.790 --> 41:48.750] So I downloaded the Android version of the software. [41:49.350 --> 41:50.950] It's also a .NET application. [41:50.950 --> 41:52.770] And they forget about it. [41:52.770 --> 41:58.170] So they obfuscated the Windows version. [41:58.170 --> 42:00.150] But forgot about the Android version. [42:00.150 --> 42:02.670] And it's still a normal version about that. [42:02.670 --> 42:04.450] So it's not obfuscated. [42:04.450 --> 42:09.850] So when you then look at the same classes for the software, the YottaRouter engine, [42:09.850 --> 42:15.770] you find there is now the same user with a new password. [42:16.150 --> 42:19.230] It's a complex one, yeah, but it's still hard-coded. [42:19.350 --> 42:22.620] And it's still accessible over SSH now. [42:24.510 --> 42:28.410] So that's the last point of those things. [42:29.150 --> 42:33.070] And I'm waiting for the new hardware of them. [42:34.330 --> 42:36.830] Some other information you can find there. [42:38.070 --> 42:39.310] CatchBackboneDataLeak. [42:39.430 --> 42:41.290] It's a nice class. [42:42.120 --> 42:43.850] It's looking fancy. [42:43.870 --> 42:48.150] And all the other information like IP addresses from the internal network and so on. [42:49.410 --> 42:51.690] Yeah, that I said already. [42:51.970 --> 42:54.130] SSH instead of FTP now. [42:54.330 --> 42:59.310] They obfuscated the DLL in the Windows version, but not in the Android. [42:59.390 --> 43:01.670] The iPhone version, I don't know. [43:01.670 --> 43:03.450] I had no way to test it. [43:04.130 --> 43:06.570] Still using hard-coded credentials. [43:06.570 --> 43:07.990] That's not good. [43:08.470 --> 43:14.270] And the SSH and Winbox is still reachable over the Internet when the device is online. [43:14.270 --> 43:17.690] So the firewall scripts are not set up that correctly. [43:18.490 --> 43:21.070] So coming to the last point now. [43:21.810 --> 43:25.470] You can have on the high sea also access over satellite. [43:25.530 --> 43:30.390] Because Wi-Fi coverage is very bad when you are a thousand miles away on the high sea. [43:30.570 --> 43:35.650] So you need how to communicate to the Internet over satellite systems. [43:35.950 --> 43:41.830] So while I was looking up some of those locomarine systems, [43:43.110 --> 43:50.390] I struggled a little bit on Shodan and found some other nice devices. [43:50.630 --> 43:53.730] So yeah, that I already said. [43:54.090 --> 43:57.910] You can look up in Shodan for those devices. [43:57.950 --> 44:02.050] These are some of the search strings where you can look for. [44:02.250 --> 44:10.750] These are all things that other people have already found out with vulnerabilities. [44:10.750 --> 44:15.450] And therefore you use the search strings here. [44:15.810 --> 44:23.130] And yeah, Shodan has also a ship tracker for the VSAT SATCOM devices. [44:23.270 --> 44:28.670] So shiptracker.shodan.io and then you can look up all the devices that are online. [44:29.450 --> 44:32.610] So yeah, they are using VSAT and so on. [44:33.330 --> 44:37.830] In my point, I was looking for those locomarine devices [44:37.830 --> 44:44.190] and I found some names that called Stabilized Digital Antenna System. [44:44.190 --> 44:48.330] So wow, that sounds good. I want to know more about that. [44:48.330 --> 44:57.510] So I looked up in Shodan a little bit more and then it claimed that there is a COPAM MXP web server. [44:58.450 --> 45:04.350] With the easy search string micro-digital web server, it gives you a better result. [45:04.350 --> 45:06.150] You find those devices. [45:08.350 --> 45:11.330] This is then how it looks like in Shodan. [45:14.450 --> 45:17.810] At that point there were 21 devices online. [45:18.690 --> 45:21.790] And this is the device that you find there. [45:23.830 --> 45:30.930] Then I looked up the first thing that I do. I show it later. It's more fun then. [45:31.190 --> 45:34.750] In general, this is how the device is working. [45:34.750 --> 45:38.770] You have the ICU and antenna devices on top of your ship. [45:39.310 --> 45:44.790] Below you have the computer and the MXP web server that's controlling those things. [45:45.890 --> 45:48.750] That's the point where we switch to the demo. [45:52.430 --> 45:54.630] The internet is still running. [45:56.110 --> 45:57.870] Here we have Shodan. [45:58.470 --> 46:03.890] I have already put in here the search string micro-digital web server I'm looking for. [46:04.750 --> 46:08.210] We have 16 devices online, a couple of here in the US. [46:08.790 --> 46:10.470] I don't care where they are. [46:11.950 --> 46:14.330] Just take the first one. [46:18.730 --> 46:20.050] Come on. [46:22.290 --> 46:25.010] I need to log on. That's bad. [46:25.770 --> 46:27.670] Oh no. Here we go. [46:32.680 --> 46:35.260] Oh, that's a very old one. It doesn't matter. [46:37.220 --> 46:38.820] Hopefully it is online. [46:38.920 --> 46:40.340] Here we go. [46:43.570 --> 46:46.290] It's a little bit slow because it's over satellite. [46:47.810 --> 46:51.950] And now we have the web interface of a ship live in the internet. [46:53.370 --> 46:58.690] I can now use the username and password to log in. I don't have one. [46:58.990 --> 47:01.050] So we have to find another way. [47:01.050 --> 47:06.290] The first thing I did was right-click, source code. [47:07.230 --> 47:08.430] That's it. [47:09.110 --> 47:13.890] The first thing that paid my attention was this part here. [47:14.910 --> 47:16.990] Hopefully you can see it. [47:17.970 --> 47:21.110] JavaScript user login.js. [47:21.330 --> 47:23.110] Let's click on it. [47:23.110 --> 47:25.650] This is the login script for that. [47:25.970 --> 47:28.970] If we scroll now a little bit down... [47:33.230 --> 47:35.930] Here are the funny places. [47:37.470 --> 47:43.430] If the login username is dealer, then use the menu-dealer.gx.html. [47:43.430 --> 47:46.990] If the login is user, then use another one. [47:47.030 --> 47:51.210] What we do to hack the system is very easy. [47:52.690 --> 47:54.890] We copy the URL. [47:57.330 --> 47:59.310] And the funny thing is... [48:02.730 --> 48:04.290] It's working. [48:05.190 --> 48:07.130] It takes now a little bit time. [48:07.130 --> 48:09.690] And now I have admin access to that device. [48:10.830 --> 48:21.430] It's switching now back after a couple of seconds, because I have to set also a referrer information that the thing is always there. [48:21.430 --> 48:24.310] But here is some kind of a ship. [48:24.310 --> 48:28.110] And we have here latitude and longitude information. [48:28.110 --> 48:30.050] And the name for that. [48:30.050 --> 48:37.410] If we look now marinetraffic.com, we can try it. [48:40.050 --> 48:44.010] 41.25 and 9.43. [48:44.550 --> 48:50.930] Let's look marinetraffic.com. [48:52.590 --> 48:55.410] To see if it is the right ship. [48:56.410 --> 48:57.830] Meridiana. [49:00.930 --> 49:02.450] Meridiana. [49:06.740 --> 49:10.540] OK, here is one. It could be maybe this. [49:14.160 --> 49:16.420] It looks good. [49:18.340 --> 49:20.480] Let's look at the information. [49:20.480 --> 49:29.200] OK, here actual position of the ship is 41.25 latitude and 9.43 longitude. [49:29.200 --> 49:31.040] Come on. [49:31.780 --> 49:36.660] And here in my system it's the same information. It's that ship. [49:38.220 --> 49:45.980] It's actual laying in, I don't know, 5 minutes ago, last position. [49:46.700 --> 49:49.430] It is moored. Engine is stopped. [49:50.200 --> 49:53.220] But yeah, it's anyhow laying in a harbor, I think. [49:53.620 --> 49:55.260] It's a nice yacht. [49:55.260 --> 49:56.260] OK. [49:57.680 --> 50:01.220] So now we have access to that device. [50:01.220 --> 50:04.100] We can see also some other things here. [50:04.100 --> 50:05.840] Command line interface. [50:05.840 --> 50:08.840] I can change the position of the antenna information. [50:08.840 --> 50:15.540] So I can reconfigure the information about how the antenna is accessing the internet and so on. [50:16.360 --> 50:16.980] Yeah. [50:19.320 --> 50:21.280] That's from that part. [50:21.280 --> 50:23.640] Switching back to the... [50:26.120 --> 50:27.160] OK. [50:27.460 --> 50:29.240] So the demo I gave. [50:30.420 --> 50:36.220] In short review, if the username is dealer, then you have admin access. [50:36.220 --> 50:39.980] If the user is user, then you have a little bit less information. [50:40.240 --> 50:43.080] Here are some pictures of the software. [50:43.360 --> 50:46.460] As I already said, a command line interface. [50:46.460 --> 50:53.000] From that point you can then dig for other devices in the network of the ship. [50:53.000 --> 51:01.700] Looking for example for the TCP IP converter to NMEA signals and spoof your information on the ship. [51:01.700 --> 51:09.900] From that, from the internet to the NMEA system, it's not a big problem anymore. [51:09.920 --> 51:13.660] Or you can also make some firmware upgrades and so on. [51:15.420 --> 51:20.620] Or you also can try to use the default credentials from the documentation. [51:20.620 --> 51:28.380] When you read the handbook, the username is dealer and the password is ctl3 and so on. [51:28.600 --> 51:29.940] It's not a big deal. [51:30.920 --> 51:36.320] Yeah. Someone found it already before me when I looked it up. [51:36.460 --> 51:40.780] But he only claimed the version 1.2.1 is vulnerable. [51:40.780 --> 51:46.660] So I tested all versions listed here down and they are vulnerable to the same thing. [51:48.380 --> 51:56.500] I also contacted the vendor because I found something different that I will explain now. [51:57.020 --> 52:04.640] Some kind of webpages that you can access without authentication where you have all the things. [52:06.500 --> 52:14.720] You can increase the cost by just uploading and downloading software or doing other stuff. [52:14.720 --> 52:17.840] Or you can switch off the internet connection on Hi-C. [52:17.840 --> 52:25.360] That is maybe a bad idea, but it's also bad for the crew on board. [52:25.360 --> 52:29.220] They have no internet access anymore and get no information anymore. [52:32.600 --> 52:40.460] Another thing that I found then was there was another issue in this device. [52:40.460 --> 52:48.980] When you send two specific parameters to the web device, it creates a complete backup of the configuration [52:48.980 --> 52:52.060] and puts it in a temp folder of the web server. [52:52.740 --> 52:55.160] And as we know, we don't need an authentication. [52:55.160 --> 53:00.620] We download the configuration file and we have then all the information about the system [53:00.620 --> 53:03.500] with the configuration, the username, password and so on. [53:06.640 --> 53:09.320] Here you see my test script that I've written for that. [53:10.460 --> 53:16.680] And then this is a short overview about what information you can download then later. [53:16.800 --> 53:21.560] So it's in a temp folder in a configuration file where you can find everything. [53:23.760 --> 53:26.180] Coming to the last part now. [53:26.740 --> 53:31.120] The engine control units are also connected to the network. [53:32.160 --> 53:37.720] And then I think Brian Olson has already covered it in his talk [53:38.540 --> 53:42.940] where he figured out that some kind of the auto-masking engine control units [53:42.940 --> 53:46.480] that are connected to the network have some drawbacks [53:46.480 --> 53:50.980] where you can bypass also the authentication and have control over the engines. [53:50.980 --> 53:57.820] So then you can say, okay, engine left, full speed ahead and the other ones in the other direction. [53:58.700 --> 54:02.340] As you can see here also, it's connected to the network [54:02.340 --> 54:07.180] and also using some industrial protocols like Modbus or something else. [54:11.360 --> 54:15.120] The future is maybe becoming more and more autonomous. [54:16.120 --> 54:22.020] So autonomous ships need some kind of internet connection and using GPS information. [54:24.400 --> 54:30.160] For that, we have to be clear that the system should be protected very good. [54:31.560 --> 54:34.000] So this we can skip. [54:34.000 --> 54:38.880] Autonomous ships, there are already things going on. [54:38.880 --> 54:44.980] So Rolls-Royce tested in 2017 the first voyage of an autonomous ship. [54:45.060 --> 54:47.780] So a captain was still on board just for backup, [54:47.780 --> 54:52.580] but the main control of the ship was done in the harbor from a control room. [54:52.580 --> 54:57.840] It was not really autonomous, but let's say more or less remote controlled. [54:57.940 --> 55:03.100] If they can remote control it, someone else maybe can also control it. [55:03.100 --> 55:09.320] So that's because of maybe they're using the same weak internet devices. [55:10.240 --> 55:12.280] So yeah, what's next? [55:13.040 --> 55:16.080] We need to test more and more on the NMEA. [55:16.360 --> 55:24.440] The NMEA protocol should have more security, authenticating and so on in place [55:24.440 --> 55:32.580] so that nobody can tamper the signals that are put on the bus. [55:33.100 --> 55:37.160] The wireless autopilot I'm working on. [55:37.940 --> 55:42.900] So all those other internet things have to be tested. [55:43.380 --> 55:50.300] A couple of us are working on it, but we need more time for that to figure out all those devices. [55:51.340 --> 55:56.220] And it becomes more and more that all the devices are connected to the cloud anyhow. [55:56.220 --> 56:07.100] So here we see one of those things where they're using now, for example, this from Mariton. [56:07.120 --> 56:10.720] This part we had already in my network design. [56:11.200 --> 56:19.300] And here everything is connected also to the cloud where you can access then all the devices over your tablet, smartphone or your laptop. [56:19.440 --> 56:24.800] So you have now full access from anyhow to your ship. [56:24.800 --> 56:34.260] So I'm not sure if someone has already tested these cloud services, but yeah, when I have time, I will do it. [56:34.760 --> 56:39.860] So this is then again one of those things where you have remote control about that. [56:40.920 --> 56:44.940] Yeah, rudder information, RPM, oil temperature and whatever. [56:46.560 --> 56:48.940] Yeah, coming to the end. [56:48.960 --> 56:54.140] And AMEA Gateway also needs more tested SATCOM boxes, mostly unpatched. [56:54.380 --> 57:00.980] The problem is they have only a small window where they have time to patch those things. [57:01.080 --> 57:04.540] So more or less they are running all the time. [57:04.760 --> 57:13.060] And once a year or maybe once or two years they're coming in the harbor, in the yard, and then there is only time to patch the things. [57:13.060 --> 57:17.060] So in between the ships are vulnerable if something is found. [57:17.060 --> 57:21.300] So the vessel transport services needs also to be tested more and more. [57:22.200 --> 57:24.240] Autopilot, I'm working on it. [57:24.240 --> 57:29.300] Injecting AMEA messages, some other people are also testing with that. [57:29.480 --> 57:33.280] GPS spoofing, yeah, it's some fun. [57:34.080 --> 57:38.960] But yeah, I think the first devices we will see to protect that system. [57:39.560 --> 57:41.340] Coming to the last slide now. [57:44.760 --> 57:46.620] May the force be with you. [57:47.000 --> 57:50.020] My Twitter handle, my email address if you want to contact me. [57:50.020 --> 57:53.140] You can also speak after with me a little bit. [57:53.900 --> 57:57.180] I cannot give away some business cards, I lost everyone. [57:57.740 --> 58:00.240] I run out of business cards, so yeah. [58:00.240 --> 58:03.680] You have to take my email address and contact me for that. [58:04.040 --> 58:08.780] Thank you for joining and have a nice rest DEF CON. [58:11.340 --> 58:12.180] Thank you.