LESSON 67 · ADVANCED5 min read

Build a Home Lab and Portfolio

Design an isolated lab, document experiments that prove your skills, and present a portfolio that stands up to technical questions.

OWASP Top 10 · MITRE ATT&CK · NIST CSF 2.0Free to readModule 14 of 14
YOUR NEXT SMALL WINS

By the end, you’ll be able to…

  • Design an isolated, legal home lab for defensive and offensive practice.
  • Write experiment notes with scope, hypothesis, method, evidence, and conclusion.
  • Build portfolio artefacts that demonstrate judgement rather than tool familiarity.
  • Present a project clearly in a README, a short write-up, and an interview walkthrough.

01Design a Lab You Can Explain

A home lab is a controlled environment where you can break things, observe the result, and rebuild. Start with isolation. Use virtual machines on a host-only or internal network, or a dedicated physical network that cannot reach your real devices. Never scan or attack systems you do not own or have explicit written permission to test. Your internet service provider, employer, school, and local law all matter.

A useful starter lab has an attacker workstation, a target, and a defender. Kali Linux is a common attacker platform; Ubuntu Server is a flexible target and log source. Add a Windows evaluation VM if you need Active Directory practice. A small monitoring stack, such as a log collector and a dashboard, turns random commands into evidence you can analyse. Snapshot before each experiment so you can reset cleanly.

Keep the lab modest. Two to four virtual machines on a laptop with enough RAM is more useful than an expensive rack you never document. Define a purpose for each experiment: test a detection, reproduce a web weakness, practise Linux hardening, or rehearse an incident. A lab without a question is just a collection of screenshots.

lab-topology.txtPlain text
HOST (16 GB RAM recommended)  VM 1  kali-01      10.10.10.10   attacker workstation  VM 2  ubuntu-target 10.10.10.20   vulnerable web app + logs  VM 3  ubuntu-sensor 10.10.10.30   log collector and dashboard  VM 4  windows-dc   10.10.10.40   optional Active Directory labNETWORK  host-only / internal, no route to the physical LAN  snapshots before every experiment  synthetic data only, no real customer or employer data
Outputstdout
A small, reproducible lab with a clear attacker, target, and observer.
Document the network, the snapshots, and the scope before you start.

02Documentation Is the Deliverable

An experiment note should let someone else reproduce your work. Record the date, the question, the environment, the scope, the steps, the observations, the evidence, the conclusion, and what you would do differently. Include the exact commands or configuration, but explain why you chose them. A screenshot of a terminal is not a finding; the interpretation is the finding.

Write in plain language. Start with the result: 'A default Ubuntu 24.04 host exposed SSH to the lab network and allowed password authentication.' Then explain how you checked, what the risk is, and what you changed. Separate observation from inference. If you did not test something, say so. Reviewers trust a careful limitation more than a confident guess.

Keep a lab journal even when an experiment fails. Failed hypotheses teach debugging and often produce the most interesting questions. Date every entry, note the version of each tool, and link to the evidence. Over time the journal becomes a record of how you think, which is exactly what interviewers want to see.

03Portfolio Projects That Survive Scrutiny

Choose projects that show a complete loop: question, action, evidence, decision. A detection rule with a test dataset, observed false positives, and a response procedure is stronger than a folder of screenshots. A hardened Linux baseline with before-and-after checks is stronger than a list of commands. A web review with a reproducible finding, a fix, and a retest is stronger than a scanner report.

Sanitise everything. Remove real names, email addresses, IP addresses, tokens, customer data, and employer details. Replace them with synthetic values and state that you did so. Do not publish details of an unpatched vulnerability in someone else's system. If you write about a public lab or a deliberately vulnerable application, follow its rules and credit the source.

Build a small number of artefacts and maintain them. A clear README, a reproducible setup, a short write-up, and a ten-minute explanation are enough. Link the artefact from your resume and portfolio page. Make the first screen answer: what problem, what did you do, what did you find, and what changed? Hiring managers are busy; respect their time.

