Building A Virtual Lab With VirtualBox For Penetration Testing
Description
Info
Level: Intermediate
Presenter: Eli the Computer Guy
Date Created: April 12, 2013
Length of Class: 58:40
Research Assistance: Nullset Computer Co (http://nullsetcomputerco.com/)
Tracks
Prerequisites
None
Purpose of Class
Class Notes
VirtualBox is owned by Oracle and is Opensource and Free to Use.
VirtualBox runs on All Major Operating Systems and Can Run All Major Operating Systems other then OSX.
Install VirtualBox Guest Additions to provide full functionality for your Virtual Machine
The ETCG Host Computer Specs are:
ASUS Model: CM6870US01
16 GB of RAM
1 TB 7200 RPM Hard Drive
i7 3.4 GHz Intel Processor
Creating Virtual Machines
Minimum RAM -- Your Virtual Machines will be under a light load therefore you don't have to give them a lot of RAM
Dynamic Allocation Hard Drive Space and Create a 50GB Hard Drive. This will allow the hard Drive to only use the space it needs and dynamically grow to the maximum size you have set.
Cloning Virtual Machines allows you to create a copy of a Machine before you damage it.
Sharing Folders between Virtual Machine and Host
Drag and Drop allows you to drag files from the Host to the Virtual Machine and Vice Versa
Shared Folders allows you to connect to folders on the Host from the Virtual Machine
Network Configurations
NAT -- Creates a basic Virtual Network with DHCP and DNS that allows Virtual Machines to connect to the Internet or outside network.
Bridged -- Makes it so that the Virtual Machine appears to be directly connected to the LAN with all functionality as if it is.
Internal -- Allows you to completely segment your Lab Network so that the Virtual Machines cannot connect to the LAN unless a Virtual Router is configured to do so.
You may create a Virtual Router using an OS such as m0n0wall or Smoothwall and connect multiple network connections to provide more complicated Network layouts.
Connecting to Optical Drive or ISO File allows you to Boot off of a "LiveCD" for a Virtual Machine.
Corrections
Lab Setup Used in Demonstration
The ETCG Host Computer Specs are:
ASUS Model: CM6870US01
16 GB of RAM
1 TB 7200 RPM Hard Drive
i7 3.4 GHz Intel Processor
Resources
https://www.virtualbox.org/
http://www.bestbuy.com/site/Asus+-+Desktop+-+16GB+Memory+-+1TB+Hard+Drive/8573174.p?id=1218878157641&skuId=8573174
http://www.elithecomputerguy.com/2013/04/12/setting-up-a-virtual-network-for-pentesting/