Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8094

implementing-patch-management-for-ot-systems

Skill này làm gì

Công cụ này giúp tổ chức việc áp dụng các bản cập nhật (patch) cho hệ thống điều khiển công nghiệp (OT). Nó bảo đảm các bản cập nhật được kiểm thử và áp dụng an toàn, không làm gián đoạn sản xuất hoặc gây nguy hiểm.

Khi nào nên dùng

  • ✓Khi lần đầu thiết lập kế hoạch quản lý bản vá cho hệ thống công nghiệp.
  • ✓Khi ứng phó với cảnh báo bảo mật nghiêm trọng về thiết bị điều khiển.
  • ✓Khi chuẩn bị cho các đợt kiểm toán bảo mật và tuân thủ.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-patch-management-for-ot-systems/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-patch-management-for-ot-systems/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để tổ chức việc áp dụng các bản cập nhật bảo mật cho hệ thống điều khiển công nghiệp của chúng tôi, bảo đảm không ảnh hưởng đến sản xuất?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ xếp ưu tiên các bản cập nhật theo mức rủi ro, điều phối việc kiểm thử trong môi trường an toàn và lên kế hoạch áp dụng trong các khoảng thời gian bảo trì. Nó cũng ghi lại các biện pháp bảo mật thay thế cho những hệ thống không thể cập nhật.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Implementing Patch Management for OT Systems

When to Use

  • When establishing a formal OT patch management program for the first time
  • When responding to critical ICS-CERT advisories affecting deployed OT systems
  • When preparing for NERC CIP-007-6 or IEC 62443 patch management compliance audits
  • When planning patch deployment during limited maintenance windows in continuous operations
  • When evaluating compensating controls for systems that cannot be patched

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).

Prerequisites

  • OT asset inventory with firmware/OS versions for all patchable systems
  • Vendor patch notification subscriptions (Siemens ProductCERT, Rockwell, Schneider, etc.)
  • Test/staging environment mirroring production OT systems for patch validation
  • Maintenance window schedule aligned with process shutdowns and turnarounds
  • Change management board approval process including operations and safety representatives

Workflow

Step 1: Establish OT Patch Management Program

Define the patch management lifecycle adapted for OT environments where availability and safety take priority over immediate vulnerability remediation.

#!/usr/bin/env python3
"""OT Patch Management Program Manager.

Tracks patches for OT systems, manages risk-based prioritization,
coordinates testing and deployment, and documents compensating
controls for unpatchable systems.
"""

import json
import sys
from collections import defaultdict
from dataclasses import dataclass, field, asdict
from datetime import datetime, timedelta
from enum import Enum


class PatchStatus(str, Enum):
    IDENTIFIED = "identified"
    EVALUATING = "evaluating"
    TESTING = "testing"
    APPROVED = "approved"
    SCHEDULED = "scheduled"
    DEPLOYED = "deployed"
    DEFERRED = "deferred"
    NOT_APPLICABLE = "not_applicable"


@dataclass
class OTPatch:
    patch_id: str
    vendor: str
    product: str
    affected_versions: str
    cve_ids: list
    cvss_score: float
    ics_cert_advisory: str
    description: str
    status: str = PatchStatus.IDENTIFIED
    identified_date: str = ""
    evaluation_deadline: str = ""  # 35 days per CIP-007
    test_date: str = ""
    deployment_date: str = ""
    affected_assets: list = field(default_factory=list)
    test_results: str = ""
    compensating_controls: str = ""
    risk_rating: str = ""
    maintenance_window: str = ""
    rollback_procedure: str = ""


class OTPatchManager:
    """Manages the OT patch lifecycle."""

    def __init__(self):
        self.patches = []
        self.assets = {}
        self.vendor_feeds = {}

    def add_patch(self, patch: OTPatch):
        """Register a new patch for tracking."""
        # Set evaluation deadline (35 calendar days per NERC CIP-007)
        if not patch.evaluation_deadline:
            identified = datetime.fromisoformat(patch.identified_date)
            patch.evaluation_deadline = (identified + timedelta(days=35)).isoformat()

        self.patches.append(patch)

    def prioritize_patches(self):
        """Risk-based prioritization for OT patches."""
        for patch in self.patches:
            if patch.status in (PatchStatus.DEPLOYED, PatchStatus.NOT_APPLICABLE):
                continue

            # OT-specific risk scoring
            score = patch.cvss_score

            # Increase priority for actively exploited vulnerabilities
            if "CISA KEV" in patch.ics_cert_advisory:
                score += 2.0

            # Increase priority for network-exposed OT systems
            for asset_id in patch.affected_assets:
                asset = self.assets.get(asset_id, {})
                if asset.get("network_exposed"):
                    score += 1.0
                if asset.get("purdue_level") in ("Level 0-1", "Level 2"):
                    score += 1.5

            score = min(score, 10.0)

            if score >= 9.0:
                patch.risk_rating = "critical"
            elif score >= 7.0:
                patch.risk_rating = "high"
            elif score >= 4.0:
                patch.risk_rating = "medium"
            else:
                patch.risk_rating = "low"

    def get_patches_needing_evaluation(self):
        """Get patches approaching evaluation deadline."""
        now = datetime.now()

…
Câu hỏi thường gặp

Hệ thống OT là gì?

Hệ thống OT (Operational Technology) là những hệ thống điều khiển thiết bị và quy trình công nghiệp, như dây chuyền sản xuất, lưới điện và hệ thống nước.

Vì sao vá lỗi cho hệ thống OT khác với máy tính thông thường?

Hệ thống OT thường điều khiển các quy trình liên tục và quan trọng. Một bản cập nhật được lên kế hoạch kém có thể gây ngừng sản xuất, mất dữ liệu hoặc nguy hiểm về an toàn vật lý.

“Compensating controls” là gì?

Đó là các biện pháp bảo vệ bổ sung được áp dụng khi không thể vá trực tiếp hệ thống, ví dụ giám sát thêm hoặc hạn chế truy cập, để bù đắp việc thiếu bản cập nhật.

Chi tiết

Mô tả gốc của tác giả

Implements a structured patch management program for OT/ICS environments where IT-style patching can cause process disruption or safety hazards, covering vendor compatibility testing, risk-based prioritization, staged test deployment, maintenance window coordination, rollback procedures, and compensating controls. Use when planning or auditing patching for SCADA, PLCs, or other industrial control

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8094
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự