installing virtual box for running “yersinia”

Hello eveybody!
In this section I am going to show you how to use yersinia in combination with a windows pc.
Yersinia is a tool that gives you the ability to use some weaknesses of cisco equipment and so to test it for security reasons.
As yersinia runs on linux I will begin with installing “virtual box”. You can also use VMware player or even a dedicated hardware appliance/PC.

First go to https://www.virtualbox.org and download the install file for windows. When that is done begin to install it. Here is a step by step tutorial how to install virtual box and add a linux machine.

Next.

Choose a full installation.

Next.

Yes.

Install it.

Then it is going to copy the files and install VB.

Start it.

So here is the GUI of virtual box. We now need to add a virtual machine. Click “New”.

The Wizard comes up. Next.

Choose a name for your virtual machine or the purpose you want it to run and choose the OS type (which OS andwhat version of it you want to run)

Here you can set the memory. Be aware of setting the RAM to a very high value can slow down your Host machine e.g. if you only have 1GB of ramyou definitely should not give 1024MB to the virtual machine. This wont be good. In my case I have my personal laptop that I use for travelling with 2GB of RAM (will be 4GB when I switch from XP to Win7) and I will allocate 512M of ram here.

Then we have to allocate HDD space for the virtual machine. This space will serve the virtual machine with hard-disk space. Next.

Choose VirtualBox Disk image.

Then you can set the HDD space dynamically but this is dangerous if you dont have much space left on your Hosts HDD. I set it to fixed.

Allocate 8GB of your hosts HDD to the guest system.

Here you can check your settings again and create the machine.

This will take a while depending on the speed of your host system.

When the HDD space has been reserved the virtual machine can be created. Hit “create”.

Once the virtual machine has been created you can see the summary of your machine in the control panel.

Right klick on the vm and choose “settings”. We now need to set the ISO image for the guest system. Of course you can also put a CD into your drive or boot from network. I chose the option of a .ISO file of Ubuntu 11.10 as my laptop doesnt have a DVD drive :).

Go to “storage”, submenu of “IDE controller” and click on the CDROM symbol next to the “CD/DVD Drive” dropdown menu.

Locate to your ISO file (here I downloaded the 32bit Version of ubuntu first from the ubuntu page, just google for it you will find any distribution you need when using linux)

The CD-ROM should turn into the ISO image.
Hit ok and press “Start” in the control panel.

The machine is going to start up.

One it has started you should see it working like a normal pc/server.

My cpu usage during startup is quite high but this is the normal behavior.

Then you can install ubuntu to the allocated HDD.

NOTE:
What is very important to get familiar with the mouse cursor behaviour of virtual box you definitely should read the DOC of virtual box. This can be found here:
https://www.virtualbox.org/wiki/End-user_documentation

To see how to install ubuntu and use it with dynamips. Check out my categories: How to build a CCIE Rack -> Part 2b.

Thanks for reading!
Regards!

Advertisements

About markus.wirth

Living near Limburg in Germany, working as a Network Engineer around Frankfurt am Main.
This entry was posted in Misc, Yersinia and tagged , , , , , , , , . Bookmark the permalink.

5 Responses to installing virtual box for running “yersinia”

  1. ds says:

    Nice graphical walkthrough for the setup routine of VirtualBox. 😉
    Do you plan a 2nd part to include some Yersinia-specific experience?

  2. sdfsdf says:

    6 monts later…

  3. and I still dont have the time for it…right!

  4. Rajat.B says:

    22 months later…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s