Cyber-attacks have now been reported at three ports in the last two months.