Apr
12

Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft

vpn_analysis.jpgLast week on the freeware review, I wrote about the simplicity of packet sniffing and analyzing with Ethereal. I revealed how easy it was for anyone to tap sensitive data like login information, credit card numbers, social security number, and mission-critical emails traveling on the network. As promised, I will reveal how to actually prevent packet-sniffing software from reading your sensitive data.

As I previously explained, packet analysis passively listens into a network and then extracts the important data, which is usually in plaintext. The key to hampering packet analysis is encrypting that data sent on the network so that it is not read in plain text. The encrypted data that packet analyzers gather is pretty useless without an encryption key. While it is possible for crackers to obtain the key, encryption makes the process a lot longer (and sometimes nearly impossible). There are a couple common ways to do this.

 

Manual File or Email Encryption

While this is the simplest way to avoid data theft, in the long run, it can also be the most tedious. Basically, every email message and every attachment sent is encrypted with PGP (Pretty Good Privacy) algorithms.

Pros
  • Not Really Any
Cons
  • Both the sender and the receiver need to agree on the same encryption key and have the same special software to unlock the data.
  • This only works with data chunks like email and files. Regular web browsing and login information is still done in plaintext.

SSL (HTTPS)

On some websites like Yahoo! and eBay, there is a function that allows you to “securely” login. In the URL address bar, if you see “https” instead of “http,” you’re in good shape. But most of the time, this is only available in financial sites.

Pros
  • Streamlined so that you don’t even notice it is working
  • All modern browsers support it.
Cons
  • This usually only applies to the HTTP (port 80) protocol. This will not work with any other protocol like FTP, Instant Messaging, and Email.

Remote Computing

Usually, remote computing incorporates a layer of encryption. Remote computing includes programs that utilize the VNC (Virtual Network Computing) Protocol or the RDP (Remote Desktop Protocol).

Pros
  • You keep the actual files on a server. You never send the complete data over the public network.
Cons
  • This can become very slow
  • Requires a computer at home to be always on

VPN

Virtual Private Networking is my favorite and recommended method of obfuscating data theft. Basically, it creates an encrypted virtual network connection from your computer to your server. Pretend you connect to your VPN from a public network. All information that you access on the Internet is encrypted as it is sent to your home network first. There, the server decrypts that data then sends it across the Internet. Therefore, nobody in the public network can see what you are doing since it is all encrypted. VPN works sort of like a seamless proxy server.

Pros
  • Seamless integration with all programs
  • If coupled with any of the methods above, you achieve at least double encryption.
Cons
  • Your network download speed is capped by the upload speed of your home network gateway.
  • Requires a computer at home to be always on
  • Requires a bit of configuration

Windows XP PPTP VPN Setup

I regularly use the public networks at the library, school, hotels, and Starbucks. I’ve found that in the long run, the most convenient and secure method of packet sniffing circumvention is virtual private networking. It is really easy to set it up in Windows as well!

VPN Server
  1. vpn_create.jpgGo to “Network Connections” in the “Control Panel.”
  2. “Create a new connection” with the “Network Connection Wizard.”
  3. “Set up an advanced connection.”
  4. ‘”Accept Incoming Connections.”
  5. Skip “Devices for Incoming Connections.”
  6. “Allow virtual private connections.”
  7. vpn_users.jpgThen, select which accounts will be able to remotely connect to the VPN. On this step, I just create a specific account just for VPN with no privileges.
  8. For “Networking Software,” make sure that “Internet Protocol (TCP/IP)” is selected. I would also include “File and Printer Sharing for Microsoft Networks” but that’s just me.
  9. If the server is behind a firewall and/or router, port mapping/forwarding and port opening must be enabled. The Windows XP VPN software uses point-to-point-tunneling protocol. PPTP requires port 1723 and PPTP pass-through routing.
VPN Client
  1. vpn_wizard.jpgGo to “Network Connections” in the “Control Panel.”
  2. “Create a new connection” with the “Network Connection Wizard.”
  3. Select “Connect to my network at my workplace.”
  4. Select “Virtual Private Network connection.”
  5. “Do not dial the initial connection.”
  6. Input the IP address or host name of the server computer.
  7. “Do not use my smart card.”
  8. After you finish the wizard, double-click the new VPN connection.
  9. vpn_login.jpgEnter your username and password and connect.

Other Resources

If these directions don’t work out for you, check out these three more comprehensive resources. Imagine, one of them is actually from Microsoft!

Feel free you leave any comments or suggestions below!

del.icio.us:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft spurl:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft wists:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft simpy:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft newsvine:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft blinklist:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft furl:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft reddit:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft fark:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft blogmarks:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft Y!:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft smarking:Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft



Subscribe to hacker not cracker by Email

Related Articles

9 Responses to “Using Virtual Private Networking (VPN) to Avoid Packet Sniffing/Analysis and Data Theft”

  1. NAUDIT Says:

    HOLA QUISIERA SABER NAS SOBRE LA FUNCION DE VPN

  2. mike Says:

    Hi, i am a tech newbie, i want ot ask you that using vpn to access at-home computer as a server or it can be use to do works such as downloading, programming or installation…..thanks

  3. Paul Says:

    Why don’t you just use RDP? Or you could use RDP over SSH using OpenSSH on your home PC and putty on a usb key to establish the tunnel?

  4. Hackerdinme Says:

    hmmm i have no time para mag basa nitong topic na to…. iwould like to know kung alam nyo mang hack ng creditcard… at kung mag alam kayo message nyo ako sa email ko.

  5. Tim Says:

    Does Windows Vista Business (Server/Host side) even work with Windows XP Home edition (client)???? I have doen everything possible to try to get them to VPN….and nothing.

    Router is a Linksys WRT150N…has vPN passthru enabled and ncessary ports etc open. Wonder if the router won’t let it work..wonder iif Linksys screwed it up?

  6. Sniper7Kills Says:

    Tim-
    It may not be working due to your ISP blocking that port. For example Verizon DSL doesn’t want me to run a website from my house, so they block port 80. therefor if i really want a website i have to use a different port (maybe like 8000 :D ) It may be the same problem for you.

  7. John M. Długosz Says:

    You are saying that all Internet communications is sent through the home server first. But I didn’t see any option for that all-proxying behavior.

    What if I just want to access my home machine (or someone’s machine I’m administering) via a secure connection, specifically including file shares, and still have other Internet access behave normally?

  8. Blacklogic Says:

    You can use VPN Service

  9. lazio Says:

    what’s upppp!?

Leave a Reply

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 4 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a

 
Latest Post on Loading...: Please Wait...
admin admin
© 2006 and web design of Allan R. T. Barizo from [artisan] [⁄applications].
This site is best viewed with FF and at least 1024x768 resolution.