CEH v12 Lab Setup Guide
CEH v12 Lab Setup Guide
Overview
Use this guide to set up your lab for the CEHv12 activities. You will:
You have TWO options to set up the virtual machines. You can choose whichever is better for your
environment:
OPTION #1 – Download and use ready-made, pre-configured VMs
o Simpler
o Takes less time
o Requires more Internet bandwidth
OPTION #2 – Manually build the VMs yourself
o More complex
o Takes longer
o Requires less Internet bandwidth
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.
Uninstall Hyper-V
Microsoft Hyper-V is incompatible with VMware. If you have ever installed or used the Hyper-V feature on your
Host PC, you will need to completely uninstall it, including editing your boot configuration data (BCD). To
uninstall Hyper-V, follow these steps:
7-zip
https://www.7-zip.org/a/7z2107-x64.exe
BlueStacks version 5 or later. Make sure you use the desktop version, not the BlueStacks X cloud
version.
https://www.bluestacks.com/download.html
Wireshark
https://2.na.dl.wireshark.org/win64/Wireshark-win64-4.0.1.exe
Netcut
https://arcai.com/download_netcut/
2. Download the Flappy Bird Android app. Do not attempt to install it. You will use it later in an activity:
https://d.apkpure.com/b/APK/bay.flappybird?version=latest
Set Up the Virtual Machines
To set up the virtual machines, choose EITHER Option #1 or #2.
You will:
bee-box
Kali-Linux-2022.2-vmware-amd64.vmwarevm
metasploitable-linux-2.0.0
Windows XP Professional
You can download from any of the following three mirrors. You do not need an account to download:
https://drive.google.com/drive/folders/1oQ8j53UwXEbu8FLIvl0sIDgHAH-BtJh0?usp=share_link
https://drive.google.com/drive/folders/1GadbMrxil9XbKw81pThZ7CEEHaAnXtZf?usp=share_link
https://drive.google.com/drive/folders/1SdAWvduT5ioSTCgn_AKFKOHciy1hXsQG?usp=share_link
Download Group B VM
Download these 2 VMs from Site B:
Server2016
W2k
You can download from any of the following three mirrors. You do not need an account to download:
https://drive.google.com/drive/folders/1V2wIFHvrRRry1FUBMUgr_bXUV43nSE-_?usp=share_link
https://drive.google.com/drive/folders/1D0tcKlCwK8s8nehMyNX8lTquaFSNED7H?usp=share_link
https://drive.google.com/drive/folders/1b62bE2kaUOYAu9ol03kLKuoEDW7WNaIk?usp=share_link
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 four VMs in VMware Workstation Player.
Note: For each VM, you will need to launch a new instance of Player.
8. Verify that you now see all six VMs in the VMware Player library.
Test the VMs.
1. In Player, select Server2016.
2. Click Play virtual machine.
3. If you are prompted with a popup stating This virtual machine might have been moved or copied,
click I Copied It.
4. Allow Server2016 to boot up.
5. When you see the splash screen, click the Send Ctrl+Alt+Del to virtual machine button .
6. Log in as Administrator with the password of Pa22w0rd!
7. If the Server Manager Dashboard appears, you can close it.
(Note: the actual order in which you start and stop the VMs is generally not important)
Note: When downloading ISOs from archive.org, on the right side of the download page under DOWNLOAD
OPTIONS, select ISO IMAGE.
https://kali.download/virtual-images/kali-2022.2/kali-linux-2022.2-vmware-amd64.7z
Metasploitable 2 VM
https://sourceforge.net/projects/metasploitable/files/latest/download
Bee-Box v1.6.7
https://sourceforge.net/projects/bwapp/files/bee-box/bee-box_v1.6.7z/download
juggybankDB_vulnapp.zip
https://archive.org/details/juggybankDB_vulnapp
15. On the Windows Setup page, accept the defaults and click Next.
16. Click Install now.
17. On the Select the operating system you want to install page, select Windows Server 2016 Standard
Evaluation (Desktop Experience) and then click Next.
18. Accept the license terms and click Next.
19. Click Custom: Install Windows only (advanced).
20. Click Next.
21. Click Next again.
22. Allow Windows to install. This should take several minutes, depending on the speed of your host
computer. Note: if prompted to install VMware tools, ignore the prompt.
23. On the Customize settings page, for the Administrator account, enter and reenter Pa22w0rd! as the
password (that’s a zero, not a capital O), then click Finish. You should see the Windows logon screen.
Enable SMBv1:
1. With the Command Prompt still open, enter the following command:
DISM /Online /Enable-Feature /All /FeatureName:SMB1Protocol
3. On the left side of the Task bar, next to the Start button, click Search Windows .
4. In the Search Windows field, type Windows firewall.
5. In the Best match results, click Windows Firewall.
https://archive.org/details/cehv-12-tools_20221123_0215
7. Once the download is complete, double-click CEHv12_Tools.exe to unzip the hacking tools.
8. If prompted, click Run.
9. Click Extract.
10. Navigate into the CEHv12_Tools folder.
11. It should have three subfolders:
14. Navigate into Colasoft Packer Builder folder, double-click pktbuilder_2.0.0.212.exe, and perform a
default installation. Note that the other folders contain standalone executables that do not require
installation.
15. Perform a default installation of each of the following (in the order shown). If any of the tools open up
after installation, you can close them.
httrack_x64-3.49.2.exe
Hyena_English_x64.exe
ipscan-3.8.2-setup.exe
Wireshark-win64-3.6.5.exe
kfsens40.msi
lc7setup_v7.2.0_Win64.exe
nmap-7.92-setup.exe
o Note: If prompted to replace Npcap with a lower version, click No.
putty-64bit-0.78-installer.msi
QS12Setup
wde.exe
Note: idserve.exe and LOIC.exe are standalone executables that do not require installation. You also
do not need to explicitly install npcap-1.60.exe.
You will install and configure MailEnable, and then Thunderbird, next.
6. Click Apply.
7. In the popup warning, click OK.
8. Switch to the Inbound tab.
9. Ensure that Inbound IP Bindings is set to Always bind the service to all available IP addresses.
10. Ensure that Allow IPv6 client connectivity is checked.
11. Click OK.
12. Right-click SMTP Stop.
13. Wait a few seconds.
14. Right-click SMTP Start.
7. Click OK.
8. Right-click IMAP Stop.
9. Wait a few seconds.
10. Right-click IMAP Start.
Create Mailboxes
1. In MailEnableAdmin, under MailEnable Management, expand Messaging Manager Post Offices
EXAMPLE.TEST.
2. Click Mailboxes.
3. Verify that you see the Postmaster mailbox in the middle pane.
4. In the Actions pane on the right, click New Mailbox…
5. In the Mailbox Name: field, enter moo
6. In the Password: field, enter 1Password
7. Click OK.
8. Ensure that you now also see a moo mailbox.
9. Using the same technique, add one or two more mailboxes with names of your choice. To avoid
confusion, use the same password of 1Password
Note: In this case, mailbox user accounts are not integrated with Windows accounts. You can create
email users without having to also create Windows users.
1. In the CEHv12_Tools\Install on Server 2016\ folder, locate and double-click Thunderbird Setup
102.5.0.exe.
2. When the setup wizard opens, click Next.
3. Click Next again.
4. Click Install.
5. Click Finish.
6. On the Account Setup page, in the Your full name text field, enter Moo
7. In the Email address text field, enter [email protected]
8. In the Password field, enter 1Password
9. Click Configure manually.
10. In the INCOMING SERVER section, ensure that these values are entered:
Protocol: IMAP
Hostname: server2016
Port: 143
Connection security: None
Authentication method: Normal password
Username: [email protected]
11. In the OUTGOING SERVER section, ensure that these values are entered:
Note: If you don’t see the mailboxes, in the upper left corner of Thunderbird click the Mail icon.
Test the Email System
1. Create and send some test emails between the users to ensure that the system works.
Note: when specifying a recipient, you will need to enter their entire email address, not just the user’s
name. For example: [email protected].
1. In the upper-left corner of the VM, above the guest OS desktop, locate and click the Pause button.
2. When prompted Are you sure you want to suspend the virtual machine and exit?, click Yes. The VM
window closes and you can safely continue to use or even reboot your computer.
3. To un-pause the VM, double-click the VMware Workstation 17 Player icon:
4. In the VMware library, select Server2016. Verify that the State is Suspended.
5. Click Play virtual machine.
6. When the VM has resumed, you can continue using it where you previously left off.
9. Ensure that the Kali VM is selected, then click Play virtual machine.
10. When prompted, click I Copied It.
11. If prompted about removable devices, click OK.
12. Allow Kali to boot up.
13. At the login screen, in both the username and password fields, enter kali and then click Log In.
3. When prompted for the password for kali, type kali and then press Enter.
4. When prompted for New password, type kali and then press Enter.
5. When prompted, retype kali and press Enter.
5. After a moment, the update will pause and prompt you Do you want to continue? Type Y and press
Enter.
6. Allow the update and upgrade to continue. This will take a few minutes.
7. When prompted to restart services without asking, press Tab to select Yes and then press Enter.
8. Allow the upgrade to continue.
9. If prompted about obsolete major version 14 of postgresql, press Tab to select OK, then press Enter.
10. The upgrade continues.
11. When the upgrade is finished, enter this command:
19. Just as you did in Server2016, set up a mailbox on Kali for Moo:
INCOMING SERVER
Protocol: IMAP
Hostname: server2016
Port: 143
Connection security: None
Authentication method: Normal password
Username: [email protected]
OUTGOING SERVER
Hostname: server2016
Port: 25
Connection security: None
Authentication method: Normal password
Username: [email protected]
2. In VMware Player, click the Suspend guest button to pause Kali. Allow the VM to close.
3. Similarly, pause the Server2016 VM. It too will close.
Install Metasploitable
Note: Keep in mind that Metasploitable has no GUI. You must type all commands, and they are case sensitive.
Additionally, VMware Tools will not install in the OS. The VM will capture your mouse. Press Ctrl+Alt to release
your mouse. If you want to type in Metasploitable, click into the command prompt window first before typing.
1. At the metasploitable login: prompt, click into the command prompt. Then type msfadmin and press
Enter.
2. At the Password: prompt, again type msfadmin and press Enter.
3. Verify that you have logged in successfully.
4. Enter the following command:
cat /var/www/mutillidae/config.inc
cd /etc
3. Press your keyboard down arrow until you reach the end of the file.
4. Add the following lines at the end:
Note: Here are the commands if you ever wish to shut down or reboot Metasploitable:
Install Bee-Box
1. Locate and right-click bee-box_v1.6.7z 7-Zip Extract Here.
2. Open bee-box in VMware Player.
3. Start bee-box.
4. Click I Copied It.
5. Click OK to removable devices.
6. Allow bee-box to boot up.
Note: the bee-box VM will automatically fill your screen. You can resize it AFTER it is fully booted and
you see the desktop. In the upper-right corner of the VM, click the Restore Down button to
resize its window to be smaller.
Note: you might need to grab and drag the lower right corner of the VM to make it slightly larger. This
will allow you to see entire windows without having to scroll inside the VM.
Install Windows XP
1. In VMware Workstation Player, create a new VM with these choices:
2. In the Windows 2000 Advanced Server Settings, set the CD/DVD to use W2kAdvServerEval.iso, and
start the VM.
3. At the Windows 2000 Server Setup page, click into the page and press Enter.
4. At the Welcome to Setup page, press Enter.
5. At the next page, press C.
6. At the licensing page, press F8.
7. At the partitions page, press C.
8. At the partition size page, press Enter.
9. At the next page, press Enter again.
10. At the format partition page, use the down arrow key to select Format the partition using the FAT file
system, and then press Enter.
11. Press Enter again, and allow the installation to run.
Note: If after installing VMWareToolsUpgrader the VM freezes upon reboot, attempt to close
the VM window. You will get error messages, but the VM should unfreeze and continue its
reboot.
21. Verify that you see juggybank amongst the other databases. If necessary, click the Refresh button
Name: juggybank
Description: juggybank database
Server: W2K
18. On the next page, select With SQL Server authentication using a login ID and password entered by the
user.
19. Ensure that the Connect to SQL Server to obtain default settings for the additional configuration
options checkbox is checked.
20. In the Login ID: field, type sa
21. Leave the Password field blank and then click Next.
22. On the next page, check the Change the default database to: checkbox, and select juggybank.
23. Click Next twice.
24. Click Test Data Source.
25. Verify that the TESTS COMPLETED SUCCESSFULLY and then click OK.
26. Click OK two more times.
27. Close Administrative Tools.
Troubleshooting
Follow these guides to troubleshoot the most common problems associated with your lab.
After you install the operating system, install VMware Tools in the VM:
1. Click Player Manage Install VMware Tools.
2. Follow the wizard to perform a default installation.
3. Restart the VM if prompted.
If you click your mouse into a VM and it is trapped, press Ctrl+Alt to release it.
You cannot install VMware Tools in Metasploitable, since it has no GUI.
If you have already installed VMware Tools in a VM, but the mouse becomes trapped again, reinstall
the Tools in that OS, choosing Repair.
1. 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.
Symptoms:
3. You should now be able to toggle the VM normally between Minimize, Resize, and Close.
1. 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.
Verify XP-PRO is activated
1. In XP-PRO, click Start Command Prompt.
2. Type cd c:\windows\system32\oobe and then press Enter.
3. Then type msoobe /a and press Enter.
4. In the Windows Product Activation window, verify that Windows is already activated.
5. Close the Activate Windows window.
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, type or paste the following command, then press Enter:
4. At the bottom of the results, verify that you still have at least one remaining Windows rearm count.
5. Enter the following:
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
FOCA
https://foca.en.softonic.com/download
HTTrack
https://www.httrack.com/page/2/en/index.html
ID Serve
https://www.grc.com/files/idserve.exe
KFSensor (trial)
http://www.keyfocus.net/kfsensor/download/kfsens40.msi
L0phtCrack7
https://l0phtcrack.gitlab.io/releases/7.2.0/lc7setup_v7.2.0_Win64.exe
Netcut
https://arcai.com/download_netcut/
ophcrack
https://sourceforge.net/projects/ophcrack/
ProRat 1.9
https://prorat.software.informer.com/download/
PuTTY
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Pwdump7
https://www.tarasco.org/security/pwdump_7/
QuickStego
https://download.cnet.com/QuickStego/3000-2092_4-75593140.html
Snow (snwdos32.zip)
http://darkside.com.au/snow/
~ finish ~