Why iOS and Windows are less vulnerable to attacks:
Unlike Google, where you can install third party apps that are not listed on Play Store, Apple and Microsoft are restrictive in nature. They don’t allow users to download apps from sources apart from Apple App Store and Microsoft Windows Marketplace, respectively.
Apps submitted to Apple are thoroughly reviewed for malware and viruses before they are approved to be listed on the App Store. However, jailbroken iPhones can be prone to such attacks and risks. Apple has combined software, hardware and services designed to work together for maximum security and a transparent user experience. The system also enables apps to run securely, without compromising on platform integrity.
Windows OS, too, is secure as Microsoft has added security features within the API for app developers. All apps listed under the marketplace go through a certification process post submission. The app packages are checked for security tests including viruses and malware, along with technical compliance tests.