Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to check if Android phone has TEE

Some features of my Android app are depending on a TEE (Trusted Execution Environment / ARM TrustZone) being present on the phone. How from my Java app can I detect if this phone has a TEE installed, and if so, what vendor's TEE it is? Thanks!

like image 639
zahedimahzad Avatar asked Jan 21 '17 11:01

zahedimahzad


People also ask

What is TEE in Android?

Trusty is a secure Operating System (OS) that provides a Trusted Execution Environment (TEE) for Android. The Trusty OS runs on the same processor as the Android OS, but Trusty is isolated from the rest of the system by both hardware and software. Trusty and Android run parallel to each other.

What is Android trust zone?

TrustZone is a security extension integrated by ARM into the Corex-A processor. This extension creates an isolated virtual secure world which can be used by the main operating system running on the applications' CPU to provide confidentiality and integrity to the rich system.


1 Answers

If it's a java app and you just want to know about whether or not security hardware is present use https://developer.android.com/reference/android/security/keystore/KeyInfo.html#isInsideSecureHardware()

like image 169
Gabor Avatar answered Oct 26 '22 20:10

Gabor