Setup Guide For CySA+
Setup Guide For CySA+
Setup Guide For CySA+
Preparing to Teach
Official CompTIA Content is created around four core principles: supporting the modern learning, focus
on job roles and objectives, sound instructional design, and integrating active learning.
1) Support the Modern Learner: Official CompTIA Content for CySA+ is designed with the modern
student and classroom in mind, ensuring success whether the course format is co-located or
remote, synchronous or asynchronous, continuous or modular. Instructors will find best practices
and recommendations within the notes section of the Instructor PowerPoints specific to the various
course formats.
2) Focused on Job Roles and Objectives: CertMaster Learn content is organized into Courses,
Lessons, and Topics and align training to work in the real world. Courses such as CySA+ reflect a real
job role, Lessons refer to functional areas within that job role, and Topics relate to discrete job tasks.
3) Sound Instructional Design: The content within Topics is presented in an instructional hierarchy
that thoughtfully offers knowledge, procedural tasks, and hands-on Activities that require that
students put the knowledge they have gained into practice. This approach keeps the student
engaged, ensures success with the learning outcomes, and reinforces the core concepts to ensure
long term retention of new ideas.
4) Integrate Active Learning: Each Topic has a review Activity designed to enable students to reflect
upon and discuss the subject matter. Additional hands-on and scenario-based Activities are
positioned throughout the Course. These Activities present a job-plausible scenario or job-realistic
assignment and then provide step by step instructions for how to approach the problem at hand.
Activities may also require the student to analyze sample data, engage in structured discussion, or
analyze case studies.
The Official CompTIA® CySA+® Instructor Guide (Exam CS0-002) Setup Guide
Copyright © 2020 CompTIA, Inc. | 1
Obtaining Course Resources
In addition to the curriculum itself, Microsoft PowerPoint slides, data files, and other course-specific
® ®
support material may be available by downloading the files from the course website. Be sure to obtain
the course files prior to your learning event and make sure you distribute them to your students.
Lab activities are an important aspect of the course where students can apply and practice their
understanding of the concepts. There are two ways that the lab activities can be delivered in your
course:
■ Classroom-hosted environment: Students can complete their lab activities on host computers set-
up in the classroom. Directions on how to set-up student HOST computers is detailed later in this
guide. To ensure that the course runs smoothly, please try to set up and test the activities on the
target hardware before starting the course presentation. Remember, you can contact Support at
help.comptia.org/hc/en-us/requests/new to assist with setup or other issues.
■ CompTIA Labs: Hosted by Learn on Demand Systems, CompTIA Labs are virtual labs that allow
students to learn in actual software applications through a remote lab environment. The labs align
with the hands-on Activities in CertMaster Learn for CySA+ and allow students to practice what they
are learning using real, hands-on experiences. Students have access to the software environment
for 6 months after they redeem their access key, providing a fantastic resource for students to
practice their skills. CompTIA Labs have many benefits:
○ On-Site Learning: Simplifies and reduces lab setup time for instructors.
○ Virtual Instructor-Led Training: Provides remote learners with browser-based access to the
necessary software, no matter their location, as long as they have an internet connection.
○ Asynchronous: Enables students to complete activities on their own for a seamless learning
experience.
○ Self-Study: Students self-studying can work through activities hands-on, at their own pace.
Find more information about CompTIA Labs and how to purchase them at store.comptia.org
Within the instructional design hierarchy, the course structure tries to follow the exam objectives
domain structure as far as possible, but some objectives have been moved about so as to make the
topics flow better and to eliminate duplications. The course is designed to be as modular as possible, so
that you can use the content as flexibly as you wish.
Suggested timetables are available to download from the course website. You will need to adjust these
timings to suit your audience. With the latest revision of the certification exams and corresponding
exam objectives, a significant amount of new content has been added to this edition of the course. You
might need to employ time-saving techniques:
■ Ask participants to pre-read some of the content as "homework" to reduce class time spent on that
topic.
■ Summarize a topic in overview, and then answer questions during a later session when students
have had a chance to study it in more detail.
■ Reduce the number of activities you try to cover to focus on the topic content. If you are using
CompTIA Labs, students can attempt the activities outside of class time. There are no dependencies
between the lab activities, so they do not have to be completed in sequence or at all.
■ Throughout the course, when software or applications are being installed or updated that might
take considerable time, consider having students start the install or update, then present the related
content. You might also consider having the install or update begin before a scheduled classroom
break.
Other Tips
Here are some useful tips for presenting the CertMaster Learn for CySA+ for Instructor-Led Training course.
■ If you will have remote participants for your class, it is strongly recommended that you position a
camera directly above a work area so that remote students can watch as you or other participants
work with the various hardware components throughout the course.
■ Software vendors mentioned in this course may at any time deploy software updates digitally,
resulting in changes that may not be reflected dynamically in this course. Stay up to date with
product updates and be ready to adapt the material to any changes in the user interface.
In the course of working through the activities included with this course, students will be using various
cybersecurity tools and intentionally vulnerable host systems. The use of some cybersecurity tools and
techniques is prohibited by law in some countries. You are responsible for ensuring that use of these
activities does not contravene any laws, regulations, or policies that you may be subject to. These
activities are for use on private systems only and we strongly recommend such systems are provided
for activity use only and "sandboxed" in a way that makes them unable to access other networks or
systems storing important or sensitive data or credentials. Under no circumstances should the tools
and or sample files provided as part of these activities be used or installed in any other context.
Caution: Neither the author nor publisher shall be liable for any direct, indirect, special, incidental, or consequential
damages arising out of the use, misuse, or the inability to use the contents of this course.
The Hyper-V lab network is based around three zones, representing a local network, an ISP, and an
internet. VyOS VMs perform routing between the networks. There are various Windows and Linux
servers and clients. The pfSense router/firewall is substituted for the local VyOS router in some
activities.
The CySA+, Security+ (SY0-501) 2019 Update, Network+ (N10-007) 2019 Update, and A+ (220-1000) OCC
courses use the same basic lab environment. If you have already set up one of these environments, you
can choose to update the environment rather than use the primary set up process. Please follow the
option that best applies:
1) I have not previously set up a CompTIA OCC course—Review the Equipment Requirements and then
follow the steps in the primary Setup Process.
2) I have previously set up a CompTIA OCC Security+ or Network+ course—Perform the additional
steps listed under Updating an Existing OCC Security+ or Network+ Environment.
3) I have previously set up a CompTIA OCC A+ course—Perform the additional steps listed under
Updating an Existing OCC A+ Environment.
If you have any difficulty in completing setup, please contact CompTIA at help.comptia.org/hc/en-
us/requests/new
The activities should work the same on any Hyper-V platform that can support Generation 2 and VM configuration
version 8.0 but have only been tested on Windows 10 1803 and Windows 10 1809.
■ 8—16 GB RAM.
We have tried to design the activities so that they will run within an 8 GB HOST instance, but VM performance will be
limited. A 12 or 16 GB HOST instance will offer better performance.
■ 200 GB free disk space. An SSD will deliver much better performance than an HDD.
■ DVD-ROM drive.
■ Internet access/IP—some activities require web access from the HOST. VMs should not be
connected to the Internet or to the physical classroom network.
You will need product ISOs and (where applicable) product keys/licenses for the following x64 software:
■ An Internet connection for demonstrating websites and other Internet resources will be useful but
not essential.
■ Packet capture software such as Wireshark will be useful when covering the networking topics to
show students examples of frames, packets, segments, and application protocol headers. All the
VMs will have Wireshark installed but you may also want to install it to the HOST.
1) Prepare the HOST PC Hyper-V environment and download the VM images and data files.
2) Import the VyOS and Linux VMs from the preconfigured images.
3) Install the Windows Server VMs using your setup media and licenses and configure them by running
the supplied scripts.
4) With the Windows Server VMs running, install the Windows desktop VMs using your setup media
and licenses and configure them by running the supplied scripts
Because students will have access to dual-use tools and malware examples, plus intentionally
vulnerable OS instances (LX1 and LAMP) and Windows installations with weak passwords, you must take
care to prevent misuse of the VMs. The VMs should not be permitted to connect to the Internet.
Some activities assume use of the web. If you do not want to allow Internet access on the Hyper-V HOST
PCs, use different PCs for those activities or specify them as self-study, or omit them.
1) Perform a default Windows 10 x64 Professional/Enterprise Edition Build 1803 installation on the
HOST PC.
2) Create a local administrator account for the student to use to run Hyper-V. Make sure the student is
provided with the appropriate credentials to sign into the HOST PC.
3) Use Programs and Features > Turn Windows features on or off to enable Hyper-V. Make sure the
management tools and PowerShell module are enabled for Hyper-V.
4) Open Hyper-V Manager and select Hyper-V Settings from the Actions pane. Configure the following
settings:
○ Select the Virtual Hard Disks node, and in the Specify the default folder box, enter C:\COMPTIA-
LABS
○ Select the Virtual Machines node, and in the Specify the default folder box, enter C:\COMPTIA-
LABS
○ Select the Enhanced Session Mode Policy node then check the Allow enhanced session mode
check box.
5) Select OK.
LICENSED FOR USE ONLY BY: HILMA · 21493881 · NOV 25 2021
The Official CompTIA® CySA+® Instructor Guide (Exam CS0-002) Setup Guide
Copyright © 2020 CompTIA, Inc. | 8
6) Either disable security software on the HOST or create exceptions for the following folders:
○ C:\COMPTIA-LABS
○ C:\COMPTIA-LABS-mups
https://benchprepinstructors.s3.amazonaws.com/COMPTIA-LABS/GETVMS3.zip
○ C:\COMPTIA-LABS\getvms.ps1
○ C:\COMPTIA-LABS\getvms-cysaonly.ps1
○ C:\COMPTIA-LABS\getvms-update.ps1
○ C:\COMPTIA-LABS\comptia-labs1-hashes.txt
○ C:\COMPTIA-LABS\comptia-labs2-hashes.txt
○ C:\COMPTIA-LABS\comptia-labs3-hashes.txt
○ C:\COMPTIA-LABS\comptia-labsody-hashes.txt
The setup files are split across multi-part self-extracting archives. You can use the getvms.ps1 script
to download them.
9) On the HOST PC, open a PowerShell prompt with elevated privileges (right-click Start and select
Windows Powershell (Admin)).
Set-ExecutionPolicy Unrestricted
[Confirm with Y]
C:\COMPTIA-LABS\getvms.ps1
The script will download each archive part to the folder C:\COMPTIA-LABS-mups and verify it against
its precomputed hash. If the download is successful, the script will extract the files to C:\COMPTIA-
LABS.
By default, the script will also download an ISO file containing Windows malware, including the EICAR test
string, Actual Keylogger, Cain, and Netcat. This disc image is used to complete part of anti-virus activities in A+
and Security+ courses. If you do not want to retrieve this file, comment out the marked section of the getvms
script.
a) Once all the archive parts have been downloaded successfully, run C:\COMPTIA-LABS-
MUPS\COMPTIA-LABS1.exe.
b) In the Extract to box, enter c:\
c) Select the Extract button. The folders and files will be extracted to the C:\COMPTIA-LABS folder
(check the screenshot below to confirm the layout).
d) Repeat to extract C:\COMPTIA-LABS-MUPS\COMPTIA-LABS2.exe and C:\COMPTIA-LABS-
MUPS\COMPTIA-LABS3.exe. Note that some files and folders will be overwritten—this is
expected behavior.
e) Copy the odysseus.iso file to C:\COMPTIA-LABS
11) Obtain the product ISOs plus an appropriate product key and/or license for each Windows OS.
Please note that CompTIA cannot provide you with Windows media or licenses. Contact your
Microsoft licensing partner.
12) You need to specify the location of your Windows media ISO installation files:
The scripts configure the VMs with a conservative amount of system memory. You can edit the scripts to increase this
(-MemoryStartupBytes) if you have more than 8 GB available on the HOST (or adjust the settings in Hyper-V
afterwards).
c:\COMPTIA-LABS\autopsy-4.10.0-64bit.msi
1) On the HOST PC, open a PowerShell prompt with elevated privileges (right-click Start and select
Windows Powershell (Admin)).
C:\COMPTIA-LABS\setupvms1-switches
C:\COMPTIA-LABS\setupvms2-linux
C:\COMPTIA-LABS\setupvms2b-cysa
These scripts will create the virtual switches used in the activities, import the preconfigured VMs to
your Hyper-V server, and start the RT1-LOCAL VM. The remainder of setup should take about
another hour, depending on the speed of the HOST PC.
C:\COMPTIA-LABS\setupvms3-winservers
The script will configure each VM and add the appropriate Windows ISO file to the virtual DVD drive.
The script will remove any existing VMs with the same name as those used in the activities and delete the
associated VHDs.
2) Open the Hyper-V management console. Verify that the RT1-LOCAL VM is running.
3) Open session consoles for each Windows Server VM (DC1 and MS1). Complete the following steps
on each VM:
○ Start the VM, and then in its connection window, press a key to boot from the setup disc.
○ Choose the appropriate time/currency and keyboard formats, and then select Install Now.
○ Enter your product key if prompted.
○ Select the Server 2016 Standard (Desktop Experience) option.
○ Accept the license agreement.
○ Select a Custom installation.
○ Accept the default disk options and select Next to start installation.
LICENSED FOR USE ONLY BY: HILMA · 21493881 · NOV 25 2021
The Official CompTIA® CySA+® Instructor Guide (Exam CS0-002) Setup Guide
Copyright © 2020 CompTIA, Inc. | 12
Configuring the DC1 VM
Once installation is complete, you will run some scripts to configure the DC1 VM. This VM will run AD,
CA, DNS, and IIS. Make sure you complete ALL these tasks before you try to configure the client VMs.
If you experience any problems running the scripts, comment out the "restart" command if it is present so that you can
read any error message more easily or execute them selectively in the PowerShell ISE.
1) When setup is complete, on the Customize Settings page, enter Pa$$w0rd in the Password and Reenter
password boxes, and then select Finish.
2) In the Connect to DC1 dialog box, set the VM console window to an appropriate resolution. Select
Show options, check the Save my settings for future connections on this virtual machine box,
and then select the Connect button.
If no "Connect to" dialog is shown, verify that the connection is working in Enhanced session mode (View menu). If the
Enhanced session mode option is greyed out, logon then restart the VM.
5) In the DC1 VM, open File Explorer, then paste the copied folder in the root of the C: drive.
6) When file copy has completed, open PowerShell and run the following script:
Set-ExecutionPolicy Unrestricted
[Confirm with Y]
c:\labfiles\dc1-setup1
Always ensure you are opening the 64-bit PowerShell environment—NOT PowerShell (x86).
7) When the DC1 VM reboots, sign back in as Administrator. Open PowerShell and run the following
script:
c:\labfiles\dc1-setup2
9) Open PowerShell.
10) Point to the network status icon. If the network is listed as "Network" or "Unidentified," run the
following command:
LICENSED FOR USE ONLY BY: HILMA · 21493881 · NOV 25 2021
The Official CompTIA® CySA+® Instructor Guide (Exam CS0-002) Setup Guide
Copyright © 2020 CompTIA, Inc. | 13
c:\labfiles\RestartNLA
This script will be set to run as a task at startup but if NLA does fail to identify the domain profile during the activities,
get students to run this script manually and restart the DHCP server on MS1.
c:\labfiles\dc1-setup3
13) Leave the DC1 and RT1-LOCAL VMs running while you complete configuration of the other VMs.
You will run some scripts to configure the MS1 VM. This VM will run DHCP, IIS, and a third-party email
server (hMail).
1) When setup is complete, on the Customize Settings page, type Pa$$w0rd in the Password and Reenter
password boxes, and then select Finish.
2) In the Connect to MS1 dialog box, set the VM console window to an appropriate resolution. Select
Show options, check the Save my settings for future connections to this virtual machine box,
and then select the Connect button.
Set-ExecutionPolicy Unrestricted
[Confirm with Y]
\\DC1\labfiles\ms1-setup1
[Confirm with R]
6) Select Start, right-click Windows Powershell, and select More > Run as administrator. At the UAC
prompt, select Yes. Run the following script:
\\DC1\labfiles\ms1-setup2
[Confirm with R]
If the accounts are not added, investigate connectivity problems between DC1 and MS1, such as NLA setting an incorrect
firewall profile.
○ Select Exit.
8) Leave the DC1, MS1, and RT1-LOCAL VMs running while you complete configuration of the other
VMs.
1) On the HOST, in the elevated PowerShell prompt execute the following command:
C:\COMPTIA-LABS\setupvms4a-winclients
The script will configure each VM and add the appropriate Windows ISO file to the virtual DVD drive.
The script will remove any existing VMs with the same name as those used in the activities and delete the VHDs.
2) Open the Hyper-V management console then open session consoles for each Windows client VM.
Complete the following steps on each Windows client VM (PC1, PC2, and optionally PC3):
○ Open the connection window and start the VM and then press a key to boot from the setup disc.
○ Choose appropriate time/currency and keyboard formats then select Install Now.
○ Enter your product key if prompted.
○ Accept the license agreement.
○ Select a Custom installation.
○ Accept the default disk options and select Next to start installation.
Once installation is complete, you will run two scripts to join the domain and install applications for use
in the course.
2) In the Connect to PC1 dialog box, set the VM console window to an appropriate resolution. Select
Show options, check the Save my settings for future connections to this virtual machine box,
then select the Connect button.
5) In the PC1 VM, open the root of the C: drive in Explorer then paste the copied folder.
6) Right-click Start and select Windows Powershell (Admin). At the UAC prompt, select Yes. Run the
following script:
Set-ExecutionPolicy Unrestricted
[Confirm with Y]
c:\labfiles\pc1-setup1
7) When the VM restarts, select Other user. Enter 515support\Administrator with password Pa$$w0rd
8) Right-click Start and select Windows Powershell (Admin). At the UAC prompt, select Yes. Run the
following script:
c:\labfiles\pc1-setup2
9) You should see icons for various tools and utilities appearing on the Desktop after a few minutes.
The Webserver Stress Tool will run as the script executes. You can just ignore it. The VM will restart
when the script finishes. You can continue with installing PC2 while the script runs.
Once installation is complete, you will run a script to join the domain and install applications for use in
the course.
○ On the first Set Up Windows page, enter Admin in the User name box and PC2 in the PC name box,
then select Next.
○ On the Set a password page, enter the password as Pa$$w0rd and put 515support default as the hint.
Select Next.
○ If prompted, on the Type your product key page, enter your product key and select Next.
○ Choose the Ask me later option on the Windows Update page.
○ Adjust the date and time settings if necessary then select Next.
○ On the Current location page, select Work network.
3) Select Start, type PowerShell and press CTRL+SHIFT+ENTER. At the UAC prompt, select Yes.
5) The Webserver Stress Tool will run as the script executes. You can just ignore it. When the VM
reboots, select Switch User then select Other User and log back in as 515support\Administrator.
If you want to use the environment to run A+ courses, you may also want to install a Windows 8.1 VM.
You do not need this VM to run Security+, Network+, or CySA+ courses.
2) On the HOST, in the elevated PowerShell prompt execute the following command:
C:\COMPTIA-LABS\setupvms4b-win8client
3) From Hyper-V Manager, open a connection window for the PC3 VM.
4) When automated setup finished, complete the OOBE configuration steps. On the Personalize page, in
the PC name box, type PC3, and then select Next.
8) Select Finish.
9) Once the profile has been built, shut down the VM.
Students will also complete some activities on various Linux VMs. These VMs have been created as part
of the scripts you have run already. The Linux VMs have been created using standard US keyboard
layouts. If you are using a different keyboard layout, you may want to adjust the settings in each VM.
The means of doing this are as follows:
■ LX1 (centos / Pa$$w0rd)—Applications > System Tools > Settings > Region & Language.
■ PFSENSE/UTM1 (admin / Pa$$w0rd) —use option 8 to get shell then run kbdcontrol -l uk.iso.kbd (replace
"uk" as appropriate). This VM is mostly operated via the web console though.
■ SECONION (administrator / Pa$$w0rd) —Settings (top-left icon) > All Settings > Keyboard > Layout.
■ SIEM1 (siem / Pa$$w0rd) —Settings (top-left icon) > All Settings > Keyboard > Layout.
2) In Hyper-V Manager, double-click the RT1-LOCAL VM to open a connection window. Enter vyos as the
login and Pa$$w0rd as the password. Type poweroff then press ENTER and confirm with Y
Checkpoints are saved images of the disk and VM config file in a particular state. Create a checkpoint
now so that the VMs can be completely reset to the start of class state.
4) In the Hyper-V Management console, ensure that the State of each VM is listed as Off.
5) Open a PowerShell prompt with elevated privileges (WINDOWS > windows PowerShell >
CTRL+SHIFT+ENTER).
C:\COMPTIA-LABS\setupvms5-checkpoint
7) Optionally, once the script has completed, optionally set the execution policy back to restricted:
Set-ExecutionPolicy Restricted
[Confirm with r]
1) Apply the Initial Config checkpoints to all VMs then delete any checkpoints created by the students
during the activities.
2) Delete any VMs that the students created (RESTORE VM in the A+ backup activity and VMx in the A+
scripting activity for instance).
1) If you have not already done so, use the following link to download the updated setup script for
Security+ and Network+ and then extract the contents to C:\COMPTIA-LABS, overwriting any existing
files:
https://benchprepinstructors.s3.amazonaws.com/COMPTIA-LABS/GETVMS3.zip
2) On the HOST PC, open a PowerShell prompt with elevated privileges (START > windows PowerShell >
CTRL+SHIFT+ENTER).
C:\COMPTIA-LABS\getvms-cysaonly.ps1
The script will download and extract the additional and replacement files for the CySA+ activities.
C:\COMPTIA-LABS\setupvms2b-cysa.ps1
6) Boot and connect to the following VMs: DC1, MS1, PC1, PC2.
8) Sign in to DC1 as Administrator / Pa$$w0rd, and paste the clipboard contents to the C:\LABFILES folder,
choosing to overwrite any existing files.
9) Sign in to MS1 as 515support\Administrator / Pa$$w0rd, and select Start, right-click the Windows
PowerShell tile, and select More > Run as administrator. At the UAC prompt, select Yes. Run the
following command:
10) Sign in to PC1 as 515support\Administrator / Pa$$w0rd, and paste the clipboard contents to the
C:\LABFILES folder, choosing to overwrite any existing files.
11) Sign in to PC2 as 515support\Administrator / Pa$$w0rd, and select Start, type PowerShell and press
CTRL+SHIFT+ENTER. At the UAC prompt, select Yes. Run the following command:
C:\COMPTIA-LABS\setupvms5-checkpoint
1) If you have not already done so, use the following link to download the updated setup scripts for
and then extract the contents to C:\COMPTIA-LABS, overwriting any existing files:
https://benchprepinstructors.s3.amazonaws.com/COMPTIA-LABS/GETVMS3.zip
2) On the HOST PC, open a PowerShell prompt with elevated privileges (START > windows PowerShell >
CTRL+SHIFT+ENTER).
C:\COMPTIA-LABS\getvms-update.ps1
The script will download and extract the additional and replacement files for the Security+,
Network+, and CySA+ activities.
C:\COMPTIA-LABS\setupvms2-linux.ps1
C:\COMPTIA-LABS\setupvms2b-cysa.ps1
6) Boot and connect to the following VMs: DC1, MS1, PC1, PC2, LX1.
8) Sign in to DC1 as Administrator / Pa$$w0rd, and paste the clipboard contents to the C:\LABFILES folder,
choosing to overwrite any existing files.
10) Sign in to MS1 as 515support\Administrator / Pa$$w0rd, and select Start, right-click the Windows
PowerShell tile, and select More > Run as administrator. At the UAC prompt, select Yes. Run the
following command:
12) If you skipped hMail Server installation, complete that now, using the steps provided above.
13) Sign in to PC1 as 515support\Administrator / Pa$$w0rd, and paste the clipboard contents to the
C:\LABFILES folder, choosing to overwrite any existing files.
14) Sign in to PC2 as 515support\Administrator / Pa$$w0rd, and select Start, type PowerShell and press
CTRL+SHIFT+ENTER. At the UAC prompt, select Yes. Run the following command:
16) Sign in to the LX1 VM (centos / Pa$$w0rd) and run the following commands:
C:\COMPTIA-LABS\setupvms5-checkpoint
19) Install the Autopsy software to the HOST, using the c:\COMPTIA-LABS\autopsy-4.10.0-64bit.msi
installer.