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 , , , , , , , , , , , , , , | Comments Off on Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

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 , , , , , , , | Comments Off on Faster 'vagrant up' with apt/deb Package Proxy

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 , , , , , , , , , , , , , , , , , , , , , , , | Comments Off on Automaticaly Build Penetration Testing Environment – Kali, Metasploitable, Vagrant

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 , , , , , , , , , , , , | Comments Off on Tommi's 639 Puppet Slaves

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 , , , , , , , , , | Comments Off on Provision Multiple Virtual Puppet Slaves with Vagrant

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 , , , , , , , , , | Comments Off on Multiple Virtual Computers in Minutes – Vagrant Multimachine

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 , , , , , | Comments Off on From Empty Computer to Guest OS in 5 min – Install Vagrant and VirtualBox on Ubuntu 16.04.3 Live USB

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 , , , , , , | Comments Off on Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

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 , , , , , , , , | Comments Off on Fix Vagrant Locale Bug – Disable "AcceptEnv LANG LC_*" in sshd_config

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 , , , , , , | Comments Off on Install Ubuntu Virtual Machine in Minutes with Vagrant