A massive analysis of hundreds of millions of devices has revealed that iOS is much more prone to attack than Android.