Ransomware Defense28 min read0 views

Network Segmentation to Contain Ransomware: Implementation Guide

A comprehensive technical guide to implementing network segmentation that limits ransomware blast radius, covering VLAN architecture, micro-segmentation with next-gen firewalls, zero-trust network access, Active Directory tier model isolation, backup network separation, OT/IT boundary enforcement, and step-by-step implementation for organisations of all sizes.

Adebisi Oluwasoya

Adebisi Oluwasoya

Senior Security Analyst · May 20, 2026

Network Segmentation to Contain Ransomware: Implementation Guide

Key Takeaways

  • Network segmentation is the single most effective architectural control for limiting ransomware blast radius. Without segmentation, an attacker who compromises one workstation can reach every system on the network, including domain controllers, backup servers, and critical databases.
  • The Active Directory tier model (Tier 0: identity infrastructure, Tier 1: server infrastructure, Tier 2: workstations and user devices) prevents credential-escalation attacks by ensuring Tier 0 credentials are never exposed on lower-tier systems.
  • Backup network isolation is non-negotiable: backup servers, repositories, and management consoles must be on a dedicated network segment with strict ingress rules that allow only backup traffic from defined sources.
  • Micro-segmentation using host-based firewalls (Windows Defender Firewall via GPO, iptables/nftables on Linux) can be implemented without purchasing new hardware by restricting workstation-to-workstation communication that ransomware uses for lateral spread.
  • Start with three high-impact segmentation projects: isolate backup infrastructure, implement AD tier model, and block workstation-to-workstation SMB/RDP traffic. These three controls address the most common ransomware propagation paths.

When ransomware compromises a single workstation on a flat network, the attacker immediately has visibility and connectivity to every other system: domain controllers, file servers, database servers, backup repositories, and every other workstation. The entire organisation is one lateral-movement step away from complete encryption.

Network segmentation eliminates this attack path by dividing the network into isolated zones with controlled traffic flows between them. A compromised workstation can no longer reach the backup server because they are on different segments, and the inter-segment firewall denies the connection. The ransomware is contained to a single zone instead of spreading across the entire organisation.

Why Flat Networks Fail Against Ransomware

A flat network is any network where all systems can communicate directly with all other systems without traversing a firewall or access-control enforcement point. This is the default state of most enterprise networks because it is the simplest to build and manage.

The problem is architectural: on a flat network, every system trusts every other system at the network level. The ransomware attack surface is the entire network:

  • Workstation-to-workstation spread — ransomware scans the local subnet (and connected subnets) for other systems with open SMB (port 445), RDP (port 3389), or WMI ports. WannaCry and NotPetya achieved devastating spread through direct workstation-to-workstation SMB exploitation.
  • Workstation-to-server access — from a compromised workstation, attackers can reach database servers, application servers, and management consoles that should never be accessible from end-user devices.
  • Domain controller exposure — on flat networks, workstations can communicate directly with domain controllers on all ports, enabling credential-harvesting attacks (DCSync, Kerberoasting, Golden Ticket).
  • Backup server accessibility — backup management consoles, repositories, and NAS shares are reachable from any point on the network, allowing attackers to delete or encrypt backups before deploying ransomware.

Segmentation Architecture

Zone-Based Design

Effective segmentation divides the network into zones based on function, trust level, and data sensitivity:

  • User workstation zone — end-user devices. Highest risk because users open email, browse the web, and are the primary target for phishing. Workstations should be able to reach only the services they need (file shares, applications, internet proxy) and nothing else.
  • Server zone — application servers, file servers, database servers. Should accept connections only from authorised sources on specific ports. Servers should not initiate outbound connections to workstations.
  • Identity zone (Tier 0) — domain controllers, ADFS/Azure AD Connect servers, PKI infrastructure, privileged-access workstations. The most critical zone. Must be isolated from all workstation traffic except Kerberos, LDAP, and DNS on defined ports.
  • Backup zone — backup servers, repositories, management consoles. Must be on a dedicated segment with strict ingress rules. Only backup agents should be able to communicate with the backup infrastructure.
  • Management zone — SIEM, EDR consoles, network-management tools, jump servers. Accessible only from privileged-access workstations (PAWs) on the Tier 0 network.
  • DMZ — internet-facing services (web servers, email gateways, VPN concentrators). Isolated from all internal zones with strict firewall rules.
  • OT/IoT zone — operational technology and IoT devices. Separated from IT networks with one-way data flows where possible.
Segmented Network Architecture Zones isolated by firewall policies — ransomware contained to single segment Flat Network WS DC DB BK SV WS Everything talks to everything vs Segmented Network Tier 0: Identity Domain Controllers ADFS, PKI, PAWs Most restricted zone Backup Zone Veeam, repositories Immutable storage Ingress-only from agents FIREWALL POLICY Tier 1: Servers App, DB, file servers Defined port access only No outbound to workstations Management Zone SIEM, EDR, jump servers PAW access only Monitoring + admin tools FIREWALL POLICY Tier 2: Workstations User desktops, laptops Highest risk zone WS-to-WS blocked DMZ Web, email, VPN Internet-facing services No internal access Ransomware in WS zone CANNOT reach Tier 0, Backup, or Server zones
Figure 1 — Flat network (everything-to-everything) vs. segmented network with zone-based isolation. Ransomware in the workstation zone cannot traverse firewall policies to reach identity, backup, or server zones.

