Installing BackTrack 5 R1



Section 0. Background Information
  1. What is BackTrack5
    • BackTrack is an operating system based on the Ubuntu GNU/Linux distribution aimed at digital forensics and penetration testing use. It is named after backtracking, a search algorithm. The current version is BackTrack 5, code name “Revolution.”
    • BackTrack provides users with easy access to a comprehensive and large collection of security-related tools ranging from port scanners to password crackers. Support for Live CD and Live USB functionality allows users to boot BackTrack directly from portable media without requiring installation, though permanent installation to hard disk is also an option
    • BackTrack includes many well known security tools including
      • Metasploit integration
      • RFMON Injection capable wireless drivers
      • Aircrack-NG
      • Kismet
      • Nmap
      • Ophcrack
      • Ettercap
      • Wireshark (formerly known as Ethereal)
      • BeEF (Browser Exploitation Framework)
      • Hydra
    • BackTrack Download
  2. Legal Disclaimer
    • As a condition of your use of this Web site, you warrant to computersecuritystudent.com that you will not use this Web site for any purpose that is unlawful or that is prohibited by these terms, conditions, and notices.
    • In accordance with UCC § 2-316, this product is provided with “no warranties, either express or implied.” The information contained is provided “as-is”, with “no guarantee of merchantability.”
    • In addition, this is a teaching website that does not condone malicious behavior of any kind.
    • Your are on notice, that continuing and/or using this lab outside your “own” test environment is considered malicious and is against the law.
    • © 2012 No content replication of any kind is allowed without express written permission.

 

Section 1. Create a New Virtual Machine
  1. Create a New Virtual Machine. (See Below)

     

  2. New Virtual Machine Wizard
    • Instructions:
      1. Select the radio button “Installer disc image file (iso):”
      2. Click the Browse Button.
      3. Navigate to where you BT5 iso is located.
      4. Select the BT5 iso
      5. Click Next

     

  3. New Virtual Machine Wizard
    • Instructions:
      1. Guest operating system:  Linux
      2. Version: Ubuntu
      3. Select Next

     

  4. New Virtual Machine Wizard
    • Instructions:
      1. Virtual machine name: BackTrack5R1
      2. Location: In my case, I saved it to my USB drive, located in H:\BackTrack5R1\
      3. Select Next

     

  5. New Virtual Machine Wizard
    • Instructions:
      1. Maximum disk size (GB): For our purposes use 20GB.
      2. Radio Button:  Store virtual disk as an single file
      3. Select Next

     

  6. New Virtual Machine Wizard
    • Instructions:
      1. Click on the “Customize Hardware…” button

     

  7. New Virtual Machine Wizard
    • Instructions:
      1. Click on Memory (which is highlighted in blue)
      2. Click on 512 MB. (Recommended is 1024 MB, but not really needed for lab purposes).
      3. Do not click on OK

     

  8. New Virtual Machine Wizard
    • Instructions:
      1. Click on Network Adapter
      2. Click on “Bridged: Connected directly to the physical network”
      3. Click OK.

     

  9. Click on the Finish button.
    • Instructions:
      1. Click the Customize Hardware… button

     

  10.  Start the Boot Process
    • Instructions:
      1. Press Enter

     

  11. BackTrack Live CD
    • Instructions:
      1. Select “BackTrack Text – Default Boot Text Mode”
      2. Press <Enter>

     

  12. Bring up the GNOME
    • Instructions:
      1. Type startx

 

