implementing-network-segmentation-with-firewall-zones
できること
このスキルは、コンピューターネットワークを「ゾーン」と呼ばれる、より小さく安全な部分に分けて整理する手助けをします。これにより、ある部分で起きた問題が他の部分に広がるのを防ぎ、どの機器同士が通信できるかを制御できます。
使う場面
- ✓ネットワークのセキュリティを計画するとき。
- ✓トラフィックを制御するためにファイアウォールを設定するとき。
- ✓PCI DSSやHIPAAなどのセキュリティ規則に従う必要があるとき。
スキルのリンク
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-segmentation-with-firewall-zones/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ファイアウォールを使ってネットワークにセキュリティゾーンを設定するには、どうすればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
ネットワークを「インターネット」「サーバー」「ユーザー」などのゾーンに分割し、ファイアウォールを使って、どのトラフィックがゾーン間を移動できるかを厳密に定めることで機能します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Implementing Network Segmentation with Firewall Zones
Overview
Network segmentation divides a flat network into isolated security zones with firewall-enforced boundaries to contain breaches, restrict lateral movement, and enforce least-privilege access between workloads. Segmentation is a foundational control required by PCI DSS, HIPAA, NIST 800-53, and zero trust architectures. Modern segmentation combines traditional VLAN-based approaches with microsegmentation at the workload level for granular east-west traffic control. This skill covers designing zone architectures, configuring inter-zone firewall policies, implementing VLAN segmentation on switches, and deploying microsegmentation for dynamic environments.
When to Use
- When deploying or configuring implementing network segmentation with firewall zones 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
- Network topology documentation with asset inventory
- Firewall supporting zone-based policies (Palo Alto, Fortinet, Cisco Firepower)
- Managed switches with VLAN support (802.1Q trunking)
- Traffic flow documentation or NetFlow data for baseline analysis
- Compliance requirements (PCI DSS scope, HIPAA ePHI boundaries)
Core Concepts
Zone Architecture Tiers
| Zone | Trust Level | Examples | Access Policy |
|---|---|---|---|
| Internet | None | Public internet | Default deny inbound |
| DMZ | Low | Web servers, mail relays, DNS | Limited inbound, restricted outbound |
| Guest | Low | Guest WiFi, visitor network | Internet only, no internal access |
| Corporate | Medium | Employee workstations, printers | Controlled access to internal resources |
| Server/Data Center | High | Application servers, databases | Strict ACLs, limited admin access |
| PCI CDE | Critical | Payment systems, card data | PCI DSS compliant isolation |
| Management | Critical | Network devices, hypervisors, IPMI | Highly restricted, jump box only |
| OT/SCADA | Critical | Industrial control systems | Air-gapped or strictly firewalled |
Segmentation Approaches
| Approach | Scope | Granularity | Use Case |
|---|---|---|---|
| VLAN Segmentation | Layer 2 | Subnet-level | Department separation, guest isolation |
| Firewall Zones | Layer 3-7 | Zone-to-zone | Inter-zone policy enforcement |
| ACLs on Routers | Layer 3-4 | Subnet/port | Quick filtering at routing boundaries |
| Microsegmentation | Layer 3-7 | Workload-level | Zero trust, container environments |
| SGT/TrustSec | Layer 2-7 | Tag-based | Identity-based segmentation |
Workflow
Step 1: Map Traffic Flows and Define Zones
Before implementing segmentation, capture baseline traffic:
# Capture NetFlow data to understand existing traffic patterns
nfdump -R /var/cache/nfdump/ -s srcip/bytes -n 50
# Identify east-west traffic between subnets
nfdump -R /var/cache/nfdump/ -s record/bytes \
'src net 10.0.0.0/8 and dst net 10.0.0.0/8' -n 100
# Map application dependencies
# Document which servers need to communicate with which other servers
Step 2: Configure VLANs on Switches
! Core switch VLAN configuration
vlan 10
name Management
vlan 20
name Corporate-Users
vlan 30
name Servers
vlan 40
name PCI-CDE
vlan 50
name Guest
vlan 60
name DMZ
vlan 99
name Native-Unused
! Trunk port to firewall
interface GigabitEthernet1/0/1
description Trunk-to-Firewall
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20,30,40,50,60
switchport trunk native vlan 99
switchport nonegotiate
! Access port for corporate users
interface range GigabitEthernet1/0/2-24
switchport mode access
switchport access vlan 20
spanning-tree portfast
! Access port for servers
interface range GigabitEthernet1/0/25-36
switchport mode access
switchport access vlan 30
! Prevent VLAN hopping
interface range GigabitEthernet1/0/37-48
switchport mode access
switchport access vlan 99
shutdown
Step 3: Configure Firewall Zone Policies
Palo Alto zone-based policy:
# Define zones on firewall sub-interfaces
set network interface ethernet ethernet1/1 layer3 units ethernet1/1.10 tag 10 ip 10.0.10.1/24
…
よくある質問
ネットワークセグメンテーションとは何ですか?
大きな家を、鍵のかかるドアで区切られた別々の部屋に分けるようなものです。ある部屋で起きた問題が、ほかの部屋に影響するのを防ぎます。
ファイアウォールゾーンとは何ですか?
同じセキュリティレベルと信頼レベルを持つ、ネットワーク上の機器のグループのことです。ファイアウォールが、これらのゾーン間の門番の役割を果たします。
なぜセキュリティゾーンを使うのですか?
セキュリティを高め、攻撃による被害を抑え、必要な通信だけが行われるようにして、コンプライアンス規則に従うためです。
詳細
作者による元の説明
Designs and implements network segmentation using firewall security zones, VLANs, inter-zone ACLs, and workload-level microsegmentation to restrict east-west lateral movement and enforce least-privilege access. Use when architecting security zones, writing inter-zone firewall policies, or meeting PCI DSS/HIPAA/NIST 800-53/zero-trust segmentation requirements for dynamic or traditional network envi
人気
- GitHubのスター
- 35k
- ランキング
- #8084
- ライセンス
- Apache-2.0
- 更新日
- 2026/8/31
コメント
- …
このリポジトリの他のスキル
abusing-dpapi-for-credential-access
35k特定のタスク向けに用意された指示をAIエージェントに与え、より良く、より速く作業できるようにします。
abusing-shadow-credentials-for-privesc
35kAIエージェントに、明確で構成のしっかりした文章の書き方を教えます。
achieving-cmmc-level-2-compliance
35kエージェントがCMMC Level 2への準拠に向けた環境を整えられるようにします。セキュリティ要件を実装し、必要なドキュメントを管理します。
acquiring-disk-image-with-dd-and-dcfldd
35kエージェントがハードディスクの完全なコピーを作成できるようにします。調査中に情報が失われたり改変されたりしないようにするのに役立ちます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。