Skip to content

11.01 Readings and Lecture Notes ​

March 29 - April 4 · Reading: 17 pages · About 2 hrs 40 min with the worked example

What to do this week, and when it is due, is on the Module 11 Overview.

Readings ​

SourceSectionsPrinted pagesLengthTime
CyBOK v1.1.0§19.1 Security Goals and Attacker Models646-6482 pp15 min
CyBOK v1.1.0§19.3.2 Security at the Transport Layer: TLS, PKI, TCP, UDP, QUIC656-6604 pp30 min
CyBOK v1.1.0§19.3.3 Security at the Internet Layer: IPv4, IPv6, routing, ICMP660-6655 pp35 min
CyBOK v1.1.0§19.4 Network Security Tools671-6776 pp40 min

§19.3.1 (application layer) and §19.3.4 (link layer) are not assigned, but §19.3.4.5 on network segmentation is one page and worth the detour.

Attacks by layer ​

Attribute an attack to the layer whose protocol property it exploits. This is what part 1 of D4 asks you to do for a real incident.

LayerAttackThe property exploited
LinkARP spoofingARP has no authentication; any host on the segment can claim any address
InternetIP source spoofingThe source address in a packet is not verified by default
InternetBGP route hijackingRoute announcements are accepted largely on trust
InternetReflection and amplification DoSUDP services reply to unverified source addresses, with replies larger than requests
TransportTCP injection or resetSequence numbers provide ordering, not authentication
ApplicationDNS spoofing / cache poisoningClassic DNS responses are unauthenticated UDP
ApplicationTLS downgrade / strippingNegotiation can be manipulated if the client will accept a weaker option

Two patterns run through the whole table:

  1. The protocol accepts assertions it cannot verify. ARP, DNS, and BGP all do this.
  2. The protocol was designed against faults, not adversaries. TCP sequence numbers are the clearest case.

Worked example ​

Take the NORTHWIND MEADOW incident (the hospital ransomware case you will analyze in Lab 7 next week) and ask a purely network question about it: where could the network have seen this, and where could it have stopped it?

Where the network could have seen it ​

Read the report for traffic, not for malware.

  • Day 0, from the first hour onward. One internal workstation begins connecting to api-telemetry-sync[.]com every 47 seconds, and keeps doing it for seven days. The content is TLS-encrypted and the certificate is valid, so a sensor cannot read a byte of it. It does not need to. A workstation making a regular, precisely periodic connection to one external host, around the clock, for a week, is not what a human being browsing the web looks like. Beaconing detection is purely a metadata pattern (who, to whom, how often), and it is exactly the kind of flow data §19.4.3 describes.

  • Day 0. Nothing in the report suggests the organization had ever talked to api-telemetry-sync[.]com before. First-contact-with-a-new-domain is a weak signal on its own and a strong one in combination with periodicity.

  • Days 4-6. Roughly 74 GB leaves in ~400 MB chunks, between 01:00 and 04:00, to that same host. This is the loudest thing in the entire incident. Nobody in a hospital's billing department uploads 74 GB at two in the morning. Again: no content needed, just direction and volume.

Where the network could have stopped it ​

  • Segmentation. Days 1-6 involved moving from a billing workstation to two other workstations and a file server. In a flat network, reachability is free. Segmenting clinical and file-server networks away from general workstation traffic would not have prevented the initial compromise (the phishing email still lands), but it would have made every subsequent step require crossing a boundary that could deny it or log it.

  • Egress filtering. The organization allowed arbitrary outbound HTTPS from a billing workstation to any host on the internet. Restricting outbound connections from workstation networks to a proxy, and alerting on volume, converts the exfiltration from invisible into an obvious event.

Notice that neither of these is a detection product. They are architecture decisions. For most organizations, attack surface reduction and segmentation buy more than an additional sensor.

The honest limit ​

Now be honest about the cost, which is what Discussion 4 grades.

Segmentation is expensive. It means knowing which systems need to talk to which, which most organizations do not, and it breaks things when you get it wrong. Egress filtering generates help desk tickets from the day it is turned on. A beaconing detector needs somebody to read its output, and the incident report already tells you what this organization's alert queue looked like: 400 medium alerts a day, and a correct alert about this very compromise sitting unread in it since 09:26 on Day 0.

A detection control with nobody to read it is not a control. That is week 15's subject, and it is why Discussion 4 requires you to say who would have seen your alert.

Key terms ​

TermShort form
On-path attackerPositioned to read, modify, drop, or inject traffic between two parties.
ARP spoofingForged link-layer replies to redirect traffic on a local segment.
DNS cache poisoningForged answers accepted and cached by a resolver.
DNSSECSigns DNS records so forgery is detectable.
BGP hijackingAnnouncing routes for address space you do not hold.
Reflection / amplificationSmall spoofed requests producing large replies aimed at a victim.
Stateful firewallTracks connections so return traffic can be allowed without opening the whole range.
SegmentationDividing a network so a compromise in one zone does not reach all others.
IDS / IPSDetection alerts; prevention sits in-path and blocks, and can cause outages.
Network security monitoringUsing traffic metadata (who, when, how much) rather than content.
Zero trustNetwork location is not a credential; authorize every request on its merits.
Egress filteringControlling what may leave, not only what may enter.

Looking ahead ​

Week 12 stays with the same incident and asks a different question: what was the malware, and what did the operators actually do? Lab 7 maps the whole operation to MITRE ATT&CK. You have already met the report; read it again before Monday if you want a head start.

Released under the MIT License.