40 Cyber Security Projects for Beginners, With a Worked Start
Build a small home lab, then do a few projects properly rather than many badly. Three finished projects with written documentation beat twenty half-built ones, because an employer can only assess what you can explain. Everything below is scoped to systems you own or to deliberately vulnerable targets published for training.
Topic: Cybersecurity Foundations in Cybersecurity & Ethical Hacking · Lab / project
Quick answer: Build a small home lab, then do a few projects properly rather than many badly. Three finished projects with written documentation beat twenty half-built ones, because an employer can only assess what you can explain. Everything below is scoped to systems you own or to deliberately vulnerable targets published for training. Running any of it against anything else is an offence under the Information Technology Act, and nothing in this article is an exception to that.
Key takeaways
- Three documented projects beat twenty undocumented ones. The documentation is the deliverable.
- Start with the lab, because almost every other project needs somewhere to run.
- Pick projects that produce an artefact: a report, a rule, a dashboard, a script in a repository.
- Map what you build to MITRE ATT&CK so you can say what it detects in a vocabulary interviewers use.
- Only against your own systems or published training targets. There is no grey area here.
Topics covered in this guide: why projects matter, how to choose them, the lab to build first, forty projects across five categories, a worked first hour for one project in each, how to document a project so it counts, which ones impress employers, and how many you actually need.
Table of Contents
- Why Do Projects Matter More Than Courses?
- Before Anything Else: Scope and Legality
- How Should You Choose Projects?
- Home Lab and Infrastructure Projects
- Defensive and Monitoring Projects
- Offensive and Testing Projects
- Scripting and Automation Projects
- Cloud and Application Security Projects
- How Do You Document a Project Properly?
- Which Projects Impress Employers Most?
- How Many Projects Do You Need?
- References
Why Do Projects Matter More Than Courses?
Because a course certifies attendance and a project demonstrates capability. An interviewer can ask you about a project in a way they cannot ask you about a module: what went wrong, what you tried, why you chose that approach, what you would do differently.
That is also the reason an undocumented project is worth very little. If you cannot reconstruct what you did and why, it cannot be examined, and an interviewer will move on.
Before Anything Else: Scope and Legality
Every offensive project below is scoped to one of three things, and nothing else:
- A machine you own, on a network you own.
- A deliberately vulnerable application published for training, such as OWASP Juice Shop or the images in Vulhub, running in your own lab.
- A platform that explicitly authorises testing against its own targets, within its rules.
Scanning or testing anything else, including your employer's systems "to be helpful" and your college's network, is unauthorised access. The practical habit worth building now is writing down your scope before you start and keeping it with the project notes. That is what professional testing looks like, and it is the detail that makes a portfolio read as competent rather than reckless.
How Should You Choose Projects?
- Does it produce an artefact? A report, a detection rule, a dashboard, a repository. If it produces nothing, it is practice rather than a project.
- Can you explain the decisions? A project you followed step by step from a tutorial has no decisions in it. Change something and you own it.
- Does it connect to the job you want? Detection work for a SOC role, application testing for an AppSec role.
- Can you finish it in a week or two? Unfinished ambitious projects teach less than finished modest ones.
Home Lab and Infrastructure Projects
Build this first. Nearly everything else needs somewhere to run, and the lab itself is a legitimate project.
- Virtualised lab with an isolated internal network, using VirtualBox
- Kali Linux attacker VM, configured and documented
- Deliberately vulnerable target VM on a host-only network
- Windows domain controller with two joined clients
- pfSense or OPNsense firewall between two lab segments
- Centralised logging host receiving syslog from every lab machine
- Internal DNS server, so you can watch resolution during attacks
- Network segmentation with VLANs and inter-VLAN rules
- A Docker host for disposable vulnerable applications
- Full lab rebuild from scripts, so it is reproducible rather than precious
A worked first hour: the isolated lab network
The single most important setting is that the vulnerable machine cannot reach the internet or your home network. Create a host-only network and attach both VMs to it:
# list and create a host-only network
VBoxManage list hostonlyifs
VBoxManage hostonlyif create
VBoxManage dhcpserver add --ifname vboxnet0 \
--ip 192.168.56.1 --netmask 255.255.255.0 \
--lowerip 192.168.56.100 --upperip 192.168.56.200 --enable
# attach a VM to it, and nothing else
VBoxManage modifyvm "Target" --nic1 hostonly --hostonlyadapter1 vboxnet0
Then prove the isolation rather than assuming it, which is the part most people skip:
# from inside the target VM: both of these should fail
ping -c 2 8.8.8.8
ping -c 2 192.168.1.1 # your real home router
# from the Kali VM: this should succeed
ping -c 2 192.168.56.101
Write down what you ran and what it returned. That is the project's first artefact and it demonstrates something an employer cares about: you verify your assumptions.
Defensive and Monitoring Projects
- Deploy Wazuh and onboard three different log sources
- Write detection rules for five specific ATT&CK techniques
- Build a dashboard that answers one question, such as failed logins by source
- File integrity monitoring on a Linux host, with a tested alert
- Suricata inline between two lab segments
- Write a Suricata rule for traffic you generate yourself, and prove it fires
- Honeypot on an isolated segment, with analysis of what it catches
- Log pipeline that normalises three formats into one schema
- Alert triage playbook, written and then tested against your own attacks
- Measure and reduce false positives on one rule, with before and after numbers
A worked first hour: a detection you can prove works
A detection project is only finished when you have made it fire on purpose. Generate failed logins on a lab host:
# on the target, watch the auth log
sudo tail -f /var/log/auth.log
# from Kali, generate failures against your own lab host only
for i in $(seq 1 6); do
ssh -o StrictHostKeyChecking=no -o PreferredAuthentications=password \
-o PubkeyAuthentication=no [email protected] exit
done
Now write the rule, point it at the technique it covers, and record the evidence:
# confirm the events arrived in the log you are monitoring
sudo grep -c "Failed password" /var/log/auth.log
# after the alert fires, capture the proof for your write-up
date -Is; echo "6 failed SSH logins from 192.168.56.102, alert ID ..."
Then map it: brute forcing of valid accounts is T1110 in MITRE ATT&CK. Saying "this detects T1110 Brute Force, and here is it firing" is a different class of answer from "I set up a SIEM".
Offensive and Testing Projects
All of these run against your own lab or a published training target. Re-read the scope section if you are unsure.
- Full Nmap enumeration of your lab, documented as a findings table
- Exploit one deliberately vulnerable VM end to end and write it up as a report
- Work through OWASP Juice Shop and document five distinct vulnerability classes
- Password cracking against hashes you generated yourself
- Web application testing with an intercepting proxy, on your own target
- Active Directory attack path in your own lab domain
- Wireless security assessment on your own access point
- Phishing simulation page, in the lab, never sent to anybody
- Privilege escalation on a deliberately misconfigured Linux VM
- Write the same finding twice: once for engineers, once for management
A worked first hour: enumeration that produces a document
# discovery across your own lab subnet only
nmap -sn 192.168.56.0/24 -oA lab-discovery
# service and version detection on one host you own
nmap -sV -sC -p- --min-rate 1000 192.168.56.101 -oA target-full
# turn the output into something you can put in a report
grep -E "^[0-9]+/tcp +open" target-full.nmap
The -oA flag writes three output formats at once, and it matters more than it looks: it means your evidence exists as a file with a timestamp instead of as scrollback you lost. Every finding in your report should cite the file it came from.
Scripting and Automation Projects
- Log parser that extracts and counts one kind of event
- Port scanner in Python using the socket library, to learn what Nmap does for you
- Script that checks a list of domains for SPF and DMARC records
- Automated lab rebuild, so a broken VM costs minutes
- Hash-checking tool that flags changed files against a baseline
- Script that converts scanner output into a formatted findings table
A worked first hour: something small that is genuinely useful
This checks a list of domains for email authentication records, which is a real task and a short script:
#!/usr/bin/env python3
import subprocess, sys
def txt(name):
out = subprocess.run(['dig', '+short', 'TXT', name],
capture_output=True, text=True).stdout
return [l.strip() for l in out.splitlines() if l.strip()]
for domain in [l.strip() for l in open(sys.argv[1]) if l.strip()]:
spf = [r for r in txt(domain) if 'v=spf1' in r]
dmarc = [r for r in txt('_dmarc.' + domain) if 'v=DMARC1' in r]
policy = 'none'
for r in dmarc:
for part in r.split(';'):
if part.strip().startswith('p='):
policy = part.strip()[2:]
print('%-28s spf=%-3s dmarc=%-3s policy=%s'
% (domain, 'yes' if spf else 'NO', 'yes' if dmarc else 'NO', policy))
Run it against domains you are responsible for. The output is a finding, and a finding is an artefact.
Cloud and Application Security Projects
- Harden a cloud account from defaults and document each change and its reason
- Build a deliberately misconfigured bucket in your own account, detect it, fix it
- Container image scanning in a build pipeline, with a failing build as proof
- Threat model one application you have written, and record what you would fix first
Use a free tier and set a billing alert before you start. A cloud project that produces an unexpected bill is a lesson, but an expensive one.
How Do You Document a Project Properly?
This is the part that converts work into evidence, and most portfolios fail here. Use the same structure every time, because consistency is itself a signal:
| Section | What goes in it |
|---|---|
| Objective | What you set out to find out or build, in one sentence |
| Scope | Exactly which systems, and your authority to touch them |
| Environment | Versions of everything, so a reader could reproduce it |
| Method | What you ran, in order, with the commands |
| Findings | What you observed, with the evidence file each one came from |
| What went wrong | Dead ends and mistakes. Interviewers read this first |
| What I would do differently | One honest paragraph |
The "what went wrong" section is the one candidates leave out and the one that makes a portfolio credible. A write-up where everything worked first time reads as a tutorial followed, not a problem solved.
Keep it in a public repository with a commit history. The history shows the work happened over time, which a single uploaded document does not.
Which Projects Impress Employers Most?
The ones with a measurable outcome and an honest account of the difficulty. In rough order:
- A detection you wrote, with proof it fires, mapped to an ATT&CK technique.
- A full test of one target, written up as a report with findings, evidence and remediation advice.
- An automation that saved real time, with before and after numbers.
- A reproducible lab built from scripts, because it shows engineering discipline.
- A false positive reduction with the numbers, because it shows you understand that alerts have a cost.
What impresses nobody: a list of tools installed, a screenshot of a dashboard with no explanation, and a walkthrough of a tutorial with the numbers changed.
How Many Projects Do You Need?
Three to five finished and documented is enough to hold a long interview. Forty undocumented ones are a list.
A sensible first portfolio: the lab, one detection project with proof, one full test of a vulnerable target written up as a report, and one script that does something you actually needed. That is four projects, perhaps six weeks of evenings, and it gives an interviewer four separate things to probe.
If you are choosing what to learn alongside this, our guides to basic networking, access control lists and cyber security course eligibility cover the fundamentals these projects assume, and the analyst career path covers where they lead.
Talk to a WebAsha training advisor about batches, syllabus and current fees.
References
- Kali Linux documentation
- Nmap reference guide
- Wazuh documentation
- Suricata documentation
- MITRE ATT&CK
- OWASP Juice Shop
- Vulhub, pre-built vulnerable environments
- Docker documentation
- VirtualBox user manual
- Python socket library documentation
Related reading
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0