The Copenhagen-based group reported a US$1.5 billion loss for the third quarter, from a profit of $429 million a year earlier. Revenue increased to $8 billion from $7 billion.
The company, which also produces oil, said the cyberattack in June, which mainly affected its shipping unit, Maersk Line, cost the company between $250 million and $300 million.
The group expects “a positive underlying profit” for the full year, up from a loss of $546 million in 2016. It said that excludes the recent acquisition of Hamburg Sud, the German container shipping company.
Shares in the company dropped 5 per cent trading to 11,440 kroner.