The cyberattack that paralysed several major Australian ports was a sharp reminder of what governments and experts say is a growing threat to shipping, the lifeblood of the global economy.

The attack on DP World's ports — which handle 40% of Australia's freight trade — forced them offline for days and was the latest in a series of breaches at ports around the world in recent years.

Who has been targeted?