Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a question:

i'm trying to understand a specific point in android encryption.

All the encryption keys are software based and are stored locally on the machine, so correct me if i'm wrong but doesn't it mean that attacks on android phones where the attacker gains root access means that the attacker can retrieve the encryption keys?

share|improve this question

Yes, if an attacker has root on the machine they will be able to read all secrets stored on the device. root can attach a debugger to any process and observe memory or hook function calls.

A mobile app should not attempt to hide secrets from the user, and server-side functionality should not trust mobile clients. These are common mobile vulnerabilities. Some apps attempt to detect root'ed devices, but this can always be bypassed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.