Gizmo's Freeware is Recruiting

Gizmos Needs YouWe are looking for people with skills or interest in the following:
- Mobile Platform Reviews
- Rootkit Scanner and Remover
- Streaming Media Recorder
- Email Client
- Archive Manager        Interested? Click here

 

How to Improve Your Security When Using a Public Terminal

Using a hotel computer, one in an internet cafe or airport is a risky business. Public terminals are fine for general browsing and even (with a few precautions) collecting your email but when it comes to logging in to your bank account or making an online purchase they really should be avoided.

We all know that but life doesn't always allow us to follow the rules; sometimes we simply have to use a public terminal to conduct a confidential transaction

Well I'd dearly like to be able to tell you a way you can use a public terminal with complete safety. I can't. What I can do is show you some ways you can do it with a high degree of security. OK it's not 100% but it's better than no security at all.

There are two main areas of risk when using a public terminal. First someone may be using a session logger to record the flow of data between the PC you are using and the websites you visit. Second there may be a keylogger fitted to the PC that allows someone to capture your keystrokes and sometimes your mouse clicks and screen session as well.

Risk 1: Session Logging

It's dead easy for an ill-intentioned internet cafe operator to record your internet traffic. Indeed I once visited a cafe and noticed the clerk at the front desk was unabashedly scanning traffic from the shop's computers using Ethereal. So believe me, it happens.

It's important that you understand when you a visiting a normal website that most of the information that flows between the PC you are using and the website you are visiting is visible and readable. It's there for anyone to see. "Anyone" includes your ISP or the clerk in the internet cafe.

If you are visiting a secure website (i.e. one whose address begins with https rather than http) your data stream is secure. That's because your data is encrypted end to end i.e. PC to server. Yes, it can still be seen but all that can be seen is a lot of gobbledygook.

If you use Gmail or Yahoo! webmail this is good news as both of these have secure website connections. The last time I used Hotmail it wasn't secure and many other webmail services aren't secure either. It's easy to tell: go to your webmail site and login. If the URL in the browser address bar starts with https it is secure. That means you can read your mail on any public terminal and no one can read your mail by intercepting the traffic between the PC you are using and the webmail service.

If your webmail service uses http rather than https then your email can be intercepted and read. If your email only includes things like a get-well message to Aunt Maud then there is no problem but if it contains your social security number, bank account and other personal details then you should start worrying.

Almost all online banking sites and e-commerce sites use https. That's comforting as it means no one can read your confidential data flowing between the computer you are using and the remote server. Sure they can see the data flow but they can't decrypt it.

Defensive counter-measures against session logging

There are however, a number of ways to convert even a standard http into a secure encrypted https connection. Using a virtual private network is one way but that's an option more readily available to corporate users than individuals. A simpler solution is to use a secure anonymizing network like the free Tor system.

Although Tor was designed to allow you to surf anonymously it has an attractive side benefit: it creates a secure https connection between your PC and the first Tor server. It's not secure beyond the first Tor server but interception is most unlikely once you get beyond the first server. The most likely location for someone to look at your web traffic is between the PC you are using and the first Tor server.

Setting up Tor is simple if you use a product like the free Firefox based XeroBank browser (formerly TorPark). Just start up XeroBank and the rest pretty well happens automatically. XeroBank is also portable so you can safely browse from a public terminal using a copy of XeroBank installed on your USB flash drive.

Surfing with XeroBank is noticeably slowed by the long chain of Tor servers through which your data passes. However a little extra time is a small price to pay for the additional security and anonymity. Besides if you really need speed you can switch back to normal non-secure browsing easily within XeroBank.

If you use XeroBank you can safely read your email even for non-secure webmail websites like HotMail. Whether the content of your webmail warrants the effort involved only you can decide.

I should note in parting that SSL (and thus https) is not immune to decryption. In particular so called "man in the middle attacks" have proven effective. However this kind of advanced attack is highly unlikely in an internet cafe.

Risk 2: Keyloggers

There is no 100% safe way to enter passwords from a public terminal. That's a fact.

Modern keyloggers can capture not only keyboard strokes but mouse clicks and the Windows Clipboard. They can also take screen shots of what you are doing. Keeping your confidential information from the prying eyes of the best of these sinister products is extremely difficult, perhaps impossible.

So the golden rule is don't ever enter confidential information into a hotel computer, an internet cafe PC or other public terminal.

That's the rule but rules get broken. Sometimes we simply have to use a public terminal. I have and I bet most of my readers have too.

So what can you do to improve your security when entering passwords?

