Home 0P3N Blog Part 3: Create a Complete Virtual Environment for Penetration Testing
Ready to Start Your Career?
Create Free Account
Z33MAX s profile image
By: Z33MAX
March 18, 2016

Part 3: Create a Complete Virtual Environment for Penetration Testing

By: Z33MAX
March 18, 2016
Z33MAX s profile image
By: Z33MAX
March 18, 2016

Part 3: Create a Complete Virtual Environment for Penetration Testing - CybraryInstall Mac OS X (Yosemite)

7.jpg

Hello, fellow Cybrarians:

Thank you for your supportive comments and positive feedback. It encouraged me to do more tutorials to benefit this great Community.

Today, we're going to setup a Mac OS X virtual machine and connect to the Pfsense.

 

Tutorial Requirements:

Tutorial Guidelines:

  • 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

 

Let’s start...

Step 1: Downloading the VDMK and Extracting it

  • Download the WinRAR file that's 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
 

1.jpg

 

Step 2: Creating a Virtual Machine for Mac

 

2.JPG

3.JPG

 
  • Choose the Mac VMDK

 

20.JPG

 

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 of 128MB

 15.png

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

            18.jpg

We're done with the settings. Let’s start the machine and go through the installation process.

Step 4:  Installing Mac OS

  • Once the virtual machine starts, it would take 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

                

  • Choose the language and click continue

  • 22.JPG

    Click Continue

 

23.JPG

  • Choose my Computer does not connect to the internet. Click Continue.

  • We'll deal with the connection later

  • 25.JPG

    Click Continue

       26.JPG

  - Create a 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 always use snapshot or clone feature to backup your box to avoid going through the process again if something wrong happens during your pentesting...

 

Step 5: Connecting the Vbox to the pfsense

  1. Open the PFsense box first and then ping 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 and stay tuned for more.


@Z33MAX

Create a Complete Virtual Environment for Penetration Testing – Part 1

Create a Complete Virtual Environment for Penetration Testing - Part 2

Create a Complete Virtual Environment for Penetration Testing - Part 4

Create a Complete Virtual Environment for Penetration Testing - Part 5

Schedule Demo

Build your Cybersecurity or IT Career

Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry