Skip to content
Skillpedia
Testing35k · #6079

performing-ics-asset-discovery-with-claroty

Lets your agent discover and inventory industrial control equipment (ICS/OT) in control networks.

What it does

This tool helps discover and list all equipment on an industrial (OT) network using Claroty xDome. It identifies devices like PLCs, RTUs, and HMIs by combining passive monitoring and active queries.

When to use it

  • ✓When you don't know what equipment exists on your industrial network.
  • ✓When preparing an equipment list to comply with security standards like IEC 62443.
  • ✓When starting to use Claroty xDome in an existing industrial environment.

Example of what to ask your AI

“List all industrial automation equipment you found on the network.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ics-asset-discovery-with-claroty/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ics-asset-discovery-with-claroty/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

Claroty xDome is connected to the network to 'listen' to traffic. It can also directly query some devices for more details, thereby creating a complete inventory.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-ics-asset-discovery-with-claroty

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/performing-ics-asset-discovery-with-claroty/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Performing ICS Asset Discovery with Claroty

When to Use

  • When gaining initial visibility into an OT environment with unknown or poorly documented assets
  • When preparing for an IEC 62443 risk assessment requiring a complete asset inventory
  • When onboarding Claroty xDome into a brownfield industrial environment
  • When validating existing asset inventory against actual network communications
  • When identifying shadow OT devices or unauthorized connections in the control network

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

Prerequisites

  • Claroty xDome SaaS subscription or on-premises deployment
  • Network TAP or SPAN port configured at OT network boundaries (Levels 1-3 of Purdue Model)
  • Claroty Edge collector deployed for safe active querying of hard-to-reach network segments
  • Integration credentials for CMDB tools (ServiceNow, BMC) if used
  • Network architecture diagram showing VLANs, switches, and firewall zones

Workflow

Step 1: Configure Passive Network Monitoring

Deploy Claroty sensors on SPAN ports to passively observe all OT network traffic without impacting operations.

#!/usr/bin/env python3
"""Claroty xDome Asset Discovery Configuration and Reporting Tool.

Automates the configuration of passive monitoring sensors and generates
asset inventory reports from Claroty xDome API.
"""

import json
import sys
import csv
from datetime import datetime
from typing import Optional

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


class ClarotyAssetDiscovery:
    """Interface with Claroty xDome API for ICS asset discovery."""

    def __init__(self, base_url: str, api_token: str, verify_ssl: bool = True):
        self.base_url = base_url.rstrip("/")
        self.session = requests.Session()
        self.session.headers.update({
            "Authorization": f"Bearer {api_token}",
            "Content-Type": "application/json",
            "Accept": "application/json",
        })
        self.session.verify = verify_ssl

    def get_sites(self):
        """Retrieve all monitored sites."""
        resp = self.session.get(f"{self.base_url}/api/v1/sites")
        resp.raise_for_status()
        return resp.json().get("sites", [])

    def get_assets(self, site_id: Optional[str] = None, asset_type: Optional[str] = None):
        """Retrieve discovered assets with optional filtering.

        asset_type: PLC, RTU, HMI, DCS, Engineering_Workstation,
                    Historian, Network_Device, IO_Module, Safety_Controller
        """
        params = {}
        if site_id:
            params["site_id"] = site_id
        if asset_type:
            params["type"] = asset_type

        resp = self.session.get(f"{self.base_url}/api/v1/assets", params=params)
        resp.raise_for_status()
        return resp.json().get("assets", [])

    def get_asset_detail(self, asset_id: str):
        """Retrieve detailed asset information including firmware, modules, and CVEs."""
        resp = self.session.get(f"{self.base_url}/api/v1/assets/{asset_id}")
        resp.raise_for_status()
        return resp.json()

    def get_communication_map(self, site_id: str):
        """Retrieve communication relationships between assets."""
        resp = self.session.get(
            f"{self.base_url}/api/v1/sites/{site_id}/communications"
        )
        resp.raise_for_status()
        return resp.json().get("communications", [])

    def get_vulnerabilities(self, site_id: Optional[str] = None, severity: str = "critical"):
        """Retrieve vulnerabilities for discovered assets."""
        params = {"min_severity": severity}
        if site_id:
            params["site_id"] = site_id

        resp = self.session.get(f"{self.base_url}/api/v1/vulnerabilities", params=params)
        resp.raise_for_status()
        return resp.json().get("vulnerabilities", [])

    def export_asset_inventory(self, output_file: str, site_id: Optional[str] = None):
        """Export full asset inventory to CSV for compliance reporting."""
        assets = self.get_assets(site_id=site_id)
        if not assets:
            print("[!] No assets found")
            return

        fieldnames = [

…
FAQ

What are industrial networks (OT)?

These are networks used to control machines and processes in factories and other industrial facilities, different from regular computer networks (IT).

What are PLCs, RTUs, and HMIs?

These are common equipment in industrial networks: PLCs (Programmable Logic Controllers) control machines, RTUs (Remote Terminal Units) collect data from remote locations, and HMIs (Human-Machine Interfaces) are the screens used to operate systems.

Why not use it for IT networks?

This tool is specialized for industrial (OT) equipment. For regular computer networks (IT), other tools are more suitable.

Details

Original description by the author

Performs ICS/OT 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. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#6079
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills