Transaction authentication number

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

A transaction authentication number (TAN) is used by some online banking services as a form of single use one-time passwords to authorize financial transactions. TANs are a second layer of security above and beyond the traditional single-password authentication.

TANs provide additional security because they act as a form of two-factor authentication. Should the physical document or token containing the TANs be stolen, it will be of little use without the password; conversely, if the login data are obtained, no transactions can be performed without a valid TAN.

Classic TAN

An outline of how TANs function:

  1. The bank creates a set of unique TANs for the user. Typically, there are 50 TANs printed on a list, enough to last half a year for a normal user; each TAN being six or eight characters long.
  2. The user picks up the list from the nearest bank branch (presenting a passport, an ID card or similar document) or is sent the TAN list through mail.
  3. The password (PIN) is mailed separately.
  4. To log on to his/her account, the user must enter user name (often the account number) and password (PIN). This may give access to account information but the ability to process transactions is disabled.
  5. To perform a transaction, the user enters the request and authorizes the transaction by entering an unused TAN. The bank verifies the TAN submitted against the list of TANs they issued to the user. If it is a match, the transaction is processed. If it is not a match, the transaction is rejected.
  6. The TAN has now been consumed and will not be recognized for any further transactions.
  7. If the TAN list is compromised, the user may cancel it by notifying the bank.

However, as any TAN can be used for any transaction, TANs are still prone to phishing attacks where the victim is tricked into providing both password/PIN and one or several TANs. Further, they provide no protection against man-in-the-middle attacks where an attacker intercepts the transmission of the TAN and uses it for a forged transaction. Especially when the client system should become compromised by some form of malware that enables a malicious user, the possibility of an unauthorized transaction is high. It should be noticed that the remaining TANs remain uncompromised and can be used safely, even though action should be taken by the user as soon as possible.

Indexed TAN (iTAN)

Indexed TANs reduce the risk of phishing. To authorize a transaction, the user is not asked to use an arbitrary TAN from the list but to enter a specific TAN as identified by a sequence number (index). As the index is randomly chosen by the bank, an arbitrary TAN acquired by an attacker is usually worthless.

However, iTANs are still susceptible to man-in-the-middle attacks, including phishing attacks where the attacker tricks the user into logging in into a forged copy of the bank's website and man-in-the-browser attacks[1] which allow the attacker to secretly swap the transaction details in the background of the PC as well as to conceal the actual transactions carried out by the attacker in the online account overview.[2]

Therefore, in 2012 the European Union Agency for Network and Information Security advised all banks to consider the PC systems of their users being infected by malware by default and use security processes where the user can cross-check the transaction data against manipulations like for example (provided the security of the mobile phone holds up) mTAN or smartcard readers with an own screen including the transaction data into the TAN generation process while displaying it beforehand to the user (chipTAN).[3]

Indexed TAN with CAPTCHA (iTANplus)

Prior to entering the iTAN, the user is presented a CAPTCHA, which in the background also shows the transaction data and data deemed unknown to a potential attacker, such as the user's birthdate. This is intended to make it hard (but not impossible) for an attacker to forge the CAPTCHA.

This variant of the iTAN is method used by some German banks adds a CAPTCHA to reduce the risk of man-in-the-middle attacks.[4] Some Chinese banks have also deployed a TAN method similar to iTANplus. A recent study shows that these CAPTCHA-based TAN schemes are not secure against more advanced automated attacks.[5]

Mobile TAN (mTAN)

mTANs are used by banks in Austria, Bulgaria, Czech Republic, Germany, Hungary, the Netherlands, Poland, Russia, Singapore, South Africa, Spain, Switzerland and some in New Zealand, Australia and Ukraine. When the user initiates a transaction, a TAN is generated by the bank and sent to the user's mobile phone by SMS. The SMS may also include transaction data, allowing the user to verify that the transaction has not been modified in transmission to the bank.

