Good morning everybody. It's early in the morning, I know. Everyone has partied last night, I think. Today I want to talk a little bit about remote yacht hacking. About some attacks and some issues that I found on maritime stuff. And we will have some fun together, I think. My clicker is not working. Ah, here we are. We were shot watching the movie, I think. Yeah, that was 1995. They gave already suggestions about what could happen. So they hacked the balance system of a big ship there. And that was 1995. Now we have 2019. And we will see actually such kind of attacks more and more happen, maybe. What I'm talking today is a short overview about maritime 101, router and SATCOM vulnerabilities, autonomous ships and some Q&A, if we have time enough. Why hacking yachts? Maybe someone has an idea about that? Why not? That's a good answer. Yeah, why hacking yachts? They are mostly privacy owned, privately owned. And CEOs or people who have big money doing their job on board. And when you have access over the satellite internet connection or the modem over Wi-Fi or whatever, you maybe have the option to get some information that should not be outside there. Another one could be also celebrities on their ships. When you have access to the multimedia devices, all those smart TVs on board, you maybe get some pictures that some others not have. Yeah, that's the two things why privately owned yachts mostly are attacked. Yeah, several celebrities, I also said. And as I already mentioned, if we have access over the internet connection, we can do whatever we want. My name is Stefan Gerling, you can also find me on the ob1666 on Twitter. I'm older than the internet. Quite old now? No, not really. A couple of certifications I have, GCFA, CISSP, MCSE, you name it. I'm an electronic specialist from the past, doing now IT security stuff. I joined the army a couple of years and doing their navigation systems, maintenance for helicopters. By the way, I'm also a firefighter, volunteering firefighter since 31 years now. I'm working in the oil and gas industry for my employer Rosen. We're doing pipeline inspection, that's our main business, but also focusing now more and more on yachts. That's why the company certification is here on my slides, so that's another branch of our company. Yes, I void guarantees, I buy stuff, looking how it is working, then I open it and to see what's in there. And I'm volunteering, I'm the cavalry and also DEF CON. As you see, I'm just on duty, I just come from my shift here and now there. Here, how it is started. There were a couple of news about hacking yachts in the past. So, the marine had some accidents a couple of years ago, 2017. 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. So, that were some information that you find there. So, this is also then one of the news that was really interesting. So, when we looked at the schedule there, the US Navy had 2017 four accidents with their warships. And then you try to figure out, why the fuck they have four accidents with their ships. They should know about navigation very good, but it happens at that time. So, the rumors come up that somehow their ships were maybe hacked. But I've read two of those reports after that. It turns out that it was more or less a human error, navigation failure. So, people at night were not really well trained doing the navigation at night alone. So, it was somehow a human error. So, they did not follow the good guidelines for that. And last year also, there was a Norwegian frigate. So, during the military exercises in the NATO, they had also an accident with that. So, this was a couple of pictures from the frigate. So, it crashed into another vessel and you see it has now 45 degree on the side. When you maybe remember the pictures, this was the vessel that crashed in it, or the frigate crashed in that. And this picture was shown. If you could see here maybe, here are some scratches. So, the first thing that you'd maybe think about is the frigate crashed into the side here. But it did not fit with the things that you see here. So, also open source intelligence will help a little bit. So, I looked up on marinatraffic.com. There you find pictures with the same dents and scratches. 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. So, the marks are not fitting together. So, just only a quick thing about some pictures that are shown in the news. Vessel, yachts and ships. A yacht is more or less a recreational ship. And the term comes from the Dutch marine. So, the Dutch had some very fast small vessels for hunting pirates in the shallow waters in the past. And yacht is a Dutch term. It means hunting. And from that the term yacht was introduced, because of small and fast vessels. And of course, size matters. Small boats are up to 7 meters. Yachts are already over 10 meters. If you have a super yacht, then you're bigger than 24 meters or 79 feet. It's already equipped with some kind of GSM, Wi-Fi, Internet stuff and so on. And mega yachts, you can say it's a swimming IoT device. Because you have already smart TVs, smart home equipment, ICS stuff in the propulsion units and so on. Just a small picture about one of the super yachts. So, this is a picture of a TV star from Germany and his yacht. But we'll see information about it later. So, why swimming IoT? Because we have so many different systems on board. Vessel traffic services. We have automatic identification system. We have an autopilot somehow. We have GPS, radar system, cameras, thermal imaging. We have engine control units and monitoring devices. We have Internet access and we have a couple of entertainment systems. I know for example from a 72 meter yacht, they have 50 smart TVs on board. 50! And more than 150 connected devices on the network. Only for getting their stuff like at home. For the maritime stuff, most of the things are connected with an NMEA bus. The NMEA bus is somehow... In the past it was a serial bus. And it's called NMEA 0183. So, here we have one of those things. And in modern yachts now we have NMEA 2000. And NMEA 2000 is nothing less than like a CAN bus in the car. So, we have some terminators here, this is a CAN bus and everything is connected to the bus system. 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. Or it is directly connected then to the network and some other computers. So, that's how everything is connected together. So, the cabling is a little bit easy. I'm not sure if you have seen it in the exhibit on the CTF. There were some pictures, you can see it also there. 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. So, it looks like that, but it's a little bit different. In the past, the Anemia 0183 from the National Marine Electronic Association, it was a serial bus with 4800 baud speed. Not that much, but it was much enough for echo sonars, sonars, animators, gyro compass, autopilots and GPS and some other stuff. Whatever you have there. So, the speed was not enough, so then they introduced the CAN bus part and called it Anemia 2000. Here we have now one megabit network bandwidth that we can use. It's electrically the same as the CAN bus in the automobile industry, but you have different connectors for that. And it's not electrically compatible with the old standard, so there you have some converters for that. And because the speed was not enough, then they introduced newer standards. Ray Marine called it, for example, SeaTorque Next Generation, that's why it's NG. And there is also, this one has already 10 megabit. And there is a SeaTorque HS, high speed HS. There you have already 100 megabit on speed on the bus system. So, when you look here at the pictures, these are most of the stuff for the navigation part. And some of the points that I trigger on is, here is the receiver and the sender for the autopilot system. Here we have the GPS receiver. And all those information going to the bus system and then spread it to all the devices who are interested in the information. So, some of the systems are used as a vessel traffic service. 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. It's similar to that. It's used mostly in harbors, where they get the information about the system or the ship and put it in the right place. It's using radar, CCGV, VHF radio communication and the AIS system. The AIS system, it's pretty easy. You have it on most ships from a specific size on. Then it's mandatory and most of the systems are working on VHF. We see it later or there is also a satellite version of that. So, the AIS supplements in the radar system and get also the information from that. So, it's some kind of collision avoidance that you can look up for that. So, the AIS using the GPS information from the CAN bus, from the NMEA network, to be correct. Then we have an ACTIS, the electronic chart display and information system. So, this is some kind of an electronic version about your C cards. So, in the part you have a paper printout of the C cards, where you travel on. And you don't have to have it now, unless you have two different GPS devices. And then you can completely rely on those ACTIS on those electronic versions. 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. And then we have some kind of IT equipment on board. Anyhow, we have to have internet access. So, it's done by GSM or Wi-Fi or satellite dishes, where you can access the internet on the high seat. And on board we have a couple of IT systems also. Entertainment system, voice over IP, I've seen a couple of things. Wi-Fi for the guests, for the crew, for the owner of the ship and so on. This for example is a picture of a 40 meter yacht with a 90 inch rack full of IT stuff. To just show it a little bit, it's an internet router where you have your access. Here are three servers to get all the things controlled. We have two voice over IP gateways there. And a completely full stacked network switch with 48 ports. And some kind of uninterrupted power supply. And the other things we have on board are 10 smart TVs, one chart PC, the actors. 14 voice over IP telephones on the network. The internet router and four access points for Wi-Fi. 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. So, 24 already. Who is patching that shit? We will see. That's a big story. And the ships are going more and more to be smart ships. 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. You have monitoring access or also other access to the rudder information, the RPM of the engine, the oil stand and so on. So, all the information you can access via your smart tablet. So, with your smart devices. And you can also access those things remotely with your mobile phone. So, this is then how a network on a ship looks like. So, I've put everything together and it looks like a network at home, in your business, in your company, however. So, starting at the top, we have some internet routers. That we maybe can access or attack. The next attack situation we could have is the computers on board. So, they are connected to the network and to the internet. 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. 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. So, here it is separated by these devices. It could be a USB device, it could also be a standalone device. And then, we are now on the ship network. On the CAN bus of the ship, where we have access then to all other information. As you can see, the GPS, the engine, AIS, radar, sonar and so on and so on. So, this is then the bus where we can access it. 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. By the way, there are a couple of GPS systems today online. We have the U.S. version. It was the first one that most of the people say, GPS is GPS. But GPS is the U.S. version of the Global Navigation Satellite System. The Russians are using their GLONASS system, the Europeans their GALILEO. It's not fully operable now and two weeks ago they had a big issue with their system. So, they fucked up the atomic clock synchronization. So, I don't know, has someone heard about that, that the GALILEO system was more than one week not working? What? No, it wasn't. I read a report about that. So, the problem was, the satellites have atomic clocks inside for correct timing. So, these atomic clocks are synchronized to the ground station. And for the GALILEO system we have two ground stations. One is in Germany, one is in Switzerland. And they are maintained by two different companies. So, the German one is a different company than the Switzerland one. So, the problem was then, the German had a normal maintenance phase where they switched off the atomic clock in Germany. And at the same time, in Switzerland, somehow, something happened with their system. So, the clock drifted a little bit away and they had to shut down their system too. So, both atomic clocks could not synchronize with the satellite in the air. And the satellite then decided, OK, I have no synchronized clock now, we switch off our operation. And then all the 24 satellites for the GALILEO were switched off and did not get anymore a correct position about that. It took them more than one week to recover all the synchronization to the system and now it is working again. Yeah, only a small story about that. When we look at the frequencies, you can see we have three bands where all the systems are working on. And all privately used devices for that are working on the L1 band. And then you have only a couple of frequencies where all of the systems are working on. It is not that much. So, the scenarios could be then, we can spoof the signal or we can jam it. Jamming is very easy. You just have to have a software-defined radio device that can transmit something. And then you can jam the signal or using some other stuff. Spoofing is a little bit difficult, but you can also do it with equipment starting about 350€, 400$ for example. Yeah, jamming happens quite often. Every time when the military is doing a military exercise, you will see somehow GPS interferences, anomalies and so on. Especially when the Russians are doing their exercises, they jam the GPS all the time. There is also a link here to a report from 2017 where more than 20 ships and some aircrafts reported anomalies in their systems. Yeah, for jamming it's not really... By the way, the US Navy is teaching again navigation with a 6th sent, so they stopped somehow teaching that. And after they figured out a couple of years ago that it is not maybe a good idea only to rely on GPS information. We should be able also to navigate in a traditional way. And the first Navy officers trained again on that come to Germany and get trained on the system again. How to navigate with a 6th sent, just to know about. GPS jammers you can buy online, for example at selljammers.com. It's starting from... yeah, these are a little bit expensive ones. And you can also have small USB devices for 80 bucks and also for the cigarette lighter in your car. 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. For professional testing you can have also these GNS simulators. They are quite expensive. This one is around 15.000 Euro. But then you can simulate all the things that a real satellite navigation system is doing. You can replay waypoints and so on. We had used one for our devices that we are using in our company. So, for the pipeline tracking we have also some GPS trackers that we build our own. And to test them we are using such kind of devices. But yeah, it's very expensive. But maybe it's a little bit easier to fake the GPS signals on the NMEA bus. So, then we come to the spoofing. So, spoofing is a little bit... it's not really difficult. You need only the right tools. For example, buy a HackRF. Have the right antenna in place. And you need some strips for that and that's it. Or you can also use a BladeRF. It's a little bit more powerful. And then you can gamble with that. Just a small advice. Don't mess with the GPS signals. You may disturb some others. Use a forensic bag or a Faraday cage where you can set up your lab for that. Yeah. For spoofing the signals you need a software defined radio and you need the right software for that. So, the software you can download on GitHub. It's a GPS SDR simulator and with that you can already do all what you want. One thing you need for that is, once you have all your equipment in place, you need to have the daily download of the constellation of the satellites in the air. So that you can download from the FTP site of the NASA. And then you have to calculate your daily file about that. And then with the information that you want to spoof, you put everything in place, you compile a new script for that and then you transmit it with the software defined radio devices. So, these are the few commands that you then need. As you can see, you set the frequency on the device that you need. You need the right sample rate and bandwidth. The gain for that. 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. And then you send the file over the device and you are done. Some drawbacks are there. You have to have the right gain of the signal. So, if your signal is too strong, maybe the devices are not accepting yours, because some devices are detecting, OK, there is now another signal with a higher gain. We ignore that. But somehow it works. Another thing, when we have access to the NMEA bus, we can maybe use different things. So, this is a software from ATLsoft. It's a GPS simulator. You can see it's connected to the NMEA 0183 bus. It's with a COM port connected. And then you can set your information to what latitude and longitude you want. And then press the start button and then it sends out the NMEA data on the bus with the fake GPS signals. So, if you have somehow access, for example, to the bus by renting a yacht, you maybe have them when you have enough time and access the system, you can put some fishy, spoofy devices in the ship and then can do some stuff with it later. Yeah. So now, how we can protect for that. This is a research project in Germany. They are using a 2x2 antenna device. So, here is the antenna. It's an array of about four antennas. And then you see the radio signal about that. And by the four antennas you can already calculate, OK, the signal is maybe coming from the side or it's coming from the right position from the top. With that, you easily can see if it is a spoof signal coming from the side or is it an original one from the top. And another thing that is possible with this, it can filter out the spoof signal and amplify the original one. So, it's still in a test phase. It is working. And I think we will see it in a couple of years as a normal device. And I have also found you can buy now a GPS firewall. Sounds a little bit like snake oil. I don't know. Yeah, it's a device that you can buy. Maybe it's working the same as the research project from the Germans because it's connected between the GPS antenna, the device and doing then some stuff. Anyhow, if I have the chance to get one of those devices to test, I will do it and put it in later. Have someone maybe one? I don't know. If yes, contact me, please. Okay, yeah, AIS system. AIS using the GPS information that I already mentioned and sends then over its own device, over their own system, the information back to another thing. Every 2 to 10 seconds they are sending messages when the ship is underway. 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. And the system is quite easy. It is working on VHF radio, 161 MHz and 162 MHz. Just two channels that you need. The encoding is also very easy and with those informations and with your software-defined radio, you can receive your own AIS system. Just use a software-defined radio device like the AKRF, download the scripts for GNU AIS and you can receive your own. And when you change some kind of those GNU radio stuff, then you can also transmit different systems. 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. Another one is the autopilot I have already mentioned about. So, I am still in the research phase of that. 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. So, how it is working? It is a handheld radio controlled and on the right you see the receiver for that. In this case it was a Raymarine S100 wireless device and you can put in some new heading and speed information. 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. Mostly you find it on sailing yachts, but this was also on a normal motor yacht. How you look at that stuff? Every device that is transmitting radio signals must be registered at the FCC. And then you can also look up at the FCC ID. There are search options where you can figure out what it is. I have done it here in the picture. The granted code is called PG5 and it is a smart device. Mikko Hüppinen said once, when a device is smart you can hack it. 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. And it is not Wi-Fi, so it is somehow something else. And there are other information about that you can find. So this is then also the information that you can get on the FCC ID website, how the system is working. So there is some kind of a processor, a network processor and an RF transceiver. It is an Amiga microprocessor and they are running their own Amberstack wireless protocol on that. So with that information you have already everything that you needed to figure out how maybe the RF signals are looking like. So I think I have an update on that in October this year. Now we are coming on how to hack the internet connections. So when I started with that, I had access to the Locomarine jogger router. So that is a very nice device. It is looking like this. It has a Wi-Fi booster with 1.6 Watt. Electrical energy. And with the right antenna I had on the Monkey Island around 25 Watt EERP sending power. It is very high. And they claim to have Wi-Fi at least at 15 nautical miles. And a mobile phone should be working up to 30 nautical miles. I was not able to test it because I am always only on the yacht when it is in the harbor. Yeah, some drawbacks. But yeah. When I looked up then how the system is working, they have a nice software for that. You can install it on your computer, you can install it on your mobile phone, on your tablet, whatever. So this is then an overview about the complete things that you can do. So navigation, these are the different Wi-Fi systems that they have. Access to other systems, surveillance and so on. You can also access your multimedia devices. And this is all done over this control panel. So then I looked up how this software was working. And it figured out the software connects via FTP to the router. That's the first thing, so FTP. Okay, FTP is cleartext. Then it downloads an XML file. When you change something in the software, you change it on your tablet for example. Then you modify it and later on when you say save, it sends them back the XML file to the router. And then restart it. Yeah, yeah. As you know, FTP is cleartext. The first thing I thought, okay, they're using anonymous authentication, so that means nothing. Or they're using hard-coded credentials, which could be even worse. So in this case it figured out they're using hard-coded credentials. So the username was loco. Loco is the Spanish word for mad. And I love the password, secure connecting user. Wow. Yeah, some things of that. So then I downloaded again the software and looked up what it is. So in this case it's a .NET application. Then I used a tool like ILSpy, where you can reanalyze the source code about that. And then you find a couple of juicy information inside of the software. For example, one of those developers, somehow John, I don't know who is it. Jerry is one of the developers from the company. Some other information there. And when you find the Yotrouter engine, there you find a complete configuration about... Okay, username, password, IP address of the internal server, the name of the XML file, some information about the Wi-Fi, the Wi-Fi names, the passwords for the Wi-Fi and so on. So, okay. First thought, they are using it only internally. Let's look up how it looks like from the Internet. So I did an NMAP scan on the public IP address after the device is online. And these are then the open ports. So what? We have hard-coded credentials and the FTP port is open to the Internet. So you can access that device anyhow when it is online with those hard-coded credentials. And some other ports also. This one is very nice. We see it later. Yeah. Then another thing is in the software, they have some remote support. This is from the documentation. So when you read it, you will find out you don't have to send them an IP address. If you need remote support from them, you have only to say, okay, this is my serial number of my device and this is the time when you can access it. That's it. How do they know that? They need an IP address for that. So it turns out that they make a pingback to their systems. So this is the IP address of their devices and it's belonging to Locomarine. So every time when the device is online, they know your IP address when you are online. So for privacy reasons, it's also not so fine. Okay, then how can they access that? Okay, they know the hard-coded credentials of the FTP. But, it turns out, they are using then the MicroTik Winbox management software. So it's running on port 8291 TCP and it's a very nice software. With this management software, you can do much more than in the normal software of the device. You can also change the Wi-Fi settings and there is also... I'm not seeing it here now, but I have a picture here. You have access to the user list. These are the credentials that are then in turn, so the user local, we already know. But there is another one, Gerrit. So Gerrit has always access to the device when it is online. And he knows every time when it is online. So if this is a good idea, I don't know. After I reported it, they may change it. I have to look up later. So they promised they have a new device now online. And they promised to send me a new sample of that. I'm waiting for that. If you are not familiar with looking up the stuff with ILSpy decompiling software, you can also use tools like MK Brutus, where you can attack microtik router devices. So it does everything for you. For example, there is a small Python script. You only need the Python script and the IP addresses, and it gives you then back the username and the password for that. Very easy. I reported the things to the vendor. Two bugs they fixed. The other one took a little bit longer. They gave out a new software about that. And then they patched it. I received my CVE for that. And then I looked up the patched software that they gave. So they changed now FTP to SSH. That's already a good version. And then I was thinking, OK. And they are still using hard-coded credentials. The other thing that they did, obfuscation. They obfuscated their software so that you not easily can decode it. But with a little bit more time investment, it's also not that bad. So maybe it takes an hour longer yet. It's not that hard. This is then the normal crash of your decompiler. So it has some errors then. In that case, OK, I'd struggle at that point. So I downloaded the Android version of the software. It's also a .NET application. And they forget about it. So they obfuscated the Windows version. But forgot about the Android version. And it's still a normal version about that. So it's not obfuscated. So when you then look at the same classes for the software, the YottaRouter engine, you find there is now the same user with a new password. It's a complex one, yeah, but it's still hard-coded. And it's still accessible over SSH now. So that's the last point of those things. And I'm waiting for the new hardware of them. Some other information you can find there. CatchBackboneDataLeak. It's a nice class. It's looking fancy. And all the other information like IP addresses from the internal network and so on. Yeah, that I said already. SSH instead of FTP now. They obfuscated the DLL in the Windows version, but not in the Android. The iPhone version, I don't know. I had no way to test it. Still using hard-coded credentials. That's not good. And the SSH and Winbox is still reachable over the Internet when the device is online. So the firewall scripts are not set up that correctly. So coming to the last point now. You can have on the high sea also access over satellite. Because Wi-Fi coverage is very bad when you are a thousand miles away on the high sea. So you need how to communicate to the Internet over satellite systems. So while I was looking up some of those locomarine systems, I struggled a little bit on Shodan and found some other nice devices. So yeah, that I already said. You can look up in Shodan for those devices. These are some of the search strings where you can look for. These are all things that other people have already found out with vulnerabilities. And therefore you use the search strings here. And yeah, Shodan has also a ship tracker for the VSAT SATCOM devices. So shiptracker.shodan.io and then you can look up all the devices that are online. So yeah, they are using VSAT and so on. In my point, I was looking for those locomarine devices and I found some names that called Stabilized Digital Antenna System. So wow, that sounds good. I want to know more about that. So I looked up in Shodan a little bit more and then it claimed that there is a COPAM MXP web server. With the easy search string micro-digital web server, it gives you a better result. You find those devices. This is then how it looks like in Shodan. At that point there were 21 devices online. And this is the device that you find there. Then I looked up the first thing that I do. I show it later. It's more fun then. In general, this is how the device is working. You have the ICU and antenna devices on top of your ship. Below you have the computer and the MXP web server that's controlling those things. That's the point where we switch to the demo. The internet is still running. Here we have Shodan. I have already put in here the search string micro-digital web server I'm looking for. We have 16 devices online, a couple of here in the US. I don't care where they are. Just take the first one. Come on. I need to log on. That's bad. Oh no. Here we go. Oh, that's a very old one. It doesn't matter. Hopefully it is online. Here we go. It's a little bit slow because it's over satellite. And now we have the web interface of a ship live in the internet. I can now use the username and password to log in. I don't have one. So we have to find another way. The first thing I did was right-click, source code. That's it. The first thing that paid my attention was this part here. Hopefully you can see it. JavaScript user login.js. Let's click on it. This is the login script for that. If we scroll now a little bit down... Here are the funny places. If the login username is dealer, then use the menu-dealer.gx.html. If the login is user, then use another one. What we do to hack the system is very easy. We copy the URL. And the funny thing is... It's working. It takes now a little bit time. And now I have admin access to that device. 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. But here is some kind of a ship. And we have here latitude and longitude information. And the name for that. If we look now marinetraffic.com, we can try it. 41.25 and 9.43. Let's look marinetraffic.com. To see if it is the right ship. Meridiana. Meridiana. OK, here is one. It could be maybe this. It looks good. Let's look at the information. OK, here actual position of the ship is 41.25 latitude and 9.43 longitude. Come on. And here in my system it's the same information. It's that ship. It's actual laying in, I don't know, 5 minutes ago, last position. It is moored. Engine is stopped. But yeah, it's anyhow laying in a harbor, I think. It's a nice yacht. OK. So now we have access to that device. We can see also some other things here. Command line interface. I can change the position of the antenna information. So I can reconfigure the information about how the antenna is accessing the internet and so on. Yeah. That's from that part. Switching back to the... OK. So the demo I gave. In short review, if the username is dealer, then you have admin access. If the user is user, then you have a little bit less information. Here are some pictures of the software. As I already said, a command line interface. From that point you can then dig for other devices in the network of the ship. Looking for example for the TCP IP converter to NMEA signals and spoof your information on the ship. From that, from the internet to the NMEA system, it's not a big problem anymore. Or you can also make some firmware upgrades and so on. Or you also can try to use the default credentials from the documentation. When you read the handbook, the username is dealer and the password is ctl3 and so on. It's not a big deal. Yeah. Someone found it already before me when I looked it up. But he only claimed the version 1.2.1 is vulnerable. So I tested all versions listed here down and they are vulnerable to the same thing. I also contacted the vendor because I found something different that I will explain now. Some kind of webpages that you can access without authentication where you have all the things. You can increase the cost by just uploading and downloading software or doing other stuff. Or you can switch off the internet connection on Hi-C. That is maybe a bad idea, but it's also bad for the crew on board. They have no internet access anymore and get no information anymore. Another thing that I found then was there was another issue in this device. When you send two specific parameters to the web device, it creates a complete backup of the configuration and puts it in a temp folder of the web server. And as we know, we don't need an authentication. We download the configuration file and we have then all the information about the system with the configuration, the username, password and so on. Here you see my test script that I've written for that. And then this is a short overview about what information you can download then later. So it's in a temp folder in a configuration file where you can find everything. Coming to the last part now. The engine control units are also connected to the network. And then I think Brian Olson has already covered it in his talk where he figured out that some kind of the auto-masking engine control units that are connected to the network have some drawbacks where you can bypass also the authentication and have control over the engines. So then you can say, okay, engine left, full speed ahead and the other ones in the other direction. As you can see here also, it's connected to the network and also using some industrial protocols like Modbus or something else. The future is maybe becoming more and more autonomous. So autonomous ships need some kind of internet connection and using GPS information. For that, we have to be clear that the system should be protected very good. So this we can skip. Autonomous ships, there are already things going on. So Rolls-Royce tested in 2017 the first voyage of an autonomous ship. So a captain was still on board just for backup, but the main control of the ship was done in the harbor from a control room. It was not really autonomous, but let's say more or less remote controlled. If they can remote control it, someone else maybe can also control it. So that's because of maybe they're using the same weak internet devices. So yeah, what's next? We need to test more and more on the NMEA. The NMEA protocol should have more security, authenticating and so on in place so that nobody can tamper the signals that are put on the bus. The wireless autopilot I'm working on. So all those other internet things have to be tested. A couple of us are working on it, but we need more time for that to figure out all those devices. And it becomes more and more that all the devices are connected to the cloud anyhow. So here we see one of those things where they're using now, for example, this from Mariton. This part we had already in my network design. And here everything is connected also to the cloud where you can access then all the devices over your tablet, smartphone or your laptop. So you have now full access from anyhow to your ship. So I'm not sure if someone has already tested these cloud services, but yeah, when I have time, I will do it. So this is then again one of those things where you have remote control about that. Yeah, rudder information, RPM, oil temperature and whatever. Yeah, coming to the end. And AMEA Gateway also needs more tested SATCOM boxes, mostly unpatched. The problem is they have only a small window where they have time to patch those things. So more or less they are running all the time. 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. So in between the ships are vulnerable if something is found. So the vessel transport services needs also to be tested more and more. Autopilot, I'm working on it. Injecting AMEA messages, some other people are also testing with that. GPS spoofing, yeah, it's some fun. But yeah, I think the first devices we will see to protect that system. Coming to the last slide now. May the force be with you. My Twitter handle, my email address if you want to contact me. You can also speak after with me a little bit. I cannot give away some business cards, I lost everyone. I run out of business cards, so yeah. You have to take my email address and contact me for that. Thank you for joining and have a nice rest DEF CON. Thank you.