Android KeyStore Encryption Scheme Broken (threatpost.com)
Reader msm1267 writes: The default implementation for KeyStore, the system in Android designed to store user credentials and cryptographic keys, is broken, researchers say.>In an academic paper published this week, researchers argue that the particular encryption scheme that KeyStore uses fails to protect the integrity of keys and could be exploited to allow an attacker to modify stored keys through a forgery attack.
KeyStore, which performs key-specific actions through the OpenSSL library, allows Android apps to store and generate their own cryptographic keys. By storing keys in a container, KeyStore makes it more difficult to remove them from the device. Mohamed Sabt and Jacques Traore, two researchers with the French telecom Orange Labs, claim the scheme associated with the system is "non-provably secure," and could have "severe consequences." The two point out in their paper "Breaking Into the KeyStore: A Practical Forgery Attack Against Android KeyStore," that it's the hash-then-encrypt (HtE) authenticated encryption (AE) scheme in cipher block chaining mode (CBC) in KeyStore that fails to guarantee the integrity of keys.
KeyStore, which performs key-specific actions through the OpenSSL library, allows Android apps to store and generate their own cryptographic keys. By storing keys in a container, KeyStore makes it more difficult to remove them from the device. Mohamed Sabt and Jacques Traore, two researchers with the French telecom Orange Labs, claim the scheme associated with the system is "non-provably secure," and could have "severe consequences." The two point out in their paper "Breaking Into the KeyStore: A Practical Forgery Attack Against Android KeyStore," that it's the hash-then-encrypt (HtE) authenticated encryption (AE) scheme in cipher block chaining mode (CBC) in KeyStore that fails to guarantee the integrity of keys.
To be clear, the issue is a hardware issue in Qualcomm chipsets rather than with Android itself, although the effect is the same. Samsung has some non-Qualcomm chipsets (Exonos) used on some of their phones and those are apparently not affected.
Sigh....
"the system is non-provably secure," would be better stated as "The system is not secure."
It is hard to trust the integrity of a complex system and the understanding of the researchers when they cannot handle a simple statement in simple English.
They would do better to hire an editor. Trying to make it sound more complex than it is by phrasing things like "Non provably secure" is more rhetoric than demonstrating any sort of knowledge or technical proficiency. This is coming from someone with 3 degrees and 20 years experience in the field.
Qualcomm isn't mentioned at all in the fucking paper itself
Would it kill the editors to cut through the BS and give us a blurb under the article that explains this in simpler terms?
It'd be nice to understand what the actual problem is without having to spend an hour looking up the TLAs.
Doesn't that allow hacking of the stored fingerprint, oops.
I'm unsure how scared I should be. Could someone put this in a car analogy?
...KeyStore, which performs key-specific actions through the OpenSSL library...
Or BoringSSL ?
So... if I understand this correctly, the vulnerability is in the fact that since they mac-then-encrypt, the data must be decrypted before the HMAC can be validated. SO, in theory, it opens up the possibility of a side-channel attack, but I don't see how the encryption is actually "broken"
"When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
Thank you! You even managed to make the analogy not hyperbolic. You are the hero we deserve today.
Suprise,suprise,another hole in Google's crud os,and people complain about ms ?
But then Google have to ale sure every device is readable by nsa etc etc,whatever the user has done to try and lock down device...
Do no evil,what a joke.
They should have said,
Never get caught lieing instead.
Why people ever trusted or still do is beyond me.
Like every other firm that came out of that area,their just a bunch of greedy crooks..
Can't read this without thinking of this - doesn't get more applicable:
http://www.dailymotion.com/vid...
07:26 for the direct reference, but the whole episode was a truly fantastic piece of comedy...
The brains of a chicken, coupled with the claws of two eagles, may well hatch the eggs of our destruction.