Not sure if 100% applies to the iPhone in question, but the secure enclave was designed to prevent this sort of thing. Here&#x27;s an intro to it:<p><a href="https:&#x2F;&#x2F;www.mikeash.com&#x2F;pyblog&#x2F;friday-qa-2016-02-19-what-is-the-secure-enclave.html" rel="nofollow">https:&#x2F;&#x2F;www.mikeash.com&#x2F;pyblog&#x2F;friday-qa-2016-02-19-what-is-...</a>