After reading several articles about keyloggers, this experimental project was born in an attempt to easily make a vm(or quickly rebuild) that can be used for any of the below:
- Secure browsing for entering private data such as user credentials or credit card information.
- Mounting secure truecrypt drives
- Loading password management tools (such as keepass, lastpass or 1password) to automatically enter private credentials
- Other tasks where keyloggers or a trusted clean system are desired.
- Disable clipboard sharing - If using a password management tool(such as keepass), disable clipboard sharing in virtualbox to protect any passwords autotyped by the tool from a keylogger watching the clipboard on the host OS.
- Use onscreen keyboard for secure information - Use a virtual onscreen keyboard (such as onboard in Ubuntu) to type any secure information such as credit card detail or passwords into the vm. The reason being that the any keylogger on the host OS will only detect mouse clicks instead of the actual data being entered.
To start/configure a default Ubuntu 12.04 system(first boot takes a bit longer as it pulls down the ~250 MB OS image):
vagrant up
To stop the default image anytime(from the host OS):
vagrant halt
To rebuild back to a trusted base image anytime type(should go faster as os image will already be present):
vagrant destroy vagrant up
To change the default OS simply go to the following site to find a pre-packaged vagrant box: http://www.vagrantbox.es/ then change the URL specified in the Vagrantfile. Any changes to the OS may also require changes to the provision script as well.
- Vagrant (v1.0.5 or higher)
- VirtualBox (v4.2.6 or higher)
This is provided as-is.
I've used the following posting to auto-add chrome extensions(see provision script for which extensions): http://serverfault.com/questions/354606/where-do-i-find-the-update-url-for-google-chrome-extensions
Should you want to modify, please feel free to fork and send a pull request.
MIT / Copyright (C) 2013 Chris Doughty cdoughty77@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.