Cybersecurity-Mastery

Networking — Track

Protocol-by-protocol internals, on the wire. Every attack and every detection eventually reduces to bytes crossing a link.

Your progress in this track

Set up the lab environment below once, then work the lessons — each one is hands-on-first.

Lab Environment

Set up once, then use it for every chapter in the Networking part. Everything runs locally and isolated — you never touch a system you don't own.

A small network range: a multi-service Linux target plus a packet-capture point, so you can scan, sniff and dissect real traffic.

What you get

TargetHow to reach it
metasploitableMany open services (FTP/SSH/Telnet/SMB/HTTP/MySQL) — the scan & enumerate target
Kali (you)Attacker + capture host (tcpdump/wireshark/tshark/nmap)

Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):

yaml
# net-lab/docker-compose.yml  —  Networking part environment
services:
  metasploitable:
    image: tleemcjr/metasploitable2
    container_name: net-target
    networks: [labnet]
    # intentionally vulnerable services; keep it OFF any routed network
    command: /bin/sh -c "/etc/rc.local; tail -f /dev/null"

networks:
  labnet:
    driver: bridge
    internal: true          # no route to host/internet — fail closed

Attacker box. Your Kali box is the attacker. Put it on the same labnet network (docker network connect labnet kali) or use the published host ports. All targets are on an internal, isolated network by default — they cannot reach the internet or your host, which is exactly what we want.

Verify it works

  • docker compose up -d then docker network inspect labnet shows the target's IP.
  • From Kali on labnet: nmap -sn <subnet> finds the target; nmap -sV <ip> lists services.

Notes

  • Metasploitable 2 is deliberately vulnerable — never expose it on a routed network.

Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.

Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.

Lessons

#LessonDifficultyHands-onWhat you'll do
1The OSI Model🟢 Beginner~30mSeven-layer reference model, what each layer really owns and how to use it as a triage tool.
2TCP/IP🟢 Beginner~48mThe DoD model, IP datagrams, TCP state machine, UDP, ports, MTU and fragmentation.
3Routing🟡 Intermediate~48mLongest-prefix match, static vs dynamic routing, RIP/OSPF/EIGRP and route-based attacks.
4Switching🟡 Intermediate~36mMAC learning, VLANs, trunking, STP and layer-2 attacks such as VLAN hopping and STP takeover.
5ARP🟢 Beginner~30mAddress resolution, the ARP cache, gratuitous ARP and the mechanics of ARP spoofing.
6DHCP🟢 Beginner~30mDORA exchange, options, relays, rogue servers, starvation attacks and DHCP snooping.
7DNS🟡 Intermediate~60mResolution flow, record types, zone transfers, DNSSEC, DoH/DoT, tunnelling and cache poisoning.
8ICMP🟢 Beginner~30mMessage types, path MTU discovery, traceroute mechanics and ICMP covert channels.
9HTTP🟢 Beginner~48mRequest/response grammar, methods, status codes, headers, HTTP/1.1 vs /2 vs /3 framing.
10HTTPS🟡 Intermediate~30mHTTP over TLS, SNI, ALPN, HSTS, mixed content and interception proxies.
11TLS🟠 Advanced~72mHandshake internals for TLS 1.2 and 1.3, cipher suites, session resumption and downgrade attacks.
12SSH🟡 Intermediate~48mTransport, auth and connection layers, host keys, agent forwarding, tunnels and key hygiene.
13SMTP and Email Transport🟡 Intermediate~48mEnvelope vs headers, relaying, SPF, DKIM, DMARC, MTA-STS and spoofing mechanics.
14FTP and File Transfer🟢 Beginner~30mActive vs passive mode, control/data channels, anonymous access, FTPS and SFTP contrasted.
15SMB🟡 Intermediate~60mDialects, session setup, signing, shares, named pipes and the protocol behind lateral movement.
16LDAP🟡 Intermediate~48mDirectory model, DNs, filters, binds, LDAPS/StartTLS, injection and enumeration.
17Kerberos🟠 Advanced~84mAS-REQ through TGS-REP, tickets, PACs, delegation and the full family of ticket attacks.
18BGP🟠 Advanced~60mPath-vector routing, ASNs, peering, route leaks, prefix hijacking, RPKI and internet-scale outages.
19IPv6🟡 Intermediate~48mAddressing, SLAAC, NDP, extension headers, transition mechanisms and IPv6-only attack paths.
20NAT🟢 Beginner~30mSNAT, DNAT, PAT, hairpinning, NAT traversal, STUN/TURN and why NAT is not a firewall.
21Firewalls🟡 Intermediate~60mPacket filtering, stateful inspection, NGFW, WAF, nftables/pf rulesets and evasion techniques.
22VPN🟡 Intermediate~60mIPsec, WireGuard, OpenVPN, SSL VPNs, split tunnelling and VPN appliance CVEs.
23Load Balancers and Proxies🟡 Intermediate~48mL4/L7 balancing, health checks, X-Forwarded-For trust, TLS termination and request smuggling.
24Packet Analysis🟡 Intermediate~72mCapture, filter, follow and interpret traffic with tcpdump, Wireshark and tshark.
25Protocol Internals and Reverse Engineering🟠 Advanced~72mDissecting undocumented and binary protocols, building dissectors and fuzzing parsers.

25 lessons.

← Repository home · Full contents · Labs campaign

Cybersecurity-Mastery — interactive security learning · runs locally