Posterous theme by Cory Watilo

Filed under: technology

Utilizing a VPN or SSH tunnel to secure your data on a public hotspot

Recently I had a client call me in a panic asking what to do about their hacked Yahoo account. Of course, the first thing anyone should do is CHANGE YOUR PASSWORD ASAP! Assuming the hacker hasn't already changed it and locked you out of your own account, changing the password puts you back in control. But without knowing how the hacker gained access, they may just hack it again.

After a short discussion we discovered that the trouble started when my client had connected their Android phone to a public hotspot to check email. This was done through an unsecure connection. No password was required to access the wifi connection, and no HTTPS was used to access the email.

A little history: Last year a programmer named Eric Butler released a program, for free download, designed to illustrate how easily the login information of users on public hotspots can be stolen. This program is widely available now. Many people have downloaded and tried it out it because they are curious about what it can do, or want to take measures to safeguard their data. But others are out to do harm or take advantage of having easy access to your facebook, twitter, yahoo, etc accounts.

See:
en.wikipedia.org/wiki/Firesheep
mashable.com/2010/10/28/firesheep-vpns

So I set out to find a way of easily and inexpensively protecting myself and anyone interested against identity theft. I like the convenience that public hotspots provide, so I still want to use them, but do so in a secure and easy to use way.

The method I chose is the tried and true do-it-yourself project. It was not easy, but the knowledge I gained in the process is invaluable. After a small investment in hardware (~$50) I now have a system in place that I can use indefinitely.

What are the general steps? Note, this is not intended to be a step by step guide. These are just some of the important discoveries I made. Contact me if you have questions.
  1. Purchase one of the routers on this list: http://tomatousb.org/doc:build-types 
    I chose the WRT54GL v1.1 since it's the one used in most online guides. Though there are nicer, newer, and faster routers with more internal flash memory.
  2. Flash the tomato firmware onto the router, replacing the stock firmware and adding the needed functionality for protecting our Internet traffic i.e. SSH and VPN. I chose the newer Victek firmware, but tomatousb will work too. http://victek.is-a-geek.com/tomato.html
  3. Next I connected the WAN port on my shiny new tomato router to one of the available LAN ports on my existing (EnGenius) router. Like many newer routers, the EnGenius has a feature for assigning DHCP reservations. It's nice because you can name your devices and prevent their IP address from changing. Then it's easier to setup port forwarding of necessary Internet traffic related to SSL and VPN tunnels.
  4. Then I utilized a cool little program called PuttyGen to generate the SSH key pairs using RSA 1024-bit encryption. I did this for each of my devices that I might want to connect to a public hotspot like my Android phone and my laptop. The public keys go into the tomato router and the private keys get assigned to the remote device. There's also a nice little conversion tool in PuttyGen to convert your private Putty key to the OpenSSH standard for use with Android phone apps like SSH Tunnel.
  5. For my laptop I used the plain Putty app. What's interesting is how it establishes the SSH tunnel using the port I chose to forward earlier from my EnGenius router to the tomato router for SSH traffic, but then also creates a "source port" for use by other programs on your computer like Firefox or Chrome. 127.0.0.1 and the source port are used in the proxy settings of the browsers to utilize this SSH tunnel that Putty has established.
  6. If all you care about is protecting your web browser traffic, an SSH tunnel is all that's needed. But for encrypting everything else that might communicate over the public hotspot, a VPN connection will handle that. I chose OpenVPN since it works well with the tomato firmware and is completely free. I followed this nice howto guide through the first seven bullets:
    http://www.openvpn.net/index.php/open-source/documentation/howto.html 
    After putting the proper key files into the tomato router and also each remote device, the VPN connection worked like a charm! It was a lot of fun to see it connect and work.
  7. On Android I found two nice apps called OpenVPN Installer and OpenVPN Settings that made it much easier to establish the VPN connection. Once I found the right tun.ko file to use for my Liquid Smooth ROM (version 3.2), and utilizing Android Terminal Emulator to create symlinks in two places, it worked! 
  8. Next I learned how to configure the OpenVPN connection on my laptop to use the SSH tunnel through Putty. HA! I'd like to see a would-be hacker try to steal my data now. :P

Weekly Guilt-free IT Maintenance

Regular maintenance for a better computer!

As always, I continue to assess and improve the maintenance process on my client's computers. There are three goals I've been working this past month to achieve:

  1. Transfer some maintenance tasks to the middle of the night to reduce maintenance duration at peak usage times (evenings). I'm paying some money for each of my client's computers to automate certain weekly maintenance tasks. It's pretty cool stuff! :)
  2. Provide the computers with the maintenance they need at the frequency that is best for reliability and performance. Some tasks are best performed monthly with my hands and eyes, while others are best performed weekly and can be automated. So there are really two frequencies. Before now, I didn't have the capability to do this.
  3. Provide better reporting about maintenance tasks, their status, and any problems identified.

As a technology consultant / IT support professional / computer enthusiast, I'm always looking for ways to utilize technology to improve processes. Efficiency AND improved quality are usually the result.

I can't wait to see how our lives are improved by technology in the future. Hopefully the Terminator version of our future won't happen. But I know one thing for sure, there's no stopping the advancement of information technology.

Dutch PlantLab Revolutionizes Farming: No Sunlight, No Windows, Less Water, Better Food | Singularity Hub

This is really so amazing! If I had millions to invest in this I would. I like the idea of bringing the crops into the cities with vertical farms. Less transportation costs, fresher produce, better control over resource utilization, controlled environments for optimal plant growth and no pesticides. Could even put the grocery store in the same building! These are huge advantages to traditional farming.

If the electrical needs can be met through renewable sources like wind and solar, well then, this endeavor starts to look more and more like the farm of the future. If it weren't for replicators, I'm sure they'd be doing this on Star Trek.

Grow a new eye by Tanya Marie Vlach — Kickstarter

I hope she gets her new eye! Click the via link below to read about her incredible goal. Maybe it won't be long until artificial eyes become commonplace, allowing the blind to see...maybe even better than real eyes? It would be great if she could move the artificial eye around and have the pupil dilate like a real pupil would with changes in the amount of light. I imagine zooming in and out would also be possible, and seeing outside the visible light spectrum like infrared or ultraviolet.

The question is: if it's possible, should we do it? I imagine soldiers on a battle field or disabled people will be the first to adopt such bio-enhancing technologies. What it is to be human may soon have a more broad definition.

Media_httptanyavlachf_fgxnp
Transhumanism, often abbreviated as H+ or h+, is an international intellectual and cultural movement that affirms the possibility and desirability of fundamentally transforming the human condition by developing and making widely available technologies to eliminate aging and to greatly enhance human intellectual, physical, and psychological capacities. -wikipedia.org

‪Guitar Oscillations Captured with iPhone 4‬‏

This is really cool!

What we're seeing is not actually how the strings look, obviously. It's caused by the rolling shutter effect, which is when a digital camera scans across the frame either horizontally or vertically rather than capturing the entire frame at once. So parts of the frame have to play catch up, and we're left with guitar strings making crazy waves and shapes. Awesome!
via dvice

10,000 Year Clock Begins Construction Thanks to $42 Million from Amazon’s CEO | Singularity Hub

This is a great project! I'm glad to see it moving forward. I first heard about it from a TED talk that I quickly favorited. I hope to see more projects like this that leave a lasting legacy of our time for future generations.

Media_httpsingularity_cfgyc

It is also of great benefit for us now by allowing visitors to think about time on a longer scale. For me, it has a calming effect when I think about people, aliens, or sentient technology 10,000 years from now imagining what life was like in my lifetime. It's an exciting time to be alive!