Hackers used compromised websites to infect iOS and other operating systems