Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

Use “PCnet-Fast III” network adapter in VirtualBox to prevent guest-to-host attack. MorteNoir1 published a guest-to-host escape from Virtualbox as a zero day attack. He named it virtualbox_e1000_0day. It seems that you can easily protect against the attack by using a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Faster 'vagrant up' with apt/deb Package Proxy

Create virtual machines faster by caching deb packages. Use squid-deb-proxy on host OS, then add an apt.conf.d/ config file to make guest OS apt-get use your proxy. Following these notes requires fluency with command line, sudo, daemons and vagrant.

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Automaticaly Build Penetration Testing Environment – Kali, Metasploitable, Vagrant

My student Toni Jääskeläinen developed a PenTest environment that can be set up automatically. Based on my idea, it’s distributed as a single Vagrantfile. Using pentest tools requires special care and skill, as even mistakes with some of these tools … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Tommi's 639 Puppet Slaves

My student Tommi tested Puppet with 639 slaves. Tommi is running some 20 physical computers with about 30 virtual computers each. Tatu has 263 slaves – on a single physical machine with a huge swap file. Who will get 640 … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

Provision Multiple Virtual Puppet Slaves with Vagrant

For testing, it’s convenient to provision many virtual slave computers to your master. This Vagrant file installs two virtual computers and automatically configures them as slaves to a puppetmaster in a predefined IP address. Advanced stuff warning: Using this sample … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Multiple Virtual Computers in Minutes – Vagrant Multimachine

You can install multiple virtual computers in minutes. This example shows how to install two Ubuntu 16.04 virtual machines and configure SSH – in a couple minutes.

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

From Empty Computer to Guest OS in 5 min – Install Vagrant and VirtualBox on Ubuntu 16.04.3 Live USB

With VirtualBox, you can run guest operating systems – Linux, Windows, OSX – under Linux. Vagrant makes it easy to create a new headless guest system and connect to it with SSH. It’s very fast: less than five minutes to … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Vagrant can install a virtual guest system in two minutes. Vagrant also configures guest SSH server automatically. To use latest Ubuntu 16.04 LTS Xenial, you should use box bento/ubuntu-16.04. $ vagrant init bento/ubuntu-16.04 $ vagrant up $ vagrant ssh That’s … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Fix Vagrant Locale Bug – Disable "AcceptEnv LANG LC_*" in sshd_config

Vagrant makes it very easy to provision virtual machines for testing. Incorrect locales are a common problem with some boxes. For example, PostgreSQL ‘createuser’ migth complain about locales, but only when used over ‘vagrant ssh’.

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Install Ubuntu Virtual Machine in Minutes with Vagrant

In two minutes, you could have an SSH connection to your new virtual Ubuntu server. Vagrant allows you to define your virtual host in a simple text file. It can then automatically install your new virtual machine and setup automatic … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment