How to Install BackTrack 5 R3 on Hyper-V 3.0 – Windows Server 2012 and Window 8

Reader: Don’t have enough time for reading! Show me the steps.
Blogger: Goto [Install Process] section

Hi there folks,

every single pentester or ethical hacker requires a full set of security and hacking tools for their daily job, on this regard some Linux distributions such as BackTrack and BackBox provide a free of charge 360º capability for BlackBox/Whitebox testing, security auditing, compliance validation and many other security criterias.

BackTrack became very popular for those folks that are stepping into the 5 stages of Ethical Hacking (Footprint/Reconnaisance, Scanning, Gaining access, Maintaining access and Covering tracks).

Many Pentesters will opt to run BackTrack on a Virtual Machine for a flexibility workstyle and to support that on a Windows platform you have 3 Virtualization technologies:

-Oracle VirtualBox
-Microsoft Hyper-v

You will be able to find some Wikis on the Official Backtrack website about how to install a BackTrack VM on VMWare and Virtualbox:

BackTrack VirtualBox Install

Install VMware Backtrack5

Even though you will struggle trying to find the proper way to install BackTrack on Hyper-V, so here we go. Sorriso rasgado

I will not dive into how to install the Hyper-V role on your Windows machine, which is supported on Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 and Windows 8. I’m leaving behind Windows Server 2008 and 2008 R2 and emphasizing Hyper-V 3.0 of Windows Server 2012 and Windows 8. If you still ask yourself why Hyper-V 3.0 and why to break through the traditional virtualization paradigm, let me be quite clear about this. Hyper-v 3.0 is the most capable, scalable and secure Hypervisor on the market, take a look for yourself.

Hyper-V Comparison – Windows Server 2008 R2 vs Windows Server 2012

Comparison Windows Server 2012 Hyper-V and VMware 5.0

[Install process]

1. Install the Hyper-V role on your machine, follow these links if you are not familiar yet with the process:

Windows Server 2008 R2 Hyper-V Getting Started Guide

Windows Server 2012 Install the Hyper-V Role and Configure a Virtual Machine

2. Go to the BackTrack website Download section and download the BackTrack ISO file. I prefer GNOME so this Wizard is focused on this distribution installation instruction.

Backtrack 5 R3 Download section:

3. Open the Hyper-V Manager to Create a Virtual Switch for your Virtual environment Network

On the right pane Click “Virtual Switch Manager”

Create an “Internal” or “External” Virtual Switch depending on your network needs

3. On the Hyper-V Manager create a new Virtual Machine and Virtual Hard Disk:

On the right pane Click “New” –>Virtual Machine

On the New Virtual Machine Wizard –> Next

Define the Machine Machine Name and the location of the Virtual Machine configuration files

Set the Memory size “2048” MB (depending on your needs, this is my setup memory)

Select your Internal or External Virtual Switch Network created on Step 3.

Create a Virtual Hard Disk (default: differential) with 30GB (depending on your needs)

Select “Install Operating System from a Boot CD/DVD” and Select the “image file (ISO)” downloaded on Step 2.

Review the VM configuration ao click “Finish” to complete the VM setup.

4. Start the BackTrack Virtual Machine into the default option as shown in the pic


5. After initial boot type “startx” (without quotation marks) to load GNOME graphic mode.


6. Double-click on “Install Backtrack” to start the Backtrack installation.

During the setup select the Install Language, region and keyboard settings and you can leave everything else with the default settings, the required partitions will be setup for you automatically.


Wait a few minutes and when finished click on “Restart” button.

7. After reboot you will be prompt for credentials, type the following:

User: root
Pass: toor

8. Now we need to force the load of the VM modules during boot loading, for that we will use the text editor “nano” to edit the “modules” file:

sudo nano /etc/initramfs-tools/modules

On the modules configuration file after the last line append the following entries:


Now press the Keys “Control”+”X” to exit, when prompted for file saving type “Y” and Press “ENTER” to confirm the same file name “modules”.

See the pic below as an example of modules configuration:


9. Force the modules update

sudo update-initramfs -u

10. Now restart the VM with the following command:

Shutdown –r 0

After the reboot all the VM modules are loaded and you will be able to use the Network and Store drivers on Hyper-V.


1. Define a new password


2. Configure static network settings:

ifconfig (to verify which network interface is available, possibly “eth0”)

sudo nano /etc/network/interfaces

On the appropriate interface line (e.g. confirmed in ifconfig “eth0”) edit and append as follow:

auto eth0
iface eth0 inet static


3 . Configure the DNS resolver

sudo nano /etc/resolv.conf

On the resolv.conf file insert the following entry:

nameserver (IP of your nameserver)

4. Reload the new network configuration by restarting the network daemon

sudo /etc/init.d/networking restart

You can now enjoy BackTrack 5 R3 running on Windows Server 2012 and Windows 8 with no network issues. Piscar de olho

R-Tape Loading error,
Luís Rato


~ por Luis Rato em 27 de Abril de 2013.

8 Respostas to “How to Install BackTrack 5 R3 on Hyper-V 3.0 – Windows Server 2012 and Window 8”

  1. […] Reference:… […]

  2. Hi,
    when i type the sudo /etc/resolv.conf it say ‘command is not founded!…Please help for network connection:)

  3. Hi there anka, thank you for pointing out the issue, I forgot to add the text editor to the Shell, for this example I am using nano, so the right command should be:

    sudo nano /etc/resolv.conf

    That should work now and I already changed the original post.

    Thank you,

  4. Hello,

    ” sudo /etc/init.d/networking restart” command faild!… any help?…

    • Hi anka,

      try this one:
      sudo service networking stop && sudo service networking start


    • Just an additional note, are you using the default Backtrack user account or you did created a new user account with non-Admin priveliges?

      If you have a new non-admin account there are some further steps to accomplish but anyway, need to know if that’s the case.

  5. Hi there
    I can’t download backtrack 5 from this site you have linked in you’re tut
    help me why ?
    and you’re mind what is best to learning :
    1- Kali linux
    2-backtrack 5
    please help

    • Hi Rahan,

      at the time of this post Backtrack Linux was the Pentest distro from Offensive Security, on the download section there’s a disclaimer “BackTrack 5 is OUTDATED and no longer supported – Downloads have been discontinued”.

      Means that you need to move to Kali Linux distro, it is much better than Backtrack, they did a cleanup on the tool list, standardized for Debian Packages, which means that you get updates more frequently and sooner and is much less prone for bugs.

      In terms of learning curve you’ll probably find much more content related to Backtrack Linux, even though Kali is already out for while and there is some training content, CBT Nuggets, Books and even Youtube is a good source to train some tools and practices. Bear in mind that the majority of tools that you had in Backtrack are present on Kali, so reading or watching some training content related to Backtrack might have the same applicability on Kali, Metasploit, Nessus, OpenVAS, etc are very common tools and frameworks that you can find in the majority of PenTest Distros.


Deixe uma Resposta

Preencha os seus detalhes abaixo ou clique num ícone para iniciar sessão:

Logótipo da

Está a comentar usando a sua conta Terminar Sessão / Alterar )

Imagem do Twitter

Está a comentar usando a sua conta Twitter Terminar Sessão / Alterar )

Facebook photo

Está a comentar usando a sua conta Facebook Terminar Sessão / Alterar )

Google+ photo

Está a comentar usando a sua conta Google+ Terminar Sessão / Alterar )

Connecting to %s

%d bloggers like this: