Part 3: Create a Complete Virtual Environment for Penetration Testing

March 18, 2016 | Views: 17564

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Install 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

                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’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

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
20 Comments
  1. Great guide

    not sure if it’s my setup (using the latest virtualbox-version 5.1 on linux) i had to activate the flag “Enable EFI” – without it I only got a black screen and no booting.

    after enabling the flag contrary to the guide everything worked fine and i could setup my useraccount.

  2. I created the Mac VM as instructed…when I started it and it went beyond the “Hackintosh” splash page, it went directly to a login page that requires an existing user account. It will not allow me to create a new user. WhY?

Page 3 of 3«123
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel