[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFTWQY1Y56AV69JCT1GGA3":3,"skill-same:01M6AFTWQY1Y56AV69JCT1GGA3":121},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":80,"commitSha":81,"skillDirectory":82,"forksCount":83,"repositoryHtmlUrl":84,"repositoryHomepageUrl":85,"ownerHtmlUrl":86,"ownerBlogUrl":87,"ownerDescription":88,"updatedAt":89,"install":90,"resources":103},"01M6AFTWQY1Y56AV69JCT1GGA3","performing-ics-asset-discovery-with-claroty","Claroty工控资产发现","Performs ICS\u002FOT asset discovery with Claroty xDome, combining passive monitoring and Claroty Edge active queries to inventory PLCs, RTUs, HMIs, and network infrastructure across Purdue Model levels. Use when gaining visibility into an undocumented OT environment, preparing an IEC 62443 asset inventory, or onboarding Claroty xDome; not for IT-only discovery.","使用 Claroty xDome 执行 ICS\u002FOT 资产发现，结合被动监控与 Claroty Edge 主动查询，跨 Purdue 模型各层级对 PLC、RTU、HMI 及网络基础设施进行资产编目。适用于在无文档的 OT 环境中建立可见性、准备 IEC 62443 资产清单或部署 Claroty xDome；不适用于纯 IT 环境发现。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-ics-asset-discovery-with-claroty\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C965QN6B4GBS1WJZTFF46Z","关键基础设施合规","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"performing ics asset discovery with claroty","ics","iec62443","network-visibility","xdome","claroty","inventory","ICS-security","asset-discovery","t1059","t1078","security","scada","ot-security","network","edge","monitoring","onboarding","pr","cybersecurity","2026-11-10 10:12:30",false,"---\nname: performing-ics-asset-discovery-with-claroty\ndescription: 'Performs ICS\u002FOT asset discovery with Claroty xDome, combining passive\n  monitoring and Claroty Edge active queries to inventory PLCs, RTUs, HMIs, and network\n  infrastructure across Purdue Model levels. Use when gaining visibility into an\n  undocumented OT environment, preparing an IEC 62443 asset inventory, or onboarding\n  Claroty xDome; not for IT-only discovery.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- asset-discovery\n- claroty\n- xdome\n- scada\n- network-visibility\n- iec62443\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\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\n---\n\n# Performing ICS Asset Discovery with Claroty\n\n## When to Use\n\n- When gaining initial visibility into an OT environment with unknown or poorly documented assets\n- When preparing for an IEC 62443 risk assessment requiring a complete asset inventory\n- When onboarding Claroty xDome into a brownfield industrial environment\n- When validating existing asset inventory against actual network communications\n- When identifying shadow OT devices or unauthorized connections in the control network\n\n**Do not use** for IT-only asset discovery (use tools like Nessus or Qualys), for active scanning of sensitive PLC networks without vendor approval, or for environments where Claroty is not the deployed platform (see implementing-ot-network-traffic-analysis-with-nozomi).\n\n## Prerequisites\n\n- Claroty xDome SaaS subscription or on-premises deployment\n- Network TAP or SPAN port configured at OT network boundaries (Levels 1-3 of Purdue Model)\n- Claroty Edge collector deployed for safe active querying of hard-to-reach network segments\n- Integration credentials for CMDB tools (ServiceNow, BMC) if used\n- Network architecture diagram showing VLANs, switches, and firewall zones\n\n## Workflow\n\n### Step 1: Configure Passive Network Monitoring\n\nDeploy Claroty sensors on SPAN ports to passively observe all OT network traffic without impacting operations.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Claroty xDome Asset Discovery Configuration and Reporting Tool.\n\nAutomates the configuration of passive monitoring sensors and generates\nasset inventory reports from Claroty xDome API.\n\"\"\"\n\nimport json\nimport sys\nimport csv\nfrom datetime import datetime\nfrom typing import Optional\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass ClarotyAssetDiscovery:\n    \"\"\"Interface with Claroty xDome API for ICS asset discovery.\"\"\"\n\n    def __init__(self, base_url: str, api_token: str, verify_ssl: bool = True):\n        self.base_url = base_url.rstrip(\"\u002F\")\n        self.session = requests.Session()\n        self.session.headers.update({\n            \"Authorization\": f\"Bearer {api_token}\",\n            \"Content-Type\": \"application\u002Fjson\",\n            \"Accept\": \"application\u002Fjson\",\n        })\n        self.session.verify = verify_ssl\n\n    def get_sites(self):\n        \"\"\"Retrieve all monitored sites.\"\"\"\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fsites\")\n        resp.raise_for_status()\n        return resp.json().get(\"sites\", [])\n\n    def get_assets(self, site_id: Optional[str] = None, asset_type: Optional[str] = None):\n        \"\"\"Retrieve discovered assets with optional filtering.\n\n        asset_type: PLC, RTU, HMI, DCS, Engineering_Workstation,\n                    Historian, Network_Device, IO_Module, Safety_Controller\n        \"\"\"\n        params = {}\n        if site_id:\n            params[\"site_id\"] = site_id\n        if asset_type:\n            params[\"type\"] = asset_type\n\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fassets\", params=params)\n        resp.raise_for_status()\n        return resp.json().get(\"assets\", [])\n\n    def get_asset_detail(self, asset_id: str):\n        \"\"\"Retrieve detailed asset information including firmware, modules, and CVEs.\"\"\"\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fassets\u002F{asset_id}\")\n        resp.raise_for_status()\n        return resp.json()\n\n    def get_communication_map(self, site_id: str):\n        \"\"\"Retrieve communication relationships between assets.\"\"\"\n        resp = self.session.get(\n            f\"{self.base_url}\u002Fapi\u002Fv1\u002Fsites\u002F{site_id}\u002Fcommunications\"\n        )\n        resp.raise_for_status()\n        return resp.json().get(\"communications\", [])\n\n    def get_vulnerabilities(self, site_id: Optional[str] = None, severity: str = \"critical\"):\n        \"\"\"Retrieve vulnerabilities for discovered assets.\"\"\"\n        params = {\"min_severity\": severity}\n        if site_id:\n            params[\"site_id\"] = site_id\n\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fvulnerabilities\", params=params)\n        resp.raise_for_status()\n        return resp.json().get(\"vulnerabilities\", [])\n\n    def export_asset_inventory(self, output_file: str, site_id: Optional[str] = None):\n        \"\"\"Export full asset inventory to CSV for compliance reporting.\"\"\"\n        assets = self.get_assets(site_id=site_id)\n        if not assets:\n            print(\"[!] No assets found\")\n            return\n\n        fieldnames = [\n            \"asset_id\", \"name\", \"type\", \"vendor\", \"model\", \"firmware_version\",\n            \"ip_address\", \"mac_address\", \"serial_number\", \"purdue_level\",\n            \"zone\", \"protocol\", \"first_seen\", \"last_seen\", \"risk_score\",\n            \"cve_count\", \"site_name\",\n        ]\n\n        with open(output_file, \"w\", newline=\"\") as f:\n            writer = csv.DictWriter(f, fieldnames=fieldnames)\n            writer.writeheader()\n            for asset in assets:\n                writer.writerow({\n                    \"asset_id\": asset.get(\"id\", \"\"),\n                    \"name\": asset.get(\"name\", \"Unknown\"),\n                    \"type\": asset.get(\"type\", \"\"),\n                    \"vendor\": asset.get(\"vendor\", \"\"),\n                    \"model\": asset.get(\"model\", \"\"),\n                    \"firmware_version\": asset.get(\"firmware_version\", \"\"),\n                    \"ip_address\": asset.get(\"ip_address\", \"\"),\n                    \"mac_address\": asset.get(\"mac_address\", \"\"),\n                    \"serial_number\": asset.get(\"serial_number\", \"\"),\n                    \"purdue_level\": asset.get(\"purdue_level\", \"\"),\n                    \"zone\": asset.get(\"zone\", \"\"),\n                    \"protocol\": \", \".join(asset.get(\"protocols\", [])),\n                    \"first_seen\": asset.get(\"first_seen\", \"\"),\n                    \"last_seen\": asset.get(\"last_seen\", \"\"),\n                    \"risk_score\": asset.get(\"risk_score\", 0),\n                    \"cve_count\": asset.get(\"cve_count\", 0),\n                    \"site_name\": asset.get(\"site_name\", \"\"),\n                })\n\n        print(f\"[+] Exported {len(assets)} assets to {output_file}\")\n\n    def generate_purdue_level_report(self, site_id: str):\n        \"\"\"Generate asset distribution report by Purdue Model level.\"\"\"\n        assets = self.get_assets(site_id=site_id)\n        levels = {0: [], 1: [], 2: [], 3: [], 3.5: [], 4: [], 5: []}\n\n        for asset in assets:\n            level = asset.get(\"purdue_level\", -1)\n            if level in levels:\n                levels[level].append(asset)\n\n        print(f\"\\n{'='*65}\")\n        print(\"PURDUE MODEL ASSET DISTRIBUTION REPORT\")\n        print(f\"{'='*65}\")\n        print(f\"Site: {site_id}\")\n        print(f\"Total Assets Discovered: {len(assets)}\")\n        print(f\"Report Generated: {datetime.now().isoformat()}\")\n        print(f\"{'-'*65}\")\n\n        level_names = {\n            0: \"Level 0 - Physical Process (Sensors\u002FActuators)\",\n            1: \"Level 1 - Basic Control (PLCs\u002FRTUs)\",\n            2: \"Level 2 - Supervisory Control (HMI\u002FSCADA)\",\n            3: \"Level 3 - Site Operations (Historian\u002FMES)\",\n            3.5: \"Level 3.5 - IT\u002FOT DMZ\",\n            4: \"Level 4 - Enterprise IT\",\n            5: \"Level 5 - Enterprise Network\u002FInternet\",\n        }\n\n        for level, name in level_names.items():\n            device_list = levels.get(level, [])\n            print(f\"\\n  {name}\")\n            print(f\"    Count: {len(device_list)}\")\n            if device_list:\n                vendors = set(a.get(\"vendor\", \"Unknown\") for a in device_list)\n                types = set(a.get(\"type\", \"Unknown\") for a in device_list)\n                print(f\"    Vendors: {', '.join(vendors)}\")\n                print(f\"    Types: {', '.join(types)}\")\n                high_risk = [a for a in device_list if a.get(\"risk_score\", 0) >= 7]\n                if high_risk:\n                    print(f\"    High-Risk Assets: {len(high_risk)}\")\n                    for a in high_risk[:5]:\n                        print(f\"      - {a['name']} (Risk: {a.get('risk_score')})\")\n\n\nif __name__ == \"__main__\":\n    discovery = ClarotyAssetDiscovery(\n        base_url=\"https:\u002F\u002Fyour-claroty-instance.claroty.cloud\",\n        api_token=\"your-api-token-here\",\n        verify_ssl=True,\n    )\n\n    print(\"[*] Fetching sites...\")\n    sites = discovery.get_sites()\n    for site in sites:\n        print(f\"  Site: {site['name']} (ID: {site['id']})\")\n\n    if sites:\n        site_id = sites[0][\"id\"]\n        print(f\"\\n[*] Generating Purdue level report for {sites[0]['name']}...\")\n        discovery.generate_purdue_level_report(site_id)\n\n        print(f\"\\n[*] Exporting asset inventory...\")\n        discovery.export_asset_inventory(\n            f\"asset_inventory_{datetime.now().strftime('%Y%m%d')}.csv\",\n            site_id=site_id,\n        )\n\n        print(f\"\\n[*] Checking critical vulnerabilities...\")\n        vulns = discovery.get_vulnerabilities(site_id=site_id, severity=\"critical\")\n        print(f\"  Critical vulnerabilities: {len(vulns)}\")\n        for v in vulns[:10]:\n            print(f\"    - {v.get('cve_id')}: {v.get('description', '')[:80]}\")\n```\n\n### Step 2: Configure Active Discovery with Claroty Edge\n\nClaroty Edge performs safe, targeted queries of OT devices using native industrial protocols (not IT scanning) to extract detailed asset information from devices that passive monitoring alone cannot fully identify.\n\n```yaml\n# Claroty Edge Active Discovery Configuration\n# Safe active queries using native industrial protocols\n\nedge_configuration:\n  deployment_mode: \"on-premises\"\n  collection_schedule:\n    frequency: \"weekly\"\n    maintenance_window: \"Sunday 02:00-06:00\"\n    max_concurrent_queries: 5\n\n  protocol_queries:\n    siemens_s7:\n      enabled: true\n      target_subnets: [\"10.10.1.0\u002F24\", \"10.10.2.0\u002F24\"]\n      ports: [102]\n      query_type: \"SZL_read\"\n      information_collected:\n        - \"Module identification\"\n        - \"Firmware version\"\n        - \"Hardware configuration\"\n        - \"Protection level\"\n\n    rockwell_cip:\n      enabled: true\n      target_subnets: [\"10.10.3.0\u002F24\"]\n      ports: [44818]\n      query_type: \"CIP_identity\"\n      information_collected:\n        - \"Product name and revision\"\n        - \"Serial number\"\n        - \"Device type\"\n        - \"Vendor ID\"\n\n    modbus:\n      enabled: true\n      target_subnets: [\"10.10.4.0\u002F24\"]\n      ports: [502]\n      query_type: \"read_device_identification\"\n      function_code: 43\n      information_collected:\n        - \"Vendor name\"\n        - \"Product code\"\n        - \"Firmware revision\"\n\n    bacnet:\n      enabled: true\n      target_subnets: [\"10.10.5.0\u002F24\"]\n      ports: [47808]\n      query_type: \"who_is\"\n      information_collected:\n        - \"Device name\"\n        - \"Vendor identifier\"\n        - \"Model name\"\n        - \"Application software version\"\n\n  safety_controls:\n    excluded_subnets: [\"10.10.100.0\u002F24\"]  # SIS network - never active scan\n    rate_limiting: true\n    max_packets_per_second: 10\n    timeout_seconds: 5\n    retry_count: 1\n    abort_on_device_error: true\n```\n\n### Step 3: Validate and Enrich Asset Data\n\nCross-reference discovered assets against known inventories and enrich with vulnerability data.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Asset Validation and Enrichment Tool.\n\nCross-references Claroty discovery results against existing CMDB\nand enriches with NVD vulnerability data.\n\"\"\"\n\nimport json\nimport csv\nimport sys\nfrom datetime import datetime\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass AssetValidator:\n    \"\"\"Validates and enriches OT asset inventory.\"\"\"\n\n    def __init__(self, inventory_file: str):\n        self.discovered_assets = []\n        self.load_inventory(inventory_file)\n        self.discrepancies = []\n\n    def load_inventory(self, filepath: str):\n        \"\"\"Load Claroty-discovered asset inventory.\"\"\"\n        with open(filepath, \"r\") as f:\n            reader = csv.DictReader(f)\n            self.discovered_assets = list(reader)\n        print(f\"[*] Loaded {len(self.discovered_assets)} discovered assets\")\n\n    def compare_with_cmdb(self, cmdb_file: str):\n        \"\"\"Compare discovered assets against CMDB records.\"\"\"\n        with open(cmdb_file, \"r\") as f:\n            cmdb_assets = {row[\"ip_address\"]: row for row in csv.DictReader(f)}\n\n        discovered_ips = {a[\"ip_address\"] for a in self.discovered_assets if a[\"ip_address\"]}\n        cmdb_ips = set(cmdb_assets.keys())\n\n        shadow_devices = discovered_ips - cmdb_ips\n        missing_devices = cmdb_ips - discovered_ips\n\n        print(f\"\\n{'='*60}\")\n        print(\"ASSET INVENTORY VALIDATION REPORT\")\n        print(f\"{'='*60}\")\n        print(f\"Discovered assets: {len(discovered_ips)}\")\n        print(f\"CMDB records: {len(cmdb_ips)}\")\n        print(f\"Shadow OT devices (not in CMDB): {len(shadow_devices)}\")\n        print(f\"Missing devices (in CMDB, not seen): {len(missing_devices)}\")\n\n        if shadow_devices:\n            print(f\"\\n  SHADOW DEVICES (Unauthorized\u002FUndocumented):\")\n            for ip in sorted(shadow_devices):\n                asset = next((a for a in self.discovered_assets if a[\"ip_address\"] == ip), {})\n                print(f\"    - {ip} | {asset.get('vendor', 'Unknown')} {asset.get('model', '')} | Type: {asset.get('type', 'Unknown')}\")\n                self.discrepancies.append({\n                    \"type\": \"SHADOW_DEVICE\",\n                    \"severity\": \"HIGH\",\n                    \"ip\": ip,\n                    \"detail\": f\"Undocumented {asset.get('type', 'device')} from {asset.get('vendor', 'unknown vendor')}\",\n                })\n\n        if missing_devices:\n            print(f\"\\n  MISSING DEVICES (Expected but not seen):\")\n            for ip in sorted(missing_devices):\n                cmdb = cmdb_assets[ip]\n                print(f\"    - {ip} | {cmdb.get('name', 'Unknown')} | Last CMDB update: {cmdb.get('last_updated', 'N\u002FA')}\")\n                self.discrepancies.append({\n                    \"type\": \"MISSING_DEVICE\",\n                    \"severity\": \"MEDIUM\",\n                    \"ip\": ip,\n                    \"detail\": f\"CMDB asset {cmdb.get('name', ip)} not seen on network\",\n                })\n\n    def check_firmware_vulnerabilities(self, asset):\n        \"\"\"Check NVD for known vulnerabilities matching asset firmware.\"\"\"\n        vendor = asset.get(\"vendor\", \"\").lower()\n        model = asset.get(\"model\", \"\").lower()\n        firmware = asset.get(\"firmware_version\", \"\")\n\n        if not vendor or not model:\n            return []\n\n        search_term = f\"{vendor} {model}\"\n        try:\n            resp = requests.get(\n                \"https:\u002F\u002Fservices.nvd.nist.gov\u002Frest\u002Fjson\u002Fcves\u002F2.0\",\n                params={\"keywordSearch\": search_term, \"resultsPerPage\": 10},\n                timeout=15,\n            )\n            if resp.status_code == 200:\n                data = resp.json()\n                return data.get(\"vulnerabilities\", [])\n        except requests.RequestException:\n            pass\n        return []\n\n    def generate_risk_summary(self):\n        \"\"\"Generate risk-prioritized summary of findings.\"\"\"\n        print(f\"\\n{'='*60}\")\n        print(\"RISK SUMMARY\")\n        print(f\"{'='*60}\")\n\n        high_risk = [a for a in self.discovered_assets if float(a.get(\"risk_score\", 0)) >= 7]\n        end_of_life = [a for a in self.discovered_assets if a.get(\"firmware_version\", \"\").startswith(\"v1.\")]\n        no_encryption = [a for a in self.discovered_assets if \"modbus\" in a.get(\"protocol\", \"\").lower()]\n\n        print(f\"  High-risk assets (score >= 7): {len(high_risk)}\")\n        print(f\"  Potentially end-of-life firmware: {len(end_of_life)}\")\n        print(f\"  Assets using unencrypted protocols: {len(no_encryption)}\")\n        print(f\"  Inventory discrepancies: {len(self.discrepancies)}\")\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python validate_assets.py \u003Cclaroty_export.csv> [cmdb_export.csv]\")\n        sys.exit(1)\n\n    validator = AssetValidator(sys.argv[1])\n    if len(sys.argv) >= 3:\n        validator.compare_with_cmdb(sys.argv[2])\n    validator.generate_risk_summary()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Passive Monitoring | Observing mirrored network traffic via SPAN\u002FTAP without injecting packets, safe for all OT devices |\n| Active Querying | Sending native protocol requests to extract detailed device information; requires careful scheduling |\n| Claroty Edge | Claroty's safe active discovery collector that uses native industrial protocols rather than IT scanning |\n| Purdue Level | Hierarchical classification of industrial network assets from Level 0 (physical process) to Level 5 (enterprise) |\n| Shadow OT Device | Asset connected to the OT network that is not documented in the asset management system |\n| xDome | Claroty's SaaS-based cyber-physical systems protection platform providing visibility, risk management, and threat detection |\n\n## Common Scenarios\n\n### Scenario: Brownfield Factory Asset Discovery\n\n**Context**: A manufacturing plant with 20 years of equipment additions needs a complete OT asset inventory for an IEC 62443 risk assessment. No accurate asset records exist.\n\n**Approach**:\n1. Deploy Claroty sensors on SPAN ports at each major network segment (control, supervisory, DMZ)\n2. Allow passive monitoring for 2-4 weeks to capture all regular communication patterns\n3. Schedule Claroty Edge active queries during a planned maintenance window\n4. Export discovered inventory and categorize assets by Purdue level, vendor, and criticality\n5. Cross-reference against any existing documentation (P&ID diagrams, network drawings)\n6. Identify shadow devices and initiate a review process with plant operations\n7. Feed validated inventory into IEC 62443 zone and conduit risk assessment\n\n**Pitfalls**: Do not rush active discovery before passive monitoring has captured baseline traffic patterns. Never use IT vulnerability scanners (Nessus active scans) directly against PLCs or RTUs -- this can crash legacy controllers. Always exclude Safety Instrumented Systems (SIS) from active queries.\n\n## Output Format\n\n```\nICS ASSET DISCOVERY REPORT\n============================\nDate: YYYY-MM-DD\nPlatform: Claroty xDome\nSite: [Site Name]\n\nDISCOVERY SUMMARY:\n  Total Assets Discovered: [count]\n  New Assets (not in CMDB): [count]\n  High-Risk Assets: [count]\n\nPURDUE LEVEL DISTRIBUTION:\n  Level 0 (Process): [count] assets\n  Level 1 (Control): [count] assets\n  Level 2 (Supervisory): [count] assets\n  Level 3 (Operations): [count] assets\n  Level 3.5 (DMZ): [count] assets\n  Level 4-5 (Enterprise): [count] assets\n\nTOP VENDORS:\n  1. [Vendor] - [count] devices\n  2. [Vendor] - [count] devices\n\nCRITICAL FINDINGS:\n  - [Shadow device description]\n  - [End-of-life firmware finding]\n  - [Unencrypted protocol concern]\n```\n","# Performing ICS Asset Discovery with Claroty\n\n## When to Use\n\n- When gaining initial visibility into an OT environment with unknown or poorly documented assets\n- When preparing for an IEC 62443 risk assessment requiring a complete asset inventory\n- When onboarding Claroty xDome into a brownfield industrial environment\n- When validating existing asset inventory against actual network communications\n- When identifying shadow OT devices or unauthorized connections in the control network\n\n**Do not use** for IT-only asset discovery (use tools like Nessus or Qualys), for active scanning of sensitive PLC networks without vendor approval, or for environments where Claroty is not the deployed platform (see implementing-ot-network-traffic-analysis-with-nozomi).\n\n## Prerequisites\n\n- Claroty xDome SaaS subscription or on-premises deployment\n- Network TAP or SPAN port configured at OT network boundaries (Levels 1-3 of Purdue Model)\n- Claroty Edge collector deployed for safe active querying of hard-to-reach network segments\n- Integration credentials for CMDB tools (ServiceNow, BMC) if used\n- Network architecture diagram showing VLANs, switches, and firewall zones\n\n## Workflow\n\n### Step 1: Configure Passive Network Monitoring\n\nDeploy Claroty sensors on SPAN ports to passively observe all OT network traffic without impacting operations.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Claroty xDome Asset Discovery Configuration and Reporting Tool.\n\nAutomates the configuration of passive monitoring sensors and generates\nasset inventory reports from Claroty xDome API.\n\"\"\"\n\nimport json\nimport sys\nimport csv\nfrom datetime import datetime\nfrom typing import Optional\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass ClarotyAssetDiscovery:\n    \"\"\"Interface with Claroty xDome API for ICS asset discovery.\"\"\"\n\n    def __init__(self, base_url: str, api_token: str, verify_ssl: bool = True):\n        self.base_url = base_url.rstrip(\"\u002F\")\n        self.session = requests.Session()\n        self.session.headers.update({\n            \"Authorization\": f\"Bearer {api_token}\",\n            \"Content-Type\": \"application\u002Fjson\",\n            \"Accept\": \"application\u002Fjson\",\n        })\n        self.session.verify = verify_ssl\n\n    def get_sites(self):\n        \"\"\"Retrieve all monitored sites.\"\"\"\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fsites\")\n        resp.raise_for_status()\n        return resp.json().get(\"sites\", [])\n\n    def get_assets(self, site_id: Optional[str] = None, asset_type: Optional[str] = None):\n        \"\"\"Retrieve discovered assets with optional filtering.\n\n        asset_type: PLC, RTU, HMI, DCS, Engineering_Workstation,\n                    Historian, Network_Device, IO_Module, Safety_Controller\n        \"\"\"\n        params = {}\n        if site_id:\n            params[\"site_id\"] = site_id\n        if asset_type:\n            params[\"type\"] = asset_type\n\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fassets\", params=params)\n        resp.raise_for_status()\n        return resp.json().get(\"assets\", [])\n\n    def get_asset_detail(self, asset_id: str):\n        \"\"\"Retrieve detailed asset information including firmware, modules, and CVEs.\"\"\"\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fassets\u002F{asset_id}\")\n        resp.raise_for_status()\n        return resp.json()\n\n    def get_communication_map(self, site_id: str):\n        \"\"\"Retrieve communication relationships between assets.\"\"\"\n        resp = self.session.get(\n            f\"{self.base_url}\u002Fapi\u002Fv1\u002Fsites\u002F{site_id}\u002Fcommunications\"\n        )\n        resp.raise_for_status()\n        return resp.json().get(\"communications\", [])\n\n    def get_vulnerabilities(self, site_id: Optional[str] = None, severity: str = \"critical\"):\n        \"\"\"Retrieve vulnerabilities for discovered assets.\"\"\"\n        params = {\"min_severity\": severity}\n        if site_id:\n            params[\"site_id\"] = site_id\n\n        resp = self.session.get(f\"{self.base_url}\u002Fapi\u002Fv1\u002Fvulnerabilities\", params=params)\n        resp.raise_for_status()\n        return resp.json().get(\"vulnerabilities\", [])\n\n    def export_asset_inventory(self, output_file: str, site_id: Optional[str] = None):\n        \"\"\"Export full asset inventory to CSV for compliance reporting.\"\"\"\n        assets = self.get_assets(site_id=site_id)\n        if not assets:\n            print(\"[!] No assets found\")\n            return\n\n        fieldnames = [\n            \"asset_id\", \"name\", \"type\", \"vendor\", \"model\", \"firmware_version\",\n            \"ip_address\", \"mac_address\", \"serial_number\", \"purdue_level\",\n            \"zone\", \"protocol\", \"first_seen\", \"last_seen\", \"risk_score\",\n            \"cve_count\", \"site_name\",\n        ]\n\n        with open(output_file, \"w\", newline=\"\") as f:\n            writer = csv.DictWriter(f, fieldnames=fieldnames)\n            writer.writeheader()\n            for asset in assets:\n                writer.writerow({\n                    \"asset_id\": asset.get(\"id\", \"\"),\n                    \"name\": asset.get(\"name\", \"Unknown\"),\n                    \"type\": asset.get(\"type\", \"\"),\n                    \"vendor\": asset.get(\"vendor\", \"\"),\n                    \"model\": asset.get(\"model\", \"\"),\n                    \"firmware_version\": asset.get(\"firmware_version\", \"\"),\n                    \"ip_address\": asset.get(\"ip_address\", \"\"),\n                    \"mac_address\": asset.get(\"mac_address\", \"\"),\n                    \"serial_number\": asset.get(\"serial_number\", \"\"),\n                    \"purdue_level\": asset.get(\"purdue_level\", \"\"),\n                    \"zone\": asset.get(\"zone\", \"\"),\n                    \"protocol\": \", \".join(asset.get(\"protocols\", [])),\n                    \"first_seen\": asset.get(\"first_seen\", \"\"),\n                    \"last_seen\": asset.get(\"last_seen\", \"\"),\n                    \"risk_score\": asset.get(\"risk_score\", 0),\n                    \"cve_count\": asset.get(\"cve_count\", 0),\n                    \"site_name\": asset.get(\"site_name\", \"\"),\n                })\n\n        print(f\"[+] Exported {len(assets)} assets to {output_file}\")\n\n    def generate_purdue_level_report(self, site_id: str):\n        \"\"\"Generate asset distribution report by Purdue Model level.\"\"\"\n        assets = self.get_assets(site_id=site_id)\n        levels = {0: [], 1: [], 2: [], 3: [], 3.5: [], 4: [], 5: []}\n\n        for asset in assets:\n            level = asset.get(\"purdue_level\", -1)\n            if level in levels:\n                levels[level].append(asset)\n\n        print(f\"\\n{'='*65}\")\n        print(\"PURDUE MODEL ASSET DISTRIBUTION REPORT\")\n        print(f\"{'='*65}\")\n        print(f\"Site: {site_id}\")\n        print(f\"Total Assets Discovered: {len(assets)}\")\n        print(f\"Report Generated: {datetime.now().isoformat()}\")\n        print(f\"{'-'*65}\")\n\n        level_names = {\n            0: \"Level 0 - Physical Process (Sensors\u002FActuators)\",\n            1: \"Level 1 - Basic Control (PLCs\u002FRTUs)\",\n            2: \"Level 2 - Supervisory Control (HMI\u002FSCADA)\",\n            3: \"Level 3 - Site Operations (Historian\u002FMES)\",\n            3.5: \"Level 3.5 - IT\u002FOT DMZ\",\n            4: \"Level 4 - Enterprise IT\",\n            5: \"Level 5 - Enterprise Network\u002FInternet\",\n        }\n\n        for level, name in level_names.items():\n            device_list = levels.get(level, [])\n            print(f\"\\n  {name}\")\n            print(f\"    Count: {len(device_list)}\")\n            if device_list:\n                vendors = set(a.get(\"vendor\", \"Unknown\") for a in device_list)\n                types = set(a.get(\"type\", \"Unknown\") for a in device_list)\n                print(f\"    Vendors: {', '.join(vendors)}\")\n                print(f\"    Types: {', '.join(types)}\")\n                high_risk = [a for a in device_list if a.get(\"risk_score\", 0) >= 7]\n                if high_risk:\n                    print(f\"    High-Risk Assets: {len(high_risk)}\")\n                    for a in high_risk[:5]:\n                        print(f\"      - {a['name']} (Risk: {a.get('risk_score')})\")\n\n\nif __name__ == \"__main__\":\n    discovery = ClarotyAssetDiscovery(\n        base_url=\"https:\u002F\u002Fyour-claroty-instance.claroty.cloud\",\n        api_token=\"your-api-token-here\",\n        verify_ssl=True,\n    )\n\n    print(\"[*] Fetching sites...\")\n    sites = discovery.get_sites()\n    for site in sites:\n        print(f\"  Site: {site['name']} (ID: {site['id']})\")\n\n    if sites:\n        site_id = sites[0][\"id\"]\n        print(f\"\\n[*] Generating Purdue level report for {sites[0]['name']}...\")\n        discovery.generate_purdue_level_report(site_id)\n\n        print(f\"\\n[*] Exporting asset inventory...\")\n        discovery.export_asset_inventory(\n            f\"asset_inventory_{datetime.now().strftime('%Y%m%d')}.csv\",\n            site_id=site_id,\n        )\n\n        print(f\"\\n[*] Checking critical vulnerabilities...\")\n        vulns = discovery.get_vulnerabilities(site_id=site_id, severity=\"critical\")\n        print(f\"  Critical vulnerabilities: {len(vulns)}\")\n        for v in vulns[:10]:\n            print(f\"    - {v.get('cve_id')}: {v.get('description', '')[:80]}\")\n```\n\n### Step 2: Configure Active Discovery with Claroty Edge\n\nClaroty Edge performs safe, targeted queries of OT devices using native industrial protocols (not IT scanning) to extract detailed asset information from devices that passive monitoring alone cannot fully identify.\n\n```yaml\n# Claroty Edge Active Discovery Configuration\n# Safe active queries using native industrial protocols\n\nedge_configuration:\n  deployment_mode: \"on-premises\"\n  collection_schedule:\n    frequency: \"weekly\"\n    maintenance_window: \"Sunday 02:00-06:00\"\n    max_concurrent_queries: 5\n\n  protocol_queries:\n    siemens_s7:\n      enabled: true\n      target_subnets: [\"10.10.1.0\u002F24\", \"10.10.2.0\u002F24\"]\n      ports: [102]\n      query_type: \"SZL_read\"\n      information_collected:\n        - \"Module identification\"\n        - \"Firmware version\"\n        - \"Hardware configuration\"\n        - \"Protection level\"\n\n    rockwell_cip:\n      enabled: true\n      target_subnets: [\"10.10.3.0\u002F24\"]\n      ports: [44818]\n      query_type: \"CIP_identity\"\n      information_collected:\n        - \"Product name and revision\"\n        - \"Serial number\"\n        - \"Device type\"\n        - \"Vendor ID\"\n\n    modbus:\n      enabled: true\n      target_subnets: [\"10.10.4.0\u002F24\"]\n      ports: [502]\n      query_type: \"read_device_identification\"\n      function_code: 43\n      information_collected:\n        - \"Vendor name\"\n        - \"Product code\"\n        - \"Firmware revision\"\n\n    bacnet:\n      enabled: true\n      target_subnets: [\"10.10.5.0\u002F24\"]\n      ports: [47808]\n      query_type: \"who_is\"\n      information_collected:\n        - \"Device name\"\n        - \"Vendor identifier\"\n        - \"Model name\"\n        - \"Application software version\"\n\n  safety_controls:\n    excluded_subnets: [\"10.10.100.0\u002F24\"]  # SIS network - never active scan\n    rate_limiting: true\n    max_packets_per_second: 10\n    timeout_seconds: 5\n    retry_count: 1\n    abort_on_device_error: true\n```\n\n### Step 3: Validate and Enrich Asset Data\n\nCross-reference discovered assets against known inventories and enrich with vulnerability data.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Asset Validation and Enrichment Tool.\n\nCross-references Claroty discovery results against existing CMDB\nand enriches with NVD vulnerability data.\n\"\"\"\n\nimport json\nimport csv\nimport sys\nfrom datetime import datetime\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass AssetValidator:\n    \"\"\"Validates and enriches OT asset inventory.\"\"\"\n\n    def __init__(self, inventory_file: str):\n        self.discovered_assets = []\n        self.load_inventory(inventory_file)\n        self.discrepancies = []\n\n    def load_inventory(self, filepath: str):\n        \"\"\"Load Claroty-discovered asset inventory.\"\"\"\n        with open(filepath, \"r\") as f:\n            reader = csv.DictReader(f)\n            self.discovered_assets = list(reader)\n        print(f\"[*] Loaded {len(self.discovered_assets)} discovered assets\")\n\n    def compare_with_cmdb(self, cmdb_file: str):\n        \"\"\"Compare discovered assets against CMDB records.\"\"\"\n        with open(cmdb_file, \"r\") as f:\n            cmdb_assets = {row[\"ip_address\"]: row for row in csv.DictReader(f)}\n\n        discovered_ips = {a[\"ip_address\"] for a in self.discovered_assets if a[\"ip_address\"]}\n        cmdb_ips = set(cmdb_assets.keys())\n\n        shadow_devices = discovered_ips - cmdb_ips\n        missing_devices = cmdb_ips - discovered_ips\n\n        print(f\"\\n{'='*60}\")\n        print(\"ASSET INVENTORY VALIDATION REPORT\")\n        print(f\"{'='*60}\")\n        print(f\"Discovered assets: {len(discovered_ips)}\")\n        print(f\"CMDB records: {len(cmdb_ips)}\")\n        print(f\"Shadow OT devices (not in CMDB): {len(shadow_devices)}\")\n        print(f\"Missing devices (in CMDB, not seen): {len(missing_devices)}\")\n\n        if shadow_devices:\n            print(f\"\\n  SHADOW DEVICES (Unauthorized\u002FUndocumented):\")\n            for ip in sorted(shadow_devices):\n                asset = next((a for a in self.discovered_assets if a[\"ip_address\"] == ip), {})\n                print(f\"    - {ip} | {asset.get('vendor', 'Unknown')} {asset.get('model', '')} | Type: {asset.get('type', 'Unknown')}\")\n                self.discrepancies.append({\n                    \"type\": \"SHADOW_DEVICE\",\n                    \"severity\": \"HIGH\",\n                    \"ip\": ip,\n                    \"detail\": f\"Undocumented {asset.get('type', 'device')} from {asset.get('vendor', 'unknown vendor')}\",\n                })\n\n        if missing_devices:\n            print(f\"\\n  MISSING DEVICES (Expected but not seen):\")\n            for ip in sorted(missing_devices):\n                cmdb = cmdb_assets[ip]\n                print(f\"    - {ip} | {cmdb.get('name', 'Unknown')} | Last CMDB update: {cmdb.get('last_updated', 'N\u002FA')}\")\n                self.discrepancies.append({\n                    \"type\": \"MISSING_DEVICE\",\n                    \"severity\": \"MEDIUM\",\n                    \"ip\": ip,\n                    \"detail\": f\"CMDB asset {cmdb.get('name', ip)} not seen on network\",\n                })\n\n    def check_firmware_vulnerabilities(self, asset):\n        \"\"\"Check NVD for known vulnerabilities matching asset firmware.\"\"\"\n        vendor = asset.get(\"vendor\", \"\").lower()\n        model = asset.get(\"model\", \"\").lower()\n        firmware = asset.get(\"firmware_version\", \"\")\n\n        if not vendor or not model:\n            return []\n\n        search_term = f\"{vendor} {model}\"\n        try:\n            resp = requests.get(\n                \"https:\u002F\u002Fservices.nvd.nist.gov\u002Frest\u002Fjson\u002Fcves\u002F2.0\",\n                params={\"keywordSearch\": search_term, \"resultsPerPage\": 10},\n                timeout=15,\n            )\n            if resp.status_code == 200:\n                data = resp.json()\n                return data.get(\"vulnerabilities\", [])\n        except requests.RequestException:\n            pass\n        return []\n\n    def generate_risk_summary(self):\n        \"\"\"Generate risk-prioritized summary of findings.\"\"\"\n        print(f\"\\n{'='*60}\")\n        print(\"RISK SUMMARY\")\n        print(f\"{'='*60}\")\n\n        high_risk = [a for a in self.discovered_assets if float(a.get(\"risk_score\", 0)) >= 7]\n        end_of_life = [a for a in self.discovered_assets if a.get(\"firmware_version\", \"\").startswith(\"v1.\")]\n        no_encryption = [a for a in self.discovered_assets if \"modbus\" in a.get(\"protocol\", \"\").lower()]\n\n        print(f\"  High-risk assets (score >= 7): {len(high_risk)}\")\n        print(f\"  Potentially end-of-life firmware: {len(end_of_life)}\")\n        print(f\"  Assets using unencrypted protocols: {len(no_encryption)}\")\n        print(f\"  Inventory discrepancies: {len(self.discrepancies)}\")\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python validate_assets.py \u003Cclaroty_export.csv> [cmdb_export.csv]\")\n        sys.exit(1)\n\n    validator = AssetValidator(sys.argv[1])\n    if len(sys.argv) >= 3:\n        validator.compare_with_cmdb(sys.argv[2])\n    validator.generate_risk_summary()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Passive Monitoring | Observing mirrored network traffic via SPAN\u002FTAP without injecting packets, safe for all OT devices |\n| Active Querying | Sending native protocol requests to extract detailed device information; requires careful scheduling |\n| Claroty Edge | Claroty's safe active discovery collector that uses native industrial protocols rather than IT scanning |\n| Purdue Level | Hierarchical classification of industrial network assets from Level 0 (physical process) to Level 5 (enterprise) |\n| Shadow OT Device | Asset connected to the OT network that is not documented in the asset management system |\n| xDome | Claroty's SaaS-based cyber-physical systems protection platform providing visibility, risk management, and threat detection |\n\n## Common Scenarios\n\n### Scenario: Brownfield Factory Asset Discovery\n\n**Context**: A manufacturing plant with 20 years of equipment additions needs a complete OT asset inventory for an IEC 62443 risk assessment. No accurate asset records exist.\n\n**Approach**:\n1. Deploy Claroty sensors on SPAN ports at each major network segment (control, supervisory, DMZ)\n2. Allow passive monitoring for 2-4 weeks to capture all regular communication patterns\n3. Schedule Claroty Edge active queries during a planned maintenance window\n4. Export discovered inventory and categorize assets by Purdue level, vendor, and criticality\n5. Cross-reference against any existing documentation (P&ID diagrams, network drawings)\n6. Identify shadow devices and initiate a review process with plant operations\n7. Feed validated inventory into IEC 62443 zone and conduit risk assessment\n\n**Pitfalls**: Do not rush active discovery before passive monitoring has captured baseline traffic patterns. Never use IT vulnerability scanners (Nessus active scans) directly against PLCs or RTUs -- this can crash legacy controllers. Always exclude Safety Instrumented Systems (SIS) from active queries.\n\n## Output Format\n\n```\nICS ASSET DISCOVERY REPORT\n============================\nDate: YYYY-MM-DD\nPlatform: Claroty xDome\nSite: [Site Name]\n\nDISCOVERY SUMMARY:\n  Total Assets Discovered: [count]\n  New Assets (not in CMDB): [count]\n  High-Risk Assets: [count]\n\nPURDUE LEVEL DISTRIBUTION:\n  Level 0 (Process): [count] assets\n  Level 1 (Control): [count] assets\n  Level 2 (Supervisory): [count] assets\n  Level 3 (Operations): [count] assets\n  Level 3.5 (DMZ): [count] assets\n  Level 4-5 (Enterprise): [count] assets\n\nTOP VENDORS:\n  1. [Vendor] - [count] devices\n  2. [Vendor] - [count] devices\n\nCRITICAL FINDINGS:\n  - [Shadow device description]\n  - [End-of-life firmware finding]\n  - [Unencrypted protocol concern]\n```\n",{"name":5,"tags":56,"author":57,"domain":50,"license":16,"version":58,"nist_csf":59,"subdomain":64,"description":65,"nist_ai_rmf":66,"mitre_attack":70,"atlas_techniques":76},[44,32,39,36,35,43,34,33],"mahipal","1.0",[60,61,62,63],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security","Performs ICS\u002FOT asset discovery with Claroty xDome, combining passive monitoring and Claroty Edge active queries to inventory PLCs, RTUs, HMIs, and network infrastructure across Purdue Model levels. Use when gaining visibility into an undocumented OT environment, preparing an IEC 62443 asset inventory, or onboarding Claroty xDome; not for IT-only discovery.\n",[67,68,69],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[71,72,73,74,75],"T1078","T1190","T1059","T0816","T0836",[77,78,79],"AML.T0070","AML.T0066","AML.T0082","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fperforming-ics-asset-discovery-with-claroty",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":91,"prompt":101,"zipAvailable":102},[92,95,98],{"tool":93,"command":94},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-ics-asset-discovery-with-claroty",{"tool":96,"command":97},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-ics-asset-discovery-with-claroty",{"tool":99,"command":100},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill performing-ics-asset-discovery-with-claroty","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-ics-asset-discovery-with-claroty\u002FSKILL.md",true,[104,109,115],{"path":105,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-ics-asset-discovery-with-claroty\u002FLICENSE",{"path":110,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fapi-reference.md","REFERENCE","参考文档",1523,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-ics-asset-discovery-with-claroty\u002Freferences\u002Fapi-reference.md",{"path":116,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fagent.py","SCRIPT","脚本",6929,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-ics-asset-discovery-with-claroty\u002Fscripts\u002Fagent.py",[122,152,181,212,243,275],{"skillNo":123,"name":124,"nameZh":125,"description":126,"descriptionZh":127,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":128,"categories":129,"keywords":134,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[130,131],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":132,"categoryName":133,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[135,136,137,138,42,50,139,140,49,141,142,143,144,145,146,147,148,149,150,151],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[160,161],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":162,"categoryName":163,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[165,148,166,167,42,168,50,49,169,170,171,172,173,174,175,176,177,178,179,180],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":182,"name":183,"nameZh":184,"description":185,"descriptionZh":186,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":187,"categories":188,"keywords":195,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[189,192],{"categoryNo":190,"categoryName":191,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":193,"categoryName":194,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[175,196,197,198,199,50,200,201,169,202,203,204,205,206,207,41,208,209,210,211],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":213,"name":214,"nameZh":215,"description":216,"descriptionZh":217,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":218,"categories":219,"keywords":224,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[220,221],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":222,"categoryName":223,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[225,226,227,50,228,229,230,231,232,233,234,235,236,237,238,239,172,240,241,242],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":244,"name":245,"nameZh":246,"description":247,"descriptionZh":248,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":249,"categories":250,"keywords":255,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[251,254],{"categoryNo":252,"categoryName":253,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[256,257,258,50,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":276,"name":277,"nameZh":278,"description":279,"descriptionZh":280,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":281,"categories":282,"keywords":287,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[283,284],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":285,"categoryName":286,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[42,288,50,289,290,291,292,293,294,295,296,41,297,208,298,299,300,301,302,303],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]