Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính35k · #8279

performing-ot-vulnerability-scanning-safely

Skill này làm gì

Công cụ này giúp kiểm tra lỗ hổng trong hệ thống công nghiệp (OT) một cách an toàn. Nó dùng các phương pháp không làm gián đoạn hoạt động bình thường, như quan sát lưu lượng mạng hoặc hỏi thiết bị bằng câu lệnh cụ thể.

Khi nào nên dùng

  • ✓Khi cần đánh giá bảo mật các mạng công nghiệp đời cũ.
  • ✓Khi cần theo dõi lỗ hổng bảo mật mà không dừng sản xuất.
  • ✓Khi chuẩn bị cho các đợt kiểm toán bảo mật cần dữ liệu lỗ hổng.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ot-vulnerability-scanning-safely/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/performing-ot-vulnerability-scanning-safely/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

“Kiểm tra lỗ hổng trong mạng công nghiệp của nhà máy X bằng phương pháp thụ động.”

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

Cách hoạt động

Công cụ trước tiên quan sát lưu lượng mạng mà không gửi gì đến thiết bị. Sau đó nó có thể đặt các câu hỏi cụ thể bằng giao thức mà thiết bị hiểu, hoặc thực hiện các kiểm tra chủ động có kiểm soát, luôn cẩn thận để tránh gây sự cố.

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.

Performing OT Vulnerability Scanning Safely

When to Use

  • When conducting vulnerability assessments in OT environments with legacy controllers
  • When implementing continuous vulnerability monitoring without impacting process availability
  • When preparing for IEC 62443 or NERC CIP compliance audits requiring vulnerability data
  • When evaluating risk-based patching priorities for OT assets
  • When validating that compensating controls protect unpatched ICS devices

Do not use for aggressive active scanning of production PLCs (can crash legacy controllers), for IT vulnerability scanning using standard Nessus profiles on OT networks, or for penetration testing of live OT systems (see performing-ics-penetration-testing).

Prerequisites

  • Tenable OT Security (formerly Tenable.ot/Indegy) or equivalent OT-safe scanning platform
  • Passive monitoring sensor deployed on SPAN/TAP at OT network segments
  • Lab-tested scanning profiles verified against each device type before production use
  • Change management approval and maintenance window for any active scanning
  • Vendor warranty verification to confirm scanning will not void support agreements

Workflow

Step 1: Deploy Passive Vulnerability Detection

Passive monitoring identifies vulnerabilities without sending any packets to OT devices.

#!/usr/bin/env python3
"""OT Safe Vulnerability Scanner Orchestrator.

Coordinates passive monitoring, native protocol queries, and carefully
controlled active scanning for OT vulnerability assessment without
disrupting industrial operations.
"""

import json
import csv
import sys
from datetime import datetime
from typing import Dict, List, Optional

try:
    import requests
except ImportError:
    print("Install requests: pip install requests")
    sys.exit(1)


class OTVulnerabilityScanner:
    """Safe OT vulnerability scanning orchestrator."""

    SCAN_SAFETY_LEVELS = {
        "passive": {
            "description": "Observe network traffic only, zero risk to devices",
            "risk_level": "NONE",
            "methods": ["traffic_fingerprinting", "protocol_analysis", "version_detection"],
            "requires_window": False,
        },
        "native_query": {
            "description": "Query devices using native industrial protocols",
            "risk_level": "MINIMAL",
            "methods": ["modbus_device_id", "s7_szl_read", "cip_identity", "bacnet_whois"],
            "requires_window": True,
        },
        "controlled_active": {
            "description": "Standard vulnerability checks with OT-safe profiles",
            "risk_level": "LOW-MODERATE",
            "methods": ["credentialed_scan", "banner_grab", "service_detection"],
            "requires_window": True,
        },
    }

    def __init__(self, tenable_url: str, api_key: str, verify_ssl: bool = True):
        self.tenable_url = tenable_url.rstrip("/")
        self.session = requests.Session()
        self.session.headers.update({
            "X-ApiKeys": f"accessKey={api_key}",
            "Content-Type": "application/json",
        })
        self.session.verify = verify_ssl
        self.findings = []

    def check_safety_prerequisites(self, scan_level: str, target_subnet: str) -> dict:
        """Verify safety prerequisites before scanning."""
        checks = {
            "scan_level": scan_level,
            "target": target_subnet,
            "safety_level": self.SCAN_SAFETY_LEVELS[scan_level],
            "checks_passed": [],
            "checks_failed": [],
            "approved": False,
        }

        prerequisites = [
            {
                "name": "Lab validation complete",
                "description": "Scan profile tested against each device type in lab environment",
                "required_for": ["native_query", "controlled_active"],
            },
            {
                "name": "Vendor warranty verified",
                "description": "Scanning will not void vendor support agreements",
                "required_for": ["native_query", "controlled_active"],
            },
            {
                "name": "Change management approved",
                "description": "Change ticket approved for scanning activity",
                "required_for": ["native_query", "controlled_active"],
            },
            {
                "name": "Maintenance window confirmed",
                "description": "Operations team confirms acceptable scanning window",

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

Hệ thống OT/ICS là gì?

Đây là các hệ thống điều khiển quy trình công nghiệp, như trong nhà máy hoặc nhà máy điện. Chúng khác với máy tính thông thường (IT).

Vì sao quét hệ thống OT có thể nguy hiểm?

Các hệ thống công nghiệp đời cũ có thể rất nhạy cảm và có thể bị treo hoặc ngừng hoạt động nếu nhận lệnh bất ngờ, từ đó làm gián đoạn sản xuất.

“Quét thụ động” là gì?

Giống như lắng nghe một cuộc trò chuyện mà không tham gia. Công cụ chỉ quan sát lưu lượng mạng đang diễn ra, không gửi dữ liệu mới nào đến thiết bị.

Chi tiết

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

Perform vulnerability scanning in OT/ICS environments safely using passive monitoring, native protocol queries, and carefully controlled active scanning with Tenable OT Security to identify vulnerabilities without disrupting industrial processes or crashing legacy controllers. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8279
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ự