[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71DR6H2GJEQF462YYNTEXFS":3,"skill-same:01M71DR6H2GJEQF462YYNTEXFS":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":14,"repositoryHtmlUrl":67,"repositoryHomepageUrl":6,"ownerHtmlUrl":68,"ownerBlogUrl":6,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M71DR6H2GJEQF462YYNTEXFS","ics-architecture-purdue-implement-configure",null,"Implement network segmentation based on the Purdue Enterprise Reference Architecture (PERA) model to separate industrial control system networks into hierarchical security zones from Level 0 physical process through Level 5 enterprise, enforcing strict traffic control between OT and IT domains.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Farchitecture\u002Fpurdue\u002Fimplement\u002Fconfigure\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"configure","architecture","ics","implement","ics architecture purdue implement configure","network","dmz","read","purdue-model","ICS-security","de","Bash","cybersecurity","traffic","network segmentation","domains","defense-in-depth","cm","model","segmentation","2026-11-10 10:12:30",false,"---\nname: ics-architecture-purdue-implement-configure\ndescription: Implement network segmentation based on the Purdue Enterprise Reference Architecture (PERA) model to separate industrial control system networks into hierarchical security zones from Level 0 physical process through Level 5 enterprise, enforcing strict traffic control between OT and IT domains.\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- purdue-model\n- network-segmentation\n- iec62443\n- defense-in-depth\n- dmz\n- scada\nnist_csf:\n- PR.IR-01\n- DE.CM-01\n- ID.AM-05\n- GV.OC-02\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T0855\ncapec: []\n---\n\n# Implementing Purdue Model Network Segmentation\n\n## When to Use\n\n- When designing or retrofitting network architecture for an ICS\u002FSCADA environment\n- When implementing IEC 62443 zone and conduit requirements in a brownfield plant\n- When creating the IT\u002FOT DMZ (Level 3.5) to control data flow between enterprise and control networks\n- When remediating audit findings about flat OT networks or direct IT-to-OT connectivity\n- When segmenting a converged IT\u002FOT network after an acquisition or merger\n\n**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.\n\n## Prerequisites\n\n- Complete OT asset inventory with Purdue level classification for each device\n- Network architecture diagram showing current topology, VLANs, and firewall placements\n- Industrial firewalls capable of deep packet inspection for OT protocols (Palo Alto, Fortinet, Cisco)\n- Understanding of required data flows between Purdue levels (historian replication, remote access, patch distribution)\n- Change management approval from plant operations for network modifications\n\n## Workflow\n\n### Step 1: Map Current Architecture to Purdue Levels\n\nClassify all network assets and data flows according to the Purdue Model hierarchy.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Purdue Model Network Segmentation Planner.\n\nMaps existing OT\u002FIT network assets to Purdue Model levels and generates\nsegmentation recommendations including firewall rules and VLAN assignments.\n\"\"\"\n\nimport json\nimport csv\nimport sys\nfrom collections import defaultdict\nfrom datetime import datetime\nfrom typing import Dict, List\n\n\nPURDUE_LEVELS = {\n    0: {\n        \"name\": \"Physical Process\",\n        \"description\": \"Sensors, actuators, field instruments\",\n        \"typical_devices\": [\"Sensors\", \"Actuators\", \"Drives\", \"Motor starters\"],\n        \"vlan_range\": \"100-109\",\n        \"allowed_protocols\": [\"HART\", \"Profibus\", \"Foundation Fieldbus\", \"IO-Link\"],\n    },\n    1: {\n        \"name\": \"Basic Control\",\n        \"description\": \"PLCs, RTUs, safety controllers\",\n        \"typical_devices\": [\"PLC\", \"RTU\", \"Safety Controller\", \"DCS Controller\"],\n        \"vlan_range\": \"110-119\",\n        \"allowed_protocols\": [\"EtherNet\u002FIP\", \"Profinet\", \"Modbus\u002FTCP\", \"S7comm\", \"OPC UA\"],\n    },\n    2: {\n        \"name\": \"Supervisory Control\",\n        \"description\": \"HMI, SCADA servers, engineering workstations\",\n        \"typical_devices\": [\"HMI\", \"SCADA Server\", \"Engineering Workstation\", \"Batch Server\"],\n        \"vlan_range\": \"120-129\",\n        \"allowed_protocols\": [\"OPC UA\", \"OPC DA\", \"Modbus\u002FTCP\", \"DNP3\", \"HTTPS\"],\n    },\n    3: {\n        \"name\": \"Site Operations\",\n        \"description\": \"Historian, MES, asset management\",\n        \"typical_devices\": [\"Historian\", \"MES Server\", \"Asset Management\", \"Alarm Server\"],\n        \"vlan_range\": \"130-139\",\n        \"allowed_protocols\": [\"OPC UA\", \"SQL\", \"HTTPS\", \"MQTT\"],\n    },\n    3.5: {\n        \"name\": \"IT\u002FOT DMZ\",\n        \"description\": \"Demilitarized zone between IT and OT\",\n        \"typical_devices\": [\"Jump Server\", \"Historian Mirror\", \"Patch Server\", \"AV Update Server\", \"Remote Access Gateway\"],\n        \"vlan_range\": \"150-159\",\n        \"allowed_protocols\": [\"HTTPS\", \"RDP (to jump server only)\", \"SSH\", \"SQL (read replica)\"],\n    },\n    4: {\n        \"name\": \"Enterprise IT\",\n        \"description\": \"Enterprise applications, email, ERP\",\n        \"typical_devices\": [\"ERP Server\", \"Email Server\", \"Business Applications\", \"Active Directory\"],\n        \"vlan_range\": \"200-249\",\n        \"allowed_protocols\": [\"HTTPS\", \"LDAPS\", \"SMTP\", \"SQL\"],\n    },\n    5: {\n        \"name\": \"Enterprise Network \u002F Internet\",\n        \"description\": \"External connections, cloud services, partner networks\",\n        \"typical_devices\": [\"Internet Gateway\", \"VPN Concentrator\", \"Cloud Services\"],\n        \"vlan_range\": \"250-254\",\n        \"allowed_protocols\": [\"HTTPS\", \"IPsec VPN\"],\n    },\n}\n\n\nclass PurdueSegmentationPlanner:\n    \"\"\"Plans Purdue Model network segmentation.\"\"\"\n\n    def __init__(self):\n        self.assets = []\n        self.data_flows = []\n        self.firewall_rules = []\n\n    def load_asset_inventory(self, filepath: str):\n        \"\"\"Load asset inventory from CSV.\"\"\"\n        with open(filepath, \"r\") as f:\n            self.assets = list(csv.DictReader(f))\n        print(f\"[*] Loaded {len(self.assets)} assets\")\n\n    def classify_assets(self):\n        \"\"\"Classify assets into Purdue levels based on type and function.\"\"\"\n        classification = defaultdict(list)\n        for asset in self.assets:\n            level = asset.get(\"purdue_level\", \"\")\n            try:\n                level = float(level)\n            except (ValueError, TypeError):\n                level = self._infer_purdue_level(asset)\n\n            classification[level].append(asset)\n            asset[\"assigned_level\"] = level\n\n        return classification\n\n    def _infer_purdue_level(self, asset: dict) -> float:\n        \"\"\"Infer Purdue level from device type if not explicitly assigned.\"\"\"\n        device_type = asset.get(\"type\", \"\").lower()\n        mapping = {\n            \"sensor\": 0, \"actuator\": 0, \"drive\": 0,\n            \"plc\": 1, \"rtu\": 1, \"safety\": 1, \"dcs\": 1,\n            \"hmi\": 2, \"scada\": 2, \"engineering\": 2,\n            \"historian\": 3, \"mes\": 3, \"alarm\": 3,\n            \"jump\": 3.5, \"patch\": 3.5, \"remote_access\": 3.5,\n            \"erp\": 4, \"email\": 4, \"directory\": 4,\n        }\n        for keyword, level in mapping.items():\n            if keyword in device_type:\n                return level\n        return -1\n\n    def generate_vlan_plan(self, classification: dict) -> list:\n        \"\"\"Generate VLAN assignment plan based on Purdue levels.\"\"\"\n        vlan_plan = []\n        for level, info in PURDUE_LEVELS.items():\n            assets_at_level = classification.get(level, [])\n            vlan_plan.append({\n                \"purdue_level\": level,\n                \"level_name\": info[\"name\"],\n                \"vlan_range\": info[\"vlan_range\"],\n                \"asset_count\": len(assets_at_level),\n                \"allowed_protocols\": info[\"allowed_protocols\"],\n            })\n        return vlan_plan\n\n    def generate_firewall_rules(self) -> list:\n        \"\"\"Generate inter-level firewall rules enforcing Purdue Model boundaries.\"\"\"\n        rules = [\n            {\n                \"rule_id\": 1,\n                \"name\": \"Block direct IT-to-Level1\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_1_Control\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"No direct access from enterprise IT to basic control PLCs\",\n            },\n            {\n                \"rule_id\": 2,\n                \"name\": \"Block direct IT-to-Level2\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"No direct access from enterprise IT to HMI\u002FSCADA\",\n            },\n            {\n                \"rule_id\": 3,\n                \"name\": \"Allow DMZ-to-Historian-Replica\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_3_Operations\",\n                \"dest_zone\": \"Level_35_DMZ\",\n                \"service\": \"SQL\u002F1433 (read replica push)\",\n                \"log\": True,\n                \"description\": \"Historian pushes data to DMZ replica for IT consumption\",\n            },\n            {\n                \"rule_id\": 4,\n                \"name\": \"Allow IT-to-DMZ-JumpServer\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_35_DMZ\",\n                \"service\": \"RDP\u002F3389, SSH\u002F22\",\n                \"log\": True,\n                \"description\": \"IT users access OT via jump server in DMZ only\",\n            },\n            {\n                \"rule_id\": 5,\n                \"name\": \"Allow DMZ-JumpServer-to-Level2\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_35_DMZ\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"RDP\u002F3389 (from jump server IP only)\",\n                \"log\": True,\n                \"description\": \"Jump server provides controlled access to HMI\u002FSCADA\",\n            },\n            {\n                \"rule_id\": 6,\n                \"name\": \"Allow Level2-to-Level1\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_2_Supervisory\",\n                \"dest_zone\": \"Level_1_Control\",\n                \"service\": \"Modbus\u002F502, EtherNet-IP\u002F44818, S7comm\u002F102\",\n                \"log\": True,\n                \"description\": \"HMI\u002FSCADA communicates with PLCs using industrial protocols\",\n            },\n            {\n                \"rule_id\": 7,\n                \"name\": \"Block Level1-outbound-internet\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_1_Control\",\n                \"dest_zone\": \"Level_5_Internet\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"PLCs must never reach the internet directly\",\n            },\n            {\n                \"rule_id\": 8,\n                \"name\": \"Allow patch distribution DMZ-to-Level2\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_35_DMZ\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"WSUS\u002F8530\",\n                \"log\": True,\n                \"description\": \"Patch server in DMZ distributes updates to supervisory systems\",\n            },\n            {\n                \"rule_id\": 9,\n                \"name\": \"Default deny all inter-zone\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"ANY\",\n                \"dest_zone\": \"ANY\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"Default deny all traffic not explicitly permitted\",\n            },\n        ]\n        self.firewall_rules = rules\n        return rules\n\n    def print_segmentation_plan(self, classification: dict):\n        \"\"\"Print the complete segmentation plan.\"\"\"\n        print(f\"\\n{'='*70}\")\n        print(\"PURDUE MODEL NETWORK SEGMENTATION PLAN\")\n        print(f\"{'='*70}\")\n        print(f\"Generated: {datetime.now().isoformat()}\")\n\n        vlan_plan = self.generate_vlan_plan(classification)\n        print(f\"\\n--- VLAN ASSIGNMENT ---\")\n        for v in vlan_plan:\n            print(f\"\\n  {v['level_name']} (Purdue {v['purdue_level']})\")\n            print(f\"    VLAN Range: {v['vlan_range']}\")\n            print(f\"    Assets: {v['asset_count']}\")\n            print(f\"    Allowed Protocols: {', '.join(v['allowed_protocols'])}\")\n\n        print(f\"\\n--- INTER-ZONE FIREWALL RULES ---\")\n        rules = self.generate_firewall_rules()\n        for rule in rules:\n            action_symbol = \"+\" if rule[\"action\"] == \"ALLOW\" else \"X\"\n            print(f\"\\n  [{action_symbol}] Rule {rule['rule_id']}: {rule['name']}\")\n            print(f\"      {rule['source_zone']} -> {rule['dest_zone']}\")\n            print(f\"      Service: {rule['service']}\")\n            print(f\"      Reason: {rule['description']}\")\n\n\nif __name__ == \"__main__\":\n    planner = PurdueSegmentationPlanner()\n    if len(sys.argv) >= 2:\n        planner.load_asset_inventory(sys.argv[1])\n    classification = planner.classify_assets()\n    planner.print_segmentation_plan(classification)\n```\n\n### Step 2: Configure Industrial DMZ (Level 3.5)\n\nThe DMZ is the critical boundary between IT and OT. All data exchange must traverse it -- no direct connections are permitted.\n\n```yaml\n# Level 3.5 DMZ Architecture Configuration\n# All IT-OT data exchange flows through the DMZ\n\ndmz_architecture:\n  zone_name: \"IT_OT_DMZ\"\n  purdue_level: 3.5\n  vlan: 150\n\n  components:\n    historian_replica:\n      purpose: \"Read-only copy of OT historian data for IT\u002Fbusiness access\"\n      direction: \"OT pushes data TO DMZ (unidirectional)\"\n      ip: \"10.10.150.10\"\n      services:\n        - port: 1433\n          protocol: \"SQL\"\n          direction: \"inbound from Level 3 historian only\"\n        - port: 443\n          protocol: \"HTTPS\"\n          direction: \"outbound to Level 4 for IT consumers\"\n\n    jump_server:\n      purpose: \"Controlled remote access point for OT maintenance\"\n      ip: \"10.10.150.20\"\n      services:\n        - port: 3389\n          protocol: \"RDP\"\n          direction: \"inbound from Level 4 with MFA\"\n        - port: 3389\n          protocol: \"RDP\"\n          direction: \"outbound to Level 2 HMIs only\"\n      security_controls:\n        - \"Multi-factor authentication required\"\n        - \"Session recording enabled\"\n        - \"Maximum session duration: 4 hours\"\n        - \"Approval-based access workflow\"\n\n    patch_server:\n      purpose: \"Staging area for tested patches before OT deployment\"\n      ip: \"10.10.150.30\"\n      services:\n        - port: 8530\n          protocol: \"WSUS\"\n          direction: \"pulls from Level 4 WSUS, pushes to Level 2-3\"\n\n    antivirus_relay:\n      purpose: \"AV signature distribution to OT endpoints\"\n      ip: \"10.10.150.40\"\n      services:\n        - port: 443\n          protocol: \"HTTPS\"\n          direction: \"pulls definitions from Level 4, distributes to Level 2-3\"\n\n  firewall_rules:\n    north_firewall:  # Between DMZ and Level 4 Enterprise\n      - allow: \"Level 4 -> DMZ jump server:3389 (with MFA)\"\n      - allow: \"Level 4 -> DMZ historian replica:443 (read-only)\"\n      - allow: \"DMZ patch server -> Level 4 WSUS:8530 (pull only)\"\n      - deny: \"ALL other traffic\"\n\n    south_firewall:  # Between DMZ and Level 3 Operations\n      - allow: \"Level 3 historian -> DMZ replica:1433 (push direction)\"\n      - allow: \"DMZ jump server -> Level 2 HMI:3389 (session-limited)\"\n      - allow: \"DMZ patch server -> Level 2\u002F3:8530 (scheduled)\"\n      - deny: \"ALL other traffic\"\n\n    critical_rule: \"NO traffic passes through DMZ end-to-end. DMZ breaks all connections.\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Purdue Model (PERA) | Hierarchical reference architecture organizing industrial networks into levels 0-5 based on function and trust |\n| Level 3.5 DMZ | Demilitarized zone between IT (Level 4) and OT (Level 3), where all cross-boundary data exchange occurs |\n| Defense in Depth | Layered security approach requiring attackers to breach multiple boundaries to reach critical control systems |\n| Data Diode | Hardware-enforced unidirectional communication device ensuring data flows only from OT to IT, never reverse |\n| Zone | Logical grouping of assets sharing common security requirements as defined by IEC 62443 |\n| Conduit | Controlled communication path between zones with defined security policies |\n\n## Common Scenarios\n\n### Scenario: Flat OT Network Remediation\n\n**Context**: An audit reveals that enterprise IT systems can directly communicate with PLCs on the control network. There is no DMZ and no firewall between IT and OT.\n\n**Approach**:\n1. Perform full traffic analysis to identify all legitimate data flows crossing IT\u002FOT boundary\n2. Design DMZ architecture with historian replica, jump server, and patch staging\n3. Deploy industrial firewall between IT and DMZ (north firewall) and between DMZ and OT (south firewall)\n4. Migrate data flows one at a time: start with historian replication through DMZ\n5. Implement jump server for remote access, deprecating direct RDP to OT systems\n6. Block direct IT-to-OT traffic on the north firewall after all flows migrate through DMZ\n7. Validate with penetration test from IT network confirming no direct path to Level 1 controllers\n\n**Pitfalls**: Do not cut over all traffic simultaneously -- migrate flow by flow with rollback plans. Legacy OT systems may use protocols that cannot traverse firewalls doing DPI; test thoroughly in a lab first. Never deploy the DMZ during active production without an agreed maintenance window.\n\n## Output Format\n\n```\nPURDUE MODEL SEGMENTATION REPORT\n====================================\nAssessment Date: YYYY-MM-DD\nFacility: [Plant Name]\n\nCURRENT STATE:\n  Network Type: [Flat\u002FPartially segmented\u002FFully segmented]\n  IT-OT Boundary: [None\u002FFirewall\u002FDMZ with dual firewall]\n  Direct IT-to-PLC paths: [count]\n\nRECOMMENDED ARCHITECTURE:\n  Level 0-1: VLAN 110 (Control Network)\n  Level 2:   VLAN 120 (Supervisory Network)\n  Level 3:   VLAN 130 (Operations Network)\n  Level 3.5: VLAN 150 (IT\u002FOT DMZ)\n  Level 4-5: VLAN 200+ (Enterprise)\n\nDMZ COMPONENTS:\n  - Historian Replica Server\n  - Jump Server (MFA-enabled)\n  - Patch Staging Server\n  - AV Relay Server\n\nFIREWALL RULES: [count] rules generated\nMIGRATION STEPS: [count] phases planned\n```\n","# Implementing Purdue Model Network Segmentation\n\n## When to Use\n\n- When designing or retrofitting network architecture for an ICS\u002FSCADA environment\n- When implementing IEC 62443 zone and conduit requirements in a brownfield plant\n- When creating the IT\u002FOT DMZ (Level 3.5) to control data flow between enterprise and control networks\n- When remediating audit findings about flat OT networks or direct IT-to-OT connectivity\n- When segmenting a converged IT\u002FOT network after an acquisition or merger\n\n**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.\n\n## Prerequisites\n\n- Complete OT asset inventory with Purdue level classification for each device\n- Network architecture diagram showing current topology, VLANs, and firewall placements\n- Industrial firewalls capable of deep packet inspection for OT protocols (Palo Alto, Fortinet, Cisco)\n- Understanding of required data flows between Purdue levels (historian replication, remote access, patch distribution)\n- Change management approval from plant operations for network modifications\n\n## Workflow\n\n### Step 1: Map Current Architecture to Purdue Levels\n\nClassify all network assets and data flows according to the Purdue Model hierarchy.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Purdue Model Network Segmentation Planner.\n\nMaps existing OT\u002FIT network assets to Purdue Model levels and generates\nsegmentation recommendations including firewall rules and VLAN assignments.\n\"\"\"\n\nimport json\nimport csv\nimport sys\nfrom collections import defaultdict\nfrom datetime import datetime\nfrom typing import Dict, List\n\n\nPURDUE_LEVELS = {\n    0: {\n        \"name\": \"Physical Process\",\n        \"description\": \"Sensors, actuators, field instruments\",\n        \"typical_devices\": [\"Sensors\", \"Actuators\", \"Drives\", \"Motor starters\"],\n        \"vlan_range\": \"100-109\",\n        \"allowed_protocols\": [\"HART\", \"Profibus\", \"Foundation Fieldbus\", \"IO-Link\"],\n    },\n    1: {\n        \"name\": \"Basic Control\",\n        \"description\": \"PLCs, RTUs, safety controllers\",\n        \"typical_devices\": [\"PLC\", \"RTU\", \"Safety Controller\", \"DCS Controller\"],\n        \"vlan_range\": \"110-119\",\n        \"allowed_protocols\": [\"EtherNet\u002FIP\", \"Profinet\", \"Modbus\u002FTCP\", \"S7comm\", \"OPC UA\"],\n    },\n    2: {\n        \"name\": \"Supervisory Control\",\n        \"description\": \"HMI, SCADA servers, engineering workstations\",\n        \"typical_devices\": [\"HMI\", \"SCADA Server\", \"Engineering Workstation\", \"Batch Server\"],\n        \"vlan_range\": \"120-129\",\n        \"allowed_protocols\": [\"OPC UA\", \"OPC DA\", \"Modbus\u002FTCP\", \"DNP3\", \"HTTPS\"],\n    },\n    3: {\n        \"name\": \"Site Operations\",\n        \"description\": \"Historian, MES, asset management\",\n        \"typical_devices\": [\"Historian\", \"MES Server\", \"Asset Management\", \"Alarm Server\"],\n        \"vlan_range\": \"130-139\",\n        \"allowed_protocols\": [\"OPC UA\", \"SQL\", \"HTTPS\", \"MQTT\"],\n    },\n    3.5: {\n        \"name\": \"IT\u002FOT DMZ\",\n        \"description\": \"Demilitarized zone between IT and OT\",\n        \"typical_devices\": [\"Jump Server\", \"Historian Mirror\", \"Patch Server\", \"AV Update Server\", \"Remote Access Gateway\"],\n        \"vlan_range\": \"150-159\",\n        \"allowed_protocols\": [\"HTTPS\", \"RDP (to jump server only)\", \"SSH\", \"SQL (read replica)\"],\n    },\n    4: {\n        \"name\": \"Enterprise IT\",\n        \"description\": \"Enterprise applications, email, ERP\",\n        \"typical_devices\": [\"ERP Server\", \"Email Server\", \"Business Applications\", \"Active Directory\"],\n        \"vlan_range\": \"200-249\",\n        \"allowed_protocols\": [\"HTTPS\", \"LDAPS\", \"SMTP\", \"SQL\"],\n    },\n    5: {\n        \"name\": \"Enterprise Network \u002F Internet\",\n        \"description\": \"External connections, cloud services, partner networks\",\n        \"typical_devices\": [\"Internet Gateway\", \"VPN Concentrator\", \"Cloud Services\"],\n        \"vlan_range\": \"250-254\",\n        \"allowed_protocols\": [\"HTTPS\", \"IPsec VPN\"],\n    },\n}\n\n\nclass PurdueSegmentationPlanner:\n    \"\"\"Plans Purdue Model network segmentation.\"\"\"\n\n    def __init__(self):\n        self.assets = []\n        self.data_flows = []\n        self.firewall_rules = []\n\n    def load_asset_inventory(self, filepath: str):\n        \"\"\"Load asset inventory from CSV.\"\"\"\n        with open(filepath, \"r\") as f:\n            self.assets = list(csv.DictReader(f))\n        print(f\"[*] Loaded {len(self.assets)} assets\")\n\n    def classify_assets(self):\n        \"\"\"Classify assets into Purdue levels based on type and function.\"\"\"\n        classification = defaultdict(list)\n        for asset in self.assets:\n            level = asset.get(\"purdue_level\", \"\")\n            try:\n                level = float(level)\n            except (ValueError, TypeError):\n                level = self._infer_purdue_level(asset)\n\n            classification[level].append(asset)\n            asset[\"assigned_level\"] = level\n\n        return classification\n\n    def _infer_purdue_level(self, asset: dict) -> float:\n        \"\"\"Infer Purdue level from device type if not explicitly assigned.\"\"\"\n        device_type = asset.get(\"type\", \"\").lower()\n        mapping = {\n            \"sensor\": 0, \"actuator\": 0, \"drive\": 0,\n            \"plc\": 1, \"rtu\": 1, \"safety\": 1, \"dcs\": 1,\n            \"hmi\": 2, \"scada\": 2, \"engineering\": 2,\n            \"historian\": 3, \"mes\": 3, \"alarm\": 3,\n            \"jump\": 3.5, \"patch\": 3.5, \"remote_access\": 3.5,\n            \"erp\": 4, \"email\": 4, \"directory\": 4,\n        }\n        for keyword, level in mapping.items():\n            if keyword in device_type:\n                return level\n        return -1\n\n    def generate_vlan_plan(self, classification: dict) -> list:\n        \"\"\"Generate VLAN assignment plan based on Purdue levels.\"\"\"\n        vlan_plan = []\n        for level, info in PURDUE_LEVELS.items():\n            assets_at_level = classification.get(level, [])\n            vlan_plan.append({\n                \"purdue_level\": level,\n                \"level_name\": info[\"name\"],\n                \"vlan_range\": info[\"vlan_range\"],\n                \"asset_count\": len(assets_at_level),\n                \"allowed_protocols\": info[\"allowed_protocols\"],\n            })\n        return vlan_plan\n\n    def generate_firewall_rules(self) -> list:\n        \"\"\"Generate inter-level firewall rules enforcing Purdue Model boundaries.\"\"\"\n        rules = [\n            {\n                \"rule_id\": 1,\n                \"name\": \"Block direct IT-to-Level1\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_1_Control\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"No direct access from enterprise IT to basic control PLCs\",\n            },\n            {\n                \"rule_id\": 2,\n                \"name\": \"Block direct IT-to-Level2\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"No direct access from enterprise IT to HMI\u002FSCADA\",\n            },\n            {\n                \"rule_id\": 3,\n                \"name\": \"Allow DMZ-to-Historian-Replica\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_3_Operations\",\n                \"dest_zone\": \"Level_35_DMZ\",\n                \"service\": \"SQL\u002F1433 (read replica push)\",\n                \"log\": True,\n                \"description\": \"Historian pushes data to DMZ replica for IT consumption\",\n            },\n            {\n                \"rule_id\": 4,\n                \"name\": \"Allow IT-to-DMZ-JumpServer\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_4_Enterprise\",\n                \"dest_zone\": \"Level_35_DMZ\",\n                \"service\": \"RDP\u002F3389, SSH\u002F22\",\n                \"log\": True,\n                \"description\": \"IT users access OT via jump server in DMZ only\",\n            },\n            {\n                \"rule_id\": 5,\n                \"name\": \"Allow DMZ-JumpServer-to-Level2\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_35_DMZ\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"RDP\u002F3389 (from jump server IP only)\",\n                \"log\": True,\n                \"description\": \"Jump server provides controlled access to HMI\u002FSCADA\",\n            },\n            {\n                \"rule_id\": 6,\n                \"name\": \"Allow Level2-to-Level1\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_2_Supervisory\",\n                \"dest_zone\": \"Level_1_Control\",\n                \"service\": \"Modbus\u002F502, EtherNet-IP\u002F44818, S7comm\u002F102\",\n                \"log\": True,\n                \"description\": \"HMI\u002FSCADA communicates with PLCs using industrial protocols\",\n            },\n            {\n                \"rule_id\": 7,\n                \"name\": \"Block Level1-outbound-internet\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"Level_1_Control\",\n                \"dest_zone\": \"Level_5_Internet\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"PLCs must never reach the internet directly\",\n            },\n            {\n                \"rule_id\": 8,\n                \"name\": \"Allow patch distribution DMZ-to-Level2\",\n                \"action\": \"ALLOW\",\n                \"source_zone\": \"Level_35_DMZ\",\n                \"dest_zone\": \"Level_2_Supervisory\",\n                \"service\": \"WSUS\u002F8530\",\n                \"log\": True,\n                \"description\": \"Patch server in DMZ distributes updates to supervisory systems\",\n            },\n            {\n                \"rule_id\": 9,\n                \"name\": \"Default deny all inter-zone\",\n                \"action\": \"DENY\",\n                \"source_zone\": \"ANY\",\n                \"dest_zone\": \"ANY\",\n                \"service\": \"ANY\",\n                \"log\": True,\n                \"description\": \"Default deny all traffic not explicitly permitted\",\n            },\n        ]\n        self.firewall_rules = rules\n        return rules\n\n    def print_segmentation_plan(self, classification: dict):\n        \"\"\"Print the complete segmentation plan.\"\"\"\n        print(f\"\\n{'='*70}\")\n        print(\"PURDUE MODEL NETWORK SEGMENTATION PLAN\")\n        print(f\"{'='*70}\")\n        print(f\"Generated: {datetime.now().isoformat()}\")\n\n        vlan_plan = self.generate_vlan_plan(classification)\n        print(f\"\\n--- VLAN ASSIGNMENT ---\")\n        for v in vlan_plan:\n            print(f\"\\n  {v['level_name']} (Purdue {v['purdue_level']})\")\n            print(f\"    VLAN Range: {v['vlan_range']}\")\n            print(f\"    Assets: {v['asset_count']}\")\n            print(f\"    Allowed Protocols: {', '.join(v['allowed_protocols'])}\")\n\n        print(f\"\\n--- INTER-ZONE FIREWALL RULES ---\")\n        rules = self.generate_firewall_rules()\n        for rule in rules:\n            action_symbol = \"+\" if rule[\"action\"] == \"ALLOW\" else \"X\"\n            print(f\"\\n  [{action_symbol}] Rule {rule['rule_id']}: {rule['name']}\")\n            print(f\"      {rule['source_zone']} -> {rule['dest_zone']}\")\n            print(f\"      Service: {rule['service']}\")\n            print(f\"      Reason: {rule['description']}\")\n\n\nif __name__ == \"__main__\":\n    planner = PurdueSegmentationPlanner()\n    if len(sys.argv) >= 2:\n        planner.load_asset_inventory(sys.argv[1])\n    classification = planner.classify_assets()\n    planner.print_segmentation_plan(classification)\n```\n\n### Step 2: Configure Industrial DMZ (Level 3.5)\n\nThe DMZ is the critical boundary between IT and OT. All data exchange must traverse it -- no direct connections are permitted.\n\n```yaml\n# Level 3.5 DMZ Architecture Configuration\n# All IT-OT data exchange flows through the DMZ\n\ndmz_architecture:\n  zone_name: \"IT_OT_DMZ\"\n  purdue_level: 3.5\n  vlan: 150\n\n  components:\n    historian_replica:\n      purpose: \"Read-only copy of OT historian data for IT\u002Fbusiness access\"\n      direction: \"OT pushes data TO DMZ (unidirectional)\"\n      ip: \"10.10.150.10\"\n      services:\n        - port: 1433\n          protocol: \"SQL\"\n          direction: \"inbound from Level 3 historian only\"\n        - port: 443\n          protocol: \"HTTPS\"\n          direction: \"outbound to Level 4 for IT consumers\"\n\n    jump_server:\n      purpose: \"Controlled remote access point for OT maintenance\"\n      ip: \"10.10.150.20\"\n      services:\n        - port: 3389\n          protocol: \"RDP\"\n          direction: \"inbound from Level 4 with MFA\"\n        - port: 3389\n          protocol: \"RDP\"\n          direction: \"outbound to Level 2 HMIs only\"\n      security_controls:\n        - \"Multi-factor authentication required\"\n        - \"Session recording enabled\"\n        - \"Maximum session duration: 4 hours\"\n        - \"Approval-based access workflow\"\n\n    patch_server:\n      purpose: \"Staging area for tested patches before OT deployment\"\n      ip: \"10.10.150.30\"\n      services:\n        - port: 8530\n          protocol: \"WSUS\"\n          direction: \"pulls from Level 4 WSUS, pushes to Level 2-3\"\n\n    antivirus_relay:\n      purpose: \"AV signature distribution to OT endpoints\"\n      ip: \"10.10.150.40\"\n      services:\n        - port: 443\n          protocol: \"HTTPS\"\n          direction: \"pulls definitions from Level 4, distributes to Level 2-3\"\n\n  firewall_rules:\n    north_firewall:  # Between DMZ and Level 4 Enterprise\n      - allow: \"Level 4 -> DMZ jump server:3389 (with MFA)\"\n      - allow: \"Level 4 -> DMZ historian replica:443 (read-only)\"\n      - allow: \"DMZ patch server -> Level 4 WSUS:8530 (pull only)\"\n      - deny: \"ALL other traffic\"\n\n    south_firewall:  # Between DMZ and Level 3 Operations\n      - allow: \"Level 3 historian -> DMZ replica:1433 (push direction)\"\n      - allow: \"DMZ jump server -> Level 2 HMI:3389 (session-limited)\"\n      - allow: \"DMZ patch server -> Level 2\u002F3:8530 (scheduled)\"\n      - deny: \"ALL other traffic\"\n\n    critical_rule: \"NO traffic passes through DMZ end-to-end. DMZ breaks all connections.\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Purdue Model (PERA) | Hierarchical reference architecture organizing industrial networks into levels 0-5 based on function and trust |\n| Level 3.5 DMZ | Demilitarized zone between IT (Level 4) and OT (Level 3), where all cross-boundary data exchange occurs |\n| Defense in Depth | Layered security approach requiring attackers to breach multiple boundaries to reach critical control systems |\n| Data Diode | Hardware-enforced unidirectional communication device ensuring data flows only from OT to IT, never reverse |\n| Zone | Logical grouping of assets sharing common security requirements as defined by IEC 62443 |\n| Conduit | Controlled communication path between zones with defined security policies |\n\n## Common Scenarios\n\n### Scenario: Flat OT Network Remediation\n\n**Context**: An audit reveals that enterprise IT systems can directly communicate with PLCs on the control network. There is no DMZ and no firewall between IT and OT.\n\n**Approach**:\n1. Perform full traffic analysis to identify all legitimate data flows crossing IT\u002FOT boundary\n2. Design DMZ architecture with historian replica, jump server, and patch staging\n3. Deploy industrial firewall between IT and DMZ (north firewall) and between DMZ and OT (south firewall)\n4. Migrate data flows one at a time: start with historian replication through DMZ\n5. Implement jump server for remote access, deprecating direct RDP to OT systems\n6. Block direct IT-to-OT traffic on the north firewall after all flows migrate through DMZ\n7. Validate with penetration test from IT network confirming no direct path to Level 1 controllers\n\n**Pitfalls**: Do not cut over all traffic simultaneously -- migrate flow by flow with rollback plans. Legacy OT systems may use protocols that cannot traverse firewalls doing DPI; test thoroughly in a lab first. Never deploy the DMZ during active production without an agreed maintenance window.\n\n## Output Format\n\n```\nPURDUE MODEL SEGMENTATION REPORT\n====================================\nAssessment Date: YYYY-MM-DD\nFacility: [Plant Name]\n\nCURRENT STATE:\n  Network Type: [Flat\u002FPartially segmented\u002FFully segmented]\n  IT-OT Boundary: [None\u002FFirewall\u002FDMZ with dual firewall]\n  Direct IT-to-PLC paths: [count]\n\nRECOMMENDED ARCHITECTURE:\n  Level 0-1: VLAN 110 (Control Network)\n  Level 2:   VLAN 120 (Supervisory Network)\n  Level 3:   VLAN 130 (Operations Network)\n  Level 3.5: VLAN 150 (IT\u002FOT DMZ)\n  Level 4-5: VLAN 200+ (Enterprise)\n\nDMZ COMPONENTS:\n  - Historian Replica Server\n  - Jump Server (MFA-enabled)\n  - Patch Staging Server\n  - AV Relay Server\n\nFIREWALL RULES: [count] rules generated\nMIGRATION STEPS: [count] phases planned\n```\n",{"name":5,"tags":44,"capec":49,"model":50,"tools":51,"domain":31,"maxTurns":55,"nist_csf":56,"subdomain":61,"description":7,"mitre_attack":62},[45,21,27,46,47,35,25,48],"ot-security","network-segmentation","iec62443","scada",[],"sonnet",[52,30,53,54],"Read","Glob","Grep",20,[57,58,59,60],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security",[63],"T0855","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Findustrial\u002Fics\u002Farchitecture\u002Fpurdue\u002Fimplement\u002Fconfigure","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill ics-architecture-purdue-implement-configure",{"tool":77,"command":78},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill ics-architecture-purdue-implement-configure",{"tool":80,"command":81},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill ics-architecture-purdue-implement-configure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Farchitecture\u002Fpurdue\u002Fimplement\u002Fconfigure\u002FSKILL.md",true,[85],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"index.json","REFERENCE","参考文档",750,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Farchitecture\u002Fpurdue\u002Fimplement\u002Fconfigure\u002Findex.json",[92,115,135,156,178,194],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[99,100,101,102,103,29,36,104,105,106,107,108,109,110,111,112,113,31,114],"services","detect","services wmi persistence detect","wmi","persistence","process","activescript","event","subscriptions","commandline-consumer","repository","subscription","event-subscription","t1546.003","forensics","process-forensics",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[122,99,123,102,124,125,32,31,30,126,127,128,129,130,29,131,132,26,133,134],"exploit","services wmi exec exploit","exec","remote","analysis","team","across","crackmapexec","native","command","lateral movement","lateral-movement","Impacket",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[142,143,144,145,146,147,31,30,148,126,149,150,29,26,151,152,153,154,155,50],"artifact","registry","registry artifact extract","extract","evidence-collection","artifact-analysis","collection","analyze","uncover","software","activity","digital-forensics","windows-registry","regripper",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[100,163,164,165,166,167,168,36,169,31,114,170,171,172,173,174,175,176,177,29],"processes token impersonate detect","token","processes","attacks","windows","escalation","techniques","privilege-escalation","seimpersonate","token-impersonation","printspoofer","exploitation","potato","impersonation","via",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[185,186,100,187,165,167,188,36,189,169,31,114,126,190,191,192,193,177,29,104],"thread","processes thread injection detect","injection","memory","process-injection","api","apc-injection","thread-injection","nt-api",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":39},"01M71HA7H311V5G14WMX58HQSS","processes-hollow-technique-detect","Detect process hollowing (RunPE) by identifying processes with mismatched image paths between PEB and VAD tree, or unmapped PE headers in memory.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fhollow\u002Ftechnique\u002Fdetect\u002FSKILL.md",[],[201,100,165,202,188,36,203,204,31,114,205,206,207,208,209,210,29,104,211,212],"processes hollow technique detect","tree","memory-forensics","process-hollow","peb","runpe","image","pe-header","in memory","with","mismatched","headers"]