Pegasus is the spyware licensed to governments around the world by the Israeli firm NSO Group. Experts believe the attacks were linked to the UAE.