How to get an ATM PIN in 15 guesses

Bank employee fraud just got easier


Cambridge researchers have documented a worrying PIN cracking technique against the hardware security modules commonly used by bank ATMs.

Mike Bond and Piotr Zielinski have published a paper detailing how a complex mathematical attack can yield a PIN in an average of 15 guesses. By design, it shouldn't be possible to guess a four-digit pin in less than an average of 5,000 attempts.

The attack, documented in a paper published earlier this week, is directed against the decimalisation tables used to translate between a card PIN and the hexadecimal value of a PIN generated when the hardware security module checks the validity of a number.

The attack works not by going after the PIN number directly but by manipulating the contents of the decimalisation table in order to gain clues (such as which digits are or are not present in the PIN).

Refining the technique, which allows a PIN to determined in an average of 24 iterations, might allow an attack to succeed in 15 guesses. The methodology of the attack, too mathematically complex to be properly explained in the context of a news story, is explained here.

Mike Bond told us that the risk of attack comes from a corrupt insider, perhaps in computer operations and with access to sensitive manuals, who might be able to use the attack to refine what would otherwise be a brute force attempt to guess PIN numbers.

Fraud, in these circumstances, might still be possible. The attack is simply a more powerful, optimised means of cracking PIN numbers.

In their paper, Bond and Zielinski outline mechanisms banks might apply to guard against the attack.

In the short term, according to Bond, probably the best way to guard against the attack is to make sure it isn't possible to change the decimalisation table without permission. Longer term the researchers warn in their conclusions that "support for decimalisation is not a robust approach to PIN verification".

"Unskewed randomly generated PINs stored encrypted on an online database, as already used by some banks, are significantly more secure," Bond and Zielinski conclude.

As a stop gap an audit trail in ATM hardware security module will also allow the banks to spot when something suspicious occurs. This would allow banks to finger corrupt insider but it wouldn't necessarily protect customers, due to ongoing confusion in the UK's liability regulations for bank transactions.

Bond explained that UK case law does not as yet determine where liability lies in the case of disputed PIN-authorised transactions. With credit card purchases liability lies with merchants but in the question of liability has yet to be determined.

The wider consequences of the attack method documented by the Cambridge researchers once again spotlight this gap in UK law. ®

External Links

Decimalisation table attacks for PIN cracking, by Mike Bond and Piotr Zielinski of Cambridge University


Other stories you might like

  • Prisons transcribe private phone calls with inmates using speech-to-text AI

    Plus: A drug designed by machine learning algorithms to treat liver disease reaches human clinical trials and more

    In brief Prisons around the US are installing AI speech-to-text models to automatically transcribe conversations with inmates during their phone calls.

    A series of contracts and emails from eight different states revealed how Verus, an AI application developed by LEO Technologies and based on a speech-to-text system offered by Amazon, was used to eavesdrop on prisoners’ phone calls.

    In a sales pitch, LEO’s CEO James Sexton told officials working for a jail in Cook County, Illinois, that one of its customers in Calhoun County, Alabama, uses the software to protect prisons from getting sued, according to an investigation by the Thomson Reuters Foundation.

    Continue reading
  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading

Biting the hand that feeds IT © 1998–2021