When & Where
The third exam will be held in our regular classroom on Monday, November 30, 2026.
It will take up about half the lecture, starting approximately during the second half of the class period. Please arrive on time and do not plan on coming in just to take the exam. If you arrive after the exam has started, you will not be allowed to take it.
Exam rules
Be sure to arrive on time. If you arrive after the exam starts, you will not be allowed to take it.
This will be a closed book, closed notes exam. Calculators, phones, augmented reality glasses, laptops, and tablets are neither needed nor permitted. If you have these devices, you must turn them off, put them out of sight, and not access them for the duration of the exam.
No other electronic devices are permitted except for hearing aids, pacemakers, electronic nerve stimulators, other implanted medical devices, or electronic watches that function only as timekeeping devices or chronographs.
Bring a couple of pens or pencils with you. Plan to use a pen only if you are supremely confident in not changing your mind about your answers. . Check here for information about pencils, sharpeners, and the craft of pencil sharpening.
Past exams
You can use my past exams as a guide to what this exam may look like, but realize there are differences in topics and in the sequencing of the topics. Expect around 25 multiple-choice questions. You won’t have to recite lists, do a frequency analysis, or present algorithms, so you should focus your studying to being able to recognize concepts. I do not refer to old exams when I come up with a new one, so it is likely that many of the topics that I considered important in past exams will show up on future exams. Some material may have changed, however, so do not worry about questions that appear to relate to topics we have not covered.
Study guide
You are responsible for the material from the lectures and recitations since the last exam (weeks 9-12).

