Skip to content

04 Network Segmentation

Network segmentation is one of the most important architectural techniques used to isolate the Cardholder Data Environment (CDE) from the rest of the enterprise.

The objective is not simply:

Put the CDE
on a different VLAN

The objective is to establish and prove that:

Only Authorized Traffic
Can Enter or Leave
The CDE

A strong PCI segmentation model looks like:

Enterprise Network
Segmentation Boundary
Controlled Access Zone
CDE

The core security question is:

Can systems outside the CDE access, influence, administer, or bypass the CDE through unauthorized network paths?

If the answer is yes, the segmentation model may not support the intended PCI scope reduction.

By the end of this lesson, you will be able to:

  • Explain network segmentation in PCI DSS.

  • Understand why segmentation can reduce PCI scope.

  • Define a CDE network boundary.

  • Build network security zones.

  • Apply default-deny principles.

  • Define allowed communication paths.

  • Understand firewall and cloud network controls.

  • Identify administrative access paths.

  • Understand jump-host architecture.

  • Understand cloud segmentation.

  • Understand microsegmentation.

  • Understand segmentation in Kubernetes.

  • Review firewall rules.

  • Identify overly broad network access.

  • Develop a segmentation test plan.

  • Understand segmentation penetration testing.

  • Document segmentation evidence.

  • Assess segmentation failures.

  • Build segmentation exceptions.

  • Maintain continuous segmentation assurance.

Network segmentation separates systems into controlled security zones.

Example:

Corporate Network
Firewall
CDE Network

The firewall restricts communication between the two environments.

Without effective segmentation:

Corporate Systems
Payment Systems

large parts of the enterprise may become relevant to PCI scope.

With effective segmentation:

Corporate Systems
Security Boundary
CDE

the organization may be able to reduce the number of systems requiring PCI controls.

3. Segmentation Is Not Mandatory in Every Architecture

Section titled “3. Segmentation Is Not Mandatory in Every Architecture”

An organization may choose to operate:

Flat Environment

and apply PCI requirements broadly.

However, this typically increases:

Systems
Controls
Evidence
Testing
Operational Cost

Segmentation is therefore often used as a scope-reduction strategy.

4. Scope Reduction Depends on Effective Segmentation

Section titled “4. Scope Reduction Depends on Effective Segmentation”

A crucial principle is:

Segmentation Exists
Segmentation Effective

The boundary must be:

Designed
Implemented
Configured
Tested
Monitored

Example:

Internet
WAF / Edge Firewall
Payment Web Tier
Application Tier
Payment Database
Corporate Network
Segmentation Firewall
Admin Zone
CDE

A mature architecture may use several zones.

Example:

Internet Zone
DMZ
Application Zone
Database Zone
Management Zone
Corporate Zone
Security Services Zone

The CDE zone contains systems that:

Store CHD
Process CHD
Transmit CHD

Access should be highly restricted.

The corporate zone may contain:

Employee Workstations
Corporate Applications
Printers
Collaboration Tools

These should not normally have unrestricted access to CDE systems.

A dedicated management zone may contain:

Jump Hosts
Privileged Workstations
Administrative Tools

This creates a controlled administrative path into the CDE.

May contain:

SIEM
Vulnerability Scanner
NTP
DNS
PKI

Communication should be explicitly defined.

For internet-facing payment systems:

Internet
DMZ
Internal CDE

can provide layered isolation.

Create:

01 PCI Network Segmentation Design

Document:

Zones
CDE Boundary
Firewall Locations
Administrative Paths
External Connections
Security Services

For every zone pair define:

Source
Destination
Port
Protocol
Purpose
Owner

Create:

02 CDE Communication Matrix

Use:

Source Destination Port Protocol Purpose
Payment Web
Payment API

Allowed:

TCP 443

Business purpose:

Payment Request Processing
Payment Application
Payment Database

Allowed only on required database ports.

Corporate Laptop
Payment Database

Expected:

Blocked

Strong segmentation follows:

Deny Everything
Allow Explicitly Required Traffic

rather than:

Allow Everything
Block Known Bad Traffic

A default-allow environment can expose the CDE whenever:

New System
New Route
New Application

is introduced.

Default deny reduces this risk.

Good:

Source:
PAY-WEB
Destination:
PAY-API
Port:
443
Purpose:
Payment API

Weak:

Source:
10.0.0.0/8
Destination:
CDE
Port:
ANY

Rules such as:

ANY
ANY

or:

Entire Corporate Network
CDE

should receive strong scrutiny.

Create:

03 Firewall Rule Review Register

Use:

Rule Source Destination Service Justification Status

For every rule ask:

Is It Required?
Is Source Too Broad?
Is Destination Too Broad?
Are Ports Too Broad?
Is It Still Used?
Who Owns It?
When Was It Last Reviewed?

Administrative traffic is one of the highest-risk segmentation paths.

Example:

Administrator
MFA
Privileged Workstation
Jump Host
CDE

Weak model:

Corporate Laptop
Direct SSH
Payment Server

Stronger model:

Corporate Laptop
Privileged Workstation
Jump Host
Payment Server

A jump host creates a controlled administrative boundary.

It may enforce:

MFA
Logging
Source Restrictions
Session Monitoring
Privileged Access

Because it can access the CDE, protect it with:

Hardening
Patch Management
EDR
Restricted Access
Logging
MFA

A dedicated privileged workstation helps reduce attack paths from normal corporate activity.

Avoid using the same endpoint for:

Email
Browsing
Administration

where strong isolation is required.

Remote access may use:

VPN
ZTNA
Privileged Access Gateway

Review:

Authentication
MFA
Device Trust
Source Restrictions
Session Logging

Example:

Vendor Engineer
Remote Access
CDE

Controls should include:

Authorization
Time-Limited Access
MFA
Monitoring
Disable When Not Needed

Inbound connections should be limited to required services.

Example:

Internet
WAF
Payment Web

Do not expose:

Database
Management Port
SSH
RDP

directly to the internet unless specifically justified and securely controlled.

Outbound communication also requires control.

Examples:

Payment Processor
Security Updates
Logging Platform
Time Synchronization

Avoid unrestricted:

CDE
Internet ANY

Egress controls can reduce:

Data Exfiltration
Malware Command & Control
Unexpected Connections

If CDE systems depend on enterprise DNS:

CDE
DNS

this path should be documented.

Likewise:

CDE
NTP

supports accurate logging timestamps.

Example:

CDE Systems
SIEM

Allow only the required logging communication.

Example:

Scanner
CDE

This may be a deliberate security-services path.

Example:

CDE Database
Backup Platform

The network and storage relationship should be part of segmentation design.

Cloud segmentation may rely on:

VPC / VNet
Subnets
Security Groups
NACLs
Route Tables
Transit Gateways
Private Endpoints
Corporate VPC
Transit Firewall
Payment VPC
┌────┴────┐
▼ ▼
App Database

A stronger architecture may use:

Corporate Account
Security Account
Payment Account

instead of placing everything in one account.

It can improve:

IAM Boundaries
Network Boundaries
Logging
Ownership
Scope Management

Treat security groups as firewall-like controls.

Review:

Inbound
Outbound
Source
Destination
Port
Purpose

Weak:

0.0.0.0/0
Database 3306

Strong:

Payment-App-SG
Payment-DB-SG
Port 3306

Using:

Security Group
Security Group

can provide tighter control than broad IP ranges.

Even if security groups are restrictive, review:

Routing

because unexpected network paths can undermine intended segmentation.

Example:

Corporate VPC
CDE VPC

Review:

Routes
Security Groups
DNS
Transitive Access

Transit architecture can accidentally create broad connectivity.

Example:

Many VPCs
Transit Gateway
CDE VPC

Use route isolation and explicit controls.

Private service endpoints can reduce internet exposure.

However, they still represent:

Network Connectivity

and must be included in the architecture.

Network segmentation does not protect the CDE if:

Cloud Administrator
Can Modify All Security Groups

Identity and management-plane controls remain essential.

Microsegmentation creates finer-grained boundaries between workloads.

Example:

Web
Only App
App
Only Database

rather than broad subnet-level trust.

Examples include:

Host Firewalls
Cloud Security Groups
Service Mesh Policies
Software-Defined Networking
Workload Identity Policies

Traditional perimeter controls focus on:

North-South Traffic

Microsegmentation also controls:

East-West Traffic

between internal workloads.

If an attacker compromises one application server:

Compromised App
Should Not Access
All CDE Systems

For Kubernetes CDE workloads, consider:

Namespaces
Network Policies
Ingress
Egress
Service Accounts
Cluster Boundaries

55. Namespace Alone Is Not Strong Segmentation

Section titled “55. Namespace Alone Is Not Strong Segmentation”

Weak assumption:

Different Namespace
=
Network Isolation

Not necessarily.

Use:

NetworkPolicy

or equivalent enforcement.

Example:

Payment Frontend
Payment API

allowed.

Unrelated Workload
Payment Database

blocked.

If:

Payment Workloads
Development Workloads

share the same cluster, review whether isolation is sufficient.

A dedicated cluster may simplify PCI scope.

If multiple workloads share:

Worker Nodes

host-level compromise can affect segmentation assumptions.

A service mesh can enforce:

Service-to-Service Identity
Encrypted Traffic
Authorization Policies

but must be correctly configured and tested.

Maintain:

Network Diagram
Zone Description
Communication Matrix
Firewall Rules
Cloud Network Controls
Administrative Paths
Segmentation Test Results

Do not rely only on configuration review.

Validate actual isolation.

A practical process:

Identify Out-of-Scope Sources
Identify CDE Targets
Attempt Connectivity
Verify Block
Document Result

Create:

04 Segmentation Test Plan

Use:

Source Zone Target Port / Protocol Expected Result Test Method

Test from representative locations such as:

Corporate Workstation
Developer Network
Guest Network
Non-CDE Server
Third-Party Network

Targets may include:

Payment Web
Payment API
Database
Admin Interface
Jump Host

Sometimes expected communication should succeed.

Example:

Payment Web
Payment API
443

Expected:

Allowed

Example:

Corporate Workstation
Payment Database
3306

Expected:

Blocked

Example:

Developer Laptop
Payment Server
SSH

Expected:

Blocked

Create:

05 Segmentation Test Evidence Register

Use:

Test ID Source Destination Expected Actual Status

Evidence may include:

Test Output
Firewall Logs
Packet Capture
Cloud Flow Logs
Screenshot
Tool Output

Segmentation testing may be included within PCI penetration-testing requirements where segmentation is relied upon to reduce scope.

The goal is to determine whether:

Out-of-Scope Systems
Can Reach
CDE

71. Internal vs External Segmentation Testing

Section titled “71. Internal vs External Segmentation Testing”

Most segmentation validation focuses on internal isolation.

However, external exposure and remote-access paths should also be assessed.

Segmentation testing frequency should follow applicable PCI DSS requirements and the organization’s environment.

Also test after:

Significant Network Change
Firewall Replacement
Cloud Architecture Change
New Peering
New Payment Channel

Expected:

Developer Network
CDE SSH

Actual:

Developer Network
CDE SSH
Allowed

Result:

Segmentation Failure

A segmentation failure may mean:

Developer Network

can no longer be confidently treated as outside PCI scope.

75. Immediate Response to Segmentation Failure

Section titled “75. Immediate Response to Segmentation Failure”

Use:

Identify Path
Restrict Connectivity
Assess Exposure
Re-Test
Reassess Scope

The development subnet can establish SSH sessions to production payment application servers despite being classified as out of scope.

Risk:

Compromise of Development Environment
Unauthorized CDE Access

Problem:

Developer Subnet Reaches CDE

Why?

Firewall Rule Allows
Corporate RFC1918 Range

Why?

Temporary Migration Rule
Never Removed

Root cause:

Firewall-rule lifecycle controls do not ensure temporary CDE access rules expire and are removed.

Remove Broad Firewall Rule
Require Expiry Date
Owner
Approval
Periodic Review

for temporary CDE rules.

Sometimes temporary connectivity may be required.

Example:

Migration System
Temporary CDE Access

Create:

06 Segmentation Exception Register

Use:

Exception Source Destination Reason Expiry Approver

Include:

Business Need
Risk
Compensating Controls
Owner
Approver
Expiry
Review

Weak:

Temporary Firewall Rule
No Expiry
3 Years Later
Still Active

A strong lifecycle:

Request
Risk Review
Approval
Implementation
Validation
Periodic Review
Removal

Review whether rules remain:

Required
Accurate
Least Privilege
Owned

Examples:

Old Application
Decommissioned Server
Former Vendor
Expired Project

Remove unused connectivity.

