Singapore military helps battle cyberattack: minister