When a ship's PC is hit by ransomware, nobody from the office can walk over and look at it. The ship may sail for days to the next port in that state, and pulling large files over a satellite link is slow. So on board, two jobs go together: narrowing the ways malware gets in, and being ready to bring systems back from inside the ship. This note covers the part of vessel cyber security that deals with USB control, backup and recovery.
How ransomware gets on board
The routes are usually the same: USB sticks used for chart and manual updates or for passing reports around, e-mail attachments, and remote access from equipment makers or the shore office. A crew member charging a phone from a work PC is using the same route as a USB stick.
USB is the hard one because it is used every day. Block it outright and work stops, and before long someone finds a way around it with a personal laptop or phone tethering.
Once inside, ransomware follows shared folders and open connections to servers and other PCs. Whether the damage stops at one PC or spreads through the ship depends on how the network is divided. Splitting business, crew and navigation-side networks and closing the gaps between them with firewall policy is covered on our ship cyber security page.
Let only approved USB devices in
Approving the USB devices people need for work, and only those, holds up better on board than blocking everything. When we set up USB policy on a ship, we usually go in this order.
- Choose the USB devices used for work and register them by device ID. Unregistered devices are blocked or set to read-only.
- Stop programs from running directly from USB and turn off autorun. Documents still open, but executables do not start.
- Let crew phones charge, and block file transfer and tethering.
- Decide in advance who can allow an unknown USB device in a hurry, for how many hours, and where that is recorded.
USB sticks that carry files from shore, such as chart or manual updates, get one more filter if they are scanned first on a separate PC used only for virus checks. Keeping this policy the same on every PC by hand is hard. The USB security and data leak control system we install pushes policy from one onboard server and keeps blocking with the last policy even when the satellite link is down.
Check the antivirus too. If it is installed but its updates stopped long ago, new ransomware will get past it. Look at each ship's last update time on the shore console, and let an onboard server download updates once and pass them to the PCs, which also uses less satellite data (endpoint security).
Backups: what to keep and where
What to back up differs from ship to ship, but start with these.
- Voyage and report documents on business PCs, and the onboard shared folders
- Vessel e-mail data and address books
- Configuration files for the onboard server, firewall and switches
- System images of PCs that take a long time to reinstall
Where the backup is kept is the harder question. A backup in the same shared folder, or on an external disk that stays plugged in, gets encrypted along with the originals. Keep at least one copy off the network, for example on a disk that is unplugged once the backup finishes. A copy on shore helps, but not everything fits through a satellite link, so send small documents that cannot be recreated first.
Match the schedule to how fast the data changes. Documents that change every day are backed up daily, and system images are taken again after new software is installed or settings change. Write down when the backup disk is plugged in and taken out as a one-page procedure, so it is done the same way whoever is in charge.
Recovery steps when a PC is infected
When infection is suspected it is easy to do things in the wrong order. Follow the steps agreed in advance.
- Unplug the PC's network cable and turn off its wireless. Stop the spread to other PCs first.
- Tell the company IT staff and our 24-hour helpdesk, and take a photo of the message on screen.
- Check the PCs and servers that share folders with it. Do not plug the backup disk into the infected PC.
- Reinstall the infected PC or restore its system image, then copy data back from the backup.
- Reconnect it to the network only after a virus scan and a check of the USB policy.
A PC that will not boot at all does not have to wait for a service visit. Booting it from the PE USB we developed connects it to our remote management (RMM) platform, so we can diagnose it from shore, back up its data and restore the system remotely. What has to be ready on board for that is covered in our note on remote recovery for a vessel PC that will not boot.
Test restores and keep the records
A backup can be trusted once it has actually been restored. A backup that stopped months ago, or a restore that needs software nobody has on board, only comes to light when you try. About once a quarter, restore a few files and one whole PC, and note the date, the time it took and any problems. For drills that assume an infection, see our ship cyber security drill scenarios.
The approved USB list, block logs and restore test records serve directly as evidence in class surveys and company audits. IACS UR E26, which applies to ships contracted for construction on or after 1 July 2024, also lists control of portable devices and backup and recovery among its requirements (see our IACS UR E26 and E27 note).
Ocean Connect is a maritime IT company based in Busan. We set up USB control and endpoint security on board and provide remote recovery as part of our vessel IT maintenance. To review your backup and recovery setup or discuss adding one, contact us via the online inquiry form or our emergency 24-hour helpdesk (+82-70-7588-0611~0612).