Quite a lot actually. Of the many different options available to improve your password security, one of the most attractive is to enter your passwords using a password manager like RoboForm2Go running from your own USB flash drive. It's an option I covered in my May 2007editorial column.

When run from a USB flash drive RoboForm2Go provides excellent security. In fact I've not yet found a keylogger that can capture the information it enters into login boxes and web forms from Portable Firefox. Don't take that to mean RoboForm2Go is 100% safe. It's not; no product is.

One particular area of weakness of RoboForm2Go is the master password you must enter to activate the password manager. If a keylogger captured that and also managed to copy the encrypted RoboForm master password file from your USB drive then you are in deep trouble as they would be able to access all your passwords.

So protecting that password is critical. Some special issues apply to protecting your RoboForm2Go password and they are addressed later in the article.  Let's first look at the question of protecting passwords in general.

Defensive counter-measures against keyloggers

(a) Use strong passwords

Make your passwords (or passphrases) long and semi-random. Passwords like "SncnGnsl3Fp" are much better than something like "banana". This is not only because long random passwords are more difficult to crack but also because they are more more difficult to unscramble from a keylogger log particularly when used in concert with some of the other techniques mentioned below.

Remembering long semi random passwords is difficult but there are lots of mnemonic systems that can help.

By way of example the password "SncnGnsl3Fp" I mentioned above is actually "RoboForm2Go" transformed by a simple formula where the first letter is shifted one forward in the alphabet (R -> S) while the next letter is shifted one back (o -> n). The same alternating pattern continues for the rest of the characters.

There a lot of different techniques for creating and remembering strong passwords and phrases. You can find some in this Microsoft article. Also worth consulting is this Wikipedia article on password strength.

(c) Use password obfuscation

Obfuscation is just a fancy way of saying you can should disguise your password by entering it in more complex way than just typing it in from the keyboard.
 
Obfuscation works because keyloggers just record a long string of the characters you type. At some point the owner of the keylogger has to scan the string to identify passwords so you want to make this task as hard as possible. These days keyloggers make identifying passwords easier by labeling the name of the window where the keystrokes (and mouse click) were made. Even so, obfuscation can still be very effective

There are many ways of obfuscating input. Here are a few:

(i) Where you have two entry boxes on the screen such as a username and password, alternate entry between the two fields after each character is typed by using using your mouse to move between the entry fields

(ii) Rather than just entering the password from the keyboard cut and paste some of the characters that make up your password from another part of the screen. Ideally this should be from the same window as the one containing the password field but other windows will work fine too.
 
(iii) Drop and drag and drag some characters rather than enter them from the keyboard
 
(iv) Enter some character by holding down the Alt key and using the numeric keypad. For example the letter "a' can be entered by ALT 123.
 
(v) Use an onscreen keyboard to enter some of the characters.

(vi) Enter the last half of your password first followed by the first half. Then drop and drag the second half to the front from inside the password box.

(vi) Insert some random characters

For simplicity lets say your password is abcdefg.

Rather than enter your password as a simple sequence of letters throw in some additional dummy random characters along these lines: aMNbOcZdPQReSfgTUV

Now go back and delete the dummy letters one at a time. Delete some characters using backspace, others using the mouse to highlight the letter(s) and the then hitting the Delete key or using the right click context menu and selecting "delete."

Obfuscation works

By combining the dummy character trick with the various multiple entry techniques you can confuse  pretty well any keylogger.

However don't feel you have to use every single obfuscation trick I've mentioned; that's overkill. Indeed you may not be able to use all these techniques as some sites and products limit what you can do do. For example RoboForm2GO disables cut and paste  as well as drop and drag when you are entering the master password. It also won't allow you to access (get focus in) any window other than the password box. However you can still enter and delete dummy characters as well as entering characters using the Alt (numeric keyboard) trick and combined with a long random password that's good enough.

It's enough because any hacker reading a log from a keylogger has to read, identify, analyze and re-assemble what's recorded. That's hard work. If you use long random passwords combined with even a few obfuscation techniques then almost certainly you've made the job too hard. Possible yes, but too hard, specially when there is easy picking available elsewhere.

But you can increase your security further; use an on-screen keyboard.

(d)  Use an on-screen keyboard (OSK)

An on-screen keyboard (OSK) is, as its name implies, a screen version of a normal keyboard where you "type" characters by clicking with your mouse the appropriate key on the screen. Windows has an OSK built-in that can be accessed from Start / All Programs / Accessories / Accessibility / On Screen Keyboard or alternatively from Windows key + U.

Now many folks think that using an OSK to enter password data is more secure because a keylogger can't capture the keystrokes. Unfortunately this is only partly true.

