CEHv12 Lab Setup Guide
CEHv12 Lab Setup Guide
Overview
Use this guide to set up your lab for the CEHv12 activities. You will:
Lab Environment
Your lab consists of (7) virtual machines (VMs) running on your host PC. Six are traditional VMware VMs, and
one is an Android emulator named BlueStacks. You will turn VMs on and off as needed for the various activities.
VM logon credentials
Back Up Your PC
When working with hacking tools, there is always a chance that you could accidentally damage your operating
system, apps, or data. Be sure to back up all important data to a removable drive or the cloud before you start.
Disable any anti-virus programs
Many of the tools you will use in this lab are considered malicious. Disable any anti-virus program you have
running on your Host PC, including real-time protection. If you use Windows Security, go to Settings → Privacy
& security → Windows security → Virus & threat protection → Manage settings. Turn off all of the protection
features. At the bottom, under Exclusions, click Add an exclusion→ Folder → Local Disk (C:) → Select folder.
Uninstall Hyper-V
Microsoft Hyper-V is incompatible with VMware. You will need to uninstall it for VMware Workstation Player to
run:
• https://drive.google.com/drive/folders/1PaGzxmwnraVXBKpIa_p5P1b-yFgYyLnE?usp=sharing
• https://drive.google.com/drive/folders/1PSss5fInDyKc55-BvPL4z2Y49mIRG3pR?usp=sharing
• https://drive.google.com/drive/folders/1g6Gqv_9VMSwKqGuskX-CTRkZ3lz2IHXo?usp=sharing
• https://drive.google.com/drive/folders/1bQj-N1nWN77vmoj8djoZRPFVcvSTx7vp?usp=sharing
2. Double-click CEHv12-Files.exe and allow it to extract into a folder. It contains 3 subfolders: Activity Files,
Host PC Software, and Specimens.
3. Navigate into the Host PC Software folder.
4. Perform a default installation of the following items in this order:
Note: The following are limited-time trials. You will install them later:
• bee-box (3 pieces)
• Kali-Linux-2022.2 (11 pieces)
• Metasploitable2 (2 pieces)
• https://drive.google.com/drive/folders/1JC6ghJUBKrJnWfnNr6Uon0QONLemOWzH?usp=sharing
• https://drive.google.com/drive/folders/1Mvr0QuTthqyheaI5YjR5lathElv9HypX?usp=sharing
• https://drive.google.com/drive/folders/1C9Lgp4qyH9wp-CuBS0KQKrCs--Wly82s?usp=sharing
• https://drive.google.com/drive/folders/1d6I7BXHCwzmrQldUwkvz02e8MlYWWlBv?usp=sharing
• https://drive.google.com/drive/folders/124cFIyJXi-k1PG89_Fr8BjL6GKYUniCL?usp=sharing
Note: The Windows VMs are trial copies with a limited life span
• https://drive.google.com/drive/folders/1e-Diwnv3kbPxBbKZWDYuItxm0eAqk9Hh?usp=sharing
• https://drive.google.com/drive/folders/12Olnbcf_Ou_oBqm5GzOc58pdroLw3LUJ?usp=sharing
• https://drive.google.com/drive/folders/1n3DPFVWm82okfKxMfNkJI69nOf3Ukxdo?usp=sharing
• https://drive.google.com/drive/folders/1D1j5F8V1swBCYaHvlJKRHUVvl0qk5Oi_?usp=sharing
• https://drive.google.com/drive/folders/1DkuzX66uK1L8dGC7yObLDIk0dUEQ74he?usp=sharing
Extract the VMs
Once all parts of all six VMs have been downloaded, you will unzip them.
6. Click Home.
7. Using the same technique, open the other five VMs in Player.
8. Verify that you now see all six VMs in the VMware Player library.
Set VM NIC Configuration to NAT
All of the VMs (except for bee-box) are configured with multiple network interfaces (NICs). This allows the
activities to have different network configurations. You will connect and disconnect the various NICs, pinging
between the VMs to ensure connectivity.
c. In the Virtual Machine Settings Hardware tab, ensure that the network adapter that is set to NAT
will connect at power on.
d. Now ensure that the network adapter set to Custom will NOT connect at power on.
e. Using the same technique, repeat this process for XP-PRO, Server2016, W2K, and Metasploitable.
1. Prepare Server2016
a. In VMware Workstation Player, select Server2016 and click Play virtual machine.
b. If you are prompted with a popup stating This virtual machine might have been moved or copied,
click I Copied It.
c. Allow Server2016 to boot up.
d. In the upper-left of the Server2016 VM, locate the Ctrl+Alt+Del button and click it.
e. Ensure that Administrator is selected, for the password type Pa22w0rd! and then press Enter.
f. When you see the desktop, in the lower-left corner of the VM, click the Start (Window) button
g. When the fly-up list appears, start typing cmd
h. When Command Prompt appears, click it.
i. In the command prompt window, type ipconfig and press Enter.
j. In the results, look for IPv4 Address.
k. Record the IP address for handy reference. Note: IP addresses may change from time to time as you
power the VMs on and off.
l. Leave Server2016 running and logged in.
2. Prepare Kali
a. Start the Kali VM
b. Log in as kali with the password of kali
c. In the upper-left find and click the Terminal Emulator icon
d. In the terminal window (command prompt), type ifconfig and press Enter
Note: The Linux command is ifconfig, whereas the Windows command is ipconfig
Linux commands are case-sensitive.
e. Ensure that eth0 is RUNNING and has an IP address similar to Server2016. Record the IP address for
handy reference.
3. Ping Kali from Server2016
a. Switch to Server2016
b. In the command prompt, issue the command to ping Kali’s IP address. For example:
ping 192.168.247.131
c. In the Layouts tab, ensure that the Keyboard model is set to Generic 101-key PC
d. If necessary, add a USA layout:
i. Click Add
ii. Set Layouts to USA with Variants at Default, and click Add
Note: Linux will continue to ping until you press Ctrl+c to stop it.
1. To suspend a VM, in the upper-left of the VM click the Suspend guest button
2. When prompted, click Yes. The VM will go into suspended (paused) mode, and its window will close. It
will stop using resources until you resume it.
3. To resume the VM:
a. Open VMware Workstation Player.
b. Select the VM and verify that its State: is Suspended.
c. Click Play virtual machine.
4. Shut down or suspend all of your VMs
https://kb.vmware.com/s/article/2146361
• Locate and double-click the VMware Workstation Player launcher icon on your desktop
• On the Taskbar, locate the icon of a running VM. Right-click the icon → VMware Workstation 17 Player.
• Launch VMware Workstation Player from the Start menu.
To get around this issue, copy / paste the download link directly into a browser, rather than just clicking on it.
• Click into the desired VM once before attempting to select anything inside of it.
• If you are trying to type a command in the VM, click inside its command prompt before typing.
• Check your Host PC Taskbar carefully for other running instances of that VM.
• Be sure to only open one instance of each VM.
Symptoms:
1. If the VM does not respond at all, simply close its window. If necessary, use Task Manager on your Host
PC to close a VM window.
2. If prompted to shut down, allow Player to shut the machine down.
3. Reopen / run the machine again in Player.
3. You should now be able to toggle the VM normally between Minimize, Resize, and Close.
• To fix the problem, locate the Keyboard Indicator button in the center of the desktop Menu Bar.
• Toggle it from USA to Bel (or back) as needed.
W2K Evaluation Period Expires
Unfortunately, the Windows 2000 evaluation period cannot be extended. You will have to obtain a new W2k VM
every 180 days. Follow these steps to determine when the evaluation period will expire:
Note: Wait until the Windows License is expired or near expiration before reactivating.
1. In Server2016, click the Start window and then start typing Command Prompt.
2. In the Best match results, right-click Command Prompt → Run as administrator.
3. In the Command Prompt, enter the following to verify when the current license will expire:
slmgr /xpr
4. Enter the following to rearm the license to run for another 180 days:
slmgr /rearm
5. Enter the following to determine how many rearm counts you have left:
slmgr /dlv
At the time of this writing, the Opera browser still allows downloading anything.
• 7-zip
https://www.7-zip.org/a/7z2107-x64.exe
• Angry IP Scanner
https://github.com/angryip/ipscan/releases/download/3.8.2/ipscan-3.8.2-setup.exe
• Bluestacks 5
https://www.bluestacks.com/download.html
• eMailTrackerPro
https://download.cnet.com/eMailTrackerPro/3001-2382_4-10907499.html
• HTTrack
https://www.httrack.com/page/2/en/index.html
• ID Serve
https://www.grc.com/files/idserve.exe
• JetBrains DotPeek
https://www.jetbrains.com/decompiler/download/download-thanks.html?platform=windowsWeb
• Notepad++
https://github.com/notepad-plus-plus/notepad-plus-
plus/releases/download/v8.5.4/npp.8.5.4.Installer.x64.exe
• PuTTY
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
• QuickStego
https://download.cnet.com/QuickStego/3000-2092_4-75593140.html
• FOCA 3.0
https://archive.org/details/foca_20230723
~ finish ~