Vulnerabilities discovered in global vessel tracking systems

  • AIS is comprehensively vulnerable to a wide range of attacks that could be easily carried out by pirates, terrorists or others
  • The costs to update AIS on all vessels is high, but with threats such as piracy and terrorism, there is no alternative

Vulnerabilities discovered in global vessel tracking systemsTREND Micro researchers have discovered that flaws in the AIS vessel tracking system can allow attackers to hijack communications of existing vessels, create fake vessels, trigger false SOSes or collision alerts, and even permanently disable AIS tracking on any vessel.
In a previous article, we gave a brief introduction of the Automatic Identification System (AIS), a mandatory vessel tracking system for all commercial (non-fishing) ships over 300 metric tons, as well as passenger ships (regardless of size and weight).
AIS works by acquiring GPS coordinates and exchanging a vessel’s position, course and information with nearby ships and offshore installations. It is currently installed in around 400,000 vessels.
Vulnerabilities discovered in global vessel tracking systemsAs the world becomes more connected to the ‘Internet of Things,’ Trend Micro’s Forward Looking Threat researchers continue to look into technologies that could be abused by attackers in the near future.
At the recent Hack In The Box Security Conference (HITBSecConf) in Kuala Lumpur, the two of us, together with independent researcher Alessandro Pasta, presented a series of experiments that showed AIS is comprehensively vulnerable to a wide range of attacks that could be easily carried out by pirates, terrorists or other attackers.
Trend Micro took care to carry out responsible disclosure to all of the major standards bodies involved in AIS, as well as major online providers of AIS tracking information.
The attacks can be divided into two parts. Firstly, we discovered that the main AIS Internet providers that collect AIS information and distribute them publicly have vulnerabilities that allow an attacker to tamper with valid AIS data and inject invalid AIS data, such as:

  • Modification of all ship details such as position, course, cargo, flagged country, speed, name, MMSI (Mobile Maritime Service Identity) status, etc.
  • Creation of fake vessels with all the same details, e.g. having an Iranian vessel with nuclear cargo show up off the coast of the United States
  • Create and modify Aid to Navigations (AToN) entries, such as buoys and lighthouses. This leads to scenarios such as blocking the entrance to a harbour, causing a ship to wreck, etc.
  • Create and modify search and rescue marine aircraft such as helicopters, and light aircraft e.g. having a stationary search and rescue coast guard helicopter ‘take off’ and travel on a set course.

Secondly, we have also discovered flaws in the actual specification of the AIS protocol used by hardware transceivers in all mandatory vessels. In addition to the above threats, we have proven additional scenarios:

  • Impersonate marine authorities to permanently disable the AIS system on a vessel, both forcing the ship to stop communicating its position, and stop getting AIS notifications from all nearby vessels (essentially a denial of service attack). This can also be tagged to a geographical area – e.g. as soon as ship enters Somalia sea space it vanishes of AIS, but the pirates who carried out the attack can still see it.
  • Fake a ‘man-in-the-water’ distress beacon at any location that will also trigger alarms on all vessel within approximately 50km.
  • Fake a CPA alert (Closest Point of Approach) and trigger a collision warning alert. In some cases this can even cause software on the vessel to recalculate a course to avoid collision, allowing an attacker to physically nudge a boat in a certain direction.
  • Send false weather information to a vessel, e.g. approaching storms to route around.
  • Cause all ships to send AIS traffic much more frequently than normal, resulting in a flooding attack on all vessels and marine authorities in range.

All of this is made possible because the AIS protocol was designed with seemingly zero security considerations. In particular, we noted the following major issues:

  • Lack of Validity Checks: It is possible to send an AIS message from any location for a vessel at another location – e.g. you can send a message from a location near New York for a vessel that claims to be in the Gulf of Mexico, and it will be accepted without question. No geographical validity checks are carried out.
  • Lack of Timing Checks: It is also possible to replay existing (valid) AIS information, because no timestamp information is included in the message – e.g. you can replicate the position of a vessel.
  • Lack of Authentication: There is no authentication built into the AIS protocol. That means that anyone who can craft a AIS packet can impersonate any other vessel on the planet, and all receiving vessels will treat the message as fact.
  • Lack of Integrity Checks: All AIS messages are sent in an unencrypted and unsigned form, making them trivial to intercept and modify.

While all the attacks we described above were carried out in our dedicated test lab setup – where we used specific software defined radio equipment – we have also proven that an attacker is able to carry out such attacks using a modified standard, easy to obtain VHF radio which costs approximately €150, or approximately US$200.
We are preparing a white paper describing our research in detail, which will be released at an upcoming security conference, but the slides from our talk at HITB are now available on Trend Micro’s SlideShare page.
Fixing the flaws in AIS is not trivial, as they exist right down to the core of the protocol. Even if the AIS Internet providers altered their sites, the underlying protocol is still open to lots of abuse.
At a minimum, a new version of AIS would need to incorporate defences for the three core issues outlined: Validity, authentication and encryption. We are fully aware that the costs to update AIS on all vessels is high – but in light of threats such as piracy and terrorism, there really are no alternatives.
AIS is only one example of a critical radio based system that was designed in a world before the Internet or Software-defined radio. The problem is bigger than marine traffic alone. Other systems such as ADS-B (used by airplanes), or soon to be released systems around car communication suffer from some of the same limitations and vulnerabilities.
Trend Micro’s Forward Looking Threat Research team are actively investigating this area as part of Trend Micro’s mission to secure the world for the exchange of digital information.

Dr Marco Balduzzi is a senior threat researcher at Trend Micro who holds a PhD in applied IT security from Télécom ParisTech and an MSc in computer engineering from the University of Bergamo. Kyle Wilhoit is a threat researcher at Trend Micro on the Future Threat Research Team. This talk was delivered at HITBSecConf 2013 in KL and also published on the Trend Micro blog. It is being reprinted here with Trend Micro’s kind permission.
Related Stories:
Security weaknesses must be shared openly: Facebook CSO
HITBSecConf: Security is all about mind-games – the good kind

‘Hackers’ – tech reality finally catches up with Hollywood?
For more technology news and the latest updates, follow @dnewsasia on Twitter or Like us on Facebook.

Keyword(s) :
Author Name :
Download Digerati50 2020-2021 PDF

Digerati50 2020-2021

Get and download a digital copy of Digerati50 2020-2021