| 
 (BackTrack:
Lesson 1){ Installing BackTrack 5 
R1 } 
 
			
				| Section 0. Background 
				Information |  
	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 integrationRFMON Injection capable 
					wireless driversAircrack-NGKismetNmapOphcrackEttercapWireshark (formerly known as 
					Ethereal)BeEF (Browser Exploitation 
					Framework)Hydra 
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.You 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: Download 
				BackTrack 5R1 |  
	Open Firefox (On 
	Local Host Machine)
		Instructions:
			Click the Start ButtonType
			firefox in the 
			search boxClick the firefox icon  Download BackTrack 5R1 
		Instructions:
			Navigate to one of the following URLs
				
				http://old.kali.org/backtrack-images/backtrack-5/backtrack-5r1-gnome-i386/BT5R1-GNOME-32.isoClick the Save File Radio ButtonClick the OK Button  Download Location
		Instructions:
			Navigate to a desired destination 
			location of your choosing.
				In my case, I will save 
				BT5R1-GNOME-32.iso to
				
				E:\ISOs, which is my external usb drive.Click the OK Button   
			
				| Section 2: Create a 
				New Virtual Machine |  
	Create a New Virtual Machine. (See Below)
		Instructions:
			Click on HomeClick on Create a New Virtual Machine  Installation Media
		Instructions:
			Select the radio button "Installer disc 
			image file (iso):"Click the Browse Button.Navigate to where your 
			BT5R1-GNOME-32.iso is located and select it.Click Next  Select a Guest Operating System
		Instructions:
			Guest operating system:  LinuxVersion: UbuntuSelect Next  New Virtual Machine Wizard
		Instructions:
			Virtual machine name: BackTrack5R1Location: In my case, 
			I saved it to my 
			USB drive, located in E:\BackTrack5R1\ Select Next  New Virtual Machine Wizard
		Instructions:
			Maximum disk size (GB): For our 
			purposes use 30GB.Radio Button:  Store virtual disk as an 
			single fileSelect Next  New Virtual Machine Wizard
		Instructions:
			Click on the "Customize Hardware..." 
			button  Configure Memory
		Instructions:
			Click on Memory (which is highlighted 
			in blue)Click on 512 MB. (Recommended is 1024 
			MB, but not really needed for lab purposes).Do not 
			click on OK  Configure Network Adapter
		Instructions:
			Click on Network AdapterClick on "Bridged: Connected directly 
			to the physical network"Click OK.  Finish Configuration
		Instructions:
			Click the Finish button   Start the Boot Process
		Instructions:
			Press Enter  BackTrack Live CD
	
		Instructions:
			Select "BackTrack Text - Default Boot 
			Text Mode"Press <Enter>   Bring up the GNOME
		Instructions:
			Type startx   
			
				| Section 3: Install 
				BackTrack to Hard drive |  
	Install BackTrack to Hard drive
		Instructions:
			Option 1: Double Click on the icon 
			labeled "Install BackTrack"
			Option 2: System --> Administration --> 
			Install BackTrack Live   Select Language
		Instructions:
			In my case: English.Click Forward  Select Region and Time Zone
		Instructions: (In my case)
			Region: United StatesTime Zone: United States (Chicago)Click Forward  Select Keyboard layout
		Instructions: (In my case)
			Suggested option: USAClick Forward  Prepare disk space
		Instructions:
			Select "Erase and use the entire disk"Select ForwardOR Note (This is optional)
			If you select "Specify partitions 
			manually", then you can create you own file systems layout.
				/     - 2000 MB/boot - 500  MBswap  - 1280 MB (Double 
				Memory)/tmp  - 1000 MB/home - 2000 MB/var  - 2000 MB/usr  - 3000 MBThen use the rest as needed using 
				volume management.  Ready to install
		Instructions:
			Click on Install  Informational
		Note(FYI): 
		The installation process will take 
		between 10 and 45 minutes depending on your systems resources.It will be stuck on "99% Almost finished 
		copying files" for a good percentage of the installation.  Consistency Reboot
		Instructions:
			Click on Restart Now  System is going down
		Instructions:
			Press <Enter>   
			
				| Section 4: 
				Login to BackTrack |  
	Edit Virtual Machine Settings
		Instructions:
			Player --> Manage --> Virtual Machine 
			Settings...  Edit CD/DVD (IDE)
		Instructions:
			Select CD/DVD (IDE)Click on Use physical drive:Select Auto detectClick the OK Button  Login to BackTrack
		Instructions:
			Login: rootPassword: toor
		  Bring up the GNOME
		Instructions:
			Type startx
		  Remove Install BackTrack Icon
		Note(FYI):
			We will remove the Install BackTrack 
			Icon to prevent any future accidents.Instructions:
			Right Click on the Install BackTrack 
			IconClick Move to Trash  Bring up a console terminal
		Instructions:
			Click on the Terminal Console Icon  Change root's password
		Note(FYI): General 
		Password Rules
			Password needs to be at least 8 
			characters in lengthPassword needs to contain uppercase 
			lettersPassword needs to contain lowercase 
			lettersPassword needs to contain at least one
			numberPassword needs to contain at least 
			special character 
			(!@#$%^&*)Instructions:
			passwd rootEnter new UNIX password: <See General 
			Password Rules>Retype new UNIX password: <Re-Entered 
			Same Password>  Create a student account and set password
		Note(FYI): General 
		Password Rules
			Password needs to be at least 8 
			characters in lengthPassword needs to contain uppercase 
			lettersPassword needs to contain lowercase 
			lettersPassword needs to contain at least one
			numberPassword needs to contain at least 
			special character 
			(!@#$%^&*)Instructions:
			useradd -m -d /home/student -c 
			"Security Student" -s /bin/bash studentpasswd studentEnter new UNIX password: <See General 
			Password Rules>Retype new UNIX password: <Re-Entered 
			Same Password>   
			
				| Section 5: 
				Installing VMware Tools |  
	Install VMware Tools
		Note(FYI):
		We are installing VMware Tools, because it 
		gives you the ability to cut and paste from the host machine and other 
		VMware instances into this VMware instance.Instructions:
			Player --> Manage --> Install VMware Tools...  Check if VMware Tools is mounted
		Instructions:
			df -kcp /media/VMware\ Tools/*.tar.gz /var/tmp/cd /var/tmp/ls -l *.tar.gzNote(FYI):
			Notice that VM Tools is mounted on 
			/media/VMware Tools  Extract VMware Tools
		Instructions:
			ls -lrtatar zxovf VMwareTools*.tar.gzNote(FYI):
			tar, stores and extracts files.
				z - filter the archive through gzipx - Extract.o - it prevents tar from restoring 
				ownership of files being extractedv - Verbosef - Supply File name (ie. VMwareTools*.tar.gz)  Install VMware Tools
		Instructions:
			cd /var/tmp/vmware-tools-distribls -lperl vmware-install.pl defaultNote(FYI):
			The installation will take about 2 
			minutes and requires not manual input.   
			
				| Section 6: 
				Consistency Reboot |  
	Consistency Reboot
		Instructions:
			cd /rebootNote(FYI):
			A consistency reboot is necessary to 
			ensure that VMware Tools is activated.  Login to BackTrack
		Instructions:
			Login: rootPassword: 
			<Support the Root Password>
		  Bring up the GNOME
		Instructions:
			Type 
			startx
		   
			
				| Section 7: Update 
				Repository Package List |  
	Get Links to Old Patch Repository
		Instructions
			cd /etc/apt/mv sources.list sources.list.BKPwget 
			http://www.computersecuritystudent.com/UNIX/BACKTRACK/BACKTRACK5R1/lesson1/deb.txtmv deb.txt sources.listcat sources.list Notes(FYI)
			The BackTrack5R1 repository is no 
			longer supported, so it is necessary to use the Lucid 10.04 Ubuntu 
			Patch Repository, just encase we need to download a package in the 
			future.The deb.txt file contains links to the 
			old Lucid 10.04 Ubuntu Patch Repository.   Update the Apt Package Repository
		Instructions
			apt-get updateNotes(FYI)
			apt-get update downloads the package 
			lists from the repositories and "updates" them to get information on 
			the newest versions of packages and their dependencies.   
			
				| Section 8: Terminal 
				Window Color Preferences |  
	Bring up a console terminal
		Instructions:
			Click on the Terminal Console Icon  Open Profile Preferences
		Instructions
			Edit --> Profile Preferences  Foreground, Background, and Bold
		Instructions
			Click on the Colors TabBuilt-in scheme: Black on white  Transparent Background
		Instructions
			Click on the Background TabClick on the Transparent background 
			radio buttonMove the Slider over to MaximumClick the Close Button   
	Proof of Lab
		Note(FYI):
			initrd.img-2.6.39.4 is the "initial 
			ramdisk". It stores necessary drivers required so that the kernel 
			can mount / and kick off init. Instructions:
			cd /boot/ls -l initrd.img*cd /etc/apt/cat sources.listecho "Your Name"
				Replace the string "Your Name" with 
				your actual name. e.g., echo "John Gray" 
		
		Proof of Lab Instructions
			Press both the <Ctrl> and <Alt> keys at 
			the same time.Do a <PrtScn> Paste into a word document Upload to Moodle   Power Off Machine
		Note(FYI):
			When finished with any Linux machine, 
			it is always a good idea to poweroff the machine.If you want to continue using 
			BackTrack, then don't power off the machine.Instructions:
			poweroff   | 
    
 
   
		
		
		 |