Svante Schubert retweeted
Hacking the #EU #AgeVerification app in under 2 minutes.
During setup, the app asks you to create a PIN. After entry, the app *encrypts* it and saves it in the shared_prefs directory.
1. It shouldn't be encrypted at all - that's a really poor design.
2. It's not cryptographically tied to the vault which contains the identity data.
So, an attacker can simply remove the PinEnc/PinIV values from the shared_prefs file and restart the app.
After choosing a different PIN, the app presents credentials created under the old profile and let's the attacker present them as valid.
Other issues:
1. Rate limiting is an incrementing number in the same config file. Just reset it to 0 and keep trying.
2. "UseBiometricAuth" is a boolean, also in the same file. Set it to false and it just skips that step.
Seriously @vonderleyen - this product will be the catalyst for an enormous breach at some point. It's just a matter of time.
.@vonderleyen "The European #AgeVerification app is technically ready. It respects the highest privacy standards in the world. It's open-source, so anyone can check the code..."
I did. It didn't take long to find what looks like a serious #privacy issue.
The app goes to great lengths to protect the AV data AFTER collection (is_over_18: true is AES-GCM'd); it does so pretty well.
But, the source image used to collect that data is written to disk without encryption and not deleted correctly.
For NFC biometric data:
It pulls DG2 and writes a lossless PNG to the filesystem. It's only deleted on success. If it fails for any reason (user clicks back, scan fails & retries, app crashes etc), the full biometric image remains on the device in cache. This is protected with CE keys at the Android level, but the app makes no attempt to encrypt/protect them.
For selfie pictures:
Different scenario. These images are written to external storage in lossless PNG format, but they're never deleted. Not a cache... long-term storage. These are protected with DE keys at the Android level, but again, the app makes no attempt to encrypt/protect them.
This is akin to taking a picture of your passport/government ID using the camera app and keeping it just in case. You can encrypt data taken from it until you're blue in the face... leaving the original image on disk is crazy & unnecessary.
From a #GDPR standpoint:
Biometric data collected is special category data. If there's no lawful basis to retain it after processing, that's potentially a material breach.
youtube.com/watch?v=4VRRriyD…
Svante Schubert retweeted
New paper in Science today on playing the classic negotiation game "Diplomacy" at a human level, by connecting language models with strategic reasoning! Our agent engages in intense and lengthy dialogues to persuade other players to follow its plans. This was really hard! 1/5
Svante Schubert retweeted
TIL: Platzhirsche
Germany's CDU: public money, public code, and also ask for a public repository to openly share components
Svante Schubert retweeted
Zero cost for software licences breaks UK procurement spreadsheets
joinup.ec.europa.eu/collecti… | OSOR
Svante Schubert retweeted
"So what's new?"
"I recently built a robot."
"Why?"
"For the company, mostly."
"How'd it turn out?"
"Good. You're doing quite well."
Svante Schubert retweeted
UK GDS How to open up closed code
gdstechnology.blog.gov.uk/20…
Svante Schubert retweeted
GOP Leaders Celebrate Decisive Win Over Americans trib.al/lnfEluL
Svante Schubert retweeted
Document interoperability expert: “Make ODF the default” | OSOR #LiboCon17
joinup.ec.europa.eu/news/doc…
Svante Schubert retweeted
Kein Scheiss:
Einstürzende Neubauten eröffnen die Elbphilharmonie
elbphilharmonie.de/de/progra…


















