본문으로 건너뛰기
cccskills
무료GitHub에 공개

configuring-microsegmentation-for-zero-trust

Configure microsegmentation policies to enforce least-privilege workload-to-workload access using tools like VMware NSX, Illumio, and Calico, preventing lateral movement in zero trust architectures.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(8)

  • SKILL.md7.8 KB
  • assets/template.md2.4 KB
  • LICENSE11.0 KB
  • references/api-reference.md1.4 KB
  • references/standards.md3.5 KB
  • references/workflows.md6.9 KB
  • scripts/agent.py5.0 KB
  • scripts/process.py12.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Configuring Microsegmentation for Zero Trust

Prerequisites

  • Understanding of zero trust principles (NIST SP 800-207)
  • Knowledge of network segmentation concepts
  • Familiarity with firewall and SDN technologies
  • Experience with VMware NSX, Illumio, Guardicore, or Cisco ACI

Overview

Microsegmentation divides a network into granular security zones, enforcing least-privilege access between workloads at the application layer rather than relying on traditional VLAN-based segmentation. In a zero trust architecture, microsegmentation eliminates implicit trust between workloads within the same network segment, preventing lateral movement even after an attacker gains initial access.

This skill covers designing microsegmentation policies using workload identity, implementing host-based and network-based enforcement, and validating segmentation effectiveness with tools like Illumio Core and VMware NSX.

When to Use

  • When deploying or configuring configuring microsegmentation for zero trust capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with zero trust architecture concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Architecture

Microsegmentation Models

  1. Network-Based (VMware NSX, Cisco ACI): Distributed firewall rules enforced at the hypervisor or network fabric level
  2. Host-Based (Illumio, Guardicore): Agent-based enforcement at the OS level using iptables/WFP rules
  3. Container-Based (Calico, Cilium): Network policies enforced at the pod/container level in Kubernetes
  4. Application-Based (Zscaler Workload Segmentation): Identity-based segmentation based on software identity rather than IP addresses

Enforcement Points

Traditional Segmentation        Microsegmentation
┌─────────────────┐            ┌──────────────────────┐
│  VLAN 10        │            │  Workload A ←policy→ │
│  ┌───┐ ┌───┐   │            │  Workload B ←policy→ │
│  │ A │ │ B │   │            │  Workload C ←policy→ │
│  └───┘ └───┘   │            │  Workload D ←policy→ │
│  (trust each    │            │  (zero trust between  │
│   other)        │            │   every pair)         │
└─────────────────┘            └──────────────────────┘

Key Concepts

Application Dependency Mapping

Before creating segmentation policies, discover actual communication flows between workloads using traffic telemetry. Tools like Illumio, Guardicore, and AppDynamics provide application dependency maps showing which workloads communicate, over which ports, and how frequently.

Policy Modeling

Draft policies in monitor/visibility mode before enforcement. This allows validation that proposed rules will not break legitimate traffic while identifying unnecessary or risky communication paths.

Label-Based Policy

Modern microsegmentation uses labels (role, application, environment, location) instead of IP-based rules. Label-based policies are portable across environments and survive IP changes during migrations.

Ring-Fencing

Isolate critical applications (PCI cardholder data environment, SWIFT financial systems, healthcare PHI) with strict allow-list policies that deny all traffic not explicitly permitted.

Workflow

Phase 1: Discovery and Mapping

  1. Deploy Visibility Agents

    • Install lightweight agents on all workloads (servers, VMs, containers)
    • Configure agents to report real-time traffic telemetry to the management console
    • Allow 2-4 weeks of traffic collection to build a comprehensive flow map
  2. Build Application Dependency Map

    • Review auto-discovered communication flows in the management console
    • Identify application tiers: web servers, app servers, databases, middleware
    • Map legitimate communication paths and flag unexpected connections
    • Document data flows for compliance scope (PCI, HIPAA)
  3. Assign Labels

    • Create a labeling taxonomy: Role (web, app, db), Application (ERP, CRM), Environment (prod, dev, staging), Location (dc1, aws-east)
    • Apply labels to all workloads via the management console or API
    • Validate label accuracy against CMDB and application owner input

Phase 2: Policy Design

  1. Define Segmentation Zones

    • Environment isolation: Production cannot communicate with Development
    • Tier isolation: Database tier only accepts connections from application tier
    • Application ring-fencing: PCI applications isolated from non-PCI workloads
    • Administrative access: Jump servers are the only management path
  2. Create Allow-List Policies

    • For each application, define explicit allow rules for required communication
    • Use label-based rules rather than IP-based where possible
    • Include process-level restrictions where supported (e.g., only httpd on port 443)
    • Set default-deny for all unlisted communication
  3. Model Policies in Test Mode

    • Enable policies in visibility/test mode (do not enforce)
    • Monitor for would-be blocked legitimate traffic
    • Refine policies based on test results over 1-2 weeks
    • Get application owner sign-off before enforcement

Phase 3: Enforcement

  1. Enforce Incrementally

    • Start with the most isolated, lowest-risk application
    • Switch policy from test mode to enforce mode
    • Monitor for application issues in the first 24-48 hours
    • Proceed to next application after validation
  2. Validate Segmentation

    • Run penetration tests attempting lateral movement between segments
    • Verify that blocked traffic generates alerts in the management console
    • Test emergency override procedures (break-glass)
    • Document enforcement status for each application zone

Phase 4: Operational Maintenance

  1. Ongoing Policy Management
    • Integrate with CI/CD: auto-label new workloads from deployment pipelines
    • Review policy violations weekly and investigate anomalies
    • Update policies when applications change or new services deploy
    • Perform quarterly segmentation effectiveness reviews

Validation Checklist

  • Agents deployed on all in-scope workloads
  • Application dependency map reviewed and approved by app owners
  • Labels assigned and validated against CMDB
  • Policies modeled in test mode with no false positives for 2+ weeks
  • Policies enforced incrementally with monitoring
  • Default-deny active for all segmented zones
  • Lateral movement tests confirm blocked unauthorized traffic
  • Alerting configured for policy violations
  • Break-glass procedure documented and tested
  • Compliance auditor sign-off for regulated environments

References

  • NIST SP 800-207: Zero Trust Architecture
  • CISA Zero Trust Maturity Model v2.0 - Network Pillar
  • Illumio Core Administration Guide
  • VMware NSX Distributed Firewall Configuration Guide
  • Forrester Zero Trust eXtended (ZTX) Framework

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect BOLA/IDOR attacks, rate limit bypass, credential scanning, and injection attempts. Uses pandas for statistical analysis of request patterns and anomaly detection. Use when investigating API abuse or building API-specific threat detection rules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

Analyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

Queries Azure Monitor activity logs and sign-in logs via azure-monitor-query to detect suspicious administrative operations, impossible travel, privilege escalation, and resource modifications. Builds KQL queries for threat hunting in Azure environments. Use when investigating suspicious Azure tenant activity or building cloud SIEM detections.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aniket2348823/Vul-Agent22026년 6월 9일 업데이트

aniket2348823의 스킬 모두 보기

이 스킬의 문제 신고