Objective. Students build and harden the virtualized enterprise environment defined in their architecture plan, configure a SIEM to ingest logs from at least three sources, and deliver a working automation script that detects at least two attack signatures in sample log data.
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
This lab brings together every concept you have studied: network architecture, system hardening, log management, and scripted detection. By the end, you will have a running virtualized enterprise that mirrors a small business network, a SIEM collecting data from multiple sources, and an automation script that catches real attack patterns.
Using VirtualBox (or an equivalent free hypervisor), you will deploy three virtual machines that represent the core of a small enterprise:
Configure each VM with at least two network interfaces so the firewall sits between an external (WAN) segment and an internal (LAN) segment. The Linux server and Windows endpoint attach to the LAN. The attacker VM, if used for testing, attaches to the WAN. This segmentation forces all traffic through the firewall, which is the correct architectural principle.
Before you harden anything, snapshot every VM. Snapshots give you a safe rollback point if a configuration change breaks connectivity. Treat each snapshot like a save point — create one before every significant change.
The Center for Internet Security (CIS) publishes free benchmark documents for Linux and Windows that list specific configuration settings, their default values, and the recommended secure values. You must document every change in a hardening log that records four fields for each control: the setting name, its default value, the value you applied, and the CIS Benchmark control reference number.
Common hardening steps you will apply include:
Each of these maps to a numbered CIS control. Recording the control number is not just paperwork — it is the evidence an auditor or certification body uses to confirm compliance.
A Security Information and Event Management (SIEM) system collects, normalizes, and correlates log data from many sources. You will configure one of the following free options: Splunk Free, Elastic Stack, or Wazuh.
Your SIEM must ingest logs from at least three sources:
1. Syslog from the Linux server
2. Windows Event Log from the Windows endpoint (forwarded via Wazuh agent, Winlogbeat, or Universal Forwarder)
3. Firewall logs from pfSense or OPNsense
Once data flows in, create at least four correlation rules or saved searches targeting these patterns:
Test each rule by replaying the instructor-supplied sample log files. A rule that never fires — even against known-bad data — provides no protection.
Your Python 3 or Bash script must be at least 40 lines of functional code (comments and blank lines do not count). It must:
1. Accept a raw log file as input.
2. Use regular expressions or keyword matching to identify at least two defined attack signatures.
3. Count events per source IP address.
4. Write a formatted plain-text alert report to a specified output file.
Structure your script with clear sections: argument parsing, log reading, pattern matching, counting, and report writing. Use Python's `re` module for regex and `collections.Counter` or a plain dictionary for counting. Always close file handles — use `with open(...)` blocks to prevent resource leaks.
Run your script from the command line before submission and confirm it exits with zero errors. A script that crashes on the test data earns no credit regardless of how well it is written.
All attack simulation stays inside the isolated lab network. Never run port scans or exploitation tools against any system outside your hypervisor environment — doing so without written authorization violates the Computer Fraud and Abuse Act and professional ethics codes upheld by CompTIA and ISC2.
Keep credentials used in the lab (even test passwords) out of any code you push to a public repository. Use placeholder variables or environment variables instead. This habit protects you and future employers.
Your instructor will run a live checklist verification. All three of the following must pass, and your hardening log must document at least ten controls with their CIS reference numbers, to earn the minimum passing score of 80%:
1. The firewall blocks a test scan from the attacker VM.
2. At least four SIEM rules fire correctly against the sample log set.
3. The automation script produces the correct alert report with zero runtime errors.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.
Does the school offer financial aid?
No. We don’t offer financial aid because we’re free. No, really: completely free.
Do you offer industry certification?
No. We are not certified yet, so we can’t offer that to students. What we do offer is knowledge and understanding of a trade.
Enroll first in the trade you’re interested in. You get your key, your program opens, and you begin studying.
Enroll free →