I’ve prepared a study guide that attempts to cover most of the material you should know. It is not a substitute for the lectures, lecture material, and other reading matter. All the material may not be in the guide. My goal is to put most of the information you need to know a concise with fewer elaborations. You can also prepare your own guide, which would be a great way to prepare for the exam.
Topics
Topics that you should know and may be on the exam include:
Malware
-
General ideas behind how malware operates, spreads, hides, and communicates.
-
Understand how to classify malware, how it gains access, how it persists, and how defenders detect or block it.
-
Do not try to memorize long technical lists; focus on concepts and why they work.
-
What malware is
-
The definition: software deployed to violate the security interests of the people responsible for a system; intent separates malware from a bug
-
Potentially unwanted programs (PUPs)
-
-
Malware labels
-
Virus vs. worm
-
Trojan, backdoor, RAT
-
Ransomware, wipers, spyware, infostealers
-
Backdoors in legitimate code; compiler subversion (Reflections on Trusting Trust)
-
-
The malware lifecycle
-
The classic virus model: infection mechanism, trigger, payload
-
The activities: infection, delivery, persistence, trigger, communication, payload, propagation
-
Initial access, execution, privilege escalation, lateral movement
-
-
Infection
-
Exploits: zero-day and N-day vulnerabilities
-
Social engineering: the persuasion principles, social proof, security fatigue
-
Phishing, spear phishing, pretexting, vishing, smishing
-
Why one-time codes do not stop real-time phishing; SIM swaps; passkeys as phishing-resistant authentication
-
Lookalike domains: typosquatting and combosquatting; the same problem in package registries
-
Removable media: air gaps, USB drop attacks, BadUSB
-
Documents: macros vs. parsing flaws
-
Drive-by downloads and zero-click attacks
-
Supply chain compromises; what code signing does and does not establish
-
-
Delivery
-
Multi-stage delivery: droppers, downloaders, loaders
-
Process injection and process hollowing at a high level
-
Packers
-
Fileless malware and living off the land
-
-
Persistence
-
The three layers: registration points, boot code, firmware
-
Library hijacking
-
Boot sector viruses, bootkits, and firmware implants
-
What Secure Boot establishes and what it does not
-
-
Rootkits
-
User-mode vs. kernel-mode rootkits
-
Detection: trusted recovery media and cross-view detection
-
-
Triggers and logic bombs
-
Command and control
-
C2 and exfiltration; centralized vs. peer-to-peer botnets
-
Hiding traffic: outbound HTTPS, cloud services, DNS tunneling
-
Recontacting the operator: dead-drop resolvers and domain generation algorithms (DGAs)
-
Beaconing and sinkholing
-
-
Payloads
-
Infostealers and session token theft; why MFA does not protect the session
-
How ransomware uses encryption; double extortion
-
Wipers, DDoS from botnets, cryptocurrency mining
-
-
Detection
-
Malware signatures; static vs. dynamic heuristics
-
Packing, polymorphic vs. metamorphic malware, and what each defeats
-
Behavioral detection and EDR; false positives and false negatives
-
Analysis sandboxes and how malware evades them
-
Reputation-based detection and telemetry
-
-
You do not need to memorize:
-
Incident names, dates, and figures (Stuxnet, the Morris worm, Mirai, and the rest); know the mechanism each illustrated
-
OS-specific registry keys, file names, and startup mechanisms
-
The internals of process hollowing or library preloading
-
DNS tunneling query formats and record types
-
Measured boot, the TPM, and remote attestation
-
Malware on mobile devices
-
The names behind the persuasion principles
-
Network Security
-
Understand why many network protocols were built on trust, how attackers exploit those assumptions, and why each defense works.
-
The end-to-end principle and why the core protocols lack authentication.
-
Focus on conceptual mechanisms rather than packet layouts or configuration details.
-
Attacks on the local network
-
CAM table overflow: limited table size causes fallback to flooding; port security
-
ARP cache poisoning: unauthenticated, unsolicited replies; Dynamic ARP Inspection
-
DHCP spoofing (rogue servers) and DHCP starvation; DHCP snooping
-
VLAN hopping: switch spoofing and double tagging; disabling trunk negotiation
-
The evil twin access point
-
-
Forging source addresses
-
On-path vs. off-path attackers
-
IP spoofing: why a spoofed packet cannot hold a conversation; its use in reflection
-
Ingress filtering and why deployment is uneven
-
-
BGP
-
Autonomous systems, prefix announcements, and AS paths
-
Most-specific-prefix preference
-
BGP hijacking: what the hijacker can do with the traffic; route leaks
-
Defenses: prefix filters; RPKI and ROAs at a high level; why origin validation does not verify the path
-
Routers as targets: default passwords, exposed management interfaces, missing updates
-
-
Transport-layer attacks
-
TCP sequence number prediction; randomized initial sequence numbers
-
SYN flooding; SYN cookies
-
Forged TCP resets
-
UDP spoofing and its use in reflection
-
-
DNS
-
Pharming: the places resolver configuration can be changed, from the hosts file to the registrar
-
Cache poisoning; the Kaminsky attack; source port randomization
-
DNSSEC: authentication of DNS data, not encryption; the trust anchor; why adoption is low
-
DNS rebinding and how it abuses the same-origin policy
-
Abandoned (lame) delegations
-
DNS over TLS and DNS over HTTPS: the hop they protect that DNSSEC does not
-
-
Denial of service
-
DoS vs. DDoS; crashing vs. overloading
-
Reflection and amplification; the amplification factor
-
Botnets and booter services; why IoT devices expand attack capacity
-
Application-layer attacks that target the requests that take the most work
-
Measuring attacks: bits, packets, and requests per second
-
Defenses: filtering before the bottleneck; overprovisioning, anycast, scrubbing centers, blackhole routing, rate limiting; CDNs and reverse proxies; CAPTCHAs and proof-of-work puzzles
-
-
You do not need to memorize:
-
Packet formats and header fields
-
The internals of double tagging
-
IPv6 Neighbor Discovery details (know it has the same trust problem as ARP)
-
DNSSEC record types and key rotation; DNS record types beyond A, NS, and MX
-
Specific amplification factors (know memcached was far larger than DNS)
-
Incident names, dates, and the organizations behind protocols and services
-
VPNs
-
Understand how VPNs provide confidentiality, integrity, and authenticated endpoints over untrusted networks.
-
Focus on what VPNs do and how they are used, not cryptographic or negotiation details.
-
What TLS provides and where it stops
-
Tunneling: encapsulation; why a plain tunnel is not secure
-
What makes a tunnel a VPN: encryption, integrity protection, endpoint authentication
-
What an observer still sees: the outer header, timing, and sizes
-
Deployment models
-
Site-to-site VPNs
-
Remote access VPNs
-
Consumer VPNs and where trust moves
-
-
Full vs. split tunneling and why organizations disable split tunneling
-
IPsec
-
Network layer, in the kernel, transparent to applications
-
AH vs. ESP
-
Tunnel mode vs. transport mode
-
IKE at a high level: authenticates the peers and establishes session keys with forward secrecy
-
-
OpenVPN
-
User space, virtual (TUN) interfaces, TLS control channel
-
Why UDP is the preferred outer transport (avoid TCP inside TCP)
-
-
TLS-based enterprise VPNs and why organizations choose them
-
WireGuard
-
Small, auditable, in the kernel
-
One fixed modern set of algorithms; no cipher negotiation, so downgrade attacks are not possible
-
Public keys as identities instead of certificates
-
Forward secrecy and roaming across networks
-
-
What a VPN does not protect
-
The endpoints: malware rides the tunnel
-
Anonymity
-
The gateway itself as a target
-
-
You do not need to memorize:
-
Cipher and algorithm names, including WireGuard’s primitives
-
Packet layouts, header sizes, and port numbers
-
Enterprise VPN product and vendor names
-
L2TP and PPTP (know that old VPN protocols with broken cryptography should not be used)
-
Firewalls
-
How firewalls enforce policy at network boundaries, from stateless filters to zero trust.
-
NAT
-
Private addresses and translation tables; port forwarding
-
Translation and filtering as separate functions; why blocking unsolicited inbound traffic is a side effect
-
-
Packet filters
-
What they examine (addresses, ports, protocol, interface)
-
Rule order and first match
-
Ingress filtering and default deny; egress filtering
-
Why admitting return traffic by the ACK flag fails
-
-
Stateful packet inspection
-
Connection state tables and what they add beyond stateless filtering
-
Application-aware firewalls for protocols that negotiate ports
-
-
Security zones and the DMZ
-
Directional policy between zones
-
Bastion hosts
-
Network segmentation as the Principle of Least Privilege for networks; lateral movement
-
-
Deep packet inspection
-
Hostname filtering, protocol validation, signature matching
-
TLS interception and what it does to end-to-end protection
-
What Encrypted Client Hello takes away from hostname filtering
-
-
IDS vs. IPS
-
Protocol-based, signature-based, and anomaly-based detection
-
False positives and the other deployment problems
-
-
Next-Generation Firewalls (NGFWs)
-
Why port numbers no longer identify applications
-
Classifying applications from network-visible clues; what an NGFW cannot see
-
-
Application proxies
-
Why terminating connections allows validation and filtering
-
API gateways
-
-
Host-based firewalls
-
Filtering traffic that never crosses the perimeter; lateral movement
-
Per-application control; how they complement network firewalls
-
-
Zero trust
-
Deperimeterization
-
Never trust, always verify: per-session access by dynamic policy
-
Microsegmentation
-
Zero Trust Network Access and device posture
-
What zero trust does not solve
-
-
You do not need to memorize:
-
Vendor products, rule syntax, and configuration steps
-
The history of firewalls and zero trust (know the progression from stateless filtering to stateful inspection to content inspection)
-
Private address ranges by number
-
Port numbers beyond the well-known web and mail ports
-
Web Security
-
Focus on the browser security model, the major attacks (XSS, CSRF, clickjacking, broken access control), and the mechanisms they abuse.
-
The browser as an application platform; what scripts can do through the DOM
-
HTTPS: what it protects and what it does not
-
The same-origin policy
-
The definition of an origin (scheme, hostname, port)
-
What the policy restricts: reading, not sending
-
A script runs with the authority of the page that loads it; third-party scripts as a trust decision
-
Iframes and passive content
-
-
CORS: why it exists; it does not authenticate users or prevent forged requests
-
Cookies
-
Session management, personalization, and tracking
-
HttpOnly, Secure, and SameSite
-
First-party vs. third-party cookies and cross-site tracking
-
Why a session ID must be unpredictable
-
-
Cross-Site Scripting (XSS)
-
Reflected vs. stored XSS
-
What an injected script can do; why HttpOnly is not a complete defense
-
Defenses: output encoding and sanitizing user-supplied HTML
-
-
Cross-Site Request Forgery (CSRF)
-
Why the browser’s cookie behavior makes it possible; the attacker never obtains the cookie
-
Anti-CSRF tokens, SameSite cookies, and GET vs. POST
-
-
Broken access control
-
Authentication vs. authorization
-
Why browser-side checks do not secure the server
-
-
Clickjacking: UI redressing; a server can limit which sites may frame its pages
-
Deception
-
Homograph attacks
-
Tracking pixels
-
Links whose destination changes on click
-
-
You do not need to memorize:
-
HTTP header names and the Content Security Policy
-
The SameSite settings and cookie scope rules
-
DOM-based XSS (know reflected and stored XSS)
-
JavaScript code, WebAssembly, and MIME sniffing
-
Incident names and browser-specific behavior
-
Last update: Sat Nov 21 21:27:46 2026