DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • 5 Ways Docker Can Improve Security in Mobile App Development
  • Implementing SOLID Principles in Android Development
  • Emerging Mobile Threats and Defensive Strategies for Developers
  • How Does WebView Actually Work on Android?

Trending

  • The Evolution of Scalable and Resilient Container Infrastructure
  • Chat With Your Knowledge Base: A Hands-On Java and LangChain4j Guide
  • Traditional Testing and RAGAS: A Hybrid Strategy for Evaluating AI Chatbots
  • GitHub Copilot's New AI Coding Agent Saves Developers Time – And Requires Their Oversight
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. TEE in Android Development

TEE in Android Development

This overview of TEE, or Trusted Execution Environments, will show you how they are used to secure sensitive information on Android devices.

By 
Varun Malhotra user avatar
Varun Malhotra
·
Jan. 10, 18 · Analysis
Likes (5)
Comment
Save
Tweet
Share
17.4K Views

Join the DZone community and get the full member experience.

Join For Free

The Trusted Execution Environment (TEE) is a technique for securing the content on Android devices via securing the area of the main processor, to protect sensitive information. This helps in providing an isolated execution environment, and can further have Trusted Applications (TA) loaded into a separate space of execution to maintain trust, confidentiality, and integrity.

Challenge

The sensitive information on an Android device is vulnerable as it is comparatively easy to disassemble and extract the required information if the apps are executed in an insecure environment, and not much of an effort is required from hackers to achieve their goals.

Solution

Basically, TEE runs its own Trusted OS, which helps to process its own set of instructions, provide higher security for mobile solutions, and protect the Android app's sensitive information, which is executed, processed, and stored in this highly secure area.

Normally, a mobile device’s main OS can have weak links, which can be exploited by a hacker in order to attack the apps. By executing and processing the code and data in TEE, we can help maintain the confidentiality and integrity of the apps, which can be isolated and executed in the secure environment.

The following diagram compares the TEE (Trusted Execution Environment) and REE (Rich Execution Environment).

Image title

  • Trusted OS & Secure Storage: This contains the functionality of a kernel (like a filesystem call) in a secure and isolated environment. As part of the implementation details, the chunk of memory could be allocated by the exposed Trusted OS API in order to allocate the secure storage, which could be further used by Trusted Applications to protect their sensitive data.

  • Trusted Application (TA): All the TA code is executed and processed under the Trusted OS, and TA data is stored in secure storage, which helps maintain the confidentiality and integrity of the TA. In order to protect Android apps, we can have them executed as a Trusted Application under TEE.

Conclusion

TEE helps code and data loaded inside to be protected in a secure environment and allow only Trusted Applications to be executed.

Android (robot) mobile app security

Opinions expressed by DZone contributors are their own.

Related

  • 5 Ways Docker Can Improve Security in Mobile App Development
  • Implementing SOLID Principles in Android Development
  • Emerging Mobile Threats and Defensive Strategies for Developers
  • How Does WebView Actually Work on Android?

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!