BANGKOK: The military and police struck deals as recently as December to allow them to use hacking software to monitor mobile phones and computers, raising concerns of privacy violations.