About this course
Secure networks and communication channels against interception, tampering, and intrusion across the protocol stack.
Teams build and attack a multi-segment lab network in GNS3 or Eve-NG, then harden it. The red phase executes ARP spoofing, VLAN hopping, TCP session hijacking, and a DNS cache-poisoning attack crafted with Scapy. The blue phase implements firewall rules with iptables/nftables, IDS signatures in Snort and Suricata, a WireGuard VPN between segments, and a Zeek-based detection script for each attack executed in the red phase.
Expected outcomes
- Model network security across protocol layers, identifying attacker capabilities and defender controls at L2 through L7 of the OSI and TCP/IP stacks.
- Analyze TCP/IP protocol vulnerabilities — SYN flooding, RST injection, DNS cache poisoning, ARP spoofing, and VLAN hopping — and evaluate how TLS 1.3 forward secrecy, DNSSEC, and stateful inspection defeat them.
- Design and configure layered network defenses: zone-based firewall rule sets with iptables/nftables, IDS/IPS signatures with Snort and Suricata, and encrypted site-to-site tunnels with WireGuard.
- Execute controlled red-phase attacks (ARP spoofing, VLAN hopping, TCP session hijacking, DNS poisoning) using Scapy inside a GNS3/Eve-NG lab, then implement and validate the corresponding blue-phase countermeasures.
- Perform network forensic investigations using Wireshark, tcpdump, and Zeek to reconstruct attack timelines from full-packet captures and NetFlow/IPFIX records.
- Write and tune detection rules for signature-based and anomaly-based IDS, measuring alert fidelity by false-positive rate and coverage against a defined attack catalog.
Key topics
- TLS & secure protocols
- Firewalls & IDS/IPS
- VPNs & network segmentation
- Attack detection
Theoretical foundations
The concepts and results this course rests on.
- the OSI and TCP/IP protocol stacks as layered attack surfaces, with distinct threat models and defender controls at each layer
- the TCP three-way handshake state machine and how SYN flood and RST injection exploit half-open connection exhaustion
- DNS resolution chain, cache-poisoning vulnerability, and the DNSSEC chain-of-trust model including DNS-over-HTTPS tradeoffs
- the TLS 1.3 handshake protocol: 1-RTT and 0-RTT record, ECDHE forward secrecy, and certificate validation against downgrade attacks
- stateful packet inspection and zone-based firewall policy with implicit-deny defaults and DMZ segmentation
- signature-based rule matching and anomaly detection baselines in IDS/IPS, and the alert fidelity trade-off between false-positive rate and detection coverage
- IPsec Security Associations and IKEv2 negotiation: tunnel vs. transport mode, AH vs. ESP headers, and split-tunneling risks
- network address translation (PAT, STUN/TURN NAT traversal) and its effect on end-to-end security and connectivity
- Spanning Tree Protocol root-bridge attacks and 802.1Q double-tagging VLAN hopping, with VLAN segmentation best practices
- full-packet capture analysis and NetFlow/IPFIX record aggregation for traffic baseline anomaly detection and forensic reconstruction
Prerequisites
Course-specific prerequisites:
- Computer networks
- Operating systems
Weekly schedule 13 weeks · lecture + practice
Students use AI assistants throughout the red-blue lab: drafting Snort and Suricata signatures from an attack description, generating Zeek detection scripts for specific flow patterns, and refactoring iptables/nftables rule sets. They craft red-phase attack packets by describing the target protocol behaviour to the assistant, which produces Scapy snippets they then test and refine against the GNS3/Eve-NG lab. AI helps explain Wireshark dissections — pasting a TLS handshake or a DNS exchange and asking the assistant to annotate each field — and it generates tcpdump filter expressions for targeted capture. Students also use AI to reconstruct attack timelines from Zeek logs and to propose detection rule improvements after a missed alert. Every generated rule is validated against real lab traffic and measured for false-positive rate: a signature that looks correct but never fires, or that floods the alert queue, is a graded failure.
Student project
Teams build and attack a multi-segment lab network in GNS3 or Eve-NG, then harden it. The red phase executes ARP spoofing, VLAN hopping, TCP session hijacking, and a DNS cache-poisoning attack crafted with Scapy. The blue phase designs and implements firewall rules with iptables/nftables, IDS signatures in Snort and Suricata, a WireGuard VPN between segments, and a Zeek-based detection rule for each attack executed in the red phase. Each week introduces a new attack or defense that must be demonstrated live before moving on.
Requirements
- Build a working multi-segment network lab, not a set of disconnected exercises.
- Execute every planned red-phase attack with Scapy and capture packet-level evidence in a pcap.
- Implement a corresponding blue-phase countermeasure for each attack: firewall rule, IDS signature, or Zeek detection script.
- Carry one running GNS3/Eve-NG topology from specification to a fully defended, documented result across the whole term.
- Work in a team of three or four and defend the design at each of the three presentations (weeks 5, 8, and 13).
Example projects
Assessment & grading
Grading is project-based, with no written exam. Teams of three or four present one running project three times.
| Component | What it covers | Weight |
|---|---|---|
| Project · Specification | Presentation 1 (week 5): problem, objectives, and architecture | 20% |
| Project · Interim | Presentation 2 (week 8): the working system demonstrated live | 30% |
| Project · Final | Presentation 3 (week 13): end-to-end demo with oral defense | 50% |
Tools & platforms
- Wireshark: full-packet capture and protocol dissection
- Scapy: packet crafting and red-phase attack automation
- Snort: signature-based IDS rule engine
- Suricata: signature and anomaly IDS/IPS with inline blocking
- Zeek: network flow analysis, scripted detection, and security logging
- nmap / ncat: network reconnaissance and service probing
- iptables / nftables: stateful Linux firewall and packet filtering
- WireGuard: modern VPN tunneling with Noise Protocol cryptography
- GNS3 / Eve-NG: virtual network lab for multi-segment topology simulation
- tcpdump: command-line packet capture and filter-based traffic collection
Free online courses
Existing free, video-based courses this course can build on, for self-study or as a teaching basis.
In Hebrew · בעברית
- Campus IL, מערך הסייבר הלאומימרושתים - איך עובד האינטרנט?
- Campus ILWebSec - לזהות חולשות, לבנות הגנות
- Campus ILNetwork.Py - לתכנת במרחב הרשת
Primary literature
Seminal works for advanced study.
- PaperThe Protection of Information in Computer Systems
- PaperUsing Encryption for Authentication in Large Networks of Computers
- PaperSecurity Problems in the TCP/IP Protocol Suite
- PaperRFC 4301: Security Architecture for the Internet Protocol
- PaperRFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
References
Books and resources link to an online or publisher page.
- DocumentationRFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
- TextbookBulletproof TLS and PKI, 2nd Edition
- TextbookCryptography and Network Security: Principles and Practice, 8th Edition
- DocumentationSuricata User Guide
- DocumentationWireshark User's Guide
- DocumentationSP 800-77 Rev. 1: Guide to IPsec VPNs
- DocumentationThe Illustrated TLS 1.3 Connection: Every Byte Explained
Role in each concentration
| Concentration | Role |
|---|---|
| Intelligent Software Systems | Elective |
| Networking & Cyber Security | Core · Semester 1 |
| AI & Robotics | Elective |
| AI and Quantum Computing for Finance | Elective |
| Immersive Systems & Game Development | Elective |
| Defense Technologies & Autonomous Systems | Elective |