Module 11 · Every Protocol Has Trust Assumptions

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 27, 2026
5 min read
Read as

Last updated: December 3, 2026

100% Free

No signup. No paywall. No catch. One of our 10 most-requested practitioner modules — published in full so anyone can learn for free. We earn through consulting, not by gating knowledge.

See all 10 free modules →

Every network protocol — DHCP, ARP, DNS, LLMNR, BGP, NTP, SMTP — was designed for a network of cooperating participants. Each one quietly assumes something about who is talking. Find that assumption and you have found the attack; enforce it and you have found the defence.

What you’ll learn

  • Why “trust assumptions” are the root of most network attacks
  • The assumption behind DHCP, ARP, DNS, LLMNR/NBT-NS, BGP, NTP and SMTP — and the attack each one enables
  • A repeatable four-question method to analyse any protocol, including ones you have never seen
  • The control that restores each broken assumption on a real network

Prerequisites: Modules 1–10 of this track (especially ARP, DNS and routing basics).

Most of the protocols that run the internet were designed in the 1970s–1990s by people who knew each other. The network was small, the participants were universities and labs, and the design goal was making things work, not stopping a hostile insider. So the protocols took shortcuts: “whoever answers first is probably right”, “nobody would lie about their own address”, “a route announcement from a peer is honest”.

Those shortcuts are still there. Security was added later, usually as an optional extension that many networks never switch on. That is why an attacker on the same Wi-Fi as you can still redirect your traffic in seconds, and why a single misconfigured router can still take a country’s YouTube traffic offline.

This module gives you the attacker’s lens: for every protocol, identify what it trusts, then ask what happens when that trust is violated.

The trust-assumption map

Protocol What it assumes Attack when the assumption fails Control that restores trust
DHCP Any server that answers a DISCOVER is the legitimate one Rogue DHCP server hands out an attacker-controlled gateway and DNS; DHCP starvation exhausts the real pool first DHCP snooping (trusted ports only), port security
ARP A host that claims an IP address really owns it; unsolicited replies are fine ARP spoofing / cache poisoning → man-in-the-middle on the LAN Dynamic ARP Inspection (DAI), static ARP for critical hosts, 802.1X
DNS The first response that matches the query ID and port is genuine Cache poisoning (Kaminsky, 2008), spoofed responses on the local network, hijacked resolvers Source-port randomisation, DNSSEC validation, encrypted DNS (DoH/DoT) to a trusted resolver
LLMNR / NBT-NS If DNS fails, anyone on the subnet who says “that’s me” is the right host Responder-style poisoning captures NetNTLMv2 hashes for cracking or relay Disable LLMNR and NBT-NS by Group Policy; enforce SMB signing
IPv6 RA / DHCPv6 Router advertisements and DHCPv6 replies on the link are legitimate mitm6-style attacks: become the IPv6 DNS server on a network that “doesn’t use IPv6” RA Guard, DHCPv6 Guard, or disable IPv6 deliberately rather than by neglect
BGP A peer announcing a prefix is authorised to originate it Route hijacks and leaks (Pakistan Telecom/YouTube 2008; the 2018 Amazon Route 53 hijack that redirected a crypto wallet’s DNS) RPKI route-origin validation, prefix filtering, IRR hygiene
NTP The time server is honest and the path is clean Time shifting breaks certificate validity checks, Kerberos (5-minute skew) and log correlation Network Time Security (NTS), multiple authenticated sources
SMTP The “From” a sender claims is true Email spoofing, the engine of most phishing and BEC fraud SPF, DKIM, DMARC at p=reject

Four questions to analyse any protocol

You will meet protocols that are not in the table: industrial protocols like Modbus, IoT protocols like MQTT, internal service meshes, proprietary agents. The same method works on all of them.

  1. Who can speak? Can any device on the segment send these messages, or only authorised ones? If anyone can, impersonation is on the table.
  2. How does the receiver decide to believe a message? First response wins? Matching transaction ID? A signature? “First response wins” is a race you can enter.
  3. Is anything authenticated or integrity-protected by default? Optional security usually means absent security. Check what is actually enabled, not what the RFC permits.
  4. What does a successful lie give the attacker? Redirected traffic, captured credentials, a shifted clock, a forged identity? This is the impact you write in the report.

Worked example: LLMNR on a Windows network

  • Who can speak? Any host on the subnet can answer an LLMNR multicast query.
  • How does the receiver decide? It accepts the first answer.
  • Authenticated? No.
  • What does the lie give? When a user mistypes a share name (\fileserver1 instead of \fileserver01), DNS fails, Windows falls back to LLMNR, the attacker answers, and the victim’s machine tries to authenticate to the attacker — sending a NetNTLMv2 challenge-response that can be cracked offline or relayed to another server.

That chain is behind a large share of internal pentest compromises. It needs no exploit and no malware — only a broken trust assumption.

# On an authorised internal test, listen-only first (analyse mode, no poisoning):
sudo responder -I eth0 -A
# Seeing LLMNR/NBT-NS queries here means the network is exposed to poisoning.

Why these assumptions survive

  • Backwards compatibility. Turning on strict validation can break old printers, scanners and line-of-business apps, so it stays off.
  • “It’s the internal network.” Flat internal networks are still treated as trusted, even though one phished laptop puts an attacker on them.
  • Controls live on network gear. DHCP snooping, DAI and RA Guard are switch features. If the network team never enabled them, the server team cannot compensate.
  • Nobody owns the protocol. SPF/DKIM/DMARC, RPKI and NTS each need someone to decide to deploy them. In many organisations, no one has that job.

The defender’s version of the mindset

Flip the four questions into a review checklist for your own network:

  • List the protocols actually present on each segment (a short packet capture tells you more than the design document).
  • For each, confirm the trust-restoring control is enabled and enforced, not just available.
  • Remove protocols you do not need — LLMNR, NBT-NS, unused IPv6 — instead of defending them.
  • Segment so that a compromised endpoint cannot speak these protocols to critical systems in the first place.

For Indian organisations, this matters beyond good hygiene: CERT-In’s directions expect incidents such as spoofing and network compromise to be reported within six hours, and DPDP’s “reasonable security safeguards” standard is hard to argue you met if a decades-old poisoning attack worked on your network.

Key takeaways

  • Every protocol has a built-in answer to “who do I believe?” That answer is its attack surface.
  • “First response wins” and “unauthenticated by default” are the two patterns behind most LAN attacks.
  • The fixes exist for nearly every case — DHCP snooping, DAI, DNSSEC, disabling LLMNR, RPKI, NTS, DMARC. The gap is almost always deployment, not technology.
  • Use the four questions on any unfamiliar protocol before you test it, and on your own network before an attacker does.
🧠
Check your understanding

Module Quiz · 4 questions

Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.

Want this for your team?

Custom team training + practitioner advisory

Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.

Book team training call Replies in 4 working hrs · India-only · Senior consultants