[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AF9CGM961R7Z70SF6RQSV5":3,"skill-same:01M6AF9CGM961R7Z70SF6RQSV5":113},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":75,"repositoryHtmlUrl":76,"repositoryHomepageUrl":77,"ownerHtmlUrl":78,"ownerBlogUrl":79,"ownerDescription":80,"updatedAt":81,"install":82,"resources":95},"01M6AF9CGM961R7Z70SF6RQSV5","implementing-network-segmentation-for-ot","OT 网络分段实施","Implements OT network segmentation using VLANs, OT-aware firewalls, data diodes, and IEC 62443 zone\u002Fconduit architecture, with a traffic-baseline-driven design tool for migrating flat Purdue-model networks without disrupting operations. Use when segmenting a flat OT network into Purdue levels, deploying an IT\u002FOT DMZ, or isolating safety instrumented systems from basic process control systems.","使用 VLAN、OT 感知防火墙、数据二极管和 IEC 62443 区域\u002F通道架构实现 OT 网络分段，并提供基于流量基线的设计工具，可在不中断运营的情况下迁移扁平的普渡模型网络。适用于将扁平 OT 网络划分为普渡模型层级、部署 IT\u002FOT DMZ，或将安全仪表系统与基本过程控制系统隔离。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-network-segmentation-for-ot\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89HE9N5P9F4ZKF1S850TS","网络安全设备配置与管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"implementing network segmentation for ot","segmentation","network","scada","baseline","networks","Safety","t1059","t1078","iec62443","industrial-control","design","ics","ot-security","network-segmentation","vlan","data","pr","architecture","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-network-segmentation-for-ot\ndescription: 'Implements OT network segmentation using VLANs, OT-aware firewalls, data diodes,\n  and IEC 62443 zone\u002Fconduit architecture, with a traffic-baseline-driven design\n  tool for migrating flat Purdue-model networks without disrupting operations. Use\n  when segmenting a flat OT network into Purdue levels, deploying an IT\u002FOT DMZ, or\n  isolating safety instrumented systems from basic process control systems.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- scada\n- industrial-control\n- iec62443\n- network-segmentation\n- vlan\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- DE.CM-01\n- ID.AM-05\n- GV.OC-02\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T0816\n- T0836\n---\n\n# Implementing Network Segmentation for OT\n\n## When to Use\n\n- When an OT security assessment reveals a flat network with no segmentation between Purdue levels\n- When implementing IEC 62443 zone\u002Fconduit architecture after completing risk assessment (IEC 62443-3-2)\n- When separating IT and OT networks as part of an IT\u002FOT convergence security initiative\n- When deploying a DMZ between corporate IT and OT to protect industrial systems from IT-originating threats\n- When segmenting safety instrumented systems (SIS) from basic process control systems (BPCS)\n\n**Do not use** for IT-only microsegmentation without OT components (see implementing-zero-trust-in-cloud), or for initial zone design without prior traffic analysis (see performing-ot-network-security-assessment first).\n\n## Prerequisites\n\n- Complete traffic baseline from passive monitoring (minimum 2-4 weeks of capture data)\n- Asset inventory with Purdue level classifications for all OT devices\n- Industrial-grade network switches with VLAN support and port security\n- OT-aware firewalls (Cisco ISA-3000, Fortinet FortiGate Rugged, Palo Alto with OT Security)\n- Maintenance window schedule for network changes\n- Rollback plan approved by operations management\n\n## Workflow\n\n### Step 1: Design Segmentation Architecture Based on Traffic Baseline\n\nUse the traffic baseline to design VLAN and firewall architecture that preserves all legitimate communication paths while isolating zones.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Network Segmentation Design Tool.\n\nAnalyzes traffic baseline data and generates a segmentation design\nwith VLAN assignments, firewall rules, and migration plan.\n\"\"\"\n\nimport json\nimport sys\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field, asdict\nfrom ipaddress import ip_address, ip_network\n\n\n@dataclass\nclass VLANDesign:\n    vlan_id: int\n    name: str\n    purdue_level: str\n    subnet: str\n    gateway: str\n    description: str\n    devices: list = field(default_factory=list)\n\n\n@dataclass\nclass FirewallRule:\n    rule_id: int\n    source_zone: str\n    source_ip: str\n    dest_zone: str\n    dest_ip: str\n    protocol: str\n    port: int\n    action: str\n    dpi_profile: str = \"\"\n    comment: str = \"\"\n\n\nclass SegmentationDesigner:\n    \"\"\"Generates segmentation design from traffic baseline.\"\"\"\n\n    def __init__(self, baseline_file):\n        with open(baseline_file) as f:\n            self.baseline = json.load(f)\n        self.vlans = []\n        self.rules = []\n        self.rule_counter = 1\n\n    def design_vlans(self):\n        \"\"\"Create VLAN design based on Purdue levels.\"\"\"\n        self.vlans = [\n            VLANDesign(10, \"SIS-SAFETY\", \"Level 1 (Safety)\",\n                       \"10.10.10.0\u002F24\", \"10.10.10.1\",\n                       \"Safety Instrumented Systems - air-gapped or hardware-isolated\"),\n            VLANDesign(20, \"BPCS-FIELD\", \"Level 0-1 (Field\u002FControl)\",\n                       \"10.10.20.0\u002F24\", \"10.10.20.1\",\n                       \"PLCs, RTUs, I\u002FO modules, field instruments\"),\n            VLANDesign(30, \"BPCS-SUPERVISORY\", \"Level 2 (Supervisory)\",\n                       \"10.10.30.0\u002F24\", \"10.10.30.1\",\n                       \"HMIs, engineering workstations, local historian\"),\n            VLANDesign(40, \"SITE-OPS\", \"Level 3 (Operations)\",\n                       \"10.10.40.0\u002F24\", \"10.10.40.1\",\n                       \"Site historian, OPC server, MES, alarm management\"),\n            VLANDesign(50, \"OT-DMZ\", \"Level 3.5 (DMZ)\",\n                       \"172.16.50.0\u002F24\", \"172.16.50.1\",\n                       \"Data diode, historian mirror, jump server, patch server\"),\n            VLANDesign(60, \"ENTERPRISE\", \"Level 4 (Enterprise)\",\n                       \"10.0.60.0\u002F24\", \"10.0.60.1\",\n                       \"Enterprise IT systems accessing OT data\"),\n            VLANDesign(999, \"QUARANTINE\", \"Quarantine\",\n                       \"10.10.99.0\u002F24\", \"10.10.99.1\",\n                       \"Quarantine VLAN for unauthorized or untrusted devices\"),\n        ]\n        return self.vlans\n\n    def generate_firewall_rules_from_baseline(self):\n        \"\"\"Generate firewall rules based on observed legitimate traffic.\"\"\"\n        self.rules = []\n\n        # Default deny rules for each zone boundary\n        zone_pairs = [\n            (\"Level 2\", \"Level 0-1\"),\n            (\"Level 3\", \"Level 2\"),\n            (\"Level 3.5\", \"Level 3\"),\n            (\"Level 4\", \"Level 3.5\"),\n        ]\n\n        # Generate allow rules from baseline observed traffic\n        for flow in self.baseline.get(\"cross_zone_flows\", []):\n            self.rules.append(FirewallRule(\n                rule_id=self.rule_counter,\n                source_zone=flow[\"src_level\"],\n                source_ip=flow[\"src\"],\n                dest_zone=flow[\"dst_level\"],\n                dest_ip=flow[\"dst\"],\n                protocol=flow.get(\"protocol\", \"TCP\"),\n                port=flow.get(\"port\", 0),\n                action=\"ALLOW\",\n                dpi_profile=self._get_dpi_profile(flow.get(\"port\", 0)),\n                comment=f\"Baseline observed: {flow['src']} -> {flow['dst']}\",\n            ))\n            self.rule_counter += 1\n\n        # Add default deny rules at the end of each zone ACL\n        for src_zone, dst_zone in zone_pairs:\n            self.rules.append(FirewallRule(\n                rule_id=self.rule_counter,\n                source_zone=src_zone,\n                source_ip=\"any\",\n                dest_zone=dst_zone,\n                dest_ip=\"any\",\n                protocol=\"any\",\n                port=0,\n                action=\"DENY\",\n                comment=f\"Default deny: {src_zone} -> {dst_zone}\",\n            ))\n            self.rule_counter += 1\n\n        return self.rules\n\n    def _get_dpi_profile(self, port):\n        \"\"\"Return the appropriate DPI inspection profile for an OT protocol port.\"\"\"\n        dpi_profiles = {\n            502: \"modbus-inspect (allow read FC only from L3)\",\n            44818: \"enip-inspect\",\n            4840: \"opcua-inspect (require SignAndEncrypt)\",\n            102: \"s7comm-inspect\",\n            20000: \"dnp3-inspect\",\n        }\n        return dpi_profiles.get(port, \"none\")\n\n    def generate_migration_plan(self):\n        \"\"\"Generate phased migration plan for network segmentation.\"\"\"\n        plan = {\n            \"phase_1\": {\n                \"name\": \"DMZ Implementation (Week 1-2)\",\n                \"description\": \"Deploy DMZ between enterprise and OT networks\",\n                \"steps\": [\n                    \"Deploy DMZ firewall pair (inside and outside)\",\n                    \"Migrate historian mirror to DMZ\",\n                    \"Configure jump server in DMZ with MFA\",\n                    \"Install data diode for unidirectional historian replication\",\n                    \"Route enterprise-to-OT traffic through DMZ\",\n                    \"Verify enterprise access to historian data via DMZ\",\n                ],\n                \"rollback\": \"Remove DMZ firewall rules, restore direct routing\",\n            },\n            \"phase_2\": {\n                \"name\": \"L3\u002FL2 Segmentation (Week 3-4)\",\n                \"description\": \"Separate operations (L3) from control (L2) zones\",\n                \"steps\": [\n                    \"Create VLAN 30 and VLAN 40 on OT switches\",\n                    \"Deploy industrial firewall between L2 and L3\",\n                    \"Configure firewall in monitor mode (log only, no blocking)\",\n                    \"Analyze logs for 1 week to validate rule completeness\",\n                    \"Switch to enforcement mode during maintenance window\",\n                    \"Validate all HMI-to-PLC and historian-to-PLC communications\",\n                ],\n                \"rollback\": \"Revert VLAN assignments, set firewall to permit-any\",\n            },\n            \"phase_3\": {\n                \"name\": \"Field Device Isolation (Week 5-6)\",\n                \"description\": \"Isolate Level 0-1 field devices from Level 2 supervisory\",\n                \"steps\": [\n                    \"Create VLAN 20 for PLCs and field instruments\",\n                    \"Configure port security with MAC binding on PLC ports\",\n                    \"Apply Modbus function code filtering (block writes from L3)\",\n                    \"Test all control loops during maintenance window\",\n                    \"Verify alarm propagation from field to HMI\",\n                ],\n                \"rollback\": \"Merge VLAN 20 back into VLAN 30\",\n            },\n            \"phase_4\": {\n                \"name\": \"SIS Isolation (Week 7-8)\",\n                \"description\": \"Fully isolate Safety Instrumented Systems\",\n                \"steps\": [\n                    \"Verify SIS is on dedicated VLAN 10 or air-gapped\",\n                    \"Remove any network path between SIS and BPCS\",\n                    \"Implement dedicated engineering workstation for SIS\",\n                    \"Apply USB and removable media controls on SIS EWS\",\n                    \"Test SIS functionality in isolation\",\n                ],\n                \"rollback\": \"N\u002FA - SIS isolation should not be reversed\",\n            },\n        }\n        return plan\n\n    def export_design(self, output_file):\n        \"\"\"Export complete segmentation design.\"\"\"\n        design = {\n            \"vlans\": [asdict(v) for v in self.vlans],\n            \"firewall_rules\": [asdict(r) for r in self.rules],\n            \"migration_plan\": self.generate_migration_plan(),\n        }\n\n        with open(output_file, \"w\") as f:\n            json.dump(design, f, indent=2)\n\n        print(f\"[*] Segmentation design exported to: {output_file}\")\n        print(f\"    VLANs: {len(self.vlans)}\")\n        print(f\"    Firewall Rules: {len(self.rules)}\")\n\n        return design\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python segmentation_designer.py \u003Cbaseline.json> [output.json]\")\n        sys.exit(1)\n\n    designer = SegmentationDesigner(sys.argv[1])\n    designer.design_vlans()\n    designer.generate_firewall_rules_from_baseline()\n\n    output = sys.argv[2] if len(sys.argv) > 2 else \"segmentation_design.json\"\n    designer.export_design(output)\n```\n\n### Step 2: Configure Industrial Switch VLANs\n\nApply VLAN configuration to industrial Ethernet switches with port security and unused port hardening.\n\n```bash\n# Cisco Industrial Ethernet 4000\u002F5000 Series Configuration\n\n# Create VLANs aligned with Purdue levels\nvlan 10\n  name SIS-SAFETY-L1\nvlan 20\n  name BPCS-FIELD-L01\nvlan 30\n  name BPCS-SUPERVISORY-L2\nvlan 40\n  name SITE-OPS-L3\nvlan 50\n  name OT-DMZ-L35\nvlan 999\n  name QUARANTINE\n\n# PLC access ports with port security\ninterface range GigabitEthernet1\u002F0\u002F1-12\n  description PLC Connections\n  switchport mode access\n  switchport access vlan 20\n  switchport port-security\n  switchport port-security maximum 1\n  switchport port-security mac-address sticky\n  switchport port-security violation shutdown\n  storm-control broadcast level 10\n  storm-control multicast level 10\n  spanning-tree portfast\n  spanning-tree bpduguard enable\n  no cdp enable\n  no lldp transmit\n  no lldp receive\n\n# HMI access ports\ninterface range GigabitEthernet1\u002F0\u002F13-18\n  description HMI Stations\n  switchport mode access\n  switchport access vlan 30\n  switchport port-security\n  switchport port-security maximum 1\n  switchport port-security mac-address sticky\n  switchport port-security violation restrict\n  spanning-tree portfast\n\n# Trunk to zone firewall\ninterface TenGigabitEthernet1\u002F0\u002F1\n  description Trunk to OT Zone Firewall\n  switchport mode trunk\n  switchport trunk allowed vlan 20,30,40,50\n  switchport trunk native vlan 999\n  switchport nonegotiate\n\n# Disable and quarantine all unused ports\ninterface range GigabitEthernet1\u002F0\u002F19-48\n  description UNUSED - Shutdown\n  switchport mode access\n  switchport access vlan 999\n  shutdown\n```\n\n### Step 3: Validate Segmentation Effectiveness\n\nAfter implementation, validate that segmentation correctly blocks unauthorized cross-zone traffic while permitting all legitimate operations.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Network Segmentation Validator.\n\nRuns automated tests to verify zone isolation, firewall rules,\nand protocol enforcement after segmentation deployment.\n\"\"\"\n\nimport json\nimport socket\nimport subprocess\nimport sys\nimport time\nfrom dataclasses import dataclass, asdict\n\n\n@dataclass\nclass ValidationTest:\n    test_id: str\n    description: str\n    source_zone: str\n    target_ip: str\n    target_port: int\n    expected_result: str  # \"blocked\" or \"allowed\"\n    actual_result: str = \"\"\n    status: str = \"\"  # PASS or FAIL\n\n\nclass SegmentationValidator:\n    \"\"\"Validates OT network segmentation implementation.\"\"\"\n\n    def __init__(self):\n        self.tests = []\n        self.results = []\n\n    def add_test(self, test):\n        self.tests.append(test)\n\n    def run_connectivity_test(self, target_ip, target_port, timeout=3):\n        \"\"\"Test TCP connectivity to target.\"\"\"\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(timeout)\n            result = sock.connect_ex((target_ip, target_port))\n            sock.close()\n            return \"reachable\" if result == 0 else \"blocked\"\n        except (socket.timeout, ConnectionRefusedError):\n            return \"blocked\"\n        except Exception:\n            return \"error\"\n\n    def run_all_tests(self):\n        \"\"\"Execute all segmentation validation tests.\"\"\"\n        print(\"=\" * 60)\n        print(\"OT SEGMENTATION VALIDATION\")\n        print(\"=\" * 60)\n\n        passed = 0\n        failed = 0\n\n        for test in self.tests:\n            actual = self.run_connectivity_test(test.target_ip, test.target_port)\n            test.actual_result = actual\n\n            if actual == test.expected_result:\n                test.status = \"PASS\"\n                passed += 1\n            else:\n                test.status = \"FAIL\"\n                failed += 1\n\n            icon = \"[+]\" if test.status == \"PASS\" else \"[-]\"\n            print(f\"  {icon} {test.test_id}: {test.description}\")\n            print(f\"      Target: {test.target_ip}:{test.target_port}\")\n            print(f\"      Expected: {test.expected_result} | Actual: {actual} -> {test.status}\")\n\n        print(f\"\\n  Results: {passed} passed, {failed} failed out of {len(self.tests)} tests\")\n        return {\"passed\": passed, \"failed\": failed, \"total\": len(self.tests)}\n\n\nif __name__ == \"__main__\":\n    validator = SegmentationValidator()\n\n    # Tests from Enterprise zone (Level 4) - should be blocked from OT\n    validator.add_test(ValidationTest(\n        \"SEG-001\", \"Enterprise cannot reach PLCs via Modbus\",\n        \"Level 4\", \"10.10.20.10\", 502, \"blocked\"))\n    validator.add_test(ValidationTest(\n        \"SEG-002\", \"Enterprise cannot reach PLCs via EtherNet\u002FIP\",\n        \"Level 4\", \"10.10.20.10\", 44818, \"blocked\"))\n    validator.add_test(ValidationTest(\n        \"SEG-003\", \"Enterprise can reach DMZ jump server\",\n        \"Level 4\", \"172.16.50.10\", 3389, \"allowed\"))\n    validator.add_test(ValidationTest(\n        \"SEG-004\", \"Enterprise can reach DMZ historian mirror\",\n        \"Level 4\", \"172.16.50.20\", 443, \"allowed\"))\n\n    # Tests from Operations zone (Level 3) - limited access to control\n    validator.add_test(ValidationTest(\n        \"SEG-005\", \"Operations can read from PLCs via Modbus\",\n        \"Level 3\", \"10.10.20.10\", 502, \"allowed\"))\n    validator.add_test(ValidationTest(\n        \"SEG-006\", \"Operations cannot reach SIS controllers\",\n        \"Level 3\", \"10.10.10.10\", 1502, \"blocked\"))\n\n    validator.run_all_tests()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| VLAN | Virtual Local Area Network - Layer 2 broadcast domain isolation used to separate OT zones on shared switch infrastructure |\n| Industrial Firewall | Firewall with deep packet inspection capabilities for industrial protocols (Modbus, DNP3, EtherNet\u002FIP, OPC UA) |\n| Data Diode | Hardware-enforced unidirectional gateway that physically prevents reverse data flow, used between OT operations and DMZ |\n| Port Security | Switch feature that limits the number of MAC addresses on a port and locks assignments, preventing unauthorized device connections |\n| Trunk Port | Switch port carrying multiple VLANs using 802.1Q tagging, used to connect switches and firewalls across zone boundaries |\n| DMZ | Demilitarized Zone between enterprise IT and OT - a buffer zone where all cross-domain traffic terminates and is inspected |\n\n## Tools & Systems\n\n- **Cisco ISA-3000**: Industrial security appliance with Modbus, DNP3, and EtherNet\u002FIP deep packet inspection for OT zone firewalls\n- **Fortinet FortiGate Rugged Series**: Ruggedized NGFW with OT protocol support and industrial environment certifications\n- **Waterfall Security Unidirectional Gateway**: Hardware data diode for enforcing one-way data flow from OT to IT\n- **Cisco Industrial Ethernet Switches**: Managed switches with VLAN, port security, and industrial protocol support\n\n## Output Format\n\n```\nOT Network Segmentation Report\n================================\nImplementation Date: YYYY-MM-DD\n\nVLAN ARCHITECTURE:\n  VLAN [ID] - [Name] ([Purdue Level])\n    Subnet: [subnet\u002Fmask]\n    Devices: [count]\n\nFIREWALL RULES:\n  [Zone A] -> [Zone B]: [allow\u002Fdeny count]\n\nVALIDATION RESULTS:\n  Tests Passed: [N]\u002F[Total]\n  Critical Failures: [N]\n```\n","# Implementing Network Segmentation for OT\n\n## When to Use\n\n- When an OT security assessment reveals a flat network with no segmentation between Purdue levels\n- When implementing IEC 62443 zone\u002Fconduit architecture after completing risk assessment (IEC 62443-3-2)\n- When separating IT and OT networks as part of an IT\u002FOT convergence security initiative\n- When deploying a DMZ between corporate IT and OT to protect industrial systems from IT-originating threats\n- When segmenting safety instrumented systems (SIS) from basic process control systems (BPCS)\n\n**Do not use** for IT-only microsegmentation without OT components (see implementing-zero-trust-in-cloud), or for initial zone design without prior traffic analysis (see performing-ot-network-security-assessment first).\n\n## Prerequisites\n\n- Complete traffic baseline from passive monitoring (minimum 2-4 weeks of capture data)\n- Asset inventory with Purdue level classifications for all OT devices\n- Industrial-grade network switches with VLAN support and port security\n- OT-aware firewalls (Cisco ISA-3000, Fortinet FortiGate Rugged, Palo Alto with OT Security)\n- Maintenance window schedule for network changes\n- Rollback plan approved by operations management\n\n## Workflow\n\n### Step 1: Design Segmentation Architecture Based on Traffic Baseline\n\nUse the traffic baseline to design VLAN and firewall architecture that preserves all legitimate communication paths while isolating zones.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Network Segmentation Design Tool.\n\nAnalyzes traffic baseline data and generates a segmentation design\nwith VLAN assignments, firewall rules, and migration plan.\n\"\"\"\n\nimport json\nimport sys\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field, asdict\nfrom ipaddress import ip_address, ip_network\n\n\n@dataclass\nclass VLANDesign:\n    vlan_id: int\n    name: str\n    purdue_level: str\n    subnet: str\n    gateway: str\n    description: str\n    devices: list = field(default_factory=list)\n\n\n@dataclass\nclass FirewallRule:\n    rule_id: int\n    source_zone: str\n    source_ip: str\n    dest_zone: str\n    dest_ip: str\n    protocol: str\n    port: int\n    action: str\n    dpi_profile: str = \"\"\n    comment: str = \"\"\n\n\nclass SegmentationDesigner:\n    \"\"\"Generates segmentation design from traffic baseline.\"\"\"\n\n    def __init__(self, baseline_file):\n        with open(baseline_file) as f:\n            self.baseline = json.load(f)\n        self.vlans = []\n        self.rules = []\n        self.rule_counter = 1\n\n    def design_vlans(self):\n        \"\"\"Create VLAN design based on Purdue levels.\"\"\"\n        self.vlans = [\n            VLANDesign(10, \"SIS-SAFETY\", \"Level 1 (Safety)\",\n                       \"10.10.10.0\u002F24\", \"10.10.10.1\",\n                       \"Safety Instrumented Systems - air-gapped or hardware-isolated\"),\n            VLANDesign(20, \"BPCS-FIELD\", \"Level 0-1 (Field\u002FControl)\",\n                       \"10.10.20.0\u002F24\", \"10.10.20.1\",\n                       \"PLCs, RTUs, I\u002FO modules, field instruments\"),\n            VLANDesign(30, \"BPCS-SUPERVISORY\", \"Level 2 (Supervisory)\",\n                       \"10.10.30.0\u002F24\", \"10.10.30.1\",\n                       \"HMIs, engineering workstations, local historian\"),\n            VLANDesign(40, \"SITE-OPS\", \"Level 3 (Operations)\",\n                       \"10.10.40.0\u002F24\", \"10.10.40.1\",\n                       \"Site historian, OPC server, MES, alarm management\"),\n            VLANDesign(50, \"OT-DMZ\", \"Level 3.5 (DMZ)\",\n                       \"172.16.50.0\u002F24\", \"172.16.50.1\",\n                       \"Data diode, historian mirror, jump server, patch server\"),\n            VLANDesign(60, \"ENTERPRISE\", \"Level 4 (Enterprise)\",\n                       \"10.0.60.0\u002F24\", \"10.0.60.1\",\n                       \"Enterprise IT systems accessing OT data\"),\n            VLANDesign(999, \"QUARANTINE\", \"Quarantine\",\n                       \"10.10.99.0\u002F24\", \"10.10.99.1\",\n                       \"Quarantine VLAN for unauthorized or untrusted devices\"),\n        ]\n        return self.vlans\n\n    def generate_firewall_rules_from_baseline(self):\n        \"\"\"Generate firewall rules based on observed legitimate traffic.\"\"\"\n        self.rules = []\n\n        # Default deny rules for each zone boundary\n        zone_pairs = [\n            (\"Level 2\", \"Level 0-1\"),\n            (\"Level 3\", \"Level 2\"),\n            (\"Level 3.5\", \"Level 3\"),\n            (\"Level 4\", \"Level 3.5\"),\n        ]\n\n        # Generate allow rules from baseline observed traffic\n        for flow in self.baseline.get(\"cross_zone_flows\", []):\n            self.rules.append(FirewallRule(\n                rule_id=self.rule_counter,\n                source_zone=flow[\"src_level\"],\n                source_ip=flow[\"src\"],\n                dest_zone=flow[\"dst_level\"],\n                dest_ip=flow[\"dst\"],\n                protocol=flow.get(\"protocol\", \"TCP\"),\n                port=flow.get(\"port\", 0),\n                action=\"ALLOW\",\n                dpi_profile=self._get_dpi_profile(flow.get(\"port\", 0)),\n                comment=f\"Baseline observed: {flow['src']} -> {flow['dst']}\",\n            ))\n            self.rule_counter += 1\n\n        # Add default deny rules at the end of each zone ACL\n        for src_zone, dst_zone in zone_pairs:\n            self.rules.append(FirewallRule(\n                rule_id=self.rule_counter,\n                source_zone=src_zone,\n                source_ip=\"any\",\n                dest_zone=dst_zone,\n                dest_ip=\"any\",\n                protocol=\"any\",\n                port=0,\n                action=\"DENY\",\n                comment=f\"Default deny: {src_zone} -> {dst_zone}\",\n            ))\n            self.rule_counter += 1\n\n        return self.rules\n\n    def _get_dpi_profile(self, port):\n        \"\"\"Return the appropriate DPI inspection profile for an OT protocol port.\"\"\"\n        dpi_profiles = {\n            502: \"modbus-inspect (allow read FC only from L3)\",\n            44818: \"enip-inspect\",\n            4840: \"opcua-inspect (require SignAndEncrypt)\",\n            102: \"s7comm-inspect\",\n            20000: \"dnp3-inspect\",\n        }\n        return dpi_profiles.get(port, \"none\")\n\n    def generate_migration_plan(self):\n        \"\"\"Generate phased migration plan for network segmentation.\"\"\"\n        plan = {\n            \"phase_1\": {\n                \"name\": \"DMZ Implementation (Week 1-2)\",\n                \"description\": \"Deploy DMZ between enterprise and OT networks\",\n                \"steps\": [\n                    \"Deploy DMZ firewall pair (inside and outside)\",\n                    \"Migrate historian mirror to DMZ\",\n                    \"Configure jump server in DMZ with MFA\",\n                    \"Install data diode for unidirectional historian replication\",\n                    \"Route enterprise-to-OT traffic through DMZ\",\n                    \"Verify enterprise access to historian data via DMZ\",\n                ],\n                \"rollback\": \"Remove DMZ firewall rules, restore direct routing\",\n            },\n            \"phase_2\": {\n                \"name\": \"L3\u002FL2 Segmentation (Week 3-4)\",\n                \"description\": \"Separate operations (L3) from control (L2) zones\",\n                \"steps\": [\n                    \"Create VLAN 30 and VLAN 40 on OT switches\",\n                    \"Deploy industrial firewall between L2 and L3\",\n                    \"Configure firewall in monitor mode (log only, no blocking)\",\n                    \"Analyze logs for 1 week to validate rule completeness\",\n                    \"Switch to enforcement mode during maintenance window\",\n                    \"Validate all HMI-to-PLC and historian-to-PLC communications\",\n                ],\n                \"rollback\": \"Revert VLAN assignments, set firewall to permit-any\",\n            },\n            \"phase_3\": {\n                \"name\": \"Field Device Isolation (Week 5-6)\",\n                \"description\": \"Isolate Level 0-1 field devices from Level 2 supervisory\",\n                \"steps\": [\n                    \"Create VLAN 20 for PLCs and field instruments\",\n                    \"Configure port security with MAC binding on PLC ports\",\n                    \"Apply Modbus function code filtering (block writes from L3)\",\n                    \"Test all control loops during maintenance window\",\n                    \"Verify alarm propagation from field to HMI\",\n                ],\n                \"rollback\": \"Merge VLAN 20 back into VLAN 30\",\n            },\n            \"phase_4\": {\n                \"name\": \"SIS Isolation (Week 7-8)\",\n                \"description\": \"Fully isolate Safety Instrumented Systems\",\n                \"steps\": [\n                    \"Verify SIS is on dedicated VLAN 10 or air-gapped\",\n                    \"Remove any network path between SIS and BPCS\",\n                    \"Implement dedicated engineering workstation for SIS\",\n                    \"Apply USB and removable media controls on SIS EWS\",\n                    \"Test SIS functionality in isolation\",\n                ],\n                \"rollback\": \"N\u002FA - SIS isolation should not be reversed\",\n            },\n        }\n        return plan\n\n    def export_design(self, output_file):\n        \"\"\"Export complete segmentation design.\"\"\"\n        design = {\n            \"vlans\": [asdict(v) for v in self.vlans],\n            \"firewall_rules\": [asdict(r) for r in self.rules],\n            \"migration_plan\": self.generate_migration_plan(),\n        }\n\n        with open(output_file, \"w\") as f:\n            json.dump(design, f, indent=2)\n\n        print(f\"[*] Segmentation design exported to: {output_file}\")\n        print(f\"    VLANs: {len(self.vlans)}\")\n        print(f\"    Firewall Rules: {len(self.rules)}\")\n\n        return design\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python segmentation_designer.py \u003Cbaseline.json> [output.json]\")\n        sys.exit(1)\n\n    designer = SegmentationDesigner(sys.argv[1])\n    designer.design_vlans()\n    designer.generate_firewall_rules_from_baseline()\n\n    output = sys.argv[2] if len(sys.argv) > 2 else \"segmentation_design.json\"\n    designer.export_design(output)\n```\n\n### Step 2: Configure Industrial Switch VLANs\n\nApply VLAN configuration to industrial Ethernet switches with port security and unused port hardening.\n\n```bash\n# Cisco Industrial Ethernet 4000\u002F5000 Series Configuration\n\n# Create VLANs aligned with Purdue levels\nvlan 10\n  name SIS-SAFETY-L1\nvlan 20\n  name BPCS-FIELD-L01\nvlan 30\n  name BPCS-SUPERVISORY-L2\nvlan 40\n  name SITE-OPS-L3\nvlan 50\n  name OT-DMZ-L35\nvlan 999\n  name QUARANTINE\n\n# PLC access ports with port security\ninterface range GigabitEthernet1\u002F0\u002F1-12\n  description PLC Connections\n  switchport mode access\n  switchport access vlan 20\n  switchport port-security\n  switchport port-security maximum 1\n  switchport port-security mac-address sticky\n  switchport port-security violation shutdown\n  storm-control broadcast level 10\n  storm-control multicast level 10\n  spanning-tree portfast\n  spanning-tree bpduguard enable\n  no cdp enable\n  no lldp transmit\n  no lldp receive\n\n# HMI access ports\ninterface range GigabitEthernet1\u002F0\u002F13-18\n  description HMI Stations\n  switchport mode access\n  switchport access vlan 30\n  switchport port-security\n  switchport port-security maximum 1\n  switchport port-security mac-address sticky\n  switchport port-security violation restrict\n  spanning-tree portfast\n\n# Trunk to zone firewall\ninterface TenGigabitEthernet1\u002F0\u002F1\n  description Trunk to OT Zone Firewall\n  switchport mode trunk\n  switchport trunk allowed vlan 20,30,40,50\n  switchport trunk native vlan 999\n  switchport nonegotiate\n\n# Disable and quarantine all unused ports\ninterface range GigabitEthernet1\u002F0\u002F19-48\n  description UNUSED - Shutdown\n  switchport mode access\n  switchport access vlan 999\n  shutdown\n```\n\n### Step 3: Validate Segmentation Effectiveness\n\nAfter implementation, validate that segmentation correctly blocks unauthorized cross-zone traffic while permitting all legitimate operations.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Network Segmentation Validator.\n\nRuns automated tests to verify zone isolation, firewall rules,\nand protocol enforcement after segmentation deployment.\n\"\"\"\n\nimport json\nimport socket\nimport subprocess\nimport sys\nimport time\nfrom dataclasses import dataclass, asdict\n\n\n@dataclass\nclass ValidationTest:\n    test_id: str\n    description: str\n    source_zone: str\n    target_ip: str\n    target_port: int\n    expected_result: str  # \"blocked\" or \"allowed\"\n    actual_result: str = \"\"\n    status: str = \"\"  # PASS or FAIL\n\n\nclass SegmentationValidator:\n    \"\"\"Validates OT network segmentation implementation.\"\"\"\n\n    def __init__(self):\n        self.tests = []\n        self.results = []\n\n    def add_test(self, test):\n        self.tests.append(test)\n\n    def run_connectivity_test(self, target_ip, target_port, timeout=3):\n        \"\"\"Test TCP connectivity to target.\"\"\"\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(timeout)\n            result = sock.connect_ex((target_ip, target_port))\n            sock.close()\n            return \"reachable\" if result == 0 else \"blocked\"\n        except (socket.timeout, ConnectionRefusedError):\n            return \"blocked\"\n        except Exception:\n            return \"error\"\n\n    def run_all_tests(self):\n        \"\"\"Execute all segmentation validation tests.\"\"\"\n        print(\"=\" * 60)\n        print(\"OT SEGMENTATION VALIDATION\")\n        print(\"=\" * 60)\n\n        passed = 0\n        failed = 0\n\n        for test in self.tests:\n            actual = self.run_connectivity_test(test.target_ip, test.target_port)\n            test.actual_result = actual\n\n            if actual == test.expected_result:\n                test.status = \"PASS\"\n                passed += 1\n            else:\n                test.status = \"FAIL\"\n                failed += 1\n\n            icon = \"[+]\" if test.status == \"PASS\" else \"[-]\"\n            print(f\"  {icon} {test.test_id}: {test.description}\")\n            print(f\"      Target: {test.target_ip}:{test.target_port}\")\n            print(f\"      Expected: {test.expected_result} | Actual: {actual} -> {test.status}\")\n\n        print(f\"\\n  Results: {passed} passed, {failed} failed out of {len(self.tests)} tests\")\n        return {\"passed\": passed, \"failed\": failed, \"total\": len(self.tests)}\n\n\nif __name__ == \"__main__\":\n    validator = SegmentationValidator()\n\n    # Tests from Enterprise zone (Level 4) - should be blocked from OT\n    validator.add_test(ValidationTest(\n        \"SEG-001\", \"Enterprise cannot reach PLCs via Modbus\",\n        \"Level 4\", \"10.10.20.10\", 502, \"blocked\"))\n    validator.add_test(ValidationTest(\n        \"SEG-002\", \"Enterprise cannot reach PLCs via EtherNet\u002FIP\",\n        \"Level 4\", \"10.10.20.10\", 44818, \"blocked\"))\n    validator.add_test(ValidationTest(\n        \"SEG-003\", \"Enterprise can reach DMZ jump server\",\n        \"Level 4\", \"172.16.50.10\", 3389, \"allowed\"))\n    validator.add_test(ValidationTest(\n        \"SEG-004\", \"Enterprise can reach DMZ historian mirror\",\n        \"Level 4\", \"172.16.50.20\", 443, \"allowed\"))\n\n    # Tests from Operations zone (Level 3) - limited access to control\n    validator.add_test(ValidationTest(\n        \"SEG-005\", \"Operations can read from PLCs via Modbus\",\n        \"Level 3\", \"10.10.20.10\", 502, \"allowed\"))\n    validator.add_test(ValidationTest(\n        \"SEG-006\", \"Operations cannot reach SIS controllers\",\n        \"Level 3\", \"10.10.10.10\", 1502, \"blocked\"))\n\n    validator.run_all_tests()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| VLAN | Virtual Local Area Network - Layer 2 broadcast domain isolation used to separate OT zones on shared switch infrastructure |\n| Industrial Firewall | Firewall with deep packet inspection capabilities for industrial protocols (Modbus, DNP3, EtherNet\u002FIP, OPC UA) |\n| Data Diode | Hardware-enforced unidirectional gateway that physically prevents reverse data flow, used between OT operations and DMZ |\n| Port Security | Switch feature that limits the number of MAC addresses on a port and locks assignments, preventing unauthorized device connections |\n| Trunk Port | Switch port carrying multiple VLANs using 802.1Q tagging, used to connect switches and firewalls across zone boundaries |\n| DMZ | Demilitarized Zone between enterprise IT and OT - a buffer zone where all cross-domain traffic terminates and is inspected |\n\n## Tools & Systems\n\n- **Cisco ISA-3000**: Industrial security appliance with Modbus, DNP3, and EtherNet\u002FIP deep packet inspection for OT zone firewalls\n- **Fortinet FortiGate Rugged Series**: Ruggedized NGFW with OT protocol support and industrial environment certifications\n- **Waterfall Security Unidirectional Gateway**: Hardware data diode for enforcing one-way data flow from OT to IT\n- **Cisco Industrial Ethernet Switches**: Managed switches with VLAN, port security, and industrial protocol support\n\n## Output Format\n\n```\nOT Network Segmentation Report\n================================\nImplementation Date: YYYY-MM-DD\n\nVLAN ARCHITECTURE:\n  VLAN [ID] - [Name] ([Purdue Level])\n    Subnet: [subnet\u002Fmask]\n    Devices: [count]\n\nFIREWALL RULES:\n  [Zone A] -> [Zone B]: [allow\u002Fdeny count]\n\nVALIDATION RESULTS:\n  Tests Passed: [N]\u002F[Total]\n  Critical Failures: [N]\n```\n",{"name":5,"tags":56,"author":57,"domain":50,"license":16,"version":58,"nist_csf":59,"subdomain":64,"description":65,"mitre_attack":66},[44,43,34,41,40,45,46],"mahipal","1.0.0",[60,61,62,63],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security","Implements OT network segmentation using VLANs, OT-aware firewalls, data diodes, and IEC 62443 zone\u002Fconduit architecture, with a traffic-baseline-driven design tool for migrating flat Purdue-model networks without disrupting operations. Use when segmenting a flat OT network into Purdue levels, deploying an IT\u002FOT DMZ, or isolating safety instrumented systems from basic process control systems.\n",[67,68,69,70,71],"T1078","T1190","T1059","T0816","T0836","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fimplementing-network-segmentation-for-ot",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":83,"prompt":93,"zipAvailable":94},[84,87,90],{"tool":85,"command":86},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-network-segmentation-for-ot",{"tool":88,"command":89},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-network-segmentation-for-ot",{"tool":91,"command":92},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-network-segmentation-for-ot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-network-segmentation-for-ot\u002FSKILL.md",true,[96,101,107],{"path":97,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-network-segmentation-for-ot\u002FLICENSE",{"path":102,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fapi-reference.md","REFERENCE","参考文档",1362,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-network-segmentation-for-ot\u002Freferences\u002Fapi-reference.md",{"path":108,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fagent.py","SCRIPT","脚本",6689,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-network-segmentation-for-ot\u002Fscripts\u002Fagent.py",[114,145,174,205,235,267],{"skillNo":115,"name":116,"nameZh":117,"description":118,"descriptionZh":119,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":126,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[122,123],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[127,128,129,130,131,50,132,133,48,134,135,136,137,138,139,140,141,142,143,144],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":157,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[153,154],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":155,"categoryName":156,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[158,141,159,160,131,161,50,48,162,163,164,165,166,167,168,169,170,171,172,173],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":175,"name":176,"nameZh":177,"description":178,"descriptionZh":179,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":180,"categories":181,"keywords":188,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[182,185],{"categoryNo":183,"categoryName":184,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":186,"categoryName":187,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[168,189,190,191,192,50,193,194,162,195,196,197,198,199,200,39,201,202,203,204],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":206,"name":207,"nameZh":208,"description":209,"descriptionZh":210,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":211,"categories":212,"keywords":217,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[213,214],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":215,"categoryName":216,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[218,219,220,50,221,222,223,224,225,226,227,47,228,229,230,231,165,232,233,234],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":236,"name":237,"nameZh":238,"description":239,"descriptionZh":240,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":241,"categories":242,"keywords":247,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[243,246],{"categoryNo":244,"categoryName":245,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[248,249,250,50,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":268,"name":269,"nameZh":270,"description":271,"descriptionZh":272,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":273,"categories":274,"keywords":279,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[275,276],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":277,"categoryName":278,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[131,280,50,281,282,283,284,285,286,287,288,39,289,201,290,291,292,293,294,295],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]