跳到正文
Skillpedia
安全35k · #8103

implementing-purdue-model-network-segmentation

它能做什么

这个智能体帮你规划工厂或工业设施的计算机网络。它依据 Purdue 模型将网络划分为不同的安全区域,以保护工业控制系统(ICS)免受外部威胁。

适用场景

  • ✓当你规划新工厂的网络时。
  • ✓当你需要将生产区域网络(OT)与管理网络(IT)分隔开时。
  • ✓当你需要在生产网络与管理网络之间建立安全区(DMZ)时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-purdue-model-network-segmentation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-purdue-model-network-segmentation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想按照 Purdue 模型规划工厂网络,并在生产与管理之间建立安全区。”

每周 5 个新技能,1 分钟读完。

工作原理

它会分析设备及其通信方式,并按照 Purdue 模型将它们归入相应层级。在此基础上,它会建议如何将网络划分为多个网段(VLAN),以及应在防火墙上配置哪些安全规则。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implementing Purdue Model Network Segmentation

When to Use

  • When designing or retrofitting network architecture for an ICS/SCADA environment
  • When implementing IEC 62443 zone and conduit requirements in a brownfield plant
  • When creating the IT/OT DMZ (Level 3.5) to control data flow between enterprise and control networks
  • When remediating audit findings about flat OT networks or direct IT-to-OT connectivity
  • When segmenting a converged IT/OT network after an acquisition or merger

Do not use for micro-segmentation within a single Purdue level (see implementing-zone-conduit-model-for-ics), for cloud-native environments without traditional ICS networks, or for network segmentation in purely IT environments.

Prerequisites

  • Complete OT asset inventory with Purdue level classification for each device
  • Network architecture diagram showing current topology, VLANs, and firewall placements
  • Industrial firewalls capable of deep packet inspection for OT protocols (Palo Alto, Fortinet, Cisco)
  • Understanding of required data flows between Purdue levels (historian replication, remote access, patch distribution)
  • Change management approval from plant operations for network modifications

Workflow

Step 1: Map Current Architecture to Purdue Levels

Classify all network assets and data flows according to the Purdue Model hierarchy.

#!/usr/bin/env python3
"""Purdue Model Network Segmentation Planner.

Maps existing OT/IT network assets to Purdue Model levels and generates
segmentation recommendations including firewall rules and VLAN assignments.
"""

import json
import csv
import sys
from collections import defaultdict
from datetime import datetime
from typing import Dict, List


PURDUE_LEVELS = {
    0: {
        "name": "Physical Process",
        "description": "Sensors, actuators, field instruments",
        "typical_devices": ["Sensors", "Actuators", "Drives", "Motor starters"],
        "vlan_range": "100-109",
        "allowed_protocols": ["HART", "Profibus", "Foundation Fieldbus", "IO-Link"],
    },
    1: {
        "name": "Basic Control",
        "description": "PLCs, RTUs, safety controllers",
        "typical_devices": ["PLC", "RTU", "Safety Controller", "DCS Controller"],
        "vlan_range": "110-119",
        "allowed_protocols": ["EtherNet/IP", "Profinet", "Modbus/TCP", "S7comm", "OPC UA"],
    },
    2: {
        "name": "Supervisory Control",
        "description": "HMI, SCADA servers, engineering workstations",
        "typical_devices": ["HMI", "SCADA Server", "Engineering Workstation", "Batch Server"],
        "vlan_range": "120-129",
        "allowed_protocols": ["OPC UA", "OPC DA", "Modbus/TCP", "DNP3", "HTTPS"],
    },
    3: {
        "name": "Site Operations",
        "description": "Historian, MES, asset management",
        "typical_devices": ["Historian", "MES Server", "Asset Management", "Alarm Server"],
        "vlan_range": "130-139",
        "allowed_protocols": ["OPC UA", "SQL", "HTTPS", "MQTT"],
    },
    3.5: {
        "name": "IT/OT DMZ",
        "description": "Demilitarized zone between IT and OT",
        "typical_devices": ["Jump Server", "Historian Mirror", "Patch Server", "AV Update Server", "Remote Access Gateway"],
        "vlan_range": "150-159",
        "allowed_protocols": ["HTTPS", "RDP (to jump server only)", "SSH", "SQL (read replica)"],
    },
    4: {
        "name": "Enterprise IT",
        "description": "Enterprise applications, email, ERP",
        "typical_devices": ["ERP Server", "Email Server", "Business Applications", "Active Directory"],
        "vlan_range": "200-249",
        "allowed_protocols": ["HTTPS", "LDAPS", "SMTP", "SQL"],
    },
    5: {
        "name": "Enterprise Network / Internet",
        "description": "External connections, cloud services, partner networks",
        "typical_devices": ["Internet Gateway", "VPN Concentrator", "Cloud Services"],
        "vlan_range": "250-254",
        "allowed_protocols": ["HTTPS", "IPsec VPN"],
    },
}


class PurdueSegmentationPlanner:
    """Plans Purdue Model network segmentation."""

    def __init__(self):
        self.assets = []
        self.data_flows = []
        self.firewall_rules = []

    def load_asset_inventory(self, filepath: str):
        """Load asset inventory from CSV."""
        with open(filepath, "r") as f:
            self.assets = list(csv.DictReader(f))
        print(f"[*] Loaded {len(self.assets)} assets")

    def classify_assets(self):

…
常见问题

什么是 Purdue 模型?

这是一种将工业网络组织为不同层级的模型,从工厂车间的物理设备一直到企业信息系统。

什么是安全区和 DMZ?

安全区是彼此隔离的网络区域。DMZ(非军事区)是一个中间区域,用于控制不同网络之间的流量,例如生产网络与管理网络之间的流量。

使用这个智能体需要准备哪些信息?

你需要一份完整的网络设备清单、当前网络连接方式的拓扑图,以及哪些设备之间需要相互通信的信息。

详情

作者的原始描述

Implement network segmentation based on the Purdue Enterprise Reference Architecture (PERA) model, separating ICS networks into hierarchical security zones from Level 0 physical process through Level 5 enterprise and enforcing strict traffic control through IEC 62443-aligned DMZs between OT and IT domains. Use when designing ICS/SCADA network zones or segmenting OT from IT networks. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8103
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能