Potential hidden paths include:

VPN
Peering
Remote Support
Wireless
Direct Connect
Private Link
Transit Gateway

If wireless exists near CDE systems, evaluate:

Connectivity
Segmentation
Unauthorized Access Points

Guest wireless should not have connectivity to the CDE.

Example:

Guest Wi-Fi
CDE

Tools such as remote desktop or support agents can create hidden administrative paths.

Review:

Who Can Activate?
Which Systems?
MFA?
Logging?
Approval?

Third-party connectivity should normally be:

Explicit
Restricted
Monitored
Time-Bound

Firewalls and routers protecting the CDE require secure administration.

Controls include:

Unique IDs
MFA
Restricted Management Networks
Logging
Configuration Backups

Network changes affecting segmentation should undergo:

Change Request
Risk Review
Approval
Testing

Every relevant network change should ask:

Could this change alter PCI scope or CDE isolation?

New:

Analytics VPC
Payment VPC

should trigger:

PCI Scope Review
Firewall Review
Segmentation Testing

A connector running inside the CDE may create:

New Outbound Path

Review:

Destination
Data
Authentication
Business Need

Load balancers may sit at CDE boundaries.

Review:

Listeners
TLS
Backend Targets
Management Access

A WAF may protect internet-facing payment applications.

It complements but does not replace internal segmentation.

If used:

CDE Traffic
IDS / IPS

ensure monitoring coverage aligns with architecture.

Cloud flow logs can support segmentation monitoring.

Example:

Unexpected Source
CDE

can generate an alert.

A mature program may monitor:

New Routes
New Firewall Rules
New Security Groups
New Peerings
Unexpected Connections

Defined architecture:

Corporate
CDE

drift:

New Rule Added
Corporate
CDE

Automation can detect this.

Manage cloud network controls using:

Terraform
CloudFormation
Bicep

to improve repeatability.

Use policies to detect:

0.0.0.0/0 Admin Ports
ANY-to-CDE Rules
Unapproved Peering
Public Databases

Create:

07 Scope Reduction Assessment

Document:

Original Scope
Segmentation Architecture
Controls
Testing
Residual Connectivity
Result

Before:

Corporate Network
+
CDE

After:

Corporate Network
Segmentation Boundary
CDE

Validation:

Segmentation Test Passed

Potential result:

Corporate Environment
Can Be Treated Separately

subject to complete PCI scoping analysis.

Track:

Metric Target
Segmentation Tests Passed 100%
Unauthorized CDE Paths 0
Firewall Rules With Owner 100%
Expired Temporary Rules 0
Broad ANY Rules 0
Unreviewed CDE Rules 0

Example:

Percentage of CDE firewall rules
reviewed within required cycle

Example:

Unauthorized network paths
into the CDE

Target:

0

Example:

CDE rules using ANY source,
destination, or service
without approved justification

Example:

Expired temporary firewall rules
still active

Example:

Failed PCI segmentation tests

112. Practical Activity — Design CDE Segmentation

Section titled “112. Practical Activity — Design CDE Segmentation”

Use fictional company:

CloudShop

Create zones:

Internet
DMZ
Payment Application
Payment Database
Admin Zone
Corporate Network
Security Services

Define allowed communication between each.

113. Practical Activity — Build Communication Matrix

Section titled “113. Practical Activity — Build Communication Matrix”

Include at least:

Internet → Payment Web
Payment Web → Payment API
Payment API → Payment DB
CDE → SIEM
Scanner → CDE
Admin Zone → CDE
Corporate → CDE

Determine:

Allowed
Blocked

114. Practical Activity — Review Firewall Rules

Section titled “114. Practical Activity — Review Firewall Rules”

Assess:

Rule 1
Corporate 10.0.0.0/8
→ CDE
ANY
Rule 2
PAY-WEB-SG
→ PAY-API-SG
443
Rule 3
JUMP-HOST
→ PAY-DB
22
Rule 4
Developer Network
→ Payment API
443

Determine:

Required?
Overly Broad?
Incorrect Port?
Scope Impact?

115. Practical Activity — Build Segmentation Test Plan

Section titled “115. Practical Activity — Build Segmentation Test Plan”

Test from:

Corporate
Developer
Guest
Admin
Security Scanner

to:

Web
API
Database
Jump Host

