Microsegmentation: limiting lateral movement by starting small
The problem: the flat network
In many internal networks, any machine can talk to any other. The file server reaches the database, an intern’s laptop reaches the hypervisor console, the print server reaches everything. Nobody decided this; there was simply never a reason to close it.
A flat network has a cost that only shows up on a bad day. Whoever gets into a single point, through a leaked password or an outdated service, starts looking for the next target from the inside. That hop from machine to machine is lateral movement, and it is what turns one compromised computer into a compromised environment.
The zero trust principle says that being on the internal network should not grant anyone automatic trust. Microsegmentation is how you apply that to traffic between systems.
What microsegmentation is
Microsegmentation means dividing the environment into small zones, sometimes as small as a single application or server, and allowing only the necessary connections between them. Everything else is denied by default.
The difference from traditional segmentation is granularity. Separating the “office network” from the “server network” helps, but inside the server network everything still talks to everything. With microsegmentation, the rule becomes something like “the application server talks to the database on the database port, and nothing else”.
You can enforce it in several places: the host firewall, rules between virtual networks, network policies in container clusters. The tool matters less than the discipline of writing down what is allowed.
One important point: microsegmentation does not prevent the first intrusion. It reduces what an attacker can do next. It is a containment measure that adds to hardening, to fixing known vulnerabilities and to identity controls.
How to start small
The most common mistake is trying to segment everything at once. The usual result is a forgotten rule that takes down a production system, followed by a return to the flat network “until we sort it out”. A calmer path:
- Pick a few critical systems. An important database, the backup server, the admin console. Something whose compromise would really hurt.
- Observe before you block. Log for a few days who connects to those systems, from where and on which port. Connections nobody remembered almost always show up.
- Write the allow list. For each legitimate connection, one rule with source, destination, port and a reason. A rule without a reason is a candidate for removal.
- Run in log mode, then enforce. First record what would be denied. When the log is clean, switch to deny.
- Repeat with the next group. Each round gets faster, because the inventory and the habit already exist.
Two things make this workable. First, a reliable inventory: you cannot write rules for systems nobody knows exist. Second, denied connections should be logged somewhere people actually look, such as a SIEM. A blocked attempt from a server that has no business probing its neighbours is a valuable signal.
How it relates to ZTNA
ZTNA and microsegmentation often appear together, but they solve different parts of the problem.
- ZTNA controls how people reach applications: who the user is, whether their identity was confirmed with MFA, whether that user may reach that specific application. The comparison with VPNs is in ZTNA or VPN: the differences that matter.
- Microsegmentation controls what systems can reach among themselves, including after someone is already in.
ZTNA lowers the chance of improper access; microsegmentation shrinks the blast radius when something goes wrong anyway. Both apply least privilege, one to users and the other to machines. Administrative access that goes through a bastion and reaches only the server it needs is a good example of both ideas working together.
To be clear: this article is about the practice, not a product. ZTGIT does not offer a microsegmentation tool. These principles work with the firewall and tools you already have.
Takeaways
- A flat network is implicit trust: any intrusion becomes a starting point.
- Start with a few critical systems, not the whole network.
- Observe real traffic before writing rules, and record the reason for each one.
- Log before you block, and send denials where someone will see them.
- Use ZTNA for people and microsegmentation for systems: the layers complement each other.