The NSA and its allies planned to monitor cell phones by sending infected links to the Google and Samsung mobile app stores.