Mapping a Threat Model for the Aadhaar Ecosystem

What are the possible ways in which privacy in a setup like Aadhar may be breached?

A man registering for Aadhar. Something as important as Aadhar required due-diligence. Credit: PTI

A man registering for Aadhaar. Something as important as Aadhaar requires due-diligence. Credit: PTI

The Aadhaar privacy debate has struggled to make progress, with proponents claiming that Aadhaar is safe and the opponents claiming that Aadhaar necessarily violates privacy. As argued here and here, the discussion is uninformative without first modelling an attack surface by precisely enumerating the possible ways in which privacy may be breached.

Moreover, this enumeration must be based on a comprehensive analysis of policy, legal and data security considerations.

Privacy breaches in a setup like Aadhaar can happen through: authentication and identification without consent, through illegal profiling by correlation of identities across different data silos and through illegal use of data in the central repository.

All other types of privacy compromises are derived from or are special cases of the above. The onus ought to be on the designers of the system to convince its users that there are reasonable protections against these potential attacks.

Authentication and identification without consent

Authentication to make payments – as an example – requires two independent pieces of information: identity and an authentication credential. Common examples of identity are login or email IDs, cryptographic public keys and ATM or smart cards; some common authentication credentials are passwords (including OTPs), PINs and cryptographic private keys. Identity may be considered (limited) public information but an authentication credential must necessarily be private – a secret that is known only to the user. Moreover, authentication must be a conscious process that requires active participation by a user, but not necessarily so for identity verification.

Biometrics, which are external to one’s body and can easily be harvested without consent, are poor authentication credentials because of possibilities of false presentations. They may be excellent for identity verification under the adversarial oversight of the person or entity requiring the verification. The use of biometrics as authentication credentials for applications like financial transactions is ill-conceived and requires immediate review.

Point of sale and enrolment devices are the most likely sources of leakage of biometric and other sensitive data, which can be used to illegally authenticate or identify. These devices need to be registered with the Unique Identification Authority of India (UIDAI) and authenticated during run-time to ensure that they have not been tampered with. The UIDAI is already taking welcome steps in this direction.

Profiling by correlation of identities across data silos

Identification and profiling without consent by correlating different data silos are undoubtedly big threats to privacy and civil liberty. However, with the current state of affairs with digitisation, linking different data silos using Aadhaar does not seem to add significantly to the attack surface.

It is true that an individual or an entity with access to multiple databases linked with Aadhaar can uniquely identify any individual in them, leading to possible illegal profiling. But such unique correlation attacks can also be carried out using other identifiers such as mobile or PAN numbers. Even if all such unique identifiers are removed from the data, linking databases for unique identification is fairly straightforward using the demographic and personal data that we provide in the course of routine business. In fact such correlation and profiling, even without unique identifiers, are common for online targeted advertising and will be a trivial task for an entity like say the National Intelligence Grid.

So the risk of illegal profiling does not originate as much from Aadhaar as it does from the modern needs of digital record keeping in different silos and the Aadhaar privacy debate has drawn timely attention to the issue. What is required is a thorough analysis of what kind of profiling are legitimate requirements for governance and codifying them in a law. All other kinds of profiling should be prevented.

This is not to say that using the same UID for all applications does not make it worse. It adds to the vulnerability by making unique identification easy even for a layman. The London School of Economics identity project report suggests cryptographic embedding of a unique global ID into separate local IDs for each application domain, thereby making cross identification using the local IDs impossible except for the ID granting authority. The UIDAI should definitely consider this possibility.

A popular solution to prevent correlation is to systematically corrupt the databases using differential privacy techniques to make make one indistinguishable in a set or group. However, such data corruption may impede legitimate governance requirements.

The only reasonable solution, in our contention, will be to prevent sensitive databases from coming together, except for legitimate purposes and only through automatic means. There also has to be national standards for data collection and protection, not only at the UIDAI but also at other sensitive data domains.

Insider attacks

On the face of it, the data protection measures adopted by the UIDAI appear to be standard and adequate against external threats, but it is not obvious that they are adequate against insider threats. Insider attacks, perhaps at the behest of powerful entities in the state machinery itself, are the biggest threat to privacy and civil liberty. Maintaining data encrypted and distributed within an organisation is not adequate protection against insider attacks if the decryption keys also reside within the same organisation.

For effective protection against insider threats it is imperative to ensure that no manual inspection of sensitive data and transaction logs is ever possible, and that data can only be accessed through pre-audited, tamper proof, digitally signed computer programs which are true to the legal and policy frameworks. Moreover, such programs must be trustworthy and do precisely and only what they are supposed to do, even when the underlying computing, network and storage infrastructure are untrustworthy (equivalent to already been hacked).

This will require an independent third party that can play the adversarial role of an online auditor and also that of a key-keeper. The auditor has to ascertain that the programs are true to specifications, sign and seal them, and authenticate them during run-time to ensure that they have not been tampered with. The necessary policy and legal frameworks need to be put in place.

Indeed, we do believe that there are tools and techniques from computer science that may, at least for practical purposes if not provably, offer such protection in the UIDAI and other such sensitive setups. Something as important as Aadhaar definitely requires such due-diligence.

A detailed research paper on this issue, written by the authors, can be found here. Shweta Agrawal is professor of computer science at IIT Madras. Subhashis Banerjee and Subodh Sharma are professors of computer science at IIT Delhi.