Thursday, March 24, 2016

Create a complete Virtual Environment for Penetration Testing (PART- 3)

Install Mac OS X (Yosemite)


Today, we are going to setup Mac OS X virtual machine and connect to the Pfsense.
Tutorial Requirement:
Tutorial Guideline:
           Downloading the VDMK and Extracting it
           Creating a virtual machine for Mac
           Configure the settings of  the Mac machine
           Installing Mac OS
           Connecting the Mac machine to the Pfsense
 First, before we begin let’s understand some terminology.
–  What is VMDK?
-Virtual Machine Disk is a file format  that  developed initially for VMWares, but also supports Virtual Box environment. They are many types of virtual disks that can be used in Virtual box.
 VDI, VMDK, VDH
–  All of them support dynamical allocated sizing
– All of them support snapshots
Now Let’s start …..
Step 1: Downloading the VDMK and extracting it.
     Download the WinRAR file that is provided in the requirement section and extract it using any preferable extraction tool.
   Once you Extract the file you should have files that are similar to the below picture
 Step 2: Creating a virtual machine for Mac




Choose the Mac VMDK
Step 3: Configure the settings of the Mac machine
    In the System tab make sure to uncheck the Enable EFI and Hardware Clock
Terms:  
– EFI: Extensible Firmware Interface, EFI is a new BIOS standard developed by Intel.
  21.jpg
– For the System tab above, make sure to uncheck Enable EFI and Hardware Clock
– For the Display tab, Increase the Video Memory to its full capacity 128MB
 15.png

  • And for the Network tab, setup the network adapter as Internal to able to it connect later to Pfsense
            18.jpg

Now we are done with the settings, Let’s start the machine and go through the installation process


   Step 3:  Installing Mac OS :

  • Once the virtual machine starts, it would 3 mins to fully load
  • In the welcome screen. Choose Mac OS Yosemite Niresh and click Continue.

  • The loading process starts which usually takes 2-3 minutes and it should take you to the welcome screen.
                6.jpg
  • Choose the language and click continue
  • 22.JPG
    • Click Continue
  • 23.JPG
    • Choose my Computer does not connect to the internet. Click Continue.
  • we will deal with the connection later.
  • 25.JPG
  •       –  Click Continue
       26.JPG


  – Create username and password for your account .Click Continue

      27.JPG

         – It would take few seconds to setup the desktop
    28.JPG

    DONE !!
    7.jpg


Note : you can always use snapshot or clone feature to backup your box to avoid going through the process again if something wrong happen during the pen- testing …
(in future tutorial will talk about the different between snapshots and Clones).


3- Connecting the Vbox to the pfsense

1- Open the PFsense box first and then ping the its IP address from the Mac machine.In our first tutorial    (PART-1) I set it up  as 10.0.0.1 .
2- Ping google.com or any website to check the internet connection.

You should get a reply from both if you followed all the steps.


That’s all for this tutorial, Hope it was useful. stay tuned for more.

Our next topic will be how to create Linked Clones for our Windows R 2012 to run different types of servers inside the virtual environment.

No comments:

Post a Comment