116. Practical Activity — Analyze Failed Test

Section titled “116. Practical Activity — Analyze Failed Test”

Test:

Developer Network
Payment Database
5432

Expected:

Blocked

Actual:

Allowed

Document:

Finding
Scope Impact
Root Cause
Correction
Corrective Action
Retest

117. Practical Activity — Cloud Segmentation

Section titled “117. Practical Activity — Cloud Segmentation”

Architecture:

Corporate VPC
Transit Gateway
Payment VPC

Review:

Routes
Security Groups
Firewall Policies
DNS
Private Endpoints

Determine whether corporate workloads can access payment systems.

118. Practical Activity — Kubernetes Segmentation

Section titled “118. Practical Activity — Kubernetes Segmentation”

Payment workloads run in:

Namespace:
payments

Development workloads run in:

Namespace:
dev

There are:

No Network Policies

Question:

Is namespace separation sufficient?

Answer:

No

Design network policies to restrict traffic.

Vendor requires monthly maintenance access.

Design:

Vendor
MFA
VPN / ZTNA
Jump Host
Specific CDE Server

Access should be:

Approved
Time-Bound
Logged
Removed After Use
  • CDE boundary defined.

  • security zones defined.

  • network diagram current.

  • cloud architecture documented.

  • administrative paths documented.

  • communication matrix exists.

  • every path has business justification.

  • inbound traffic restricted.

  • outbound traffic restricted.

  • security-service traffic documented.

  • default deny implemented.

  • source restrictions applied.

  • destination restrictions applied.

  • port restrictions applied.

  • broad rules justified.

  • temporary rules expire.

  • direct corporate-to-CDE administration restricted.

  • privileged access path defined.

  • jump hosts secured.

  • MFA enabled.

  • administrative sessions logged.

  • VPC/VNet boundaries documented.

  • route tables reviewed.

  • security groups reviewed.

  • NACLs reviewed where applicable.

  • peerings reviewed.

  • transit routing reviewed.

  • management plane controlled.

  • cluster architecture reviewed.

  • network policies implemented.

  • ingress controlled.

  • egress controlled.

  • administrative access restricted.

  • segmentation test plan documented.

  • representative source networks tested.

  • CDE targets tested.

  • allowed paths validated.

  • blocked paths validated.

  • failures recorded.

  • retesting completed.

  • firewall rule owners assigned.

  • periodic rule review performed.

  • segmentation exceptions tracked.

  • network changes trigger PCI review.

  • scope reduction claims documented.

Mistake 1 — Different VLAN Means Segmented

Section titled “Mistake 1 — Different VLAN Means Segmented”

VLANs alone do not guarantee isolation.

Mistake 2 — Firewall Exists, So Segmentation Works

Section titled “Mistake 2 — Firewall Exists, So Segmentation Works”

Rules may still allow broad connectivity.

Mistake 3 — Only Inbound Traffic Reviewed

Section titled “Mistake 3 — Only Inbound Traffic Reviewed”

CDE egress is ignored.

Mistake 4 — Administrative Paths Ignored

Section titled “Mistake 4 — Administrative Paths Ignored”

Corporate endpoints can directly manage CDE systems.

Unexpected routes bypass intended boundaries.

Mistake 6 — Shared Cloud Account Assumed Safe

Section titled “Mistake 6 — Shared Cloud Account Assumed Safe”

IAM or network permissions allow cross-environment access.

Mistake 7 — Kubernetes Namespaces Used as Network Boundary

Section titled “Mistake 7 — Kubernetes Namespaces Used as Network Boundary”

No NetworkPolicy exists.

Mistake 8 — Temporary Rules Never Removed

Section titled “Mistake 8 — Temporary Rules Never Removed”

Scope increases over time.

Scope reduction exists only on paper.

Mistake 10 — Changes Do Not Trigger Revalidation

Section titled “Mistake 10 — Changes Do Not Trigger Revalidation”

New peering silently breaks segmentation.

CDE VLAN
Declared Segmented
CDE Boundary
Security Zones
Default Deny
Explicit Communication
Controlled Administration
Cloud / Network Enforcement
Microsegmentation
Testing
Monitoring
Validated Scope Reduction