README.mdMarkdown
# Linux Baseline Audit Lab## QuestionWhich security controls are missing on a default Ubuntu 24.04 server?## ScopeIsolated host-only network. Synthetic data only. No production systems.## Method1. Build the VM and snapshot the clean state.2. Collect users, services, SSH configuration, firewall, updates, and audit state.3. Compare findings with a documented baseline.4. Apply fixes and re-run the same checks.## Evidence- before/after command output- configuration diff- verification table## ResultThree high findings, two medium findings, one accepted risk.All high findings remediated and verified.## LimitationsNot a penetration test. No exploit attempts. Single host.

04Write-Ups, GitHub, and Interviews

A portfolio page should be easy to scan. Lead with a short bio that states your direction, then three projects with one-line outcomes, then links to the detailed write-ups. Avoid a wall of badges. If you use GitHub, pin the repositories that matter, write a real README, and include setup instructions. A repository with no explanation is a code dump, not evidence.

In an interview, walk through one project in five minutes: the question, the constraints, the method, the evidence, the decision, and the limitation. Then invite questions. Be precise about what you did versus what a tool did. If the interviewer challenges a choice, explain the trade-off rather than defending everything. The goal is to show how you think, not to win an argument.

Keep learning visible without oversharing. A short monthly note about what you tested, what surprised you, and what you would change is more credible than a stream of certifications. Build relationships in the community: local meetups, open-source documentation, conference talks, and mentoring. The security community is small; generosity and reliability travel further than self-promotion.

LET IT CLICK

The ideas worth keeping.

  • A lab needs isolation, a clear question, and synthetic data.
  • Documentation turns activity into evidence that others can reproduce.
  • Portfolio projects should show a complete loop and state their limitations.
  • Sanitise, disclose responsibly, and explain your thinking in interviews.
TURN UNDERSTANDING INTO SOMETHING YOU CAN DO

Make it yours.

Type and test your code right here in the interactive workspace. Run your solution, check the output, and compare with the worked guide when ready.

01

Exercise 1: Design an isolated experiment

You want to test whether a web application logs failed logins with enough context to detect credential stuffing. Describe the lab, the test, the evidence, and the safety boundaries.

Explore a worked solution
one_possible_solution.mdCybersecurity
Lab: a host-only network with a target VM running a deliberately vulnerable web app, a Kali VM for controlled requests, and a log collector. Test: send a small series of failed logins from one source with different usernames, then repeat from several sources; record the application, web-server, and authentication logs. Evidence: timestamps, source addresses, usernames, user-agent strings, response codes, and the query used to detect the pattern. Safety: no real accounts, no internet-facing target, synthetic credentials, snapshot before the test, and no data leaving the lab. Conclusion: state whether the logs support detection, what is missing, and which additional field or alert would close the gap.

The experiment tests a defensive question, not just an attack. Evidence and limitations make the result useful.

02

Exercise 2: Turn a finding into a portfolio entry

You found that an Ubuntu host allows SSH password authentication. Write the four headings of a short portfolio entry and the key content for each.

Explore a worked solution
one_possible_solution.mdCybersecurity
Question: does the host follow the baseline for remote administration? Scope: one isolated Ubuntu 24.04 VM, synthetic accounts, no production access. Method and evidence: inspect sshd configuration, attempt a password login from the lab, capture the relevant log lines, change the configuration to disable password authentication and require keys, validate the syntax, restart the service, and retest. Result and limitation: password login now fails, key login succeeds, and the change survives a reboot; the test covered one host and did not assess key custody or account lifecycle. Decision: keep key-only authentication and add a quarterly access review.

The entry shows a complete loop and names its limits. That is more credible than claiming the host is now secure.

A SMALL QUESTION. A USEFUL NEXT STEP.

What stayed with you?

Check the ideas while they’re fresh. Your answers stay in this page and feedback appears as you go.

A LITTLE ACTIVE RECALL0 / 4 answered
01Why should a home lab be isolated from production and home networks?
02What makes an experiment note reproducible?
03What is the strongest portfolio artefact?
04What should you do before publishing a lab write-up?

Keep exploring.

The official references behind this lesson, when you want a second angle or the full details.

One lesson closer.

Reading is a start. Trying it yourself makes the connection.

Completion is saved in this browser. It records reading and hands-on practice progress.