Defeating Citi-Bank Virtual Keyboard Protection Aug 05 2005 07:55PM
Debasis Mohanty (debasis hackingspirits com) (3 replies)
Recently I discovered a method to defeat the much hyped Citi-Bank Virtual
Keyboard Protection which the bank claimed that it defends the customers
against malicious programs like keyloggers, Trojans and spywares etc.

Find the details below -

Early this year, Citi-Bank introduced the concept of Virtual Keyboard to
defend against malicious programs like keyloggers, Trojans and spywares etc.
The bank claimed that this concept would improve the security of those using
its Internet banking facilities. Various features of this Virtual Keyboard
are -

. The Virtual Keyboard is dynamic
. The sequence in which the numbers appears will change every time,
the page is refreshed
. The Virtual Keyboard protects you from malicious 'Spy Ware' and
'Trojan Programs' designed to capture your keystrokes
. The Virtual Keyboard eliminates this risk and makes your Citibank
login that much safer and provides for a secure online banking experience

However, the Virtual Keyboard concept can be easily defeated by using Win32
APIs to access HTML documents. Refer the PoC (Proof of Concept) section for
more details.

Criticality: High

Platform: Windows XP (SP2) + IE 6.0

Note: This PoC is applied only for Internet Explorer users

Proof of Concept:
Here I shall demonstrate how easily the Virtual Keyboard can be defeated by
a simple program. I created a small program in VB 6.0 (called
CitiPassLogger.exe) which can record not only the 16-Digit credit card but
also the IPIN even if they are entered using the virtual keyboard.

Currently, this program has been developed to log only the IPIN details of
Citi-Bank India but the code can be modified to make it work universally for
all the Citi-Bank sites with Virtual Keyboard login.

As per my knowledge, there are no such keyloggers or spywares which uses any
technique to defeat virtual keyboards. However, the technique that I am
going to discuss here can be used by malicious program writers to write next
generation viruses / worms to defeat such virtual keyboard protections.
Hence, I hope people who are using Virtual Keybords shouldn't stay very

Download the complete PoC and the tool from the following link:

For more vulnerabilities, visit

3rd August, 2005: Vendor was contacted but no response till today.

Debasis Mohanty (a.k.a Tr0y)

[ reply ]
Re: [DCC SPAM] Defeating Citi-Bank Virtual Keyboard Protection Aug 08 2005 06:25AM
Secure Science Corporation Bugtraq (bugtraq securescience net)
Re: Defeating Citi-Bank Virtual Keyboard Protection Aug 06 2005 05:50AM
AsTriXs (astrixs gmail com)
Re: Defeating Citi-Bank Virtual Keyboard Protection Aug 05 2005 11:11PM
Daniel Bonekeeper (thehazard gmail com)


Privacy Statement
Copyright 2010, SecurityFocus