VLAN Implementation

VLANs are the foundational building block of network segmentation. Each zone is assigned one or more VLANs, and traffic between VLANs is routed through a firewall or Layer 3 switch with ACLs:

  • VLAN design — assign VLANs by zone, not by physical location. A single floor may have devices in the workstation VLAN, the server VLAN (if rack space is shared), and the VoIP VLAN. Use 802.1Q trunking between switches.
  • Inter-VLAN routing — route all inter-VLAN traffic through a firewall (preferred) or through a Layer 3 switch with ACLs (acceptable for basic segmentation). Do not use a router with no access controls.
  • Default deny — configure firewall rules with a default-deny stance. Only explicitly permit required traffic flows. This is the opposite of the typical enterprise approach where everything is permitted and specific threats are blocked.

Micro-Segmentation

Micro-segmentation extends zone-based segmentation to control traffic between individual hosts within the same zone:

  • Host-based firewall policies — Windows Defender Firewall (configured via Group Policy) can block workstation-to-workstation SMB (port 445) and RDP (port 3389) traffic. This is the single highest-impact micro-segmentation control for ransomware defence and requires no hardware purchase.
  • Software-defined networking (SDN) — platforms like VMware NSX, Cisco ACI, or Illumio enforce micro-segmentation at the hypervisor or agent level, controlling traffic flows between individual workloads regardless of network topology.
  • Identity-based policies — next-generation firewalls (Palo Alto, Fortinet) can enforce policies based on user identity (from Active Directory integration) rather than IP address, enabling more granular and maintainable rules.

Active Directory Tier Model

The AD tier model is a segmentation strategy specifically designed to prevent credential-escalation attacks that ransomware affiliates rely on:

  • Tier 0: Identity infrastructure — domain controllers, ADFS, Azure AD Connect, PKI, and the privileged-access workstations (PAWs) used to manage them. Tier 0 credentials (Domain Admins, Enterprise Admins) must NEVER be used on Tier 1 or Tier 2 systems.
  • Tier 1: Server infrastructure — application servers, database servers, file servers, and their management tools. Tier 1 admin accounts manage servers but cannot log into domain controllers or workstations.
  • Tier 2: Workstations and user devices — end-user desktops, laptops, and mobile devices. Helpdesk accounts that manage workstations cannot be used on servers or domain controllers.

The tier model prevents the most common ransomware credential-escalation path: compromise a workstation, harvest cached domain-admin credentials (if a domain admin has ever logged into that workstation), and use those credentials to access domain controllers and deploy ransomware domain-wide.

Backup Network Isolation

Backup infrastructure requires dedicated segmentation because it is the primary target for ransomware operators seeking to eliminate the victim's recovery options:

  • Dedicated backup VLAN — all backup servers, repositories, and management consoles on a separate VLAN with no routing to/from the workstation zone.
  • Strict ingress rules — only backup agent traffic (specific ports from specific source IPs) is permitted into the backup zone. No RDP, no SSH, no web management traffic from the general network.
  • Out-of-band management — backup server management (Veeam console, Commvault admin, etc.) is accessible only from dedicated management workstations on the management zone, never from standard user workstations.
  • Separate authentication — backup infrastructure should use local accounts (not domain accounts) or a separate AD forest. If the production Active Directory is compromised, the backup infrastructure remains accessible with its own independent credentials.

Step-by-Step Implementation

Phase 1: Quick Wins (Week 1-2)

These controls can be implemented immediately with existing infrastructure:

  1. Block workstation-to-workstation SMB — deploy a Windows Defender Firewall GPO that blocks inbound SMB (TCP 445) on all workstations. Exceptions only for IT management subnets. This eliminates the primary ransomware lateral-movement vector.
  2. Block workstation-to-workstation RDP — same approach for RDP (TCP 3389). Users should RDP to servers through a jump server, not directly from workstation to workstation.
  3. Restrict domain-admin logons — configure "Deny log on locally" and "Deny log on through Remote Desktop Services" GPOs to prevent domain-admin accounts from logging into Tier 2 (workstation) systems.

Phase 2: Zone Establishment (Month 1-2)

  1. Create VLANs for each zone (workstation, server, identity, backup, management, DMZ)
  2. Migrate systems into appropriate VLANs with careful change management
  3. Configure inter-VLAN firewall rules starting with a default-deny policy and opening only required traffic flows
  4. Test and validate that all applications and services function correctly with the new rules

