A month of small, finishable tasks.
Consistency beats intensity. Each challenge breaks a domain into daily work you can actually complete after a full day of something else.
30 Days of Network Security
A daily task for a month, each one small enough to finish in an evening and concrete enough to prove you did it. Everything runs in your own lab.
Resources for this domain- 01
Install Wireshark and capture your first packet. Identify the source address, destination address and protocol for five different packets.
- 02
Scan your own home or lab network with Nmap (never a network you do not own or have written permission to test). Document every live host and open port, and identify at least three running services.
- 03
Build a two-VM lab. Put a firewall on one (nftables, or a pfSense or OPNsense VM), connect from the other, and record exactly which traffic was blocked and which was allowed.
- 04
Analyse a public pcap, such as a Malware-Traffic-Analysis.net exercise or a capture from a past CTF. Pick out the DNS queries, the HTTP requests, and anything that looks like data leaving the network.
- 05
Write three Snort 3 or Suricata rules that detect a port scan, an ICMP flood, and a suspicious outbound connection. Test each one against traffic you generate in your lab.
- 06
Run Zeek against the pcap from day 4 (or a fresh capture from your lab). Open conn.log, dns.log and http.log, and write up how each log line maps back to packets you can find in Wireshark.
- 07
Capture an hour of your own lab or home DNS traffic and analyse it with tshark or Zeek. List the ten most-queried domains, flag any you cannot explain, and record which device made each unexplained query.
- 08
Capture a TLS session to a site you control or a lab web server and walk through the handshake in Wireshark. Record the TLS version, the cipher suite chosen, the certificate chain, and the SNI value, and note what stays visible to a network observer despite encryption.
- 09
Harden SSH on a lab VM: key-only authentication, no root login, and a restricted list of allowed users. Confirm each change by attempting the blocked login from another VM, and document the config lines and the results.
- 10
In your own lab, capture a full DHCP exchange and the ARP traffic that follows. Then run an ARP spoofing tool such as arpspoof or Ettercap between two lab VMs you own (never a network you do not own or have written permission to test), and record how the spoof shows up in Wireshark and in Zeek or arpwatch.
- 11
Segment your virtual lab into at least two networks, using VLANs on OPNsense or separate virtual switches. Write firewall rules so one segment can reach the other only on a single port, and document a test proving everything else is blocked.
- 12
Set up a WireGuard tunnel between two lab VMs. Capture traffic on the underlying interface and inside the tunnel, and write up what an observer on each side can and cannot see.
- 13
Baseline your lab network. Over at least an hour of normal activity, record which hosts talk to which, on which ports, and how much data moves, using Zeek conn.log or Wireshark statistics. Save the result as the reference you will compare against for the rest of the month.
- 14
Week two review. Pick the service you hardened or the segment you built this week, try to get around your own control from another lab VM, and write up what held, what did not, and what you changed.
- 15
Install Security Onion in a VM (or Zeek and Suricata side by side if your hardware is limited) and point it at your lab traffic. Document the install, the interfaces you monitor, and the first alerts and logs that arrive.
- 16
Analyse flow data from your lab. Export NetFlow or IPFIX from OPNsense, or use Zeek conn.log as flow records, and find the top talkers, the longest connections, and any flow that does not match your day 13 baseline. Record each finding.
- 17
Write two custom Suricata rules and one Sigma rule for behaviour you saw this month, such as a specific DNS lookup or an SSH login from an unexpected segment. Trigger each one in your lab and save the alerts as evidence.
- 18
Centralise your logs. Forward firewall, Zeek and SSH logs from your lab into one place (Security Onion, or syslog into a Graylog or Wazuh VM), then write down one search that answers "what did this host do in the last hour?"
- 19
Work a Malware-Traffic-Analysis.net exercise end to end with the tools you now have: Zeek, Suricata and Wireshark. Identify the infected host, the user, the malicious domains and IP addresses, and write a short report in the format the exercise asks for.
- 20
Detect beaconing. Generate regular check-in traffic from a lab VM (a script calling an HTTP server you run every 60 seconds with a little jitter), then run RITA over the Zeek logs and record how it scores that connection compared with normal traffic.
- 21
Detect DNS tunnelling. Run a tool such as dnscat2 or iodine between two VMs in your own lab (never a network you do not own or have written permission to test), then write a Zeek script, Suricata rule or query that flags it, and record the query lengths and volumes that gave it away.
- 22
Assess the security of your own wireless access point (never a network you do not own or have written permission to test). Record the encryption mode, whether WPS is on, the admin interface exposure and firmware version, and fix at least one weakness you find.
- 23
Harden one lab host against a CIS Benchmark for its operating system, focusing on the network sections: listening services, firewall configuration and kernel network parameters. Record each control as passed, fixed or accepted, with a reason.
- 24
Run a purple-team mini exercise. Execute an Atomic Red Team network discovery test (such as T1046, Network Service Discovery) on a lab VM you own, and record whether your Suricata, Zeek or Security Onion setup detected it. If it did not, write a rule that does.
- 25
Repeat the purple-team loop with a different technique, such as data exfiltration over an unusual protocol or port, run only inside your lab. Document what you ran, what was detected, and how long it took you to notice.
- 26
Write an incident report for one of your detections from days 19 to 25: timeline, affected hosts, evidence with log excerpts, root cause, and recommended fixes. Keep it to two pages, as if a manager will read it.
- 27
Capstone, part one: design a segmented home or lab network on paper. Draw the segments (for example trusted, IoT, guest, lab and management), the firewall rules between them, and where monitoring sensors sit, and justify each decision in a sentence.
- 28
Capstone, part two: build as much of your design as your lab allows, using OPNsense or nftables for the firewall and Zeek or Suricata for monitoring. Record which parts match the design and which you had to change, and why.
- 29
Capstone, part three: test your build. From each segment, try to reach every other segment, and confirm both the firewall result and the monitoring alert. Document the results in a table against the rules you designed on day 27.
- 30
Write a retrospective of the month: what you can now do that you could not on day 1, the three detections you trust most, the gaps you still have, and the next skill you will learn. Publish it with your lab notes or keep it as your portfolio piece.
Week one covers packets and scanning, week two protocols and segmentation, week three detection and monitoring, and week four attack-and-defend exercises in your own lab.
In development
- 30 Days of Web SecurityWeb application security
- 30 Days of Cloud SecurityCloud security
- 30 Days of Incident ResponseIncident response