www.macworld.com
MacworldA virus? On an iPhone? While there are many that would say its not possible, it most certainly is, and if your iPhone or iPad is acting oddly then youve come to the right place.Heres how to find out if your iPhone or iPad has a virus, and how best to get rid of it.Has your iPhone got a virus?Probably you dont have a virus on your iPhone, but its not true to say iPhones dont get viruses. There have been a few successful virus penetrations on iPhones over the years, including the state-sponsored espionage attacks via the Pegasus spyware attacks, and AdThief, which affected a number of jailbroken iPhones back in 2014.If you are unlucky enough to have been targeted in such an attack then, according to asupport document, Apple will send a threat notification warning by mail and Message to you. Apple also aims to quickly address any security flaws that are being exploited by such spyware. Heres How to check if your iPhone is infected by NSOs Pegasus spyware.Apple also offers Lockdown Mode that you can switch on if you are targeted in this way. Heres how to use Lockdown Mode to protect your iPhone.Despite this, in all honesty, theres a very, very slim chance your iPhone has a virus unless you are a government employee or hold information that bad people want to get hold of. PROMOTIONAntivirus Deal: Intego Mac Premium BundleGet Integos Mac Premium Bundle X9 with antivirus, firewall, backup and system performance tools for just $29.99 (down from $84.99) for the first year. Get DealBut those odds are changing, particularly in the EU. Thats because Apple is rolling out support for alternatives to the App Store to comply with the Digital Markets Act (DMA), and theres every chance something unsavoury slips through the cracks.Since its inception, the iPhone (and later the iPad) has been a closed loop, or Walled Garden, where Apple, not the user, has the final say on what gets in or out. But thas now a little different, so it pays to be more vigilantIf you are worried about a bad actor infiltrating your device, theres a good chance its tied to something youve installed, and could be down to an honest bug rather than any system-destroying threat.Well run through all the ways you can find out if you have iPhone malware, how to run an iPhone virus scan, and how to remove a virus from your iPhone below. How to tell if your iPhone has a virusIts rare, but what if you are one of the unlucky few? What are the warning signs for a malware infection on your device? After all, its rare a virus will introduce itself. Here are some things to look out for:Drops in battery lifeBattery life draining more quickly can be a sign that more is going on under the hood of your device for some reason.You can see if any apps in particular are draining your battery in the background if you go to Settings > Battery and swipe down. Check to see if anything is burning through your battery.FoundryAlso checking your iPhones Battery Health in Settings > Battery > Battery Health & Charging. It could just be your devices cell is deteriorating over time, but its worth a check for the 30 seconds itll take.You will also see details of any apps that are guzzling a lot of battery life iPhone is getting hot for no reasonThe same can be said about the heat that your phone generates. If youre doing something particularly demanding, like playing hours of a game, youll naturally see an uptick in temperature. If the heat is increasing for no discernible reason, when the iPhone isnt doing anything particularly taxing, and youve done the usual steps of turning your iPhone off and on again, its probably a good idea to get it checked out by an Apple Genius bar.Suspicious apps While it shouldnt be possible for any apps to be installed on your iPhone without your knowledge, its worth checking the App Library on your iPhone for any apps in the recently installed section that you dont recognise. Consider checking your recently installed apps, and delete any that could be tied to the problem. You can easily reinstall your apps once you have confirmed they arent causing the issues. Apps that crash oftenAre there any apps that are crashing regularly? Crashing isnt a sign of malware, but if the app doesnt run well, it could drain resources elsewhere on your device, making it feel as though theres something wrong with your iPhone.Try updating the apps via the App Store to see if this helps.Sudden increases in data or call useMalware could try to hijack your iPhone and make calls to premium numbers, send data or even take part in cryptocurrency mining, all of which will drain your data or give a nasty surprise when the phone bill arrives. If you spot this, theres a very good chance your device is infected.Random pop-up messagesReceiving pop-up boxes out of the blue can also be a sign that things are not well with your iPhone. These can be a way to trick you into giving permission for things, as the text youre reading isnt necessarily what youre agreeing to. If youre worried that something may be amiss, turn your iPhone off and back on again to see if the pop-up disappears.How to fix the cause of the problemWhether its malware, a faulty app, a faulty phone or something else you might be able to fix the issue if you follow the steps below. Dont jailbreak your deviceIf you jailbroke your iPhone and installed an application from a non-official source whose authenticity is questionable you may have a malicious piece of software on your device and should attempt to isolate and uninstall the culprit.Check to see if the unexpected happens when you use certain appsIf this is the caseand particularly if its only one appthen youre probably looking at an app-specific issue, and well deal with this in due course. As a rule of thumb, common behavior exhibited by apps that have been hijacked include redirecting you to an unfamiliar web page in Safari, and opening the App Store without permission.Check if the unexpected behavior happens when you use any appIf the problem continues to occur no matter which apps are open, the chances are that your device is misbehaving because of a hardware problem, an iOS change that youre not used to yet, or because you or another user of the device has changed a setting, perhaps inadvertently. Its extremely unlikely that malware has penetrated to the heart of the operating system; this would be essentially unprecedented. In any of these cases we would take the device to an Apple Genius Bar.Find out if a compromised app is causing the problemRather than a virus affecting iOS itself, its possible that youve simply got a problem app.This doesnt necessarily mean the app is bad or that the developers are at fault; conversely, the fact that an app is legitimate or was made by a reputable company doesnt mean it cant be hijacked by malware or hackers. Because hackers cannot break into iOS itself, one of their most common strategies is to crack a developer kit, which may in turn be used by unwitting app developers. The crooks thus gain the ability to redirect you to a dodgy website when you use the app that was built using the compromised tool.Its usually obvious when one particular app is the culprit, because you only have problems when using it. The usual giveaway sign is that, when youve got that app open, you will periodically be redirected to a web page, or to the App Store, without your permission.If you think one app is the problem, first of all have a look to see if an updated version of the app is available, since the problem may have been noticed and fixed. Also check the apps website (if it has one) and/or the developers X (the one we all call Twitter) feed (if they have one) to see if the issue has been reported or discussed in those places. If the devs are contactable then you should report the issue to them. They may be able to offer a solution right away, but even if they cant, they are more likely to find a fix if they know about it.Assuming that updating the app doesnt solve the problem, uninstall it and try to manage without for a while. If the problem disappears then youve found your culprit, and its time to decide if you can manage without the app in the long term. Even if you do decide to delete the app permanently, however, remember that you can check in with the developers from time to time and see if a satisfactory update has materialized.Clear your history and website dataHeres a quick tip that may resolve web page redirect problems. Go to Settings > Safari > Clear History and Website Data, then tap Clear History and Data to confirm.Power off and restart your iPhoneAnother simple method to clear out a software problem is to power down your device and then restart it. This wont necessarily get rid of a virus, but it can help if an app is playing up.To do this, hold down the side button and volume up button until the screen changes and the slide to power off slider appears. On an iPhone with Touch ID, you just need to hold down the power button until you see the slider. In either case this should take about four to five seconds. Finally, use the slider to power down the device.To restart the phone, hold down the power button or side button again. This time it should take about 10 seconds. The Apple logo will appear; at this point you can let go of the button. Wait until the passcode entry screen appears (you need to enter a passcode instead of using Touch ID/Face ID the first time you unlock a phone after powering up) and then unlock the device.Has this fixed the problem? If not, you may need to take more drastic measures.Restore your iPhone from a backupWe trust that you back up your iPhone on a regular basis. If so, itll be easy to restore your iPhone from the most recent backup and see if the problem is removed.If this doesnt work, you may have included the malware or other problem when you backed up the contents of your iPhone, so try restoring from the second most recent backup, then the one before that, and so on. Hopefully you will find a backup that pre-dates the problem and youll be able to proceed from there.For a more detailed look at how to do this, read how to restore an iPhone from backup.Restore your iPhone as a new deviceIf none of your backups are malware-free, or the only backups that are malware-free are unusable for some other reason, you may be better off starting from scratch.Wipe your iPhone by going to Settings > General > Transfer or Reset iPhone > Erase All Contents and Settings, then enter your passcode and confirm the process. Wait for the erasure to complete, and then set up the iPhone as a new device.This is a drastic step. Be sure youve exhausted all other solutions.FoundryWe describe this process in more depth in separate articles: How to reset an iPhone and How to set up a new iPhone.Once youve completed setup youll need to reinstall the apps you want to use (although remember that if an app seemed to be causing the problem you should try living without it for a while and see if things are better), reload songs, photos and videos and get the settings back to the way you like them. Its a pain, but hopefully youll only need to do it this once.How to protect your iPhone from malwareThe most important thing to do is update iOS or iPadOS regularly. When there is a security flaw Apple is (usually) quick to address it. If you keep the software up to date on your device you should be ok. The other thing is to only ever install apps from the App Store not that you can get apps for the iPhone or iPad any other way (for now at least). The only way you could install apps from outside the App Store would be if you jailbreak your iPhone. We do not recommend jailbreaking your iPhone because its a very easy way to end up with malware on your device. If you do jailbreak your iPhone, you need to be especially careful about the software you install and the sources you download it from. Be careful of social engineering attacks: dont open links if youre unsure where they come from. The weakest part of any system, however, is usually the person using the device. Hackers these days often try to trick people into giving away information or logging into fake sites so they can harvest your data. Always remain vigilant when using your iPhone if you want to keep it secure. For more general advice on protecting yourself from hackers, malware writers and other miscreants, read our iPhone security tips.Should I use antivirus software on my iPhone or iPad?The sandboxed nature of iOS means that third-party apps dont have the kind of system-wide access that is required to fully secure a device. Apple would of course argue that this is the reason why iOS is so secure.Due to this, there isnt much in the way of dedicated antivirus software for iPhone and iPad. There are some packages available, that include privacy controls, data use monitoring, and warnings about potentially dodgy websites. We recommend a number of antivirus solutions we have tested, many of which will also cover a iPhone and iPad. Take a look at: Best Antivirus for Mac.Our recommended antivirus for iPhone and iPad include: 1. Avast Premium SecurityRead our full Avast Premium Security review 2. McAfee Total ProtectionRead our full McAfee Total Protection review 3. Norton 360Price When Reviewed:18,99Read our full Norton 360 review 4. Bitdefender Antivirus for MacRead our full Bitdefender Antivirus for Mac review Should I use a VPN on my iPhone or iPad?You might also want to consider a VPN to protect you when using public Wi-Fi. Check our roundup of the best iPhone VPNs and best iPad VPNs for dedicated advice.1. NordVPNRead our full NordVPN review 2. Surfshark2 Jahre + 4 Monate1ab 1,99 Euro pro MonatSee all plans & pricing at SurfsharkRead our full Surfshark review 3. ExpressVPNRead our full ExpressVPN review 4. FastestVPNRead our full FastestVPN review