Phase 3: Hardening (Month 3-6)

  1. Implement the AD tier model — create tiered administrative accounts, deploy PAWs, configure logon restrictions
  2. Deploy micro-segmentation within zones using host-based firewalls or SDN
  3. Separate backup authentication from production Active Directory
  4. Implement network monitoring to detect anomalous traffic patterns that indicate lateral movement
Network Segmentation Implementation Phases Phase 1: Quick Wins Week 1-2 | No hardware needed Block WS-to-WS SMB (GPO: block TCP 445 inbound) Block WS-to-WS RDP (GPO: block TCP 3389 inbound) Restrict DA logon (Deny logon on Tier 2 systems) Impact: Blocks #1 lateral movement vector Cost: $0 (existing tools) Phase 2: Zone Setup Month 1-2 | VLAN configuration Create zone VLANs (WS, Server, Identity, Backup) Migrate systems (Change management required) Default-deny firewall (Inter-VLAN rules) Impact: Full zone isolation established Cost: Low (existing switches) Phase 3: Hardening Month 3-6 | Micro-segmentation AD tier model (Tiered accounts + PAWs) Micro-segmentation (Host-based or SDN) Separate backup auth (Independent credentials) Impact: Defence in depth fully operational Cost: Moderate (PAW hardware)
Figure 2 — Three-phase implementation approach. Phase 1 (GPO-based controls) can be deployed in the first two weeks at zero cost and blocks the primary ransomware lateral-movement vector.

Common Segmentation Mistakes

  • Segmenting the network but leaving the backup server on the general server VLAN — backup infrastructure must be on its own dedicated segment. If the server VLAN is compromised, the backup server goes with it.
  • Using domain-admin accounts on Tier 2 systems — even with network segmentation, if a domain-admin credential is cached on a compromised workstation, the attacker can use it to authenticate to Tier 0 systems.
  • Permitting "any" as the destination in firewall rules — every rule should specify exact destination subnets and ports. Broad rules undermine the segmentation architecture.
  • Not segmenting east-west traffic within zones — traditional perimeter firewalls control north-south (internet) traffic but allow unrestricted east-west (internal) traffic. Ransomware spreads east-west.
  • Failing to maintain the rules over time — segmentation policies degrade as exceptions accumulate. Schedule quarterly reviews of firewall rules to remove stale exceptions and validate the architecture.

Measuring Segmentation Effectiveness

Validate your segmentation with regular testing:

  • Port scanning from each zone — scan from the workstation zone and verify that only permitted ports are reachable on other zones. Any unexpected open ports indicate a rule gap.
  • Lateral-movement testing — attempt to move from a workstation to a server, domain controller, and backup server using common ransomware techniques (SMB, RDP, WMI, PsExec). Document what succeeds and what is blocked.
  • Purple-team exercises — simulate ransomware propagation in a controlled environment. Measure how many systems the simulated ransomware can reach from an initial compromise point.
  • Blast-radius mapping — for any given compromise point, map every system that is reachable. The goal is to minimise this set to only the systems that the compromised system legitimately needs to communicate with.

Effective network segmentation does not prevent the initial compromise. The workstation that receives the phishing email will still be encrypted. But segmentation ensures that the encryption stops there. One workstation is a nuisance. The entire domain is a catastrophe. Segmentation is the architectural difference between the two outcomes.

Frequently Asked Questions

Ransomware spreads through a network by exploiting lateral-movement techniques: scanning for other systems, connecting via SMB/RDP, using stolen credentials to authenticate to remote machines, and deploying the encryption payload across multiple systems simultaneously. Network segmentation stops this spread by placing systems into isolated network zones (VLANs, subnets) with firewall rules that block the protocols ransomware uses for propagation. When a workstation in one segment is compromised, the attacker cannot reach systems in other segments because the inter-segment firewall denies the connection. The ransomware is contained to a single segment rather than spreading across the entire organisation.

Adebisi Oluwasoya

Adebisi Oluwasoya

Senior Security Analyst

Threat Intelligence & IR

Adebisi is a CISSP-certified cybersecurity analyst with over eight years of experience in enterprise security. He specializes in threat intelligence and incident response, helping organizations detect, analyze, and neutralize advanced persistent threats. His work spans Fortune 500 companies across the financial, healthcare, and government sectors.

You Might Also Like

Ransomware Negotiation: Should You Ever Pay the Ransom
Ransomware Defense27 min read

Ransomware Negotiation: Should You Ever Pay the Ransom

A technical and strategic analysis of ransomware negotiation, examining when payment is considered, how professional negotiators operate, the legal and ethical dimensions of ransom payment, decryption reliability statistics, and the organisational factors that determine whether paying is a rational last resort or a catastrophic mistake.

Adebisi Oluwasoya
Adebisi Oluwasoya

May 11, 2026

0
Free Newsletter

Stay Ahead of Cyber Threats

Get weekly cybersecurity insights and practical tips. No spam, just actionable advice to keep you safe.