How segmented is my network?

This paper introduces "segmentedness," a statistically principled metric defined as the fraction of disallowed node-pair communications, and provides a normalized estimator with a 95% confidence interval that requires only 97 uniformly sampled node pairs to accurately measure network segmentation across various models and real-world datasets.

Rohit Dube

Published 2026-03-06
📖 4 min read☕ Coffee break read

Imagine your company's computer network is a giant, bustling office building.

The Problem: The "Open Plan" Nightmare
In a poorly secured network, the building is one giant "open plan" office. If a thief (a hacker) breaks into the mailroom, they can walk straight into the CEO's office, the payroll department, and the server room without hitting a single locked door. In cybersecurity, this is called a "flat" network. It's easy to move around (lateral movement), which is great for productivity but terrible for security.

To fix this, companies build walls, install locks, and create separate zones (segmentation). But here's the catch: How do you know if your walls are actually working?

Currently, security teams guess. They look at blueprints, ask experts, or check a few firewalls. It's like trying to guess how many rooms are in a mansion just by looking at the front door. There's no ruler to measure "how segmented" the building really is.

The Solution: A New "Security Ruler"
This paper introduces a simple, math-based ruler called "Segmentedness."

Instead of trying to map every single hallway and door (which is impossible in a huge building), the authors propose a clever shortcut: Random Sampling.

The Analogy: The "Blindfolded Walk"

Imagine you want to know how many doors in a massive building are locked. You can't check every single one. So, you put on a blindfold, pick two random rooms, and try to walk from one to the other.

  • If you get stuck: The door is locked (or the path is blocked). That's a "good" sign for security.
  • If you walk right through: The path is open. That's a "bad" sign.

You repeat this random walk 97 times.

  • If you get stuck 30 times out of 97, your building is 30% "segmented."
  • If you get stuck 80 times, it's 80% segmented.

The Magic Number: 97
The most surprising part of this paper is the math. The authors prove that you don't need to check millions of doors. Whether your network has 1,000 computers or 100,000 computers, you only need to test 97 random pairs to get a very accurate answer (within a 10% margin of error, 95% of the time).

It's like tasting a spoonful of soup to know if the whole pot is salty. You don't need to drink the whole pot.

Why This Matters (In Plain English)

  1. No More Guessing: Instead of saying, "I think we are pretty secure," a CISO can say, "Our network is 65% segmented, and we are 95% sure of that number."
  2. Tracking Progress: If you build a new firewall today, you can measure the score next month. Did the number go up? Great! Did it go down? You have a leak.
  3. Mergers and Acquisitions: When two companies merge, their networks get smashed together. This ruler tells you instantly if the new combined network became too "flat" and dangerous.
  4. Zero Trust: "Zero Trust" is a buzzword meaning "trust no one." This metric gives you a scorecard to prove you are actually doing it.

The "Gotchas" (Limitations)

The paper is honest about where this ruler might fail:

  • The "Ghost" Problem: If your list of computers (inventory) is outdated, you might be testing the wrong rooms.
  • The "Silent" Problem: Just because a door looks locked doesn't mean a hacker can't pick the lock. This metric measures the policy (the lock), not the strength of the lock.
  • The "One-Way" Street: The math assumes doors work both ways. If your network has one-way traffic (like a server sending data to a client but not vice versa), the math gets a little tricky.

The Bottom Line

This paper gives security teams a simple, statistical flashlight. Instead of wandering in the dark trying to figure out if their network is safe, they can now shine a light on a random sample of connections and get a clear, numerical answer: "How segmented is my network?"

It turns a complex, scary security problem into a simple math problem that anyone can solve with a spreadsheet and a few random tests.