[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B69NE35JR9K82M6V36TY63":3,"skill-same:01M7B69NE35JR9K82M6V36TY63":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":13,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M7B69NE35JR9K82M6V36TY63","detecting-stuxnet-style-attacks",null,"Detects sophisticated cyber-physical attacks that follow the Stuxnet pattern of modifying PLC logic while spoofing sensor readings to hide the manipulation, using PLC logic integrity monitoring (Claroty xDome, Nozomi Guardian) and physics-based process anomaly detection. Use when hunting for IT-to-OT lateral movement or discrepancies between PLC program state and physical process behavior in ICS\u002FSCADA environments.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: detecting-stuxnet-style-attacks\ndescription: 'Detects sophisticated cyber-physical attacks that follow the Stuxnet\n  pattern of modifying PLC logic while spoofing sensor readings to hide the\n  manipulation, using PLC logic integrity monitoring (Claroty xDome, Nozomi\n  Guardian) and physics-based process anomaly detection. Use when hunting for\n  IT-to-OT lateral movement or discrepancies between PLC program state and\n  physical process behavior in ICS\u002FSCADA environments.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- scada\n- industrial-control\n- iec62443\n- stuxnet\n- plc-integrity\n- apt\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- T0853\n- T0831\n- T0809\n- T0807\n---\n\n# Detecting Stuxnet-Style Attacks\n\n## When to Use\n\n- When implementing advanced threat detection for high-value OT targets (nuclear, chemical, critical infrastructure)\n- When building detection for APT-style attacks targeting PLC logic and process manipulation\n- When establishing PLC logic integrity monitoring to detect unauthorized modifications\n- When investigating suspected process anomalies that may indicate cyber-physical attacks\n- When designing defense-in-depth strategies against nation-state level OT threats\n\n**Do not use** for basic OT intrusion detection (see detecting-attacks-on-scada-systems), for malware analysis of Stuxnet samples (see malware reverse engineering skills), or for PLC programming and logic development.\n\n## Prerequisites\n\n- Detailed understanding of the Stuxnet attack chain and MITRE ATT&CK for ICS framework\n- PLC logic backup repository with known-good baseline copies of all PLC programs\n- Engineering workstation monitoring (EDR with OT awareness)\n- Physics-based process models for the controlled physical process\n- Network monitoring for industrial protocol traffic analysis\n\n## Workflow\n\n### Step 1: Understand the Stuxnet Attack Chain\n\nMap detection opportunities across the multi-stage Stuxnet-style attack chain.\n\n```yaml\n# Stuxnet-Style Attack Chain and Detection Points\nattack_chain:\n  stage_1_initial_access:\n    technique: \"USB-borne malware targeting air-gapped network\"\n    mitre_ics: \"T0847 - Replication Through Removable Media\"\n    detection:\n      - \"USB device connection logging on engineering workstations\"\n      - \"Removable media scanning with OT-approved AV\"\n      - \"Application allowlisting blocking unauthorized executables\"\n      - \"Windows autorun disabled via Group Policy\"\n    indicators:\n      - \"New USB device connections to engineering workstations\"\n      - \"Execution of unsigned binaries from removable media\"\n      - \"LNK file exploitation patterns\"\n\n  stage_2_lateral_movement:\n    technique: \"Exploitation of Windows vulnerabilities for network propagation\"\n    mitre_ics: \"T0866 - Exploitation of Remote Services\"\n    detection:\n      - \"Network IDS detecting exploit traffic (MS08-067, MS10-061)\"\n      - \"Unusual SMB traffic between engineering workstations\"\n      - \"Windows event logs showing privilege escalation\"\n      - \"New scheduled tasks or services created\"\n    indicators:\n      - \"Lateral movement between Level 3-4 Windows systems\"\n      - \"WMI\u002FPsExec execution from unexpected sources\"\n      - \"Pass-the-hash authentication patterns\"\n\n  stage_3_ews_compromise:\n    technique: \"Compromise of engineering workstation with PLC programming software\"\n    mitre_ics: \"T0862 - Supply Chain Compromise (Step-7 hooking)\"\n    detection:\n      - \"File integrity monitoring on Step-7\u002FTIA Portal directories\"\n      - \"DLL injection detection in PLC programming software\"\n      - \"Monitoring s7otbxdx.dll for Stuxnet-specific hook\"\n      - \"Unexpected modifications to PLC project files\"\n    indicators:\n      - \"Modified DLLs in Siemens STEP 7 installation directory\"\n      - \"Rootkit hiding files on engineering workstation\"\n      - \"PLC programming software behaving abnormally\"\n\n  stage_4_plc_logic_modification:\n    technique: \"Injecting malicious OB\u002FFC blocks into PLC program\"\n    mitre_ics: \"T0839 - Module Firmware \u002F T0833 - Modify Control Logic\"\n    detection:\n      - \"PLC logic integrity comparison against known-good baseline\"\n      - \"S7comm upload\u002Fdownload traffic from unauthorized sources\"\n      - \"New OB\u002FFC\u002FFB blocks appearing in PLC program\"\n      - \"Modification of OB1 (main scan) or OB35 (cyclic interrupt)\"\n    indicators:\n      - \"PLC program block count changes\"\n      - \"PLC program size changes\"\n      - \"Upload of unknown program blocks\"\n\n  stage_5_process_manipulation:\n    technique: \"Manipulating physical process while spoofing sensor readings\"\n    mitre_ics: \"T0836 - Modify Parameter \u002F T0856 - Spoof Reporting Message\"\n    detection:\n      - \"Physics-based anomaly detection (process model deviation)\"\n      - \"Cross-validation of independent sensors\"\n      - \"Vibration analysis and mechanical signature monitoring\"\n      - \"Comparison of PLC-reported values vs independent measurements\"\n    indicators:\n      - \"Motor\u002Fpump operating outside normal parameters\"\n      - \"Sensor readings diverging from physics model predictions\"\n      - \"Process efficiency metrics deviating unexpectedly\"\n```\n\n### Step 2: Implement PLC Logic Integrity Monitoring\n\nContinuously monitor PLC program integrity by comparing running logic against known-good baselines.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Logic Integrity Monitor.\n\nPeriodically retrieves PLC program block information and compares\nagainst known-good baselines to detect unauthorized modifications\n(Stuxnet-style logic injection).\n\"\"\"\n\nimport hashlib\nimport json\nimport sys\nimport time\nfrom dataclasses import dataclass, field, asdict\nfrom datetime import datetime\n\n\n@dataclass\nclass PLCBlock:\n    \"\"\"Represents a PLC program block.\"\"\"\n    block_type: str  # OB, FC, FB, DB\n    block_number: int\n    name: str\n    size_bytes: int\n    checksum: str\n    last_modified: str\n    author: str = \"\"\n\n\n@dataclass\nclass IntegrityAlert:\n    alert_id: str\n    timestamp: str\n    severity: str\n    plc_name: str\n    plc_ip: str\n    alert_type: str\n    description: str\n    baseline_value: str\n    current_value: str\n    mitre_technique: str\n\n\nclass PLCIntegrityMonitor:\n    \"\"\"Monitors PLC program integrity against baselines.\"\"\"\n\n    def __init__(self):\n        self.baselines = {}  # plc_name -> list of PLCBlock\n        self.alerts = []\n        self.alert_counter = 1\n\n    def load_baseline(self, plc_name, baseline_file):\n        \"\"\"Load known-good PLC program baseline.\"\"\"\n        with open(baseline_file) as f:\n            data = json.load(f)\n        blocks = [PLCBlock(**b) for b in data.get(\"blocks\", [])]\n        self.baselines[plc_name] = {\n            \"blocks\": {f\"{b.block_type}{b.block_number}\": b for b in blocks},\n            \"total_blocks\": len(blocks),\n            \"loaded_at\": datetime.now().isoformat(),\n        }\n        print(f\"[*] Loaded baseline for {plc_name}: {len(blocks)} blocks\")\n\n    def check_integrity(self, plc_name, plc_ip, current_blocks):\n        \"\"\"Compare current PLC program against baseline.\"\"\"\n        baseline = self.baselines.get(plc_name)\n        if not baseline:\n            print(f\"[WARN] No baseline for {plc_name}\")\n            return\n\n        baseline_blocks = baseline[\"blocks\"]\n        current_block_map = {f\"{b.block_type}{b.block_number}\": b for b in current_blocks}\n\n        # Check 1: New blocks added (potential logic injection)\n        for key, block in current_block_map.items():\n            if key not in baseline_blocks:\n                self.alerts.append(IntegrityAlert(\n                    alert_id=f\"INT-{self.alert_counter:04d}\",\n                    timestamp=datetime.now().isoformat(),\n                    severity=\"critical\",\n                    plc_name=plc_name,\n                    plc_ip=plc_ip,\n                    alert_type=\"NEW_BLOCK_DETECTED\",\n                    description=(\n                        f\"New program block {key} ({block.name}) found in PLC \"\n                        f\"that does not exist in baseline. Size: {block.size_bytes} bytes.\"\n                    ),\n                    baseline_value=\"Block does not exist in baseline\",\n                    current_value=f\"{key}: {block.size_bytes} bytes, checksum {block.checksum}\",\n                    mitre_technique=\"T0839 - Module Firmware \u002F T0833 - Modify Control Logic\",\n                ))\n                self.alert_counter += 1\n\n        # Check 2: Blocks removed\n        for key in baseline_blocks:\n            if key not in current_block_map:\n                self.alerts.append(IntegrityAlert(\n                    alert_id=f\"INT-{self.alert_counter:04d}\",\n                    timestamp=datetime.now().isoformat(),\n                    severity=\"high\",\n                    plc_name=plc_name,\n                    plc_ip=plc_ip,\n                    alert_type=\"BLOCK_REMOVED\",\n                    description=f\"Program block {key} removed from PLC\",\n                    baseline_value=f\"{key}: {baseline_blocks[key].size_bytes} bytes\",\n                    current_value=\"Block not found\",\n                    mitre_technique=\"T0833 - Modify Control Logic\",\n                ))\n                self.alert_counter += 1\n\n        # Check 3: Block content modified (checksum mismatch)\n        for key in baseline_blocks:\n            if key in current_block_map:\n                baseline_block = baseline_blocks[key]\n                current_block = current_block_map[key]\n\n                if baseline_block.checksum != current_block.checksum:\n                    self.alerts.append(IntegrityAlert(\n                        alert_id=f\"INT-{self.alert_counter:04d}\",\n                        timestamp=datetime.now().isoformat(),\n                        severity=\"critical\",\n                        plc_name=plc_name,\n                        plc_ip=plc_ip,\n                        alert_type=\"BLOCK_MODIFIED\",\n                        description=(\n                            f\"Program block {key} checksum mismatch. \"\n                            f\"Logic has been modified since baseline was established.\"\n                        ),\n                        baseline_value=f\"Checksum: {baseline_block.checksum}, Size: {baseline_block.size_bytes}\",\n                        current_value=f\"Checksum: {current_block.checksum}, Size: {current_block.size_bytes}\",\n                        mitre_technique=\"T0833 - Modify Control Logic\",\n                    ))\n                    self.alert_counter += 1\n\n        # Check 4: Block count change\n        if len(current_blocks) != baseline[\"total_blocks\"]:\n            self.alerts.append(IntegrityAlert(\n                alert_id=f\"INT-{self.alert_counter:04d}\",\n                timestamp=datetime.now().isoformat(),\n                severity=\"high\",\n                plc_name=plc_name,\n                plc_ip=plc_ip,\n                alert_type=\"BLOCK_COUNT_CHANGE\",\n                description=f\"Total block count changed from {baseline['total_blocks']} to {len(current_blocks)}\",\n                baseline_value=str(baseline[\"total_blocks\"]),\n                current_value=str(len(current_blocks)),\n                mitre_technique=\"T0833 - Modify Control Logic\",\n            ))\n            self.alert_counter += 1\n\n    def generate_report(self):\n        \"\"\"Generate integrity monitoring report.\"\"\"\n        print(f\"\\n{'='*70}\")\n        print(\"PLC LOGIC INTEGRITY MONITORING REPORT\")\n        print(f\"{'='*70}\")\n        print(f\"Baselines loaded: {len(self.baselines)}\")\n        print(f\"Alerts: {len(self.alerts)}\")\n\n        for a in self.alerts:\n            print(f\"\\n  [{a.severity.upper()}] {a.alert_type}\")\n            print(f\"    PLC: {a.plc_name} ({a.plc_ip})\")\n            print(f\"    {a.description}\")\n            print(f\"    Baseline: {a.baseline_value}\")\n            print(f\"    Current: {a.current_value}\")\n            print(f\"    MITRE: {a.mitre_technique}\")\n\n\nif __name__ == \"__main__\":\n    monitor = PLCIntegrityMonitor()\n    print(\"PLC Logic Integrity Monitor\")\n    print(\"Load baselines and call check_integrity() periodically\")\n```\n\n### Step 3: Deploy Physics-Based Process Anomaly Detection\n\nMonitor physical process behavior using models that predict expected sensor values based on the laws of physics. Deviations indicate either equipment failure or cyber-physical attack.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Physics-Based Cyber-Physical Attack Detector.\n\nUses simplified physics models to detect process manipulation\nattacks where the attacker modifies the physical process while\nspoofing sensor readings (the core Stuxnet attack pattern).\n\"\"\"\n\nimport math\nfrom dataclasses import dataclass\nfrom datetime import datetime\n\n\n@dataclass\nclass PhysicsAlert:\n    timestamp: str\n    severity: str\n    alert_type: str\n    sensor_tag: str\n    reported_value: float\n    predicted_value: float\n    deviation_percent: float\n    description: str\n\n\nclass CentrifugePhysicsModel:\n    \"\"\"Physics model for a centrifuge system (Stuxnet target analog).\n\n    Detects manipulation by cross-correlating:\n    - Motor frequency (Hz) vs reported RPM\n    - RPM vs vibration signature\n    - Power consumption vs rotational speed\n    \"\"\"\n\n    def __init__(self, rated_rpm=1200, rated_frequency=50, rated_power_kw=75):\n        self.rated_rpm = rated_rpm\n        self.rated_frequency = rated_frequency\n        self.rated_power_kw = rated_power_kw\n        self.alerts = []\n\n    def check_frequency_rpm_correlation(self, frequency_hz, reported_rpm):\n        \"\"\"Verify motor frequency matches reported RPM.\n\n        For an induction motor: RPM = 120 * frequency \u002F poles\n        If RPM is being spoofed, it won't match the actual frequency.\n        \"\"\"\n        # Assuming 4-pole motor with typical 3% slip\n        expected_rpm = (120 * frequency_hz \u002F 4) * 0.97\n        deviation = abs(reported_rpm - expected_rpm) \u002F expected_rpm * 100\n\n        if deviation > 5.0:\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"critical\",\n                alert_type=\"FREQUENCY_RPM_MISMATCH\",\n                sensor_tag=\"MOTOR.RPM vs VFD.FREQ\",\n                reported_value=reported_rpm,\n                predicted_value=round(expected_rpm, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Motor RPM ({reported_rpm}) does not match VFD frequency \"\n                    f\"({frequency_hz} Hz). Expected ~{expected_rpm:.0f} RPM. \"\n                    f\"Possible RPM sensor spoofing while frequency is manipulated.\"\n                ),\n            ))\n\n    def check_power_speed_correlation(self, rpm, power_kw):\n        \"\"\"Verify power consumption matches rotational speed.\n\n        Power scales approximately with RPM^3 for centrifugal loads.\n        \"\"\"\n        speed_ratio = rpm \u002F self.rated_rpm\n        expected_power = self.rated_power_kw * (speed_ratio ** 3)\n        deviation = abs(power_kw - expected_power) \u002F max(expected_power, 0.1) * 100\n\n        if deviation > 15.0:\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"high\",\n                alert_type=\"POWER_SPEED_MISMATCH\",\n                sensor_tag=\"MOTOR.POWER vs MOTOR.RPM\",\n                reported_value=power_kw,\n                predicted_value=round(expected_power, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Power consumption ({power_kw} kW) inconsistent with RPM ({rpm}). \"\n                    f\"Expected ~{expected_power:.1f} kW. May indicate hidden speed changes.\"\n                ),\n            ))\n\n    def check_vibration_anomaly(self, rpm, vibration_mm_s):\n        \"\"\"Check if vibration signature is consistent with operating speed.\n\n        Abnormal vibration at reported 'normal' speed may indicate actual\n        speed is different from what sensors report.\n        \"\"\"\n        # Normal vibration increases linearly with speed for balanced rotor\n        speed_ratio = rpm \u002F self.rated_rpm\n        expected_vibration = 2.0 * speed_ratio  # mm\u002Fs baseline\n        deviation = abs(vibration_mm_s - expected_vibration) \u002F max(expected_vibration, 0.1) * 100\n\n        if vibration_mm_s > 7.0:  # ISO 10816 alert threshold\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"critical\",\n                alert_type=\"ABNORMAL_VIBRATION\",\n                sensor_tag=\"MOTOR.VIBRATION\",\n                reported_value=vibration_mm_s,\n                predicted_value=round(expected_vibration, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Vibration ({vibration_mm_s} mm\u002Fs) at ISO alert level while \"\n                    f\"RPM reports normal ({rpm}). Actual speed may differ from reported.\"\n                ),\n            ))\n\n    def report(self):\n        if self.alerts:\n            print(f\"\\n{'='*60}\")\n            print(\"PHYSICS-BASED ANOMALY DETECTION ALERTS\")\n            print(f\"{'='*60}\")\n            for a in self.alerts:\n                print(f\"\\n  [{a.severity.upper()}] {a.alert_type}\")\n                print(f\"    {a.description}\")\n                print(f\"    Reported: {a.reported_value} | Predicted: {a.predicted_value}\")\n                print(f\"    Deviation: {a.deviation_percent}%\")\n\n\nif __name__ == \"__main__\":\n    model = CentrifugePhysicsModel(rated_rpm=1200, rated_frequency=50, rated_power_kw=75)\n\n    # Normal operation - no alerts expected\n    model.check_frequency_rpm_correlation(50.0, 1164)\n    model.check_power_speed_correlation(1164, 72.0)\n\n    # Stuxnet-style attack: frequency increased but RPM spoofed as normal\n    model.check_frequency_rpm_correlation(84.0, 1164)  # freq up, RPM spoofed\n    model.check_power_speed_correlation(1164, 180.0)    # power reveals true speed\n\n    model.report()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Cyber-Physical Attack | Attack that manipulates both the cyber system (PLC logic, sensor readings) and the physical process simultaneously |\n| Logic Injection | Inserting malicious code blocks into PLC programs to alter physical process behavior |\n| Sensor Spoofing | Replaying or fabricating sensor readings to hide process manipulation from operators |\n| Physics-Based Detection | Using mathematical models of physical processes to detect when reported sensor values are inconsistent with actual physics |\n| PLC Logic Baseline | Known-good copy of PLC program blocks (OB, FC, FB, DB) used for integrity comparison |\n| Air-Gap Bridging | Technique of crossing air-gapped networks via USB drives, as used by Stuxnet's initial access method |\n\n## Tools & Systems\n\n- **Claroty xDome**: Continuous PLC logic monitoring with baseline comparison and change detection\n- **SIGA OT Solutions**: Physical signal monitoring at the electrical level for detecting process manipulation\n- **Nozomi Guardian**: OT monitoring with PLC program change detection capabilities\n- **Siemens SINEMA Remote Connect**: Secure remote access with PLC project version tracking\n\n## Output Format\n\n```\nStuxnet-Style Attack Detection Report\n========================================\nMonitored PLCs: [N]\nMonitoring Period: YYYY-MM-DD to YYYY-MM-DD\n\nPLC INTEGRITY:\n  Baselines verified: [N]\u002F[N]\n  Logic modifications detected: [N]\n  New blocks detected: [N]\n\nPHYSICS ANOMALIES:\n  Sensor correlation violations: [N]\n  Process model deviations: [N]\n\nENGINEERING WORKSTATION:\n  Unauthorized modifications: [N]\n  USB connections: [N]\n```\n","# Detecting Stuxnet-Style Attacks\n\n## When to Use\n\n- When implementing advanced threat detection for high-value OT targets (nuclear, chemical, critical infrastructure)\n- When building detection for APT-style attacks targeting PLC logic and process manipulation\n- When establishing PLC logic integrity monitoring to detect unauthorized modifications\n- When investigating suspected process anomalies that may indicate cyber-physical attacks\n- When designing defense-in-depth strategies against nation-state level OT threats\n\n**Do not use** for basic OT intrusion detection (see detecting-attacks-on-scada-systems), for malware analysis of Stuxnet samples (see malware reverse engineering skills), or for PLC programming and logic development.\n\n## Prerequisites\n\n- Detailed understanding of the Stuxnet attack chain and MITRE ATT&CK for ICS framework\n- PLC logic backup repository with known-good baseline copies of all PLC programs\n- Engineering workstation monitoring (EDR with OT awareness)\n- Physics-based process models for the controlled physical process\n- Network monitoring for industrial protocol traffic analysis\n\n## Workflow\n\n### Step 1: Understand the Stuxnet Attack Chain\n\nMap detection opportunities across the multi-stage Stuxnet-style attack chain.\n\n```yaml\n# Stuxnet-Style Attack Chain and Detection Points\nattack_chain:\n  stage_1_initial_access:\n    technique: \"USB-borne malware targeting air-gapped network\"\n    mitre_ics: \"T0847 - Replication Through Removable Media\"\n    detection:\n      - \"USB device connection logging on engineering workstations\"\n      - \"Removable media scanning with OT-approved AV\"\n      - \"Application allowlisting blocking unauthorized executables\"\n      - \"Windows autorun disabled via Group Policy\"\n    indicators:\n      - \"New USB device connections to engineering workstations\"\n      - \"Execution of unsigned binaries from removable media\"\n      - \"LNK file exploitation patterns\"\n\n  stage_2_lateral_movement:\n    technique: \"Exploitation of Windows vulnerabilities for network propagation\"\n    mitre_ics: \"T0866 - Exploitation of Remote Services\"\n    detection:\n      - \"Network IDS detecting exploit traffic (MS08-067, MS10-061)\"\n      - \"Unusual SMB traffic between engineering workstations\"\n      - \"Windows event logs showing privilege escalation\"\n      - \"New scheduled tasks or services created\"\n    indicators:\n      - \"Lateral movement between Level 3-4 Windows systems\"\n      - \"WMI\u002FPsExec execution from unexpected sources\"\n      - \"Pass-the-hash authentication patterns\"\n\n  stage_3_ews_compromise:\n    technique: \"Compromise of engineering workstation with PLC programming software\"\n    mitre_ics: \"T0862 - Supply Chain Compromise (Step-7 hooking)\"\n    detection:\n      - \"File integrity monitoring on Step-7\u002FTIA Portal directories\"\n      - \"DLL injection detection in PLC programming software\"\n      - \"Monitoring s7otbxdx.dll for Stuxnet-specific hook\"\n      - \"Unexpected modifications to PLC project files\"\n    indicators:\n      - \"Modified DLLs in Siemens STEP 7 installation directory\"\n      - \"Rootkit hiding files on engineering workstation\"\n      - \"PLC programming software behaving abnormally\"\n\n  stage_4_plc_logic_modification:\n    technique: \"Injecting malicious OB\u002FFC blocks into PLC program\"\n    mitre_ics: \"T0839 - Module Firmware \u002F T0833 - Modify Control Logic\"\n    detection:\n      - \"PLC logic integrity comparison against known-good baseline\"\n      - \"S7comm upload\u002Fdownload traffic from unauthorized sources\"\n      - \"New OB\u002FFC\u002FFB blocks appearing in PLC program\"\n      - \"Modification of OB1 (main scan) or OB35 (cyclic interrupt)\"\n    indicators:\n      - \"PLC program block count changes\"\n      - \"PLC program size changes\"\n      - \"Upload of unknown program blocks\"\n\n  stage_5_process_manipulation:\n    technique: \"Manipulating physical process while spoofing sensor readings\"\n    mitre_ics: \"T0836 - Modify Parameter \u002F T0856 - Spoof Reporting Message\"\n    detection:\n      - \"Physics-based anomaly detection (process model deviation)\"\n      - \"Cross-validation of independent sensors\"\n      - \"Vibration analysis and mechanical signature monitoring\"\n      - \"Comparison of PLC-reported values vs independent measurements\"\n    indicators:\n      - \"Motor\u002Fpump operating outside normal parameters\"\n      - \"Sensor readings diverging from physics model predictions\"\n      - \"Process efficiency metrics deviating unexpectedly\"\n```\n\n### Step 2: Implement PLC Logic Integrity Monitoring\n\nContinuously monitor PLC program integrity by comparing running logic against known-good baselines.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Logic Integrity Monitor.\n\nPeriodically retrieves PLC program block information and compares\nagainst known-good baselines to detect unauthorized modifications\n(Stuxnet-style logic injection).\n\"\"\"\n\nimport hashlib\nimport json\nimport sys\nimport time\nfrom dataclasses import dataclass, field, asdict\nfrom datetime import datetime\n\n\n@dataclass\nclass PLCBlock:\n    \"\"\"Represents a PLC program block.\"\"\"\n    block_type: str  # OB, FC, FB, DB\n    block_number: int\n    name: str\n    size_bytes: int\n    checksum: str\n    last_modified: str\n    author: str = \"\"\n\n\n@dataclass\nclass IntegrityAlert:\n    alert_id: str\n    timestamp: str\n    severity: str\n    plc_name: str\n    plc_ip: str\n    alert_type: str\n    description: str\n    baseline_value: str\n    current_value: str\n    mitre_technique: str\n\n\nclass PLCIntegrityMonitor:\n    \"\"\"Monitors PLC program integrity against baselines.\"\"\"\n\n    def __init__(self):\n        self.baselines = {}  # plc_name -> list of PLCBlock\n        self.alerts = []\n        self.alert_counter = 1\n\n    def load_baseline(self, plc_name, baseline_file):\n        \"\"\"Load known-good PLC program baseline.\"\"\"\n        with open(baseline_file) as f:\n            data = json.load(f)\n        blocks = [PLCBlock(**b) for b in data.get(\"blocks\", [])]\n        self.baselines[plc_name] = {\n            \"blocks\": {f\"{b.block_type}{b.block_number}\": b for b in blocks},\n            \"total_blocks\": len(blocks),\n            \"loaded_at\": datetime.now().isoformat(),\n        }\n        print(f\"[*] Loaded baseline for {plc_name}: {len(blocks)} blocks\")\n\n    def check_integrity(self, plc_name, plc_ip, current_blocks):\n        \"\"\"Compare current PLC program against baseline.\"\"\"\n        baseline = self.baselines.get(plc_name)\n        if not baseline:\n            print(f\"[WARN] No baseline for {plc_name}\")\n            return\n\n        baseline_blocks = baseline[\"blocks\"]\n        current_block_map = {f\"{b.block_type}{b.block_number}\": b for b in current_blocks}\n\n        # Check 1: New blocks added (potential logic injection)\n        for key, block in current_block_map.items():\n            if key not in baseline_blocks:\n                self.alerts.append(IntegrityAlert(\n                    alert_id=f\"INT-{self.alert_counter:04d}\",\n                    timestamp=datetime.now().isoformat(),\n                    severity=\"critical\",\n                    plc_name=plc_name,\n                    plc_ip=plc_ip,\n                    alert_type=\"NEW_BLOCK_DETECTED\",\n                    description=(\n                        f\"New program block {key} ({block.name}) found in PLC \"\n                        f\"that does not exist in baseline. Size: {block.size_bytes} bytes.\"\n                    ),\n                    baseline_value=\"Block does not exist in baseline\",\n                    current_value=f\"{key}: {block.size_bytes} bytes, checksum {block.checksum}\",\n                    mitre_technique=\"T0839 - Module Firmware \u002F T0833 - Modify Control Logic\",\n                ))\n                self.alert_counter += 1\n\n        # Check 2: Blocks removed\n        for key in baseline_blocks:\n            if key not in current_block_map:\n                self.alerts.append(IntegrityAlert(\n                    alert_id=f\"INT-{self.alert_counter:04d}\",\n                    timestamp=datetime.now().isoformat(),\n                    severity=\"high\",\n                    plc_name=plc_name,\n                    plc_ip=plc_ip,\n                    alert_type=\"BLOCK_REMOVED\",\n                    description=f\"Program block {key} removed from PLC\",\n                    baseline_value=f\"{key}: {baseline_blocks[key].size_bytes} bytes\",\n                    current_value=\"Block not found\",\n                    mitre_technique=\"T0833 - Modify Control Logic\",\n                ))\n                self.alert_counter += 1\n\n        # Check 3: Block content modified (checksum mismatch)\n        for key in baseline_blocks:\n            if key in current_block_map:\n                baseline_block = baseline_blocks[key]\n                current_block = current_block_map[key]\n\n                if baseline_block.checksum != current_block.checksum:\n                    self.alerts.append(IntegrityAlert(\n                        alert_id=f\"INT-{self.alert_counter:04d}\",\n                        timestamp=datetime.now().isoformat(),\n                        severity=\"critical\",\n                        plc_name=plc_name,\n                        plc_ip=plc_ip,\n                        alert_type=\"BLOCK_MODIFIED\",\n                        description=(\n                            f\"Program block {key} checksum mismatch. \"\n                            f\"Logic has been modified since baseline was established.\"\n                        ),\n                        baseline_value=f\"Checksum: {baseline_block.checksum}, Size: {baseline_block.size_bytes}\",\n                        current_value=f\"Checksum: {current_block.checksum}, Size: {current_block.size_bytes}\",\n                        mitre_technique=\"T0833 - Modify Control Logic\",\n                    ))\n                    self.alert_counter += 1\n\n        # Check 4: Block count change\n        if len(current_blocks) != baseline[\"total_blocks\"]:\n            self.alerts.append(IntegrityAlert(\n                alert_id=f\"INT-{self.alert_counter:04d}\",\n                timestamp=datetime.now().isoformat(),\n                severity=\"high\",\n                plc_name=plc_name,\n                plc_ip=plc_ip,\n                alert_type=\"BLOCK_COUNT_CHANGE\",\n                description=f\"Total block count changed from {baseline['total_blocks']} to {len(current_blocks)}\",\n                baseline_value=str(baseline[\"total_blocks\"]),\n                current_value=str(len(current_blocks)),\n                mitre_technique=\"T0833 - Modify Control Logic\",\n            ))\n            self.alert_counter += 1\n\n    def generate_report(self):\n        \"\"\"Generate integrity monitoring report.\"\"\"\n        print(f\"\\n{'='*70}\")\n        print(\"PLC LOGIC INTEGRITY MONITORING REPORT\")\n        print(f\"{'='*70}\")\n        print(f\"Baselines loaded: {len(self.baselines)}\")\n        print(f\"Alerts: {len(self.alerts)}\")\n\n        for a in self.alerts:\n            print(f\"\\n  [{a.severity.upper()}] {a.alert_type}\")\n            print(f\"    PLC: {a.plc_name} ({a.plc_ip})\")\n            print(f\"    {a.description}\")\n            print(f\"    Baseline: {a.baseline_value}\")\n            print(f\"    Current: {a.current_value}\")\n            print(f\"    MITRE: {a.mitre_technique}\")\n\n\nif __name__ == \"__main__\":\n    monitor = PLCIntegrityMonitor()\n    print(\"PLC Logic Integrity Monitor\")\n    print(\"Load baselines and call check_integrity() periodically\")\n```\n\n### Step 3: Deploy Physics-Based Process Anomaly Detection\n\nMonitor physical process behavior using models that predict expected sensor values based on the laws of physics. Deviations indicate either equipment failure or cyber-physical attack.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Physics-Based Cyber-Physical Attack Detector.\n\nUses simplified physics models to detect process manipulation\nattacks where the attacker modifies the physical process while\nspoofing sensor readings (the core Stuxnet attack pattern).\n\"\"\"\n\nimport math\nfrom dataclasses import dataclass\nfrom datetime import datetime\n\n\n@dataclass\nclass PhysicsAlert:\n    timestamp: str\n    severity: str\n    alert_type: str\n    sensor_tag: str\n    reported_value: float\n    predicted_value: float\n    deviation_percent: float\n    description: str\n\n\nclass CentrifugePhysicsModel:\n    \"\"\"Physics model for a centrifuge system (Stuxnet target analog).\n\n    Detects manipulation by cross-correlating:\n    - Motor frequency (Hz) vs reported RPM\n    - RPM vs vibration signature\n    - Power consumption vs rotational speed\n    \"\"\"\n\n    def __init__(self, rated_rpm=1200, rated_frequency=50, rated_power_kw=75):\n        self.rated_rpm = rated_rpm\n        self.rated_frequency = rated_frequency\n        self.rated_power_kw = rated_power_kw\n        self.alerts = []\n\n    def check_frequency_rpm_correlation(self, frequency_hz, reported_rpm):\n        \"\"\"Verify motor frequency matches reported RPM.\n\n        For an induction motor: RPM = 120 * frequency \u002F poles\n        If RPM is being spoofed, it won't match the actual frequency.\n        \"\"\"\n        # Assuming 4-pole motor with typical 3% slip\n        expected_rpm = (120 * frequency_hz \u002F 4) * 0.97\n        deviation = abs(reported_rpm - expected_rpm) \u002F expected_rpm * 100\n\n        if deviation > 5.0:\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"critical\",\n                alert_type=\"FREQUENCY_RPM_MISMATCH\",\n                sensor_tag=\"MOTOR.RPM vs VFD.FREQ\",\n                reported_value=reported_rpm,\n                predicted_value=round(expected_rpm, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Motor RPM ({reported_rpm}) does not match VFD frequency \"\n                    f\"({frequency_hz} Hz). Expected ~{expected_rpm:.0f} RPM. \"\n                    f\"Possible RPM sensor spoofing while frequency is manipulated.\"\n                ),\n            ))\n\n    def check_power_speed_correlation(self, rpm, power_kw):\n        \"\"\"Verify power consumption matches rotational speed.\n\n        Power scales approximately with RPM^3 for centrifugal loads.\n        \"\"\"\n        speed_ratio = rpm \u002F self.rated_rpm\n        expected_power = self.rated_power_kw * (speed_ratio ** 3)\n        deviation = abs(power_kw - expected_power) \u002F max(expected_power, 0.1) * 100\n\n        if deviation > 15.0:\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"high\",\n                alert_type=\"POWER_SPEED_MISMATCH\",\n                sensor_tag=\"MOTOR.POWER vs MOTOR.RPM\",\n                reported_value=power_kw,\n                predicted_value=round(expected_power, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Power consumption ({power_kw} kW) inconsistent with RPM ({rpm}). \"\n                    f\"Expected ~{expected_power:.1f} kW. May indicate hidden speed changes.\"\n                ),\n            ))\n\n    def check_vibration_anomaly(self, rpm, vibration_mm_s):\n        \"\"\"Check if vibration signature is consistent with operating speed.\n\n        Abnormal vibration at reported 'normal' speed may indicate actual\n        speed is different from what sensors report.\n        \"\"\"\n        # Normal vibration increases linearly with speed for balanced rotor\n        speed_ratio = rpm \u002F self.rated_rpm\n        expected_vibration = 2.0 * speed_ratio  # mm\u002Fs baseline\n        deviation = abs(vibration_mm_s - expected_vibration) \u002F max(expected_vibration, 0.1) * 100\n\n        if vibration_mm_s > 7.0:  # ISO 10816 alert threshold\n            self.alerts.append(PhysicsAlert(\n                timestamp=datetime.now().isoformat(),\n                severity=\"critical\",\n                alert_type=\"ABNORMAL_VIBRATION\",\n                sensor_tag=\"MOTOR.VIBRATION\",\n                reported_value=vibration_mm_s,\n                predicted_value=round(expected_vibration, 1),\n                deviation_percent=round(deviation, 1),\n                description=(\n                    f\"Vibration ({vibration_mm_s} mm\u002Fs) at ISO alert level while \"\n                    f\"RPM reports normal ({rpm}). Actual speed may differ from reported.\"\n                ),\n            ))\n\n    def report(self):\n        if self.alerts:\n            print(f\"\\n{'='*60}\")\n            print(\"PHYSICS-BASED ANOMALY DETECTION ALERTS\")\n            print(f\"{'='*60}\")\n            for a in self.alerts:\n                print(f\"\\n  [{a.severity.upper()}] {a.alert_type}\")\n                print(f\"    {a.description}\")\n                print(f\"    Reported: {a.reported_value} | Predicted: {a.predicted_value}\")\n                print(f\"    Deviation: {a.deviation_percent}%\")\n\n\nif __name__ == \"__main__\":\n    model = CentrifugePhysicsModel(rated_rpm=1200, rated_frequency=50, rated_power_kw=75)\n\n    # Normal operation - no alerts expected\n    model.check_frequency_rpm_correlation(50.0, 1164)\n    model.check_power_speed_correlation(1164, 72.0)\n\n    # Stuxnet-style attack: frequency increased but RPM spoofed as normal\n    model.check_frequency_rpm_correlation(84.0, 1164)  # freq up, RPM spoofed\n    model.check_power_speed_correlation(1164, 180.0)    # power reveals true speed\n\n    model.report()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| Cyber-Physical Attack | Attack that manipulates both the cyber system (PLC logic, sensor readings) and the physical process simultaneously |\n| Logic Injection | Inserting malicious code blocks into PLC programs to alter physical process behavior |\n| Sensor Spoofing | Replaying or fabricating sensor readings to hide process manipulation from operators |\n| Physics-Based Detection | Using mathematical models of physical processes to detect when reported sensor values are inconsistent with actual physics |\n| PLC Logic Baseline | Known-good copy of PLC program blocks (OB, FC, FB, DB) used for integrity comparison |\n| Air-Gap Bridging | Technique of crossing air-gapped networks via USB drives, as used by Stuxnet's initial access method |\n\n## Tools & Systems\n\n- **Claroty xDome**: Continuous PLC logic monitoring with baseline comparison and change detection\n- **SIGA OT Solutions**: Physical signal monitoring at the electrical level for detecting process manipulation\n- **Nozomi Guardian**: OT monitoring with PLC program change detection capabilities\n- **Siemens SINEMA Remote Connect**: Secure remote access with PLC project version tracking\n\n## Output Format\n\n```\nStuxnet-Style Attack Detection Report\n========================================\nMonitored PLCs: [N]\nMonitoring Period: YYYY-MM-DD to YYYY-MM-DD\n\nPLC INTEGRITY:\n  Baselines verified: [N]\u002F[N]\n  Logic modifications detected: [N]\n  New blocks detected: [N]\n\nPHYSICS ANOMALIES:\n  Sensor correlation violations: [N]\n  Process model deviations: [N]\n\nENGINEERING WORKSTATION:\n  Unauthorized modifications: [N]\n  USB connections: [N]\n```\n",{"name":5,"tags":24,"author":33,"domain":34,"license":14,"version":35,"nist_csf":36,"subdomain":41,"description":42,"mitre_attack":43},[25,26,27,28,29,30,31,32],"ot-security","ics","scada","industrial-control","iec62443","stuxnet","plc-integrity","apt","mahipal","cybersecurity","1.0.0",[37,38,39,40],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security","Detects sophisticated cyber-physical attacks that follow the Stuxnet pattern of modifying PLC logic while spoofing sensor readings to hide the manipulation, using PLC logic integrity monitoring (Claroty xDome, Nozomi Guardian) and physics-based process anomaly detection. Use when hunting for IT-to-OT lateral movement or discrepancies between PLC program state and physical process behavior in ICS\u002FSCADA environments.\n",[44,45,46,47],"T0853","T0831","T0809","T0807","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-stuxnet-style-attacks",{"tool":60,"command":61},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-stuxnet-style-attacks",{"tool":63,"command":64},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-stuxnet-style-attacks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks\u002FSKILL.md",true,[68,72,78],{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fapi-reference.md","REFERENCE","参考文档",2223,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks\u002Freferences\u002Fapi-reference.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",6272,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-stuxnet-style-attacks\u002Fscripts\u002Fagent.py",[85,93,100,107,114,121],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]