Is it difficult to guess the PIN code?

Tomcat

Professional
Messages
2,689
Reaction score
922
Points
113
1de44967da15eb6f9da80cec09f035cb.jpg
Despite the important role of PIN codes in the world's infrastructure, there has been no academic research into how people actually choose PIN codes.

Cambridge University researchers Sören Preibusch and Ross Anderson have corrected the situation by publishing the world's first quantitative analysis of the difficulty of guessing a 4-digit bank PIN.

Using data on password leaks from non-bank sources and online surveys, scientists found that users take the choice of PIN codes much more seriously than the choice of passwords for websites: most codes contain an almost random set of numbers. However, among the initial data there are also simple combinations and birthdays - that is, with some luck, an attacker can simply guess the treasured code.

The starting point of the study was a set of 4-digit password sequences from the RockYou database (1.7 million), and a database of 200 thousand PIN codes from the iPhone screen lock program (the database was provided by the application developer Daniel Amitay). In the graphs built from this data, interesting patterns emerge - dates, years, repeating numbers, and even PIN codes ending in 69. Based on these observations, scientists built a linear regression model that estimates the popularity of each PIN code depending on 25 factors, such as whether the code is a DDMM date, whether it is an ascending sequence, and so on. 79% and 93% of PIN codes in each set meet these general conditions.

dcacabde4c7f49e69921aa5432912787.png


So, users choose 4-digit codes based on just a few simple factors. If bank PIN codes were chosen this way, 8-9% of them could be guessed in just three attempts! But, of course, people are much more attentive to bank codes. In the absence of any large set of real banking data, the researchers surveyed more than 1,300 people to assess how different real PIN codes were from those already considered. Given the specifics of the study, respondents were not asked about the codes themselves, but only about their compliance with any of the above factors (increasing, DDMM format, etc.).

It turned out that people really choose their bank PIN codes much more carefully. About a quarter of respondents use a random PIN generated by the bank. More than a third choose their PIN using an old phone number, student ID number, or another set of numbers that appears random. According to the results, 64% of cardholders use a pseudo-random PIN, which is much higher than the 23-27% in previous experiments with non-bank codes. Another 5% use a digital pattern (eg 4545), and 9% prefer a keyboard pattern (eg 2684). In general, an attacker with six attempts (three with an ATM and three with a payment terminal) has less than 2% chance of guessing the PIN code of someone else's card.

FactorExampleRockYouiPhoneSurvey
Dates
DDMM23115.261.383.07
DMGG38769.266.465.54
MMDD112310.009.353.66
MMYY06830.670.200.94
YYYY198433.397.124.95
Total58.5724.5122.76
Keyboard pattern
adjacent63511.524.99
square14250.010.58
angles97130.191.06
cross82460.170.88
diagonal line15900.101.36
horizontal line59870.341.42
word56830.708.39
vertical line85200.064.28
Total3.0922.978.96
Digital pattern
ends with 6968690.350.57
only numbers 0-320003.492.72
only numbers 0-651554.665.96
repeating pairs25252.314.11
same numbers66660.406.67
descending sequence32100.130.29
increasing sequence45673.834.52
Total15.1624.854.60
Random dialing of numbers23.1727.6763.68

Everything would be fine, but, unfortunately, a significant portion of respondents (23%) choose a PIN code in the form of a date - and almost a third of them use their date of birth. This changes things significantly, because almost all (99%) respondents answered that they keep various identification documents with this date printed on them in their wallet with bank cards. If an attacker knows the cardholder’s birthday, then with a competent approach, the probability of guessing the PIN code soars to 9%.

As a solution, the authors suggest that banks ban the 100 most popular PIN codes - in general, this will reduce the probability of guessing to 0.2%.

100 most popular PIN codes
0000, 0101–0103, 0110, 0111, 0123, 0202, 0303, 0404, 0505, 0606, 0707, 0808, 0909, 1010, 1101–1103, 1110–1112, 1123, 1203, 1210–1212, 1234, 1956–2015, 2222, 2229, 2580, 3333, 4444, 5252, 5683, 6666, 7465, 7667.

PS In practice, of course, it is much easier for an attacker to spy on your PIN code than to guess it. But you can also protect yourself from peeping, even in a seemingly hopeless situation:

 
Top