Pirates hacked a shipping firm to find boats to raid