The Idiot-Proof Way To Securely Use Public Wi-Fi
We talk a lot on this blog about personal data and privacy, but not so much about how to secure that data on your own computer. That's because a.) we're not Lifehacker and b.) the solutions frequently bloat into crazy, jargon-filled recipes that scare away the non-IT crowd. Not this time! For all you novices, here is a single idea you should consider that will help keep your personal data personal, and make your identity that much harder to steal.
Install a VPN program and run it every time you go online using a public Wi-Fi hotspot.
Using a public Wi-Fi spot without a VPN is like shouting everything across the room in plain English—anyone who wants to listen in, can. Using a VPN is more like shouting in a made-up language that only you and your twin sibling understand. A VPN will encrypt anything you send from your laptop to the Wi-Fi router, so that nobody else in the coffee shop, student center, or hotel can see what you're doing.
If you work for a large company, odds are your IT department has already got you using a VPN when you're traveling or working away from the office. If you're everyone else—a freelancer, a student, a small business owner with one or two computers and no real "back-end" system—then many of those VPN solutions are out of your reach. Either they're too complicated to set up without computer skillz or they're too expensive.
Luckily, there are cheap VPN programs you can install on your laptop that are more or less self-contained: you install the app, then launch it when you log on to a Wi-Fi network, and everything you do online from that point forward will be encrypted. There's also a hardware-based solution—a USB drive that you can plug into any computer for a quick VPN environment.
A couple of things to note:
- When the website you're on uses https, your data is already encrypted. For some Google-based services (like Gmail and Google Docs), you'll be using https automatically or you can add the "s" yourself to force the encryption. But not every site offers this extra security.
- These VPN programs are not the end-all in security solutions. If you're really serious about security, don't get your advice from this blog. Find a skilled computer security technician to help you set up an awesome home-based VPN solution (where you route all your laptop traffic through a home network remotely), or teach yourself how to do it with freeware and your router.
So with those caveats, here are some options you can consider. The first two programs listed below install the same as any other app, but I haven't tested the other three. If you've tried any of these and can share an opinion, please join in the comments below.
AnchorFree's Hotspot Shield
Free, but ad-supported. While browsing, you'll see ads appear occasionally at the top of the browser window. It's great if you infrequently need it, but annoying if you find yourself in a Starbucks once a week.
Witopia's PersonalVPN
$40 per year
HotSpotVPN
$9 per month (listed as a temporary price reduction as of October 2008)
iPig
Free with a 10MB cap / $30 for 30GB of data transfer
PublicVPN
$70 per year, or $7 per month
About that hardware solution: IronKey is a USB flash drive that offers a few extra features you can't get with the software above. It encrypts any files you store on it, and it comes with its own VPN software that runs automatically when you plug it into a Windows PC. It comes with the Firefox browser included, so you can surf the web through the IronKey no matter what PC you're using. It costs $80 for a 1 GB drive with a 1-year VPN subscription.
And finally, Consumerist reader Ein2015, who provided an invaluable service by vetting this article before I posted it, pointed out that there's an awesome open source VPN solution called OpenVPN. It's cross-platform and free, so if you're feeling techy and want to set up your own virtual private network using your home computers, you might check it out.
(Many, many thanks to Ein2015!)
(Photo: Getty Images and stevecadman)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam malesuada commodo erat et molestie. Duis pellentesque aliquam bibendum. Suspendisse venenatis lobortis eleifend. Mauris id est sed lectus convallis aliquam.
Post a comment
Comments:
What an awesome idea!
Sadly, I turn off my router when I'm not home, so this isn't a viable solution. I can't shell out the funds for an Ironkey either. My solution is to not keep any personal information on my laptop, and to not sign-on to vital services (financial websites, email to a lesser extent) while surfing in the public view. As for files? One of my goals is to start experimenting with TrueCrypt.
@steegness: You just sent a lot people to wikipedia on that comment. It does amaze me how clueless people are when using public wifi, leaving shared folders open to anyone.
@mariospants: That was my exact thought, though I don't live in an urban area/hang out in coffee shops. When I use my personal laptop in airports or any other free wi-fi area I dont access anything I wouldnt want tracked, and I don't keep personal account info saved on a comp I carry around with me.
@mercnet: The same people would've gone there for "VPN" without the explanation of the article; it doesn't mean that it's necessarily a difficult concept to grasp, convey, or implement (though it very well may be... hence my wondering about the level of SSH versus the level of the article).
There really is no safe way to do this. Your system makes all sorts of asynchronous requests using unsafe protocols that can be spoofed.
For example, 100% of apple macs with dashboard widgets make periodic or on-demand connections over http-on-plain-tcp (not https, not ssh tunnelable, ...) requests to joe random server.
The dashboard widgets are really safari, javascript and all, so a local host that chooses to spoof the response faster than the actual server is subject to a javascript payload attack (through no user action). Yahoo widgets for Windows and google desktop widgets have similar issues.
The ___only___ easy to manage, safe way to access a public hotspot of any kind is to use a VPN client and immediately connect to the VPN. The downside is that almost no vpn client, including Cisco's, does the right thing and installs a 100% drop policy for non-VPNed packets prior to establishing the tunnel. Part of this is that there is no good way to do it; most hotspots require some sort of host spoofing http-to-https redirect to get you to the hotspot authentication page. While this is happening, if you get unlucky, you are fucked.
Pretty much all network communication at this point should use SSL with certificate validation (and proper enforcement for any autonomous agent, including things like th dashboard widgets, email, ...). No one should ever use pop-on-plain-tcp again, no plain http, etc. Ever.
But this isn't practical, so "hurry up and get on the vpn" is about as close as you can get. Running vpnless or attempting to craft hyour own via ssh is hopelessly naive.
@mariospants: That may be true for many, but your computer does a lot of stuff on your behalf that you might not realize is passing your personal information unprotected. What about your IM client? They're not necessarily encrypted. An email client could be sending your username and password in the clear. Simply visiting the homepage of a site with stored credentials is enough for someone to steal your unique cookies and reproduce your session data to access that site.
"Professional" versions of Windows (Win XP Pro, etc) have VPN support built in as well: in XP it's configured as an "Incoming" network connection. You will need to configure your firewall or router to forward the appropriate ports, but that's a good solution for single users. Then your traffic goes through your home computer connection.
VPNs account for nothing if you have no idea who you are connected to. If you have you laptop to automatically connect to networks it has connected to before you can be herded like cattle.
If you don't look at your SSL certificate closely you can have your username and password stolen easily.
Just because it says SSL or [] does not mean it is secure in any way.
Remember that just because a network is open doesnt mean that its fair game. Who knows who is on the other end, it could be me.
@steegness: I think the rule-of-thumb should be: if the solution can be downloaded and installed like any other program, with few if any special skills needed—"install it, launch it, and it just runs"—then it's a viable option.
This post is geared toward people who don't know what VPN or SSH means, who don't want to know, and who won't or can't bother with anything more complicated than the sort of installation they're already used to.
The great podcast Security Now! discussed this topic way back in episode #19. The basic technology of how VPNs work was explained in episodes 14, 15, and 17. Get them all here:
http://www.grc.com/securitynow.htm
I personally use Hamachi to secure my VNC and RDP traffic and a VPN account with SwissVPN for when I'm in hostile territory.
@mariospants: It is true, in the same way that you cannot be injured in any way (outside the potential vulnerability related to specific tissues and organs).
A machine with no applications has no attack surface... it's also about as useful as glowing stone tablet except with limited battery life. The point of hooking it up to a network is to use an application to reach out across it. In fact, the software used to implement network connectivity is, in fact, a kind of application in and of itself.
Security is always a balance of usability and protection.
@mariospants: Being on a shared wireless network doesn't introduce or remove any vulnerabilities that didn't exist on "shared-segment" networks (like Ethernet back when hubs were common).
However, any intruder who's around can send packets to your computer, and if your OS (*ahem*Windows*ahem) or some program running on your computer handles them incorrectly, then there could be problems.
Generally, turn off any servers that you don't need for a particular reason; on Windows, the only server you'd need on most laptops is file sharing, and it's a good idea to turn it off when you're not using it. Also, Windows computers should use a software firewall to add one more level of protection against your OS's doing something stupid when an unexpected packet comes in.
@post_break: Well, I hope whoever I'm connecting to right now likes burritos because that's what they're getting.
I was at the airport and found a dummy system phishing for information. There were at least a dozen people connected to it. It was posed as a fake airport router. I connected and did some "investigating" and the person shut down the connection. Not sure who it was or what information they got from users but this was at a major airport in the terminal.
No connection is secure unless it offers a certificate authenticating who you are actually connecting to. Sad part is, anyone can spoof that and you are never actually secure. The only way to be safe is to check with the people who work there and find out which connection is legit. The danger on a public network is minimal, it's a little harder to get your data. They like you to connect directly to them as though they are a router.
@mariospants: also, most of the web-traffic that you send can be captured by a 3rd party. so while running a firewall might prevent them from accessing the files on your laptop the data you send over the web (that's not https) will be vulnerable.
@courtarro: I disabled my IM client as soon as it installed itself without my permission and my advice still stands, right? I recommend NOT entering anything with a username and password and avoiding online shopping.
@putch: Well and great advice, but I'm already running a firewall, not accessing sites that require personal information and Windows + dlls and apps that require access to the Internet are either updated to latest or disabled (i.e. no IM). So, can anybody access my system via Wifi or not?
@blackmage439: All the software suggestions listed above don't require anything running back at home. They encrypt your data through a remote server elsewhere.
This is why I wrote they weren't really an end-all in privacy, because technically you're letting another party deal with encrypting your traffic. But it's better than nothing.
@steegness: SSH tunneling is fine, as long as you trust what's on the other end.
For example, I use SSH to connect to my linux box. All traffic between me and the linux box is encrypted. If you trust linux box's connection (for example: it could be at your house or at a secured hosting environment), and you have a *nix laptop, you should be able to use X-forwarding... so you can run Firefox on that linux box and see the results on your screen... totally encrypted between the two.
If you have windows, X-forwarding is a bit more difficult to do and may cost money... but anybody who is interested should send me a message and I'll see what information I can provide. :)
If I remember correctly, you should be able to remote desktop through SSH as well, regardless of operating systems. I can look for more information on this as well if necessary.
Hope this helps!
If you're at all network-savvy, it's pretty easy to set up m0n0wall (or any other software firewall package, like IPCop, PFsense, etc) on an old computer at home, set it up as a VPN endpoint, and use it at will. You can run it on that old computer you stuck in the closet years ago (you know, the one you really intended to donate to a school but never got around to it) just by throwing in another $10 network card.
This is my favorite solution to this particular problem, and I've been doing this for years at home. It's obviously more difficult to set up than a paid service, and it is theoretically possible your ISP might get annoyed about it depending on how aggressively they interpret their TOS (this is largely just for fair warning in my experience, but it is possible.)
@blackmage439: TrueCrypt is pretty decent at protecting your laptop's files... however, if you're traveling overseas and don't want US Customs taking a copy of everything on your laptop (including asking you for the key to unlock the TrueCrypt volume), you might want to invest in the IronKey. I have one and I can tell you that it is absolutely fantastic!
Don't forget that TrueCrypt will not encrypt your traffic, just your hard drive.
@segamanxero: It does, but you still need somewhere to connect to. I VPN into work all the time.
If you need help setting it up, reply here and I'll be happy to walk you through it. :)
@mariospants: You're probably safe against WiFi intrusion attacks... however, the biggest issue is that ALL of your wireless traffic is sniffable, in plaintext (unless encrypted via SSH, VPN, https, etc), without you knowing. Hence the article... :)
@narq: Even if somebody is sniffing or setting up fake connections, the first thing should be to test for internet access... (can you see Google? great!)... after that, before you do ANYTHING else, encrypt all your traffic (ex: through a VPN or SSH), then you're fine and all they sniff off you is encrypted. :)
@putch: I believe you can just use port forwarding on your router for that. A google search for "port forwarding [router model]" should provide you with all you need for that.
This should also be helpful for everybody... with pictures! :D [forums.bit-tech.net]
@mariospants: The average computer user doesn't think about using different passwords for different websites, much less asks themselves if logging into IM will safely send across a username/password or not.
The article is targeted to error on the side of caution.
@mavrc: That's probably more effort than most people want to go through. There are many guides online for setting up such a thing... on any operating system... in case anybody really wants to do that.
With that said, there are a LOT of good uses for old computers... VPN, storage, web server, media center, etc! :)
@Ein2015: I have actually done something similar, using SSH to get around a silly restrictive internet connection.
However, instead of forwarding the whole Firefox window over a remote X session, I set up a proxy on the remote computer, and used that.
If you trust the local computer, then it would be faster to only use a proxy and keep the browser running locally.
I use VPN every day to access my work server. Note that many free/public wifi connections do not allow VPN clients. I'm unable to connect at many public libraries, cafes, public outdoor wifi areas, etc. I have gone through the situation with our systems administrator, since I'm not a techie, and there's no way around most of them. It stick to the locations that do allow my VPN client.
@Real Cheese Flavor: Depends on the setup. From my experience, depending on the client-side software... ALL traffic is encrypted and sent through the work server (and then off towards the rest of the world or to the internal work servers)... or only work traffic is even sent to the work VPN and the rest of the traffic is sent through whatever connection you're on and never even makes it to the work network.
Hope that makes sense. :)
@Real Cheese Flavor: That's typically a configurable policy. My employer, for example, configures vpn to force ALL traffic through the tunnel, (for example, I can't print to my networked printer in my house while I'm on the VPN.) I would think that any company that didn't enforce that kind of full-tunneling config would probably also leave the VPN config open to a local admin on the notebook, so you could set it to tunnel-all.
@Ein2015: It's just that I hear so much about wireless security "issues" and aside from the sniffing aspect the vulnerabilities exist equally if you're on a wireless network or just surfing from home on a cable modem. In other words - if you keep it simple - nothing to freak out about.
@Ein2015:When I was running 10.3 or so (it's been a few years), I had trouble with OS X's built-in VPN connectivity when trying to connect to my university. I eventually talked to a tech who said their VPN concentrator "doesn't support" the mac client. What the heck does that mean? L2TP is L2TP, but I digress...
@narq: I spotted someone doing this in the Mexico City airport as well. He was connected to the free wireless for Prodigy customers there and was using another wifi card to offer free internet to anyone else. All of the traffic was passing through his laptop, and when he realized I was on to him he shut his laptop and left (and the connection disappeared).
@emilayohead: Is it a WEP code? Probably is... but when in doubt, error on the side of caution. WEP keys are easy for sniffers to crack and listen to your traffic... so protect yourself.
WPA and especially WPA2 better security... but hotels usually don't use that because it's easier to just have WEP.












Would SSH tunnelling be a viable option? Or is that too tech-y for this overview?