A risk analysis of smartphone encryption.
I just got a new smartphone with Android 4.0, which has the option to encrypt the smartphone contents. I found the details of how it works here. Short form: It encrypts the /data partition. This is everything user specific, downloaded, etc. It can recreate a factory reset blank from unencrypted boot capability. The internal data is AES-128 encrypted using the same password as is used to unlock the phone, after hashing. There might be a back door, but it seems unlikely.
Short form result: It's not worth it to encrypt. Password protected unlock is sufficient for my risk profile.
Analysis starts with the assets to be protected.
- Personal information on smartphone (data, apps, etc.). I can keep this minimal.
- Traffic data (call history, etc.)
- Financial loss due to unauthorized use
- Smartphone itself.
- Ability to reprogram smartphone, e.g., cyanogenmod.
Risks:
- Accidental loss, e.g., I leave it somewhere
- Random theft, e.g., pickpocket
- Targetted theft, e.g., personal enemy
- Random surveillance, e.g., routine copy on arrest by police
- Targetted surveillance, e.g., FBI is after me.
The encryption is vulnerable to dictionary attack primarily. The password has to be something that I'm willing to enter every single time I use the phone. This means that the password will be easy to enter. That means it's going to be small.
So, the impact on assets if encrypted will be:
- If accidental loss, a) it will not be returned, b) it will not be compromised, c) phone will be factory reset and resold most likely.
- If random theft, the same as 1)
- If targetted theft, they might have the resources to use a dictionary attack, but unlikely, so the same as 1).
- If random surveillance, it will increase their interest in me and they probably have to tools to break in.
- If targetted surveillance, they will break in. I'm not going to make my life miserable with a long difficult password. Someone like the CIA will have the computer power to succeed with a dictionary attack.
- Once encrypted, attempting to root or reprogram the phone will probably brick the phone. So encryption destroys this asset.
Results for unencrypted are:
- If accidental loss, a) low probability it will be returned, b) it will be compromised, c) phone will be resold, perhaps without a factory reset. This is based on experiments with leaving cell phones to be found. Financial abuse is likely.
- If random theft, a) it will be compromised, c) phone will be resold, perhaps without a factory reset. Financial abuse is likely.
- If targetted theft, random surveillance, or targetted surveillance, it will be compromised. Financial abuse is less likely.
- Rooting and development use remain possibilities.
The intermediate case of locked but not encrypted greatly reduces the odds of compromise for accidental loss or random theft. It's not that hard to trick these phones into letting you copy a memory image out via USB. A random thief won't bother, because that's only useful if the goal is access to data. Locking but not encrypting changes the low probability of return for accidental loss into a zero probability of return. It doesn't seem to change anything else.
This leaves unsettled the odds of various events. In my case, the odds that I'm a surveillance target are low and the potential interest in perhaps rooting the device is high. There is no need to put high value data on the phone, and there is no regulatory need to encrypt the phone. So locked seems sufficient.
If I had protected health information or high value commercial information this encryption is adequate only if the information is not the target. For interesting targets, like professional athletes, it's not adequate.
If you're a political activist, union organizer, etc., the analysis of cellphones remains unchanged. Get a steady flow of cheap dumb phones and multiple SIMs. Remove SIM and battery except when you must make a phone call or check voicemail. Leave SIM, battery, and phone at home whenever on business. Get a separate "for arrest" phone and SIM that you use only when going to demonstrations, etc. Don't depend on encryption. It will be penetrated.