Section 2. Install BackTrack to Harddrive
  1. Install BackTrack to Harddrive
    • Instructions:
      1. Option 1: Double Click on the icon labeled “Install BackTrack”
        • OR
      2. Option 2: System –> Administration –> Install BackTrack Live

     

  2. Select Language
    • Instructions:
      1. In my case: English.
      2. Click Forward

     

  3. Select Language
    • Instructions: (In my case)
      1. Region: English
      2. Time Zone: United States (Chicago)
      3. Click Forward

     

  4. Select Language
    • Instructions: (In my case)
      1. Suggested option: USA
      2. Click Forward

     

  5. Select Language
    • Instructions:
      1. Select “Erase and use the entire disk”
      2. Select Forward
    • OR Note (This is optional)
      1. If you select “Specify partitions manually”, then you can create you own file systems layout.
        • /     – 2000 MB
        • /boot – 500  MB
        • swap  – 1280 MB (Double Memory)
        • /tmp  – 1000 MB
        • /home – 2000 MB
        • /var  – 2000 MB
        • /usr  – 3000 MB
        • Then use the rest as needed using volume management.

     

  6. Select Language
    • Instructions:
      1. Click on Install

     

  7. Informational
    • Note(FYI):
      • The installation process will take between 10 and 45 minutes depending on your systems resources.

     

  8. Consistency Reboot
    • Instructions:
      1. Click on Restart Now

 

Section 3. Login to BackTrack
  1. Edit Virtual Machine Settings
    • Instructions:
      1. Virtual Machine –> Virtual Machine Settings…

     

  2. Edit CD/DVD (IDE)
    • Instructions:
      1. Select CD/DVD (IDE)
      2. Click on Use physical drive:
        • Select Auto detect
      3. Click the OK Button

     

  3. Login to BackTrack
    • Instructions:
      1. Login: root
      2. Password: toor

     

  4. Bring up the GNOME
    • Instructions:
      1. Type startx

     

  5. Bring up a console terminal
    • Instructions:
      1. Click on the Terminal Console Icon

     

  6. Change root’s password
    • Instructions:
      1. passwd root
      2. Use our standard class password

     

  7. Create a student account and set password
    • Instructions:
      1. useradd -m -d /home/student -c “Security Student” -s /bin/bash student
      2. passwd student
      3. Use our standard class password

 

Section 4. Installing VMware Tools
  • Why are we installing VMware tools?
    • It’s nice to be able to cut and paste from the host machine into the VMWare instance.
  1. Install build-essentials and linux-headers
    • Instructions:
      1. You must be root!!!
      2. aptitude install build-essential linux-headers-$(uname -r)

     

  2. Installation Question and Answer
    • Instructions:
      1. Do you want to continue? [Y/n/?] Y

     

  3. Mount VMware Tools
    • Instructions:
      1. Virtual Machine –> Install VMware Tools…

     

  4. Check if VMware Tools is mounted
    • Instructions:
      1. df -k
    • Notice that /media/VMware Tools is mounted.

     

  5. VMware Tools Set Up Work
    • Instructions:
      1. cd /media/VMware\ Tools
      2. ls -lrta
      3. cp VMwareTools* /var/tmp
      4. cd /var/tmp
      5. gunzip VMwareTools*
      6. tar xovf VMwareTools*

     

  6. Install VMware Tools
    • Instructions:
      1. cd /var/tmp/vmware-tools-distrib
      2. ./vmware-install.pl
      3. yes

     

  7. Press Enter on the following Questions (See Below)

     

  8. Press Enter on the following Questions (See Below)

     

  9. Press Enter on the following Questions (See Below)
    • Note(FYI):
      • Answer “no” to changing the kernel header path…

     

  10. Press Enter on the following Questions (See Below)

 

Section 5. Proof of Lab
  1. Proof of Lab
    • Note(FYI):
      1. A new /boot/initrd.img-2.6.39.4 will be generated.
      2. You will have to reboot for the changes to take affect.
    • Instructions:
      1. cd /
      2. ls -l /boot/initrd.img-2.6.39.4
      3. echo “Your Name”
        • Replace the string “Your Name” with your actual name.
        • e.g., echo “John Gray”
    • Proof of Lab Instructions
      1. Press both the <Ctrl> and <Alt> keys at the same time.
      2. Do a <PrtScn>
      3. Paste into a word document
      4. Upload to Moodle

     

  2. Power Off Machine
    • Note(FYI):
      • If you want to continue using BackTrack, then don’t power off the machine.
    • Instructions:
      1. poweroff

     

 

Advertisements

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

%d bloggers like this: