[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GYMW7G8MA69GMCD869TA3C":3,"skill-same:01M6GYMW7G8MA69GMCD869TA3C":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6GYMW7G8MA69GMCD869TA3C","implementing-patch-management-for-ot-systems",null,"This skill covers implementing a structured patch management program for OT\u002FICS environments where traditional IT patching approaches can cause process disruption or safety hazards. It addresses vendor compatibility testing, risk-based patch prioritization, staged deployment through test environments, maintenance window coordination, rollback procedures, and compensating controls when patches cannot be applied due to operational constraints or vendor restrictions.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"implementing patch management for ot systems","for","implementing","systems","patch","management","ics","scada","industrial-control","risk","testing","vulnerability","coordination","ot-security","vulnerability-management","patch-management","controls","can","deployment","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-patch-management-for-ot-systems\ndescription: >\n  This skill covers implementing a structured patch management program for OT\u002FICS\n  environments where traditional IT patching approaches can cause process disruption\n  or safety hazards. It addresses vendor compatibility testing, risk-based patch\n  prioritization, staged deployment through test environments, maintenance window\n  coordination, rollback procedures, and compensating controls when patches cannot\n  be applied due to operational constraints or vendor restrictions.\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags: [ot-security, ics, scada, industrial-control, iec62443, patch-management, vulnerability-management]\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Implementing Patch Management for OT Systems\n\n## When to Use\n\n- When establishing a formal OT patch management program for the first time\n- When responding to critical ICS-CERT advisories affecting deployed OT systems\n- When preparing for NERC CIP-007-6 or IEC 62443 patch management compliance audits\n- When planning patch deployment during limited maintenance windows in continuous operations\n- When evaluating compensating controls for systems that cannot be patched\n\n**Do not use** for IT-only patch management without OT considerations, for emergency patching during active cyber incidents (see performing-ot-incident-response), or for firmware upgrades that change PLC functionality (requires separate change management).\n\n## Prerequisites\n\n- OT asset inventory with firmware\u002FOS versions for all patchable systems\n- Vendor patch notification subscriptions (Siemens ProductCERT, Rockwell, Schneider, etc.)\n- Test\u002Fstaging environment mirroring production OT systems for patch validation\n- Maintenance window schedule aligned with process shutdowns and turnarounds\n- Change management board approval process including operations and safety representatives\n\n## Workflow\n\n### Step 1: Establish OT Patch Management Program\n\nDefine the patch management lifecycle adapted for OT environments where availability and safety take priority over immediate vulnerability remediation.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Patch Management Program Manager.\n\nTracks patches for OT systems, manages risk-based prioritization,\ncoordinates testing and deployment, and documents compensating\ncontrols for unpatchable systems.\n\"\"\"\n\nimport json\nimport sys\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field, asdict\nfrom datetime import datetime, timedelta\nfrom enum import Enum\n\n\nclass PatchStatus(str, Enum):\n    IDENTIFIED = \"identified\"\n    EVALUATING = \"evaluating\"\n    TESTING = \"testing\"\n    APPROVED = \"approved\"\n    SCHEDULED = \"scheduled\"\n    DEPLOYED = \"deployed\"\n    DEFERRED = \"deferred\"\n    NOT_APPLICABLE = \"not_applicable\"\n\n\n@dataclass\nclass OTPatch:\n    patch_id: str\n    vendor: str\n    product: str\n    affected_versions: str\n    cve_ids: list\n    cvss_score: float\n    ics_cert_advisory: str\n    description: str\n    status: str = PatchStatus.IDENTIFIED\n    identified_date: str = \"\"\n    evaluation_deadline: str = \"\"  # 35 days per CIP-007\n    test_date: str = \"\"\n    deployment_date: str = \"\"\n    affected_assets: list = field(default_factory=list)\n    test_results: str = \"\"\n    compensating_controls: str = \"\"\n    risk_rating: str = \"\"\n    maintenance_window: str = \"\"\n    rollback_procedure: str = \"\"\n\n\nclass OTPatchManager:\n    \"\"\"Manages the OT patch lifecycle.\"\"\"\n\n    def __init__(self):\n        self.patches = []\n        self.assets = {}\n        self.vendor_feeds = {}\n\n    def add_patch(self, patch: OTPatch):\n        \"\"\"Register a new patch for tracking.\"\"\"\n        # Set evaluation deadline (35 calendar days per NERC CIP-007)\n        if not patch.evaluation_deadline:\n            identified = datetime.fromisoformat(patch.identified_date)\n            patch.evaluation_deadline = (identified + timedelta(days=35)).isoformat()\n\n        self.patches.append(patch)\n\n    def prioritize_patches(self):\n        \"\"\"Risk-based prioritization for OT patches.\"\"\"\n        for patch in self.patches:\n            if patch.status in (PatchStatus.DEPLOYED, PatchStatus.NOT_APPLICABLE):\n                continue\n\n            # OT-specific risk scoring\n            score = patch.cvss_score\n\n            # Increase priority for actively exploited vulnerabilities\n            if \"CISA KEV\" in patch.ics_cert_advisory:\n                score += 2.0\n\n            # Increase priority for network-exposed OT systems\n            for asset_id in patch.affected_assets:\n                asset = self.assets.get(asset_id, {})\n                if asset.get(\"network_exposed\"):\n                    score += 1.0\n                if asset.get(\"purdue_level\") in (\"Level 0-1\", \"Level 2\"):\n                    score += 1.5\n\n            score = min(score, 10.0)\n\n            if score >= 9.0:\n                patch.risk_rating = \"critical\"\n            elif score >= 7.0:\n                patch.risk_rating = \"high\"\n            elif score >= 4.0:\n                patch.risk_rating = \"medium\"\n            else:\n                patch.risk_rating = \"low\"\n\n    def get_patches_needing_evaluation(self):\n        \"\"\"Get patches approaching evaluation deadline.\"\"\"\n        now = datetime.now()\n        approaching = []\n        for patch in self.patches:\n            if patch.status == PatchStatus.IDENTIFIED:\n                deadline = datetime.fromisoformat(patch.evaluation_deadline)\n                days_remaining = (deadline - now).days\n                if days_remaining \u003C= 7:\n                    approaching.append((patch, days_remaining))\n        return sorted(approaching, key=lambda x: x[1])\n\n    def defer_patch(self, patch_id, reason, compensating_controls):\n        \"\"\"Defer a patch with documented compensating controls.\"\"\"\n        for patch in self.patches:\n            if patch.patch_id == patch_id:\n                patch.status = PatchStatus.DEFERRED\n                patch.compensating_controls = compensating_controls\n                patch.test_results = f\"Deferred: {reason}\"\n                break\n\n    def generate_report(self):\n        \"\"\"Generate patch management status report.\"\"\"\n        self.prioritize_patches()\n\n        report = []\n        report.append(\"=\" * 70)\n        report.append(\"OT PATCH MANAGEMENT STATUS REPORT\")\n        report.append(f\"Date: {datetime.now().isoformat()}\")\n        report.append(\"=\" * 70)\n\n        # Status summary\n        status_counts = defaultdict(int)\n        for p in self.patches:\n            status_counts[p.status] += 1\n\n        report.append(\"\\nPATCH STATUS SUMMARY:\")\n        for status, count in status_counts.items():\n            report.append(f\"  {status}: {count}\")\n\n        # Approaching deadlines\n        approaching = self.get_patches_needing_evaluation()\n        if approaching:\n            report.append(\"\\nAPPROACHING EVALUATION DEADLINES:\")\n            for patch, days in approaching:\n                report.append(f\"  [{patch.patch_id}] {patch.description} - {days} days remaining\")\n\n        # Critical\u002FHigh priority patches\n        urgent = [p for p in self.patches\n                  if p.risk_rating in (\"critical\", \"high\")\n                  and p.status not in (PatchStatus.DEPLOYED, PatchStatus.NOT_APPLICABLE)]\n        if urgent:\n            report.append(f\"\\nURGENT PATCHES ({len(urgent)}):\")\n            for p in urgent:\n                report.append(f\"  [{p.patch_id}] [{p.risk_rating.upper()}] {p.description}\")\n                report.append(f\"    CVEs: {', '.join(p.cve_ids)}\")\n                report.append(f\"    Status: {p.status}\")\n                report.append(f\"    Affected Assets: {len(p.affected_assets)}\")\n\n        # Deferred patches with compensating controls\n        deferred = [p for p in self.patches if p.status == PatchStatus.DEFERRED]\n        if deferred:\n            report.append(f\"\\nDEFERRED PATCHES ({len(deferred)}):\")\n            for p in deferred:\n                report.append(f\"  [{p.patch_id}] {p.description}\")\n                report.append(f\"    Reason: {p.test_results}\")\n                report.append(f\"    Compensating Controls: {p.compensating_controls}\")\n\n        return \"\\n\".join(report)\n\n\nif __name__ == \"__main__\":\n    manager = OTPatchManager()\n\n    # Example patches\n    manager.add_patch(OTPatch(\n        patch_id=\"OT-PATCH-001\",\n        vendor=\"Siemens\",\n        product=\"SIMATIC S7-1500\",\n        affected_versions=\"\u003C V3.0.1\",\n        cve_ids=[\"CVE-2023-44374\"],\n        cvss_score=8.8,\n        ics_cert_advisory=\"ICSA-23-348-01\",\n        description=\"S7-1500 memory corruption via crafted packets\",\n        identified_date=\"2026-01-15\",\n        affected_assets=[\"PLC-01\", \"PLC-02\", \"PLC-03\"],\n    ))\n\n    manager.add_patch(OTPatch(\n        patch_id=\"OT-PATCH-002\",\n        vendor=\"Rockwell Automation\",\n        product=\"FactoryTalk View SE\",\n        affected_versions=\"\u003C V13.0\",\n        cve_ids=[\"CVE-2024-21914\"],\n        cvss_score=7.5,\n        ics_cert_advisory=\"ICSA-24-046-02\",\n        description=\"FactoryTalk View remote code execution\",\n        identified_date=\"2026-02-01\",\n        affected_assets=[\"HMI-01\", \"HMI-02\"],\n    ))\n\n    print(manager.generate_report())\n```\n\n### Step 2: Test Patches in Staging Environment\n\nNever deploy patches directly to production OT systems. Use a test environment that mirrors production to validate patch compatibility.\n\n```yaml\n# OT Patch Testing Procedure\npatch_testing:\n  environment:\n    description: \"Staging lab mirroring production OT architecture\"\n    components:\n      - \"Virtual PLC simulators matching production firmware\"\n      - \"Test HMI stations with identical software versions\"\n      - \"Test historian with representative data\"\n      - \"Network configuration matching production VLANs\u002Ffirewalls\"\n\n  test_cases:\n    functional:\n      - \"PLC programs execute correctly after OS patch\"\n      - \"HMI displays update with correct process values\"\n      - \"Historian data collection continues uninterrupted\"\n      - \"Alarm and event handling functions properly\"\n      - \"Communication between PLCs maintains cycle time\"\n      - \"Safety system trip tests pass (if SIS affected)\"\n\n    performance:\n      - \"PLC scan time remains within acceptable limits (\u003C50ms increase)\"\n      - \"HMI screen refresh rate unchanged\"\n      - \"Historian collection interval maintained\"\n      - \"Network latency between zones unchanged\"\n\n    compatibility:\n      - \"Third-party applications function correctly\"\n      - \"OPC UA\u002FDA connections establish successfully\"\n      - \"Custom scripts and batch processes execute\"\n      - \"Backup and restore procedures work\"\n\n    rollback:\n      - \"System can be reverted to pre-patch state\"\n      - \"Rollback procedure documented and tested\"\n      - \"Estimated rollback time: [N] minutes\"\n\n  documentation:\n    required:\n      - \"Test plan with pass\u002Ffail criteria\"\n      - \"Test execution results with screenshots\"\n      - \"Performance measurements before and after\"\n      - \"Sign-off by operations, engineering, and security\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Compensating Control | Alternative security measure applied when a patch cannot be deployed, such as firewall rules, IPS signatures, or network isolation |\n| Vendor Compatibility | Confirmation from the OT vendor that a patch (especially OS patches) is compatible with their control system software |\n| Maintenance Window | Scheduled period for system modifications, aligned with process shutdowns or reduced-risk operational periods |\n| Virtual Patching | Deploying IDS\u002FIPS rules to detect and block exploitation attempts for known vulnerabilities without modifying the target system |\n| Evaluation Deadline | NERC CIP-007-6 requires patch evaluation within 35 calendar days of availability |\n| Turnaround | Major scheduled shutdown of a process unit for maintenance, providing opportunity for extensive OT patching |\n\n## Tools & Systems\n\n- **WSUS\u002FSCCM**: Microsoft patch management for Windows-based OT systems (HMIs, historians, engineering workstations)\n- **Siemens ProductCERT**: Siemens security advisory service for industrial products\n- **Claroty xDome**: OT vulnerability management with patch availability tracking and risk scoring\n- **Tripwire Enterprise**: Configuration monitoring detecting unauthorized changes and tracking patch status\n\n## Output Format\n\n```\nOT Patch Management Report\n============================\nReporting Period: YYYY-MM to YYYY-MM\n\nPATCH STATUS:\n  Identified: [N]\n  Evaluating: [N]\n  Testing: [N]\n  Deployed: [N]\n  Deferred: [N]\n\nCOMPLIANCE:\n  Evaluated within 35 days: [N]\u002F[N] (CIP-007-6 R2)\n  Deployed or mitigated: [N]\u002F[N]\n  Deferred with compensating controls: [N]\n```\n","# Implementing Patch Management for OT Systems\n\n## When to Use\n\n- When establishing a formal OT patch management program for the first time\n- When responding to critical ICS-CERT advisories affecting deployed OT systems\n- When preparing for NERC CIP-007-6 or IEC 62443 patch management compliance audits\n- When planning patch deployment during limited maintenance windows in continuous operations\n- When evaluating compensating controls for systems that cannot be patched\n\n**Do not use** for IT-only patch management without OT considerations, for emergency patching during active cyber incidents (see performing-ot-incident-response), or for firmware upgrades that change PLC functionality (requires separate change management).\n\n## Prerequisites\n\n- OT asset inventory with firmware\u002FOS versions for all patchable systems\n- Vendor patch notification subscriptions (Siemens ProductCERT, Rockwell, Schneider, etc.)\n- Test\u002Fstaging environment mirroring production OT systems for patch validation\n- Maintenance window schedule aligned with process shutdowns and turnarounds\n- Change management board approval process including operations and safety representatives\n\n## Workflow\n\n### Step 1: Establish OT Patch Management Program\n\nDefine the patch management lifecycle adapted for OT environments where availability and safety take priority over immediate vulnerability remediation.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"OT Patch Management Program Manager.\n\nTracks patches for OT systems, manages risk-based prioritization,\ncoordinates testing and deployment, and documents compensating\ncontrols for unpatchable systems.\n\"\"\"\n\nimport json\nimport sys\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field, asdict\nfrom datetime import datetime, timedelta\nfrom enum import Enum\n\n\nclass PatchStatus(str, Enum):\n    IDENTIFIED = \"identified\"\n    EVALUATING = \"evaluating\"\n    TESTING = \"testing\"\n    APPROVED = \"approved\"\n    SCHEDULED = \"scheduled\"\n    DEPLOYED = \"deployed\"\n    DEFERRED = \"deferred\"\n    NOT_APPLICABLE = \"not_applicable\"\n\n\n@dataclass\nclass OTPatch:\n    patch_id: str\n    vendor: str\n    product: str\n    affected_versions: str\n    cve_ids: list\n    cvss_score: float\n    ics_cert_advisory: str\n    description: str\n    status: str = PatchStatus.IDENTIFIED\n    identified_date: str = \"\"\n    evaluation_deadline: str = \"\"  # 35 days per CIP-007\n    test_date: str = \"\"\n    deployment_date: str = \"\"\n    affected_assets: list = field(default_factory=list)\n    test_results: str = \"\"\n    compensating_controls: str = \"\"\n    risk_rating: str = \"\"\n    maintenance_window: str = \"\"\n    rollback_procedure: str = \"\"\n\n\nclass OTPatchManager:\n    \"\"\"Manages the OT patch lifecycle.\"\"\"\n\n    def __init__(self):\n        self.patches = []\n        self.assets = {}\n        self.vendor_feeds = {}\n\n    def add_patch(self, patch: OTPatch):\n        \"\"\"Register a new patch for tracking.\"\"\"\n        # Set evaluation deadline (35 calendar days per NERC CIP-007)\n        if not patch.evaluation_deadline:\n            identified = datetime.fromisoformat(patch.identified_date)\n            patch.evaluation_deadline = (identified + timedelta(days=35)).isoformat()\n\n        self.patches.append(patch)\n\n    def prioritize_patches(self):\n        \"\"\"Risk-based prioritization for OT patches.\"\"\"\n        for patch in self.patches:\n            if patch.status in (PatchStatus.DEPLOYED, PatchStatus.NOT_APPLICABLE):\n                continue\n\n            # OT-specific risk scoring\n            score = patch.cvss_score\n\n            # Increase priority for actively exploited vulnerabilities\n            if \"CISA KEV\" in patch.ics_cert_advisory:\n                score += 2.0\n\n            # Increase priority for network-exposed OT systems\n            for asset_id in patch.affected_assets:\n                asset = self.assets.get(asset_id, {})\n                if asset.get(\"network_exposed\"):\n                    score += 1.0\n                if asset.get(\"purdue_level\") in (\"Level 0-1\", \"Level 2\"):\n                    score += 1.5\n\n            score = min(score, 10.0)\n\n            if score >= 9.0:\n                patch.risk_rating = \"critical\"\n            elif score >= 7.0:\n                patch.risk_rating = \"high\"\n            elif score >= 4.0:\n                patch.risk_rating = \"medium\"\n            else:\n                patch.risk_rating = \"low\"\n\n    def get_patches_needing_evaluation(self):\n        \"\"\"Get patches approaching evaluation deadline.\"\"\"\n        now = datetime.now()\n        approaching = []\n        for patch in self.patches:\n            if patch.status == PatchStatus.IDENTIFIED:\n                deadline = datetime.fromisoformat(patch.evaluation_deadline)\n                days_remaining = (deadline - now).days\n                if days_remaining \u003C= 7:\n                    approaching.append((patch, days_remaining))\n        return sorted(approaching, key=lambda x: x[1])\n\n    def defer_patch(self, patch_id, reason, compensating_controls):\n        \"\"\"Defer a patch with documented compensating controls.\"\"\"\n        for patch in self.patches:\n            if patch.patch_id == patch_id:\n                patch.status = PatchStatus.DEFERRED\n                patch.compensating_controls = compensating_controls\n                patch.test_results = f\"Deferred: {reason}\"\n                break\n\n    def generate_report(self):\n        \"\"\"Generate patch management status report.\"\"\"\n        self.prioritize_patches()\n\n        report = []\n        report.append(\"=\" * 70)\n        report.append(\"OT PATCH MANAGEMENT STATUS REPORT\")\n        report.append(f\"Date: {datetime.now().isoformat()}\")\n        report.append(\"=\" * 70)\n\n        # Status summary\n        status_counts = defaultdict(int)\n        for p in self.patches:\n            status_counts[p.status] += 1\n\n        report.append(\"\\nPATCH STATUS SUMMARY:\")\n        for status, count in status_counts.items():\n            report.append(f\"  {status}: {count}\")\n\n        # Approaching deadlines\n        approaching = self.get_patches_needing_evaluation()\n        if approaching:\n            report.append(\"\\nAPPROACHING EVALUATION DEADLINES:\")\n            for patch, days in approaching:\n                report.append(f\"  [{patch.patch_id}] {patch.description} - {days} days remaining\")\n\n        # Critical\u002FHigh priority patches\n        urgent = [p for p in self.patches\n                  if p.risk_rating in (\"critical\", \"high\")\n                  and p.status not in (PatchStatus.DEPLOYED, PatchStatus.NOT_APPLICABLE)]\n        if urgent:\n            report.append(f\"\\nURGENT PATCHES ({len(urgent)}):\")\n            for p in urgent:\n                report.append(f\"  [{p.patch_id}] [{p.risk_rating.upper()}] {p.description}\")\n                report.append(f\"    CVEs: {', '.join(p.cve_ids)}\")\n                report.append(f\"    Status: {p.status}\")\n                report.append(f\"    Affected Assets: {len(p.affected_assets)}\")\n\n        # Deferred patches with compensating controls\n        deferred = [p for p in self.patches if p.status == PatchStatus.DEFERRED]\n        if deferred:\n            report.append(f\"\\nDEFERRED PATCHES ({len(deferred)}):\")\n            for p in deferred:\n                report.append(f\"  [{p.patch_id}] {p.description}\")\n                report.append(f\"    Reason: {p.test_results}\")\n                report.append(f\"    Compensating Controls: {p.compensating_controls}\")\n\n        return \"\\n\".join(report)\n\n\nif __name__ == \"__main__\":\n    manager = OTPatchManager()\n\n    # Example patches\n    manager.add_patch(OTPatch(\n        patch_id=\"OT-PATCH-001\",\n        vendor=\"Siemens\",\n        product=\"SIMATIC S7-1500\",\n        affected_versions=\"\u003C V3.0.1\",\n        cve_ids=[\"CVE-2023-44374\"],\n        cvss_score=8.8,\n        ics_cert_advisory=\"ICSA-23-348-01\",\n        description=\"S7-1500 memory corruption via crafted packets\",\n        identified_date=\"2026-01-15\",\n        affected_assets=[\"PLC-01\", \"PLC-02\", \"PLC-03\"],\n    ))\n\n    manager.add_patch(OTPatch(\n        patch_id=\"OT-PATCH-002\",\n        vendor=\"Rockwell Automation\",\n        product=\"FactoryTalk View SE\",\n        affected_versions=\"\u003C V13.0\",\n        cve_ids=[\"CVE-2024-21914\"],\n        cvss_score=7.5,\n        ics_cert_advisory=\"ICSA-24-046-02\",\n        description=\"FactoryTalk View remote code execution\",\n        identified_date=\"2026-02-01\",\n        affected_assets=[\"HMI-01\", \"HMI-02\"],\n    ))\n\n    print(manager.generate_report())\n```\n\n### Step 2: Test Patches in Staging Environment\n\nNever deploy patches directly to production OT systems. Use a test environment that mirrors production to validate patch compatibility.\n\n```yaml\n# OT Patch Testing Procedure\npatch_testing:\n  environment:\n    description: \"Staging lab mirroring production OT architecture\"\n    components:\n      - \"Virtual PLC simulators matching production firmware\"\n      - \"Test HMI stations with identical software versions\"\n      - \"Test historian with representative data\"\n      - \"Network configuration matching production VLANs\u002Ffirewalls\"\n\n  test_cases:\n    functional:\n      - \"PLC programs execute correctly after OS patch\"\n      - \"HMI displays update with correct process values\"\n      - \"Historian data collection continues uninterrupted\"\n      - \"Alarm and event handling functions properly\"\n      - \"Communication between PLCs maintains cycle time\"\n      - \"Safety system trip tests pass (if SIS affected)\"\n\n    performance:\n      - \"PLC scan time remains within acceptable limits (\u003C50ms increase)\"\n      - \"HMI screen refresh rate unchanged\"\n      - \"Historian collection interval maintained\"\n      - \"Network latency between zones unchanged\"\n\n    compatibility:\n      - \"Third-party applications function correctly\"\n      - \"OPC UA\u002FDA connections establish successfully\"\n      - \"Custom scripts and batch processes execute\"\n      - \"Backup and restore procedures work\"\n\n    rollback:\n      - \"System can be reverted to pre-patch state\"\n      - \"Rollback procedure documented and tested\"\n      - \"Estimated rollback time: [N] minutes\"\n\n  documentation:\n    required:\n      - \"Test plan with pass\u002Ffail criteria\"\n      - \"Test execution results with screenshots\"\n      - \"Performance measurements before and after\"\n      - \"Sign-off by operations, engineering, and security\"\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Compensating Control | Alternative security measure applied when a patch cannot be deployed, such as firewall rules, IPS signatures, or network isolation |\n| Vendor Compatibility | Confirmation from the OT vendor that a patch (especially OS patches) is compatible with their control system software |\n| Maintenance Window | Scheduled period for system modifications, aligned with process shutdowns or reduced-risk operational periods |\n| Virtual Patching | Deploying IDS\u002FIPS rules to detect and block exploitation attempts for known vulnerabilities without modifying the target system |\n| Evaluation Deadline | NERC CIP-007-6 requires patch evaluation within 35 calendar days of availability |\n| Turnaround | Major scheduled shutdown of a process unit for maintenance, providing opportunity for extensive OT patching |\n\n## Tools & Systems\n\n- **WSUS\u002FSCCM**: Microsoft patch management for Windows-based OT systems (HMIs, historians, engineering workstations)\n- **Siemens ProductCERT**: Siemens security advisory service for industrial products\n- **Claroty xDome**: OT vulnerability management with patch availability tracking and risk scoring\n- **Tripwire Enterprise**: Configuration monitoring detecting unauthorized changes and tracking patch status\n\n## Output Format\n\n```\nOT Patch Management Report\n============================\nReporting Period: YYYY-MM to YYYY-MM\n\nPATCH STATUS:\n  Identified: [N]\n  Evaluating: [N]\n  Testing: [N]\n  Deployed: [N]\n  Deferred: [N]\n\nCOMPLIANCE:\n  Evaluated within 35 days: [N]\u002F[N] (CIP-007-6 R2)\n  Deployed or mitigated: [N]\u002F[N]\n  Deferred with compensating controls: [N]\n```\n",{"name":5,"tags":48,"author":50,"domain":42,"license":14,"version":51,"subdomain":52,"description":53},[36,29,30,31,49,38,37],"iec62443","mahipal","1.0.0","ot-ics-security","This skill covers implementing a structured patch management program for OT\u002FICS environments where traditional IT patching approaches can cause process disruption or safety hazards. It addresses vendor compatibility testing, risk-based patch prioritization, staged deployment through test environments, maintenance window coordination, rollback procedures, and compensating controls when patches cannot be applied due to operational constraints or vendor restrictions.\n","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add micsapp\u002Fmicstec-skills --skill implementing-patch-management-for-ot-systems",{"tool":67,"command":68},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill implementing-patch-management-for-ot-systems",{"tool":70,"command":71},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill implementing-patch-management-for-ot-systems","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FSKILL.md",true,[75,80,86],{"path":76,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FLICENSE",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fapi-reference.md","REFERENCE","参考文档",2974,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002Freferences\u002Fapi-reference.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fagent.py","SCRIPT","脚本",3615,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002Fscripts\u002Fagent.py",[93,128,156,177,197,222],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":108,"publishedAt":43},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[100,103],{"categoryNo":101,"categoryName":102,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":104,"categoryName":105,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,24],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":142,"publishedAt":43},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[134,135,138,141],{"categoryNo":101,"categoryName":102,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":136,"categoryName":137,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":139,"categoryName":140,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":104,"categoryName":105,"taxonomyType":106,"taxonomyTypeDesc":107},[41,143,144,145,110,146,147,148,149,150,151,152,118,119,125,153,154,126,155,25],"apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":163,"publishedAt":43},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[162],{"categoryNo":101,"categoryName":102,"taxonomyType":20,"taxonomyTypeDesc":21},[164,165,166,167,110,113,118,119,168,169,170,171,172,173,174,126,175,176,25,24],"policy","authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":185,"publishedAt":43},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[183,184],{"categoryNo":101,"categoryName":102,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":104,"categoryName":105,"taxonomyType":106,"taxonomyTypeDesc":107},[186,167,187,118,171,188,110,41,189,190,191,192,119,193,126,194,195,196,127,24],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":43},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[204,205,206,144,207,208,209,210,118,211,212,213,214,215,216,217,218,219,220,221],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":43},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[224,229,230,231,232,233,234,169,235,236],"npm","js","calculate","node","math","user","compute","errors"]