A US judge rules in favor of WhatsApp, finding NSO Group guilty in a case involving the use of spyware to hack devices.