Ubuntu 14.04 / 15.04, PIA VPN Beta, Chrome & WiFi Penetration Testing

By | 08/08/2015

Purpose

I keep a VM of Ubuntu installed for when I need some extra power that I can’t get in anything other than Linux. My flavour of choice is Ubuntu because of the amount of great packages, documentation and forums available. This tutorial is using Ubuntu Desktop 15.04 x64. If you’re using something else, YMMV.

This setup is intended to provide me with an OS that I can use for work and occasional WiFi penetration testing. If you’re looking for a dedicated penetration testing distro, I recommend and have used Kali Linux.

Please note that this document is currently being worked on and this line will be deleted when I consider it good enough for general use. If you have any corrections or comment, please feel free.

Setting Up

I will be installing this as a VMWare Virtual Machine. The settings you use for your VM really depends on your host machine and preferences. At this time I’m giving mine

  • 2 CPU cores
  • 2Gb RAM
  • 40 Gb HDD
  • Bridged networking set to Auto-Detect

The rest of the options are set to the defaults and I’m also using the Easy Install options in VMWare so the install will just happen.

Once setup has finished, open up a terminal and type:

$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo reboot

Start the VMWare Tools installation from VMWare Workstation / Fusion

$ sudo apt-get --purge remove open-vm-tools
$ cd /media/`whoami`/VMware\ Tools
$ sudo cp VMwareTools-*.tar.gz /usr/local/src/
$ cd /usr/local/src
$ sudo tar xvzf VMwareTools-*.tar.gz 
$ cd vmware-tools-distrib/
$ sudo ./vmware-install.pl
$ reboot

Follow the on-screen prompts to complete the installation of the VMWare Tools.

Private Internet Access VPN Client Beta

I use Private Internet Access because it has great client support, it’s anonymous, it’s fast and it’s not expensive. The PIA beta client for Linux can be installed by:

There are a couple of required libraries that have been removed from 15.04
$ wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/7110687/+files/libgcrypt11_1.5.4-2ubuntu1.1_amd64.deb
$ wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gnutls26/libgnutls26_2.12.23-15ubuntu2_amd64.deb
$ sudo apt-get install libappindicator1 libindicator7
$ sudo dpkg -i libgcrypt11_1.5.4-2ubuntu1.1_amd64.deb
$ sudo dpkg -i libgnutls26_2.12.23-15ubuntu2_amd64.deb

$ wget https://www.privateinternetaccess.com/installer/installer_linux.tar.gz
$ tar xvzf installer_linux.tar.gz 
$ ./installer_linux.sh

The Private Internet Access client will now start and you can configure it with your username, password and preferences.

Google Chrome

I’m a big time Google Apps user so this one suits how I like to work. Begin by downloading the appropriate package from https://www.google.com/chrome/#eula. For this install I downloaded 64 bit .deb (For Debian/Ubuntu).

After downloading, open a terminal and navigate to where Chrome was saved to. Type:

$ cd ~/Downloads/
$ sudo apt-get install libappindicator1 libindicator7
$ sudo dpkg -i google-chrome-stable_current_amd64.deb

WiFi Penetration Testing Tools

Install

$ wget http://mirrors.kernel.org/ubuntu/pool/universe/m/macchanger/macchanger_1.7.0-5.3_amd64.deb
$ sudo dpkg -i macchanger_1.7.0-5.3_amd64.deb
$ sudo apt-get install aircrack-ng
$ sudo apt-get install reaver 
$ sudo apt-get install wireshark
$ sudo apt-get install wifite
$ sudo apt-get install nmap
$ sudo add-apt-repository ppa:wseverin/ppa
$ sudo apt-get update
$ sudo apt-get install linssid

Media

$ sudo apt-get install ubuntu-restricted-extras
$ sudo apt-get install vlc

Themes

$ sudo add-apt-repository ppa:noobslab/themes
$ sudo apt-get update
$ sudo apt-get install ambiance-crunchy

Other Tools

$ sudo apt-get install htop
$ sudo apt-get install indicator-multiload
$ sudo apt-get install unity-tweak-tool
$ sudo apt-get install p7zip-rar p7zip-full unace unrar zip unzip sharutils rar uudeview mpack arj cabextract file-roller
$ sudo apt-get install gufw

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.