The spyware, called Pegasus, uses a novel method to invisibly infect Apple devices without victims' knowledge.