[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M734E7EF1TRB2Z9K5J63RY7J":3,"skill-same:01M734E7EF1TRB2Z9K5J63RY7J":92},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M734E7EF1TRB2Z9K5J63RY7J","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.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: implementing-patch-management-for-ot-systems\ndescription: 'This skill covers implementing a structured patch management program\n  for OT\u002FICS environments where traditional IT patching approaches can cause process\n  disruption or safety hazards. It addresses vendor compatibility testing, risk-based\n  patch 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.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- scada\n- industrial-control\n- iec62443\n- patch-management\n- vulnerability-management\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\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\nnote: \"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.\"\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,"note":25,"tags":26,"author":34,"domain":35,"source":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":44,"mitre_attack":45,"source_commit":51},"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.",[27,28,29,30,31,32,33],"ot-security","ics","scada","industrial-control","iec62443","patch-management","vulnerability-management","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0.0",[39,40,41,42],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","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",[46,47,48,49,50],"T1078","T1190","T1059","T0816","T0836","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fimplementing-patch-management-for-ot-systems",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill implementing-patch-management-for-ot-systems",{"tool":68,"command":69},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill implementing-patch-management-for-ot-systems",{"tool":71,"command":72},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill implementing-patch-management-for-ot-systems","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002FSKILL.md",true,[76,80,86],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fapi-reference.md","REFERENCE","参考文档",2974,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\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\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-patch-management-for-ot-systems\u002Fscripts\u002Fagent.py",[93,101,108,116,124,132],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]