Expert · Careers and certifications · topic 42 of 43 · 35 min
Building a home lab and a portfolio
Explanation
Why a lab beats another certificate
In interviews, "I set up Sysmon and Wazuh, simulated a brute-force attack on my own Windows VM, and here is the alert and my write-up" is far stronger than "I watched videos about SIEMs". A lab also makes everything in this course real: you see Event 4625 appear because you caused it.
What you need
- A computer with at least 16 GB of RAM if possible (8 GB works for a very small lab), a modern CPU with virtualisation turned on in the BIOS/UEFI, and 100 GB or more of free disk space.
- A hypervisor (software that runs virtual machines): Oracle VirtualBox or VMware Workstation Pro (free for personal use).
- Operating systems: Ubuntu Server or Desktop (free), and a Windows evaluation edition from Microsoft's Evaluation Center (time-limited, free for testing).
A starter blue-team lab
| Machine | Role | RAM (approx.) |
|---|---|---|
| Ubuntu Server with Wazuh (or Splunk Free / Elastic) | SIEM: collects and searches logs | 4–8 GB |
| Windows 10/11 or Server evaluation with Sysmon and the SIEM agent | The "victim" endpoint that generates logs | 4 GB |
| Ubuntu or Kali Linux | The machine you simulate attacks from, only against your own VMs | 2–4 GB |
Put the VMs on a host-only or internal network, so they can talk to each other but not to your home network or the internet (allow internet only when installing updates). Take snapshots (saved states) so you can roll back after experiments.
$ VBoxManage list vms
"siem-wazuh" {3f6c...}
"win-victim" {9a12...}
"attacker" {b77e...}
$ VBoxManage snapshot "win-victim" take "clean-before-test"Lab exercises that map to jobs
- Brute force: from the attacker VM, try wrong passwords against the Windows VM (RDP or SMB) and find the 4625 events and the SIEM alert. Then turn on account lockout and see 4740.
- Persistence: create a scheduled task on the Windows VM yourself, and find it in Sysmon and Security logs (4698).
- Phishing analysis: analyse sample phishing emails from legal practice platforms; extract headers and IOCs.
- Detection: write a Sigma rule for one behaviour, convert it, and test it.
- Python: write a script that parses exported logs and prints a summary.
Building a portfolio
- A GitHub profile with: your Python scripts from this course, Sigma rules, lab setup notes.
- Write-ups: one page per investigation: scenario, evidence, timeline, verdict, what you would improve. Use made-up or provided data only, never real company data.
- A short blog or LinkedIn posts explaining what you learned in plain words.
- Completion badges from practice platforms, listed honestly as practice, not as jobs.
Common mistakes
- Bridged networking, putting a deliberately weak VM on your home Wi-Fi.
- Spending weeks on lab hardware and never writing up results.
- Copying other people's write-ups. Interviewers ask follow-up questions.
- Publishing screenshots that contain your real IP address, passwords or employer data.
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
Building a home lab and a portfolio · 1/6
A home lab lets you see real logs because you caused them.
Prefer a video by a teacher? Find free videos on “build a cybersecurity home lab wazuh sysmon virtualbox SOC analyst” on YouTube ↗
In real life: The write-up that got an interview
Sneha from Nagpur published a two-page write-up: "Detecting password spraying in my home lab". It showed her lab diagram, the 4625 events with Sub Status 0xC000006A, her Wazuh rule, the alert, a timeline, and what account lockout changed. A SOC manager at a Pune MSSP saw it on LinkedIn and invited her to interview. Most of the interview was a discussion of that write-up.
Practice (0/3 done)
Which network mode keeps lab VMs talking to each other but away from your home network?
Write lab_fits(vms, host_ram_gb, reserve_gb) where vms is a dict of VM name → RAM in GB. Return True if the total VM RAM plus reserve_gb (left for the host OS) is at most host_ram_gb. Write also largest_vm(vms) returning the name of the VM with the most RAM.
Build the starter lab (or the smallest version your computer allows). Generate failed logons on the Windows VM yourself, find them in the SIEM, and publish a one-page write-up on GitHub or a blog.
Quick quiz
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- Interviews, CVs and honest salary expectationsCareers and certifications · same module
- Career paths in cyber securityCareers and certifications · same module
- Why you need an isolated labEthical Hacking and Penetration Testing (legal labs) · Your legal practice lab
- Building a portfolio and getting hiredEthical Hacking and Penetration Testing (legal labs) · Bug bounties, disclosure and careers
- Portfolio, projects and interviewsData Science, Machine Learning and AI · Ethics, privacy and careers
- Careers, salaries in India and your next stepsLinux and Red Hat (RHCSA to RHCE) · Certifications and career
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
What is a hypervisor?
Answer: Software that runs virtual machines
VirtualBox and VMware Workstation are hypervisors.
Why take a snapshot before an experiment?
Answer: To roll back to a clean state afterwards
Snapshots save a known-good state.
Where should you get a Windows VM for your lab legally?
Answer: Microsoft's Evaluation Center (time-limited evaluation)
Microsoft offers free, time-limited evaluation editions for testing.
What should a portfolio write-up never contain?
Answer: Real company data, passwords or personal data
Use made-up or provided data only.
Where can you safely practise malware analysis as a beginner?
Answer: Guided legal platforms with prepared data, like LetsDefend or CyberDefenders
Guided platforms provide safe, legal exercises.
The most important property of a practice lab is…Related
Answer: Isolation from real systems and the internet
Isolation keeps your attacks safe and legal.
A portfolio is valuable because it…Related
Answer: Shows real, documented ability and communication
It is evidence of how you work and think.
What must never be pushed to a public GitHub repository?Related
Answer: API keys and personal data
Secrets and personal data in public repos are a serious risk.
What should NEVER be in your public Ansible GitHub repo?Related
Answer: Plain-text passwords or vault password files
Use vault, and keep password files out of Git.
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- 1 more topic in “Careers and certifications” before its exam: Interviews, CVs and honest salary expectations.
- Module 10 exam: Careers and certifications · 11 questions · 15 min, without help. 4 topics of this module still to finish first.
- 43 topics left in the course before the final exam.