Looks like #mAadhaar is back in news again because of @fs0c131y . For those who are wondering, what the problem is with the OTP code, of mAadhaar, a short primer follows: 👇
1. Clients need secrets to talk with servers. Usually clients need to authenticate themselves. (Password).
2. In this case, the password is the OTP. Unlike a password, which is in *your head*, the OTP is a dynamic password sent to the phone via SMS. So if OTP is revealed?
3. Whoever gets the OTP, becomes you. This is not new type of attack, but one that we see on Banking all the time. So what does mAadhaar use OTP for?
4. It exchanges a secret with the Android App. And the secret is then used to generate VID, TOTP etc.
5. So OTP gone->Secret gone->VID, TOTP->known to others.
6. In effect, your Aadhaar is taken over by whoever reads the OTP first. And is there a list of Apps that get Notifications first in Android? Is that order controllable? AFAIK, no. (Correct me if I am wrong on this)
7. And remember that this is a permanent take over. Unlike a bank account, you can't close it. And @UIDAI's customer support is well, 1947...
8. So what is the right way to do this initial setup? QR code scanning done offline, like WA, Google Authenticator, any decent 2FA.
9. This way, you exchange secrets not by Send OTP->Get Secret, but Scan QR->Get Secret. A lot more safer. But UIDAI can only do three types of authentication (a) Biometric and (b) OTP. So they chose a really stupid thing, because of platform constraints.
10. When were they told about this? Oct 30, 2017. A full 8 months later, this architecture still stays as it is. That is platform limitations. Once baked in very hard to change. And all the makers are gone.
medium.com/karana/securit…
The answers on the first one by Baptiste, shows how common developers don't understand the vulnerabilities OTP authentication creates. In short, it is all context, and everyone doing it, does not mean, it is safe.

Remember phone gone, Aadhaar gone.

#
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to V. Anand | வெ. ஆனந்த்
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($3.00/month or $30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!