Hands-On Practice

Lab Setup Guide

Everything you need to build your home lab and complete the 10 hands-on exercises.

๐Ÿ–ฅ๏ธ Hardware Requirements

Your lab machine needs to support hardware virtualization (VT-x / AMD-V).

Minimum Specs

  • โš™๏ธ CPU: 4 cores (VT-x/AMD-V enabled)
  • ๐Ÿ’พ RAM: 8 GB
  • ๐Ÿ’ฟ Storage: 100 GB free (SSD preferred)
  • ๐ŸŒ Network: Internet connection

Recommended Specs

  • โš™๏ธ CPU: 6+ cores
  • ๐Ÿ’พ RAM: 16 GB or more
  • ๐Ÿ’ฟ Storage: 256 GB+ SSD
  • ๐ŸŒ Network: Gigabit Ethernet + Wi-Fi

๐Ÿ“ฆ Recommended VM Downloads

Download these tools and images before starting the labs.

VirtualBox

Type 2 hypervisor โ€” free and cross-platform.

virtualbox.org โ†’

Kali Linux

Security assessment tools & penetration testing.

kali.org โ†’

Ubuntu Server 22.04+

Linux administration practice.

ubuntu.com โ†’

Windows 10/11 Eval

Windows security practice (90-day evaluation).

microsoft.com โ†’

Metasploitable 2

Vulnerable target for scanning & practice.

sourceforge.net โ†’

DVWA

Damn Vulnerable Web Application โ€” web security practice.

github.com โ†’

๐Ÿงช Lab Exercises

10 hands-on exercises corresponding to key chapters and mirroring the 29 live labs in CompTIA's A+ Cyber course.

Lab 1
Chapter 3

Windows User Account Hardening

Create, configure, and harden user accounts following the principle of least privilege. Create standard and admin users, set password policies (minimum length, max age, lockout threshold), and verify settings using PowerShell and net commands.

PowerShell User Management Password Policy Least Privilege
๐Ÿ’ป Try Interactive Lab โ†’
Lab 2
Chapter 4

Linux File Permissions and Sudo

Configure file permissions and sudo access to enforce least privilege. Set restrictive permissions on sensitive files, create limited user accounts, and configure granular sudo access using visudo.

Linux Permissions chmod/chown Sudo Configuration Least Privilege
๐Ÿ’ป Try Interactive Lab โ†’
Lab 3
Chapter 5

Detect Brute-Force Attacks in Logs

Parse authentication logs to identify and block brute-force SSH attempts. Analyze auth.log for failed passwords, identify offending IPs using awk/sort/uniq, and block attackers with ufw firewall rules.

Log Analysis Brute-Force Detection ufw Firewall awk/sort/uniq
๐Ÿ’ป Try Interactive Lab โ†’
Lab 4
Chapter 6

Network Scanning with Nmap

Discover hosts and services on your local network using Nmap. Perform ping sweeps, port scans, service version detection, OS fingerprinting, and save scan results for analysis.

Nmap Port Scanning Service Detection OS Fingerprinting
๐Ÿ’ป Try Interactive Lab โ†’
Lab 5
Chapter 10

Firewall Rule Configuration

Configure iptables/ufw rules to implement a basic security policy. Set default deny incoming, allow specific services (SSH, HTTPS), enable the firewall, and test by attempting blocked connections.

ufw/iptables Firewall Rules Default Deny Service Whitelisting
๐Ÿ’ป Try Interactive Lab โ†’
Lab 6
Chapter 12

Snort IDS Configuration

Install and configure Snort in IDS mode to detect suspicious network activity. Write custom detection rules, run Snort in test and console mode, and trigger alerts with ICMP traffic.

Snort IDS Rule Writing Network Monitoring Alert Analysis
๐Ÿ’ป Try Interactive Lab โ†’
Lab 7
Chapter 14

Vulnerability Scanning

Run a vulnerability scan and interpret the results using Greenbone Community Edition (OpenVAS). Create scan targets, execute full scans, and review Critical/High/Medium/Low findings with remediation priorities.

Greenbone/OpenVAS Vulnerability Assessment CVSS Scoring Remediation
๐Ÿ’ป Try Interactive Lab โ†’
Lab 8
Chapter 15

Bash Security Audit Script

Write a Bash script that performs a basic security audit of a Linux system โ€” enumerate users with login shells, list sudoers, check listening ports, count failed logins, and find world-writable files.

Bash Scripting Security Auditing System Enumeration Report Generation
๐Ÿ’ป Try Interactive Lab โ†’
Lab 9
Chapter 17

File Encryption with GPG

Encrypt and decrypt files using both symmetric (AES-256) and asymmetric GPG encryption. Generate key pairs, verify keys, perform asymmetric encryption/decryption, and export public keys.

GPG Encryption Symmetric/Asymmetric Key Management AES-256
๐Ÿ’ป Try Interactive Lab โ†’
Lab 10
Chapter 22

Incident Response Simulation

Practice all four NIST IR phases using a simulated compromised system. Create an IR checklist, detect unexpected services and suspicious processes, contain the threat with firewall rules, eradicate malicious artifacts, restore operations, and write a post-incident report.

NIST IR Phases Threat Detection Containment Forensic Reporting
๐Ÿ’ป Try Interactive Lab โ†’

๐Ÿ’ก Lab Tips

Take Snapshots

Before starting each lab, take a VM snapshot. If something breaks, you can instantly revert without re-installing.

Use Host-Only Networking

For labs involving scanning (Nmap, Metasploitable), use host-only networking to keep traffic isolated from your real network.

Document Everything

Keep a lab journal. Write down commands, outputs, and observations. This builds habits for real incident response work.