However, the security of this scheme depends on the security of the mobile phone system. In South Africa, where SMS-delivered TAN codes are common, a new attack has appeared: SIM Swap Fraud. A common attack vector is for the attacker to impersonate the victim, and obtain a replacement SIM card for the victim's phone from the mobile network operator. The victim's user name and password are obtained by other means (such as keylogging or phishing). In-between obtaining the cloned/replacement SIM and the victim noticing their phone no longer works, the attacker can transfer/extract the victim's funds from their accounts.[6]

Also the rise of smartphones led to malware attacks trying to simultaneously infect the PC and the mobile phone as well to break the mTAN scheme.[7]

pushTAN

pushTAN is an app-based TAN scheme by German Sparkassen banking group reducing some of the short-comings of the mTAN scheme. It eliminates the cost of SMS messages and is not susceptible to SIM card frauds, since the messages are sent via a special text-messaging application to the user's smartphone using an encrypted internet connection. Just like mTAN, the scheme allows the user to cross-check the transaction details against hidden manipulations carried out by Trojans on the user's PC by including the actual transaction details the bank received into the pushTAN message. Although analogous of using mTAN with a smartphone, there is the risk of a parallel malware infection of PC and smartphone. To reduce this risk the pushTAN app ceases to function if the mobile device is rooted or jailbroken.[8] In late 2014 the Deutsche Kreditbank (DKB) also adopted the pushTAN scheme.[9]

TAN generators

Simple TAN generators

The risk of compromising the whole TAN list can be reduced by using security tokens that generate TANs on-the-fly, based on a secret known by the bank and stored in the token or a smartcard inserted into the token.

However, the TAN generated is not tied to the details of a specific transaction. Because the TAN is valid for any transaction submitted with it, it does not protect against phishing attacks where the TAN is directly used by the attacker, or against man-in-the-middle attacks.

chipTAN / cardTAN

File:SmartTAN optic-Gadget.jpg
chipTAN generator (optical version) with bank card attached. The two white arrows mark the borders of the barcode on the computer screen.

chipTAN is a TAN scheme used by many German and Austrian banks.[10][11][12] It is known as chipTAN in Germany and as cardTAN in Austria, whereas cardTAN is a technically independent standard.[13]

A chipTAN generator is not tied to a particular account; instead, the user must insert their bank card during use. The TAN generated is specific to the bank card as well as to the current transaction details. There are two variants: In the older variant, the transaction details (at least amount and account number) must be entered manually. In the modern variant, the user enters the transaction online, then the TAN generator reads the transaction details via a flickering barcode on the computer screen (using photodetectors). It then shows the transaction details on its own screen to the user for confirmation before generating the TAN.

As it is independent hardware, coupled only by a simple communication channel, the TAN generator is not susceptible to attack from the user's computer. Even if the computer is subverted by a Trojan, or if a man-in-the-middle attack occurs, the TAN generated is only valid for the transaction confirmed by the user on the screen of the TAN generator, therefore modifying a transaction retroactively would cause the TAN to be invalid.

An additional advantage of this scheme is that because the TAN generator is generic, requiring a card to be inserted, it can be used with multiple accounts across different banks, and losing the generator is not a security risk because the security-critical data is stored on the bank card.

While it offers protection from technical manipulation, the chipTAN scheme is still vulnerable to social engineering. Attackers have tried to persuade the users themselves to authorize a transfer under a pretext, for example by claiming that the bank required a "test transfer" or that a company had falsely transferred money to the user's account and they should "send it back".[1][14] Users should therefore never perform bank transfers they have not initiated themselves.

chipTAN is also used to secure batch transfers (Sammelüberweisungen). However, this method offers significantly less security than the one for individual transfers. In case of a batch transfer the TAN generator will only show the number and total amount of all transfers combined - thus for batch transfers there is little protection from manipulation by a Trojan.[15] This vulnerability was reported by RedTeam Pentesting in November 2009.[16] In response, as a mitigation, some banks changed their batch transfer handling the way that batch transfers containing only a single record are treated as individual transfers.

photoTAN / CrontoSign

Depiction of a photoTAN code (with random data)

