Secure Reset

Let's assume my iPhone has been hacked. Maybe I had an old IOS with a bug or maybe it's something new but somebody installed something like a rootkit on it.


How can you make sure the phone is clean again by wiping it? How would you know the phone does not just act as if it got wiped?


Can an iPhone be reset so it absolutely safe nothing bad is still on it? (Assuming no hardware modifications and Apple playing by the rules and firmware signatures have not been compromised)


I'm asking in the context that even keyboard firmware has been used in the past to reinstall rootkits after the mac has been wiped for example. Seems really hard to be sure of anything these days ...


Thanks for the help guys!

Posted on Dec 24, 2022 11:08 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 24, 2022 1:16 PM

You have two choices: 1) you do a factory reset according to Apple’s instructions and assume that it works (which, given the amount of money and effort Apple puts into security doesn’t seem unreasonable) or 2) you get rid of the device because you will never believe that it’s secure. There is no way you, as an end user, can do the forensics necessary to prove that the device is 100% secure.


You have yet to give any reason why you think the phone is compromised so I’m not sure what is causing this level of distress. Your time would be far better spend making sure your accounts, such as your Apple ID, email accounts, bank accounts are secure. Those are all far more likely to be compromised than your phone.

18 replies
Question marked as Top-ranking reply

Dec 24, 2022 1:16 PM in response to m.schwaller

You have two choices: 1) you do a factory reset according to Apple’s instructions and assume that it works (which, given the amount of money and effort Apple puts into security doesn’t seem unreasonable) or 2) you get rid of the device because you will never believe that it’s secure. There is no way you, as an end user, can do the forensics necessary to prove that the device is 100% secure.


You have yet to give any reason why you think the phone is compromised so I’m not sure what is causing this level of distress. Your time would be far better spend making sure your accounts, such as your Apple ID, email accounts, bank accounts are secure. Those are all far more likely to be compromised than your phone.

Dec 26, 2022 1:17 PM in response to m.schwaller

The best thing you can do is to use the DFU mode. While it is not clear on how difficult it would be to intercept that, it does involve some physical button combos that may be very resistant to being hacked. Here some documentation on how to do it: https://www.tenorshare.net/iphone-11/dfu-restore-iphone-11.html?gclid=CjwKCAiAqaWdBhAvEiwAGAQltoXF9qua9_rkQ1VM-Jqj0tEf31d4sgGr_W-V-ZtNnbPru_vKn1DiLRoCYDwQAvD_BwE


And, no, the "Factory Reset" is not the way to go. (Sadly it seems impossible to change "the best answer" now -.-)


@Lawrence Finch - thank you for your input and confirmation!



Dec 24, 2022 11:25 AM in response to muguy

Let's assume it's a second hand phone - a person I don't know sold it to me. They may have jailbroken it or not - I wouldn't know.


What now? How would you know the button "Factory Reset" does what it says?


Let's leave the discussion on how probable it is that i'm a target of a hacker aside for now please. Let's just say I have reason to believe my iPhone has been hacked, jailbroken and anything else bad that could happen to it. How can I make SURE everything is fine again? I mean really be sure?

Dec 24, 2022 12:24 PM in response to m.schwaller

It's very very very very unlikely; almost improbable. You missed the other part of the article, "Attacks like the ones described are highly sophisticated, cost millions of dollars to develop, often have a short shelf life, and are used to target specific individuals." These are not universal tools.


Security is a continuum, lock down does little for the average user except to make the phone more difficult to use.

Dec 24, 2022 12:58 PM in response to muguy

So Apple just added the Lock Down mode for the two people that get hacked - lets assume i'm one of them. Are you saying all I can do is trust the "Factory Reset" button in the compromised iPhone? Or is there maybe some other version of a factory reset by USB that somehow uses the security hardware to restore confidence? Not here to troll but responding to security questions by 'don't worry about it' kinda defeats the purpose, no?

Dec 24, 2022 1:10 PM in response to IdrisSeabright

It is a fair point. However my question is only this:


If you do suspect something isn't right, how can I make sure everything is wiped? Trusting a button on a compromised phone seems a little wrong to me - thats all. Is there something better than pressing that button and pray to the NSA?


Imagine that phone holds parts of the key to a 100m$ intellectual property. Would you trust that button?

Dec 24, 2022 1:27 PM in response to IdrisSeabright

I was just hoping Apple came up with something cool and smart for this problem - seems when you get hacked once, all "Factory Reset" does, is calming you down and maybe it removes the tracker your wife installed ;-) Thanks for the detailed responses though - have a great time!


BTW: The solution NGRAVE came up with is to have two independent computing systems in the device. One that basically never changes and does nothing but receive the new "firmware" (the IOS of NGRAVE), validate its integrity with preinstalled signatures (signing is a multi person, multi day process) and if valid wipes the installed disk on a hardware level and copies the new one there. Maybe iPhone could learn something here :-)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Secure Reset

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.