Installing Windows as a VM

Since more organizations use the Windows operating system as the main operating system for their employees' workstation/desktop, you need to understand how to perform a penetration test on the Windows platform.

One of the benefits offered by Microsoft is the 90-day trial of their operating systems through the Microsoft Evaluation Center. In this section, I'll demonstrate how to set up a Windows VM in our penetration testing lab:

  1. First, you'll need to download the ISO image of Windows 10 and Windows Server 2016 using the following URLs:
The installation procedures for Windows Desktop and Windows Server are the same.
  1. Once the ISO file has been downloaded successfully, open your hypervisor and choose New Virtual Machine:

  1. If you're using VMware, the New Virtual Machine Wizard will prompt you to continue your setup in either the Typical (recommended) or Custom (advanced) mode. For this exercise, I have chosen the typical option as it comprises a few simple steps:

  1. Next, choose the Installer disc image file (iso): option to add the ISO file by clicking on Browse. Once the file has been added successfully, click on Next to continue:

  1. VMware will present a custom window, allowing you to insert the product key (obtained from the Microsoft Evaluation Center during the registration phase) and create an administrator account during the installation phase. Simply complete the details, use the dropdown box to select the version of the operating system you are about to install, and click on Next:

  1. Next, you'll have the option to name the VM and choose a location to store its configurations. This step can be left as the default setting:

  1. Next, you'll have the option to create a new virtual hard disk for the Windows VM. I have chosen its size to be 100 GB and to split its files into multiple pieces for easier portability:

You can choose any size for the hard disk, as long as it's the recommended size or above. The system requirements can be found at https://docs.microsoft.com/en-us/windows-server/get-started/system-requirements.
  1. The final window will show you a summary of the configurations. You can customize the hardware resources by clicking on the Customize Hardware... option:

  1. Upon clicking Finish, the Windows 10/Server 2016 VM will appear in your library. You can also modify the hardware configurations when the VM is powered off.
  2. Now, it's time to power on the Windows VM. Ensure that you choose your corresponding language, time, and keyboard format.
  3. Choose the Install now option to begin the installation phase.
  1. Choose the version of Windows you'd like to install. If you're using Windows Server 2016, use the Datacenter edition. If you're using Windows 10, choose the Enterprise edition:

  1. Next, you'll need to read and accept the End User License Agreement (EULA), followed by the type of installation on the virtual hard disk drive (HDD). Since it's a new installation, select the Custom: Install Windows only (advanced) option, as shown in the following screenshot:

  1. Select the virtual HDD as the installation destination, as shown in the following screenshot, and click Next to continue:

  1. The installation process may take a while, depending on the amount of CPU and RAM resources that have been allocated to the VM.

Once this process has been completed, Windows will present a login window to you.

Now that we have installed a Windows VM, we will look at how to create additional user accounts on Microsoft Windows.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.105.124