First some OSKs (including the Windows OSK) simply emulate actual keystrokes and these can be recorded by many keyloggers. Second anyone can see what you are entering with an OSK by simply taking a screen movie or even a rapid series of screen shots. Third by recording mouse click coordinates it may be possible to deduce the characters entered with an OSK. Finally it may be possible to capture the password from the OSK using a clipboard monitor when you copy the OSK entered password into a password form field.

That's the bad news. The good news is there are some OSKs that don't emulate keyboard input. Two of these are free, portable and specifically designed for secure entry. The first is Neo's SafeKeys; the second is Monitor Only Keyboard (MOK)].

SafeKeys has some nifty features such as the ability to start up in a different screen position and with a different size every time you run it. This effectively defeats mouse click loggers. It also allows you to drag and drop the entered password into a web form thus bypassing clipboard loggers.

MOK has its own charms: it disables clipboard logging and has the option of a variable key layout. It doesn't support drag and drop but the copy implementation results in equal security to SafeKeys.

So on balance, there is little between the products; each is a perfectly viable solution. Unfortunately both are still vulnerable to screen capture. However a screen capture program would have to take very frequent snaps or a continuous movie to successfully capture all your virtual keystrokes. That's possible, though the host PC would take a big performance hit in the process.

But there is a simple way of getting around screen capture programs: enter part of your password with an OSK and the remainder with the real keyboard. Combine the keyboard entry with a little basic obfuscation and you have a pretty secure solution.

Protecting your RoboForm2Go Master Password

There are some special problems involved in protecting your RoboForm master password when using Roboform2Go from a USB flash drive connected to a public terminal.

Before I address these I want to state that I  strongly recommend using RoboForm2Go for safely accessing password-protected websites. It's one of the easiest and most valuable steps you can take to improve your mobile security.

With RoboForm2Go, all of your website passwords are safely encrypted on your USB flash drive, and it's virtually impossible for anyone to decrypt the information from the stored files.

Impossible, that is, unless they have your master password. And there's the catch.

To use RoboForm2Go you must at some point, enter your master password. If attackers use a keylogger to capture that password and also copy your RoboForm2Go password files from your USB drive, then they will have complete access to all your passwords. Hardly a pleasant thought.

So protecting your master password is absolutely critical.

In recognition of this problem, Siber Systems, the developer of RoboForm, has implemented some features that make it more difficult for keyloggers to capture your password.

First, they disable copying text from the master password window. Second, they disable drop and drag. Third, the password entry window contains no text, only graphics. Finally, and most importantly, they include in the password window a link to a special screen based keyboard (MOK) that allows you to enter your master password using mouse clicks.

Frankly, the first three of these measures are of limited benefit. They don't stop most keyloggers and, unfortunately, limit the range of obfuscation measures you can use to disguise your master password. You can't, for example, use the highly effective technique of dropping and dragging part of your entered password from the end of the password to the start. Nor can you cut and paste text from within the master password window or type dummy characters elsewhere in the window.

So these RoboForm security measures are really of limited value. So limited that I've been able to capture the RoboForm master password in every keylogger I've tried.

These particular measures may be limited in value but the MOK built into RoboForm2Go is much more useful. It's quite a secure implementation, unlike the inbuilt Windows MOK.

In total contrast to keyboard entered passwords, I'm yet to find a single keylogger that can pick up passwords entered by the RoboForm MOK.

But there's a small catch. While a keylogger may not be able to grab your password, a screen session recorder can. That's because the RoboForm MOK indicates visually each time you click a "key" with your mouse. This makes your MOK password entries plainly visible on a screen movie.

It would have been much smarter for Siber Systems to have indicated a keyboard press with a sound from the PC speaker and have no screen indication at all. That way a screen session recorder would only show the movements of your mouse over the keyboard without showing what "key" you actually clicked.

That's the bad news. The good news is that the hostile use of screen session recorders is rare compared to the use of keyboard keyloggers. In fact, very rare. That's because taking a live screen movie consumes a lot of computer resources. So much that the computer would be really slowed down and the presence of the keylogger made obvious.

Periodic screen snapshots are, however, reasonably common in keylogging programs. That's because they take far fewer resources than a video, yet still reveal a lot. Fortunately, they are most unlikely to capture enough of your MOK input to reveal your master password. Think about it. Even if the logging program took a screen shot every second it would be virtually impossible to get your entire password. But screen recorders take shots much less frequently than once a second - most operate in minutes rather than seconds.

So on balance using the RoboForm2Go MOK is the way to go. It's not perfectly safe just very safe. It is however, way safer than using keyboard input to enter your master password.

But before you enter anything with a MOK do turn around and make sure nobody is watching over your shoulder. Shoulder surfers just love MOK password entry :>)

Gizmo

Related Links on Gizmo's Freeware:
 
 

 

Share this
4.289475
Average: 4.3 (38 votes)
Your rating: None

Comments

by zen (not verified) on 10. July 2010 - 1:59  (54027)

Neo's SafeKeys always opens windows installer when I try to run it on my xp sp3 machine. I think it interferes with the windows installer somehow. I've never seen a portable app evoking the installer

by Anonymous on 24. June 2010 - 14:58  (53004)

after some weeks of trying this program, I have uninstalled it (a pasticcio for sure).

It interferes with everything I try to do when I type on my keyboard, because it is so incompattible with my anti-virus, Kaspersky.

It just sits there while it decides which key to substitute for. I am so disappointed with this product and would strongly recommend anyone with top security pass it by.

by fanboy01 (not verified) on 5. August 2010 - 9:13  (55493)

It would be nice to know the program you uninstalled. Was it Trust Connect or was it one of the programs mentioned in the article.

by Chiron on 23. June 2010 - 0:33  (52785)

What about Comodo TrustConnect Free? It encrypts your signal.

Here's the signup page:
https://accounts.comodo.com/trustconnectfree/management/signup

It's free for up to 10GB for a month. I believe it also inserts a small ad into your pages as you browse.

It looks like it'll be reviewed by PCmag soon:
http://www.pcmag.com/article2/0,2817,2333026,00.asp

by Anonymous on 22. March 2010 - 12:16  (46000)

I know that Tor is recommended with Firefox. But if a user loads anonymouse as the home page would this be a good substitute for Tor?

Thanks

by Anonymous on 20. March 2010 - 2:55  (45851)

How do I establish Tor in portable Firefox?

Thanks

by ianjrichards on 20. March 2010 - 4:01  (45856)

The easiest way is to use the free Xerobank browser which is Firefox with Tor built in. OperaTor is good too. See here for more details:

http://www.techsupportalert.com/best-free-anonymous-surfing-service.htm

by Anonymous on 20. March 2010 - 12:25  (45875)

Hi,

Thanks for the response. I have downloaded Firefox portable edition. Can I not use this with TOR?

If I delete Firefox then download XERObank browser, will I be able to use it (Xerobank browser) as a general search browser, or is it limited in where it can browse and other limitations?

Thanks

by Anonymous on 20. March 2010 - 12:26  (45876)

Forgot to mention.

I am now going to read your suggested URL

by Anonymous on 11. March 2010 - 3:02  (45351)

How safe is this for on-line banking on a public pc?

Safekeys
Firefox.

Both on USB stick

Ps. should a free VPN be used? Is so, any recommendations?

by ianjrichards on 11. March 2010 - 5:14  (45355)

Most bank sites are https: so the connection is already encrypted and Tor is not technically required. However when it comes to banking an additional level of protection can only be regarded as a good thing.

Gizmo

by Anonymous on 11. March 2010 - 12:08  (45372)

If the public pc uses IE, is it better to have Firefox on a USB and use FF. If so, why is Firefox more secure than IE?

by ianjrichards on 14. March 2010 - 1:53  (45521)

It is better to use FF on a USB stick as you know it is a clean version of the browser. You cannot make the same statement about the copy of Internet Explorer on the public terminal. It could have a keylogger embedded and you would never know.

by Anonymous on 11. March 2010 - 12:10  (45375)

Is a free VPN a good idea. If so how can we trust them, and which one?

by anon_private on 4. March 2010 - 2:32  (44963)

If using a public pc running Windows and IE. Would the following be secure.

Bank uses https.

on a USB stick:
Firefox, running Tor.
SafeKeys.

Ps. Could I substitute Tor for an anonymous website, eg, Anonymouse.com, or even eliminate this step.

UK user

by ianjrichards on 8. March 2010 - 3:21  (45177)

This is a pretty secure setup provided you obscure your passwords using the recommended techniques and you make sure nobody is looking over your shoulder.

Gizmo

by Anonymous on 11. March 2010 - 3:04  (45352)

Is Tor really needed?

by Anonymous on 17. December 2009 - 12:11  (38876)

Apart from passwords, sometimes we download or copy some files on public PC, as deleting /shift-deleting the file is not safe and file is still recoverable. A best thing is to open binary files like pdf, jpg, doc or excel in notepad randomly delete some parts and save it.

This way file becomes unusable and does not open.
Make sure that when you open with its own program (eg. doc file with MS word) it gives errors, after this you can delete it.

-Forumking101

by Anonymous on 2. October 2009 - 17:36  (33787)

I just downloaded Neo safekeys, but can someone tell me the basics of how it works? When I type something into it, I do not know how to copy/paste or drag/drop my entered values to where I want to put them. Can someone help?

Doug

by Anonymous on 22. October 2009 - 4:02  (35211)

In order do drag-drop, this is the process:

highlight the password, click on the highlighted password and hold the left mouse button down, move the mouse (dragging) over the field (ie a password field in your web browser), then let go of the mouse.

The password should now have been transferred over.


There's a note to this in the SafeKeys forum, with a link to an explanation video on YouTube: http://www.youtube.com/watch?v=honY4H1f_z0

by Anonymous on 10. September 2009 - 20:59  (32503)

Thanks for the great article Gizmo! Two notes:

1) Re: using a non-visual indicator to avoid screen capture is good idea. I'll forward to developers. Screen scrapers are rare though, you are right.

2) Another option is to use the Dual Master Password feature. Take a look at item 7 in our manual: http://www.roboform.com/manual.html#passprotect

Essentially this allows you to provide a shorter version of the Master Password for limited access to RoboForm Data. It's great because it cannot be used to edit any data. Companies use it to provide 'read-only' access to employees but it can also be used when in a public setting like you suggest.

Keep up the good work and feel free to send any questions to s2davis (at) roboform [dot] com.

-Simon Davis
Marketing Manager/Siber Systems.

by porsche on 10. September 2009 - 19:43  (32496)

Hey, how about this? If you're going to carry around a flash drive with your roboform passwords on it, here's something else you can try. Create a simple text file on the flash drive. The file should consist of just a list of all printable characters, upper and lower case alpha's, numbers, special characters, everything that could be a valid password character. When you need to type a password, just open the file, and copy and paste, one letter at a time, using either the mouse or the keyboard. In between characters, jump to the start of the file so that screen capture programs will be unlikely to see what you're copying. Wouldn't this be much easier to use than the Vesik method? You can just type your password directly. All the keylogger will see is left click, right click, left click, left click, over and over again (or alternately, click, ctl-c, ctl-home, click, ctl-v, etc. What do you think?
- Paul

by Anonymous on 10. September 2009 - 15:45  (32483)

'"SncnGnls3Fp"... is actually "RoboForm2Go".'

Typo alert. Should be "SncnGnsl3Fp"

Great article, none the less. Thanks, Gizmo.

by Anonymous on 10. September 2009 - 13:07  (32472)

Thanks, Gizmo!

See you in Seattle some time,

Josh F

by Anonymous on 10. September 2009 - 6:55  (32445)

The security concern of a keylogger getting your master password is minor. If they get it, they must get all of your password files - not an easy task as Roboform does not use a single-database. They use multiple encrypted files. For the attacker to get all the files from your USB stick is extremely remote. They can have my master password as they don't have my 200+ Roboform files to use it with.

by Anonymous on 28. July 2009 - 15:21  (25882)

I don't get it - how does roboform, keyscramblers and all the rest of this manual or software-assisted password obfuscation prevent a spyware that captures and saves to a file HTTP POST headers from having all the passwords? (no matter if HTTPS or HTTP)

by Anonymous on 22. July 2009 - 11:09  (25561)

There is no 100% safe way to enter passwords from a public terminal. That's a fact.

Modern keyloggers can capture not only keyboard strokes but mouse clicks and the Windows Clipboard. They can also take screen shots of what you are doing. Keeping your confidential information from the prying eyes of the best of these sinister products is extremely difficult, perhaps impossible.

I am confident that you will change your opinion once you have tried Neo's SafeKeys 2008 (it's a huge improvement over the previous version). It defeats keyloggers, mouseloggers, screenloggers and pretty much everything. Give it a try.
It's one of those utilities you have gotta carry on your pen drive. I recently mentioned it in my blogpost on online security.

[Moderator's comment: Link to Neo's website deleted - rated unsafe by WOT]

by Anonymous on 10. September 2009 - 10:58  (32468)

[Moderator's comment: Link to Neo's website deleted - rated unsafe by WOT]

Are you referring to a link that was in the 7/22/09 post or the link in the review (which is still active)?

Thanks.

by Anonymous on 28. June 2009 - 1:17  (24438)

Another method of password obfuscation that has security benefits over those already mentioned here is found at http://www.defendingthekingdom.com/archives/vesik-method-revised.

by Anonymous on 28. June 2009 - 0:47  (24436)

Kyps.net is a free website that lets you log into websites on public computers without revealing your passwords to the public computer.