A GRC professional supporting PCI network segmentation may:

  • Maintain segmentation architecture documentation.

  • Maintain network diagrams.

  • Maintain CDE communication matrices.

  • Coordinate firewall rule reviews.

  • Review rule ownership.

  • Track temporary network exceptions.

  • Coordinate segmentation testing.

  • Review cloud segmentation.

  • Review administrative access paths.

  • Review third-party connectivity.

  • Track segmentation failures.

  • Coordinate root-cause analysis.

  • Track remediation and retesting.

  • Maintain scope-reduction evidence.

  • Support QSA segmentation reviews.

GRC connects:

Network Engineering
Cloud Security
Security Architecture
IAM
DevOps
Kubernetes Teams
Security Operations
Penetration Testers
Third Parties
Assessors
VLANs
Basic Firewall
Zones
Firewall Rules
Communication Matrix
Segmentation Testing
Rule Reviews
Admin Boundaries
IaC
Policy-as-Code
Configuration Monitoring
Flow Analysis

Level 5 — Continuous Segmentation Assurance

Section titled “Level 5 — Continuous Segmentation Assurance”
Continuous Connectivity Testing
Dynamic Policy Enforcement
Automated Drift Detection
Real-Time Scope Alerts

For every CDE connection ask:

Why does this path exist?
Who owns it?
Which systems can initiate it?
Which ports are allowed?
Is traffic encrypted?
Could the source be compromised?
Does the source really need CDE access?
Can access be narrower?
Is the rule temporary?
Is the path monitored?
Has the path been tested?

For every out-of-scope network ask:

Can it reach the CDE
in any way?

For every change ask:

Could this route,
rule,
peering,
security group,
or policy
break PCI segmentation?

If these questions can be answered with evidence, the organization can defend its segmentation architecture and associated scope-reduction claims.

  • Network segmentation isolates the CDE from other environments.

  • Segmentation is often used to reduce PCI DSS scope.

  • Segmentation must be effective, not merely documented.

  • Security zones should have clear boundaries and ownership.

  • Default deny is a strong foundation for CDE network policy.

  • Communication into and out of the CDE should be explicitly authorized.

  • Administrative access should use controlled privileged paths.

  • Jump hosts and privileged workstations can reduce direct exposure.

  • Cloud segmentation requires review of VPCs, routes, security groups, peerings, and management-plane access.

  • Microsegmentation can restrict east-west traffic between workloads.

  • Kubernetes namespaces alone do not provide network isolation.

  • Segmentation testing is essential when segmentation is relied upon for PCI scope reduction.

  • Failed segmentation can expand PCI scope.

  • Firewall-rule lifecycle management is as important as initial rule design.

  • Temporary exceptions should have owners, approvals, compensating controls, and expiry dates.

  • Network changes should trigger PCI scope and segmentation review.

  • Continuous monitoring can identify segmentation drift before assessment time.

  • GRC coordinates architecture evidence, rule reviews, testing, exceptions, remediation, and assessor discussions.

Before continuing, make sure you can answer:

  1. What is network segmentation?

  2. Why is segmentation useful in PCI DSS?

  3. Is segmentation mandatory?

  4. What does default deny mean?

  5. What is a CDE communication matrix?

  6. Why are broad firewall rules risky?

  7. Why should outbound CDE traffic be controlled?

  8. What is a jump host?

  9. Why can privileged workstations help?

  10. How should third-party administrative access be controlled?

  11. What cloud components affect segmentation?

  12. Why can VPC peering create PCI scope risk?

  13. What is microsegmentation?

  14. What is east-west traffic?

  15. Why are Kubernetes namespaces insufficient by themselves?

  16. What is segmentation testing?

  17. Why are negative connectivity tests important?

  18. What happens when a segmentation test fails?

  19. What should a segmentation exception contain?

  20. What role does GRC play in network segmentation assurance?

➡️ Next: 05 — Access Control

In the next lesson, you will move from network boundaries into controlling who can access the CDE and what they are allowed to do.

You will work through:

Identity
Business Need
Role
Least Privilege
Authentication
MFA
Privileged Access
Provisioning
Access Review
Termination
Monitoring

You will also build practical artifacts including a PCI Access Control Matrix, CDE Role Register, Privileged Access Register, User Provisioning Checklist, Termination SLA Tracker, Access Review Register, Service Account Register, MFA Coverage Register, and PCI Access Control Testing Checklist.