iOS: Safe & secure user response on a jailbroken phone?

59 Views Asked by At

What is the iOS way to provide a secure popup and store the user's agree/disagree response to some message in the secure enclave of the CPU chip? So even if you have a jailbroken phone, the user response is secure, only CPU and RAM are involved and the user response is securely stored?

1

There are 1 best solutions below

2
On

The screen contents and touch sensor are completely controlled by the application processor. Any attacker in control of those will be able to intercept and change anything displayed on the screen and received by the touch sensor. Note though that this is the case regardless of whether the device is jailbroken or not.

The only thing actually out of reach of the application processor input-wise would be TouchID/FaceID - you could ask for confirmation that way, but then you have the problem of handling it in your application. If your communication endpoints are SEP <--> your server, then you could have an RSA private key stored in SEP and have the server send a nonce that is to be signed. But if communication is SEP <--> your app, an attacker can just inject into your app and make it think it received what it wanted to see.