References
Network defense track
An eight-week self-training plan for the visibility and protection material. Each week has a reading block, a lab, a proof and a review. Timebox: 6 hours per week. Do the lab on a machine you own. Weeks 5 to 8 need a virtual lab and, for week 8, a small PLC emulator.
The track uses the Beril labs for the web handoff and adds local network work with standard tools. Nothing here scans a third party.
Week 1: See the wire#
Read:
references/network-visibility.md- NIST SP 800-94, sections on network IDPS and false positives
- Zeek log file reference,
conn.log,dns.log,http.log,ssl.log
Lab:
- Build a small virtual network: one Linux host, one client VM.
- Run
tcpdump -i any -s 128 -w w1.pcapon the host for 10 minutes while the client browses, resolves DNS and downloads a file. - Run
zeek -r w1.pcapin a work directory. - Answer from the logs: how many DNS queries, which names, how many TLS handshakes, which SNI, how many bytes per flow.
- Use
tshark -r w1.pcap -q -z io,phsto see the protocol mix.
Proof: a one-page table with five flows, the DNS names, and one question the
capture cannot answer. capture_loss.log must be empty.
Review: which data source answered each question, and which one was blind.
Week 2: Detect, then tune#
Read:
- Sigma rule basics, especially
falsepositivesandlevel - MITRE ATT&CK T1071.004 detection strategy
references/network-protection.md, sections 8 to 10
Lab:
- Write three Sigma rules: long DNS label, TXT query from a workstation, and outbound SSH from a server.
- Convert them with
sigma-clito a query for a local backend or read them against the week 1 logs by hand. - Generate 30 benign events and 3 synthetic bad ones.
- Measure: how many rules fire on benign traffic, and how many bad events are caught.
- Add a filter and repeat. Keep the filter and the false positive note.
Proof: a table with rule, true positives, false positives and the filter. One rule must have zero false positives after tuning without losing the bad event.
Review: what baseline would have made the rule cheaper to run.
Week 3: Protect a segment#
Read:
- CISA microsegmentation guidance, phases 1 to 4
- CISA CPG 2.F and 2.T
- MITRE D3FEND Network Isolation, DNS allowlisting and outbound filtering
Lab:
- Create three zones: client, server, management.
- Default deny between them. Allow DNS and one application port only.
- Put a jump host in a DMZ. Reach the management zone only through it.
- Log denied traffic.
- Test from the client: DNS works, app works, SSH to management fails, direct internet egress fails.
- Try to bypass with a second NIC or a NAT rule, then close the bypass.
Proof: the rule set, five test results, and the deny log line. A traceroute showing the jump host.
Review: which bypass was easiest, and what would detect it.
Week 4: Respond to a synthetic incident#
Read:
docs/network-runbook.md- NIST SP 800-61r3, Detect and Respond functions
- SANS flow paper, the containment section
Lab:
- Start a listener on an external VM.
- On a lab client, run a loop that calls the listener every 30 seconds with a fixed payload.
- Treat the alert as real. Scope with flows and DNS, write the timeline, and contain with a DNS sinkhole or an edge block.
- Preserve the pcap and hash any file moved.
- Write the closing note with the gap that allowed the beacon.
Proof: timeline, containment action and time, one rule or ACL change.
Review: what the sensor saw, what it missed, and how long the scope took.
Week 5: BGP#
Read:
references/bgp-security.md- RFC 7454, sections 4 to 11
- RFC 6811 and the MANRS actions
Lab:
- Build two namespaces or VMs with ExaBGP and a route server.
- Announce a test prefix from the wrong origin and confirm the other side sees
it.
./beril bgp --prefix <lab-prefix>shows the public view once announced. - Add an RPKI ROA with
maxLength24 and run Routinator locally. - Mark the false origin invalid and confirm the route is rejected.
- Send a more specific /25 and confirm longest match wins.
- Break it with a route leak and catch it with an AS path filter.
Proof: the route table before and after each step, the RPKI state, and the filter
that fixed it. docs/bgp-runbook.md is the incident script.
Review: which step would a public collector have missed.
Week 6: IPv6#
Read:
- RFC 7454 special-purpose and specificity sections
- Your platform's RA guard and ND documentation
references/network-protection.md, section 1
Lab:
- Build a dual-stack client and server segment.
- Add a rogue RA and confirm the client takes the false prefix.
- Enable RA guard and repeat.
- Test an IPv6 prefix filter and a /64 to /48 aggregation rule.
- Run
ndisc6anddig -6checks.
Proof: the client address before and after the rogue RA, and the guard output.
Review: which IPv4 habit does not carry over.
Week 7: Cloud network#
Read:
- The provider VPC and security group documentation for one cloud
- CISA CPG 2.F and 2.W
references/network-protection.md, sections 2 and 5
Lab:
- In a free tier account, build a VPC with public and private subnets.
- Put an app in the private subnet behind a load balancer.
- Default deny the security groups, then allow only the load balancer.
- Add a VPC flow log and a NAT gateway.
- Try direct egress from the private subnet and confirm the deny.
- Add an interface endpoint for object storage and remove the NAT path.
Proof: the security group JSON, flow log line and the failed direct path.
Review: which control is the cloud equivalent of a DMZ.
Week 8: OT#
Read:
- CISA IT/OT segmentation advisory
- Purdue model summary
references/network-protection.md, section 1
Lab:
- Run an OpenPLC or Modbus simulator in a lab VLAN.
- From the IT VLAN, read a holding register with
mbpoll. - Put a firewall between the zones and allow only TCP 502 to one host.
- Add a read-only Modbus proxy and confirm writes fail.
- Log the denied IT-to-OT scan.
Proof: the register read, the firewall rule and the deny log.
Review: which test could stop a production line.
Weekly review questions#
- Which evidence line would convince a skeptical peer?
- Which source was noisy, and why?
- What did the test change in the design?
- Which control failed first?
Rules#
- One site or one virtual network at a time.
- Capture before you change.
- Record the time of every action.
- Keep the pcap and the logs until the note is written.
- A clean test is not a certificate. List the parts you did not test.
Where it connects#
The web side of the same skills is in docs/defending.md and the Beril web lab.
The protection checklist is references/network-checklist.md. The incident
runbook is docs/network-runbook.md.