photoTAN (also called "CrontoSign") is a TAN scheme developed by Cronto Ltd. which was acquired by VASCO Data Security International Inc. in 2013.[17] It is currently in use at German Commerzbank,[18] Comdirect[19] and Deutsche Bank[20] as well as Swiss Raiffeisen bank group[21] and is available as smartphone app[22] and as stand-alone device.[23] The scheme was also adopted by the Dutch Rabobank featuring an advanced version of the stand-alone device (Rabo Scanner).[24] The TAN is generated on the basis of an encrypted message sent by the bank containing the transaction details which are displayed to the user on the device. The message is transferred by a colorized matrix barcode that is read via digital camera whereas the message key is user specific and has to be initialized the first time the system is used.[25] Since the user can cross-check the transaction details on a separate device the system is secured against man-in-the-middle attacks, provided the security of the smartphone or the stand-alone device holds up.

Software management

The following password managers include specific support for managing TAN lists. Note that some banks prohibit the electronical storage of TANs by the customer in their terms of use.[26][27]

See also

References

  1. 1.0 1.1 Candid Wüest, Symantec Global Security Response Team Current Advances in Banking Trojans? iriss.ie, Irish Reporting and Information Security Service, December 2, 2012 (PDF; 1,9 MB)
  2. Katusha: LKA zerschlägt Ring von Online-Betrügern WinFuture.de, October 29, 2010
  3. “High Roller” online bank robberies reveal security gaps European Union Agency for Network and Information Security, July 5, 2012
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Victim's SIM swop fraud nightmare iol.co.za, Independent Online, January 12, 2008
  7. Eurograbber SMS Trojan steals €36 million from online banks techworld.com, December 5, 2012
  8. Online-Banking mit pushTAN - FAQ berliner-sparkasse.de, Berliner Sparkasse (AöR), Retrieved on August 27, 2014.
  9. Informationen zu pushTAN dkb.de, Deutsche Kreditbank AG, Retrieved on March 12, 2015.
  10. Postbank chipTAN comfort official page of Postbank, Retrieved on April 10, 2014.
  11. chipTAN: Listen werden überflüssig official page of Sparkasse, Retrieved on April 10, 2014.
  12. Die cardTAN official page of Raiffeisen Bankengruppe Österreich, Retrieved on April 10, 2014.
  13. Die neue cardTAN ebankingsicherheit.at, Gemalto N.V., Retrieved on October 22, 2014.
  14. Tatanga Attack Exposes chipTAN Weaknesses trusteer.com, September 4, 2012
  15. Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found.
  17. VASCO Announces Acquisition of Cronto vasco.com, VASCO Data Security International Inc., May 20, 2013
  18. Commerzbank and Cronto launch photoTAN for Secure Online Banking Transactions cronto.com, Cronto Ltd., February 13, 2013
  19. Neu bei comdirect: photoTAN comdirect.de, Comdirect Bank AG, April 9, 2013
  20. Die photoTAN – Unser Bild für Ihre Sicherheit deutsche-bank.de, Deutsche Bank AG, Retrieved on April 11, 2015.
  21. Raiffeisen lanciert E-Banking-Login per PhotoTAN raiffeisen.ch, Raiffeisen Schweiz Genossenschaft, November 19, 2012 (PDF; 42,6 kB)
  22. CrontoSign Mobile App cronto.com, Cronto Ltd., Retrieved on April 23, 2014.
  23. CrontoSign Device cronto.com, Cronto Ltd., Retrieved on April 23, 2014.
  24. Rabobank Selects VASCO CrontoSign Technology for Online Banking Security and Customer Convenience vasco.com, VASCO Data Security International Inc., September 18, 2014
  25. Aktivierung photoTAN comdirect.de, Comdirect Bank AG, Retrieved on April 21, 2015. (PDF; 1,0 MB)
  26. Conditions for Processing Banking Transactions via the Corporate Banking Portal commerzbank.nl, Commerzbank AG Amsterdam Branch, October 31, 2009 (PDF; 61,7 kB)
  27. Bedingungen für DKB-Onlinebanking dkb.de, Deutsche Kreditbank AG, December 1, 2014 (PDF; 88,5 kB)
  28. Keypass documentation on TAN keepass.info, Retrieved on April 21, 2015.
  29. Password Depot User Manuals password-depot.com, Retrieved on April 21, 2015.