The US Department of Treasury’s Office of Foreign Asset Control (Ofac) has warned that ransom payments to hackers could violate its strict sanctions regulations and lead to financial and other penalties.

Its comments come after shipping-related companies appeared to be targeted by hackers, with cyber-attacks on French liner giant CMA CGM and the International Maritime Organization last week.

In both instances some IT functions were shut down for several days.