[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73690FR8VG923QC6AC4AMS9":3,"skill-same:01M73690FR8VG923QC6AC4AMS9":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M73690FR8VG923QC6AC4AMS9","performing-plc-firmware-security-analysis",null,"This skill covers analyzing Programmable Logic Controller (PLC) firmware for security vulnerabilities including hardcoded credentials, insecure update mechanisms, backdoor functions, memory corruption flaws, and undocumented debug interfaces. It addresses firmware extraction from common PLC platforms (Siemens S7, Allen-Bradley, Schneider Modicon), static analysis of firmware images, dynamic analysis in emulated environments, and comparison against known-good baselines to detect tampering.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: performing-plc-firmware-security-analysis\ndescription: 'This skill covers analyzing Programmable Logic Controller (PLC) firmware\n  for security vulnerabilities including hardcoded credentials, insecure update mechanisms,\n  backdoor functions, memory corruption flaws, and undocumented debug interfaces.\n  It addresses firmware extraction from common PLC platforms (Siemens S7, Allen-Bradley,\n  Schneider Modicon), static analysis of firmware images, dynamic analysis in emulated\n  environments, and comparison against known-good baselines to detect tampering.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- scada\n- industrial-control\n- iec62443\n- firmware-analysis\n- plc-security\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- T1078\n- T1190\n- T1059\n- T1003\n- T1110\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\nnote: \"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.\"\n---\n\n# Performing PLC Firmware Security Analysis\n\n## When to Use\n\n- When assessing PLC security as part of an IEC 62443 component security evaluation (IEC 62443-4-2)\n- When validating firmware integrity after a suspected compromise or supply chain attack\n- When evaluating the security of a new PLC platform before deployment in critical infrastructure\n- When performing vulnerability research on industrial control system devices in an authorized lab\n- When responding to an incident where PLC logic or firmware tampering is suspected\n\n**Do not use** on live production PLCs without explicit authorization and safety controls in place. Firmware extraction and analysis should be performed on lab devices or offline backups. Never upload PLC firmware to public analysis services. See performing-ics-penetration-testing for authorized live testing procedures.\n\n## Prerequisites\n\n- Isolated lab environment with the target PLC hardware or an emulated environment\n- PLC programming software for the target platform (Siemens TIA Portal, Rockwell Studio 5000, Schneider EcoStruxure)\n- Firmware extraction tools (binwalk, firmware-mod-kit, JTAG\u002FSWD debugger)\n- Static analysis tools (Ghidra, IDA Pro, Binary Ninja with ARM\u002FMIPS\u002FPowerPC support)\n- Understanding of PLC architecture (real-time OS, ladder logic execution, I\u002FO scanning)\n- Reference copy of known-good firmware for integrity comparison\n\n## Workflow\n\n### Step 1: Acquire PLC Firmware for Analysis\n\nExtract or obtain PLC firmware through authorized methods. This can be done by downloading from the vendor, extracting from a lab device, or obtaining from a project backup.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Firmware Acquisition and Integrity Verification.\n\nSupports firmware extraction from project files, network downloads,\nand binary image comparison against known-good baselines.\n\"\"\"\n\nimport hashlib\nimport json\nimport os\nimport struct\nimport sys\nimport zipfile\nfrom datetime import datetime\nfrom pathlib import Path\n\n\nclass PLCFirmwareAcquisition:\n    \"\"\"Handles PLC firmware acquisition from various sources.\"\"\"\n\n    def __init__(self, output_dir=\"firmware_analysis\"):\n        self.output_dir = Path(output_dir)\n        self.output_dir.mkdir(exist_ok=True)\n        self.manifest = {\n            \"acquisition_date\": datetime.now().isoformat(),\n            \"firmware_samples\": [],\n        }\n\n    def extract_from_siemens_project(self, project_path):\n        \"\"\"Extract firmware\u002Fprogram blocks from Siemens TIA Portal project.\n\n        TIA Portal projects (.ap16\u002F.ap17) are ZIP archives containing\n        XML-encoded PLC program blocks and system configuration.\n        \"\"\"\n        print(f\"[*] Analyzing Siemens project: {project_path}\")\n        results = {\"platform\": \"Siemens\", \"blocks\": []}\n\n        if zipfile.is_zipfile(project_path):\n            with zipfile.ZipFile(project_path, \"r\") as zf:\n                for info in zf.infolist():\n                    # Program blocks are stored as XML in specific paths\n                    if \"ProgramBlocks\" in info.filename or \"SystemBlocks\" in info.filename:\n                        block_data = zf.read(info.filename)\n                        block_hash = hashlib.sha256(block_data).hexdigest()\n\n                        block_path = self.output_dir \u002F info.filename.replace(\"\u002F\", \"_\")\n                        block_path.write_bytes(block_data)\n\n                        results[\"blocks\"].append({\n                            \"name\": info.filename,\n                            \"size\": info.file_size,\n                            \"sha256\": block_hash,\n                            \"extracted_to\": str(block_path),\n                        })\n                        print(f\"  [+] Extracted: {info.filename} ({info.file_size} bytes)\")\n\n        self.manifest[\"firmware_samples\"].append(results)\n        return results\n\n    def extract_from_rockwell_project(self, acd_path):\n        \"\"\"Extract program data from Rockwell Studio 5000 ACD file.\n\n        ACD files contain controller program, tags, and configuration.\n        \"\"\"\n        print(f\"[*] Analyzing Rockwell project: {acd_path}\")\n        results = {\"platform\": \"Rockwell\u002FAllen-Bradley\", \"blocks\": []}\n\n        with open(acd_path, \"rb\") as f:\n            header = f.read(256)\n            # ACD files have a specific signature\n            if b\"RSLogix\" in header or b\"Studio 5000\" in header:\n                f.seek(0)\n                full_data = f.read()\n                file_hash = hashlib.sha256(full_data).hexdigest()\n\n                results[\"blocks\"].append({\n                    \"name\": os.path.basename(acd_path),\n                    \"size\": len(full_data),\n                    \"sha256\": file_hash,\n                    \"header_signature\": header[:16].hex(),\n                })\n                print(f\"  [+] Project hash: {file_hash}\")\n\n        self.manifest[\"firmware_samples\"].append(results)\n        return results\n\n    def compute_firmware_hash(self, firmware_path):\n        \"\"\"Compute multiple hashes of a firmware image for integrity tracking.\"\"\"\n        data = Path(firmware_path).read_bytes()\n        return {\n            \"file\": str(firmware_path),\n            \"size\": len(data),\n            \"md5\": hashlib.md5(data).hexdigest(),\n            \"sha256\": hashlib.sha256(data).hexdigest(),\n            \"sha512\": hashlib.sha512(data).hexdigest(),\n        }\n\n    def compare_firmware_integrity(self, current_fw, baseline_fw):\n        \"\"\"Compare current firmware against known-good baseline.\"\"\"\n        current_hash = self.compute_firmware_hash(current_fw)\n        baseline_hash = self.compute_firmware_hash(baseline_fw)\n\n        match = current_hash[\"sha256\"] == baseline_hash[\"sha256\"]\n\n        result = {\n            \"comparison_date\": datetime.now().isoformat(),\n            \"current_firmware\": current_hash,\n            \"baseline_firmware\": baseline_hash,\n            \"integrity_match\": match,\n            \"verdict\": \"PASS - Firmware matches baseline\" if match else \"FAIL - Firmware modified!\",\n        }\n\n        if not match:\n            # Find the offset where files diverge\n            current_data = Path(current_fw).read_bytes()\n            baseline_data = Path(baseline_fw).read_bytes()\n            min_len = min(len(current_data), len(baseline_data))\n\n            first_diff = None\n            diff_count = 0\n            for i in range(min_len):\n                if current_data[i] != baseline_data[i]:\n                    if first_diff is None:\n                        first_diff = i\n                    diff_count += 1\n\n            result[\"first_difference_offset\"] = f\"0x{first_diff:08x}\" if first_diff else None\n            result[\"total_different_bytes\"] = diff_count\n            result[\"size_difference\"] = len(current_data) - len(baseline_data)\n\n        return result\n\n    def save_manifest(self):\n        \"\"\"Save acquisition manifest.\"\"\"\n        manifest_path = self.output_dir \u002F \"acquisition_manifest.json\"\n        with open(manifest_path, \"w\") as f:\n            json.dump(self.manifest, f, indent=2)\n        print(f\"\\n[*] Manifest saved: {manifest_path}\")\n\n\nif __name__ == \"__main__\":\n    acq = PLCFirmwareAcquisition()\n\n    if len(sys.argv) \u003C 2:\n        print(\"Usage:\")\n        print(\"  python process.py extract-siemens \u003Cproject.ap17>\")\n        print(\"  python process.py extract-rockwell \u003Cproject.acd>\")\n        print(\"  python process.py compare \u003Ccurrent.bin> \u003Cbaseline.bin>\")\n        sys.exit(1)\n\n    cmd = sys.argv[1]\n    if cmd == \"extract-siemens\" and len(sys.argv) > 2:\n        acq.extract_from_siemens_project(sys.argv[2])\n    elif cmd == \"extract-rockwell\" and len(sys.argv) > 2:\n        acq.extract_from_rockwell_project(sys.argv[2])\n    elif cmd == \"compare\" and len(sys.argv) > 3:\n        result = acq.compare_firmware_integrity(sys.argv[2], sys.argv[3])\n        print(json.dumps(result, indent=2))\n    else:\n        print(\"Invalid command\")\n        sys.exit(1)\n\n    acq.save_manifest()\n```\n\n### Step 2: Perform Static Analysis of Firmware Image\n\nUse binwalk for firmware unpacking and Ghidra for disassembly to identify security issues in the firmware binary.\n\n```bash\n# Step 2a: Unpack firmware image with binwalk\nbinwalk -e firmware.bin\n# Output: _firmware.bin.extracted\u002F\n\n# Identify firmware components\nbinwalk firmware.bin\n# Look for: file system images, compressed sections, bootloader, RTOS kernel\n\n# Extract strings for credential and configuration analysis\nstrings -n 8 firmware.bin > firmware_strings.txt\n\n# Search for hardcoded credentials\ngrep -iE \"(password|passwd|pwd|secret|key|credential|login|admin|root)\" firmware_strings.txt\n\n# Search for network configuration\ngrep -iE \"(http|ftp|telnet|ssh|snmp|modbus|192\\.168|10\\.|172\\.)\" firmware_strings.txt\n\n# Search for debug\u002Fbackdoor indicators\ngrep -iE \"(debug|backdoor|test_mode|factory|service_port|hidden)\" firmware_strings.txt\n\n# Search for cryptographic material\ngrep -iE \"(BEGIN RSA|BEGIN CERTIFICATE|AES|DES|private.key)\" firmware_strings.txt\n\n# Step 2b: Entropy analysis to detect encrypted\u002Fcompressed sections\nbinwalk -E firmware.bin\n# High entropy sections may contain encrypted payloads or compressed data\n\n# Step 2c: Analyze with Ghidra (headless mode)\nanalyzeHeadless \u002Ftmp\u002Fghidra_project PLC_FW \\\n  -import firmware.bin \\\n  -processor ARM:LE:32:Cortex \\\n  -postScript FindCryptoConstants.java \\\n  -postScript FindHardcodedStrings.java \\\n  -log \u002Ftmp\u002Fghidra_analysis.log\n```\n\n### Step 3: Analyze PLC Communication Stack Security\n\nExamine how the PLC handles industrial protocol requests, focusing on authentication bypass, buffer overflows in packet parsing, and command injection vulnerabilities.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Protocol Security Analyzer.\n\nTests PLC protocol implementation for common vulnerabilities\nincluding authentication bypass, malformed packet handling,\nand function code access control.\n\nWARNING: Only run against lab\u002Ftest PLCs, never production systems.\n\"\"\"\n\nimport socket\nimport struct\nimport sys\nimport time\nfrom dataclasses import dataclass\n\n\n@dataclass\nclass ProtocolTestResult:\n    test_name: str\n    target: str\n    protocol: str\n    result: str  # PASS, FAIL, ERROR\n    severity: str\n    detail: str\n\n\nclass ModbusSecurityTester:\n    \"\"\"Tests Modbus\u002FTCP implementation security.\"\"\"\n\n    def __init__(self, target_ip, target_port=502):\n        self.target = target_ip\n        self.port = target_port\n        self.results = []\n\n    def _send_modbus(self, unit_id, func_code, data=b\"\"):\n        \"\"\"Send a Modbus\u002FTCP request and return response.\"\"\"\n        # MBAP Header: transaction_id(2) + protocol_id(2) + length(2) + unit_id(1)\n        mbap = struct.pack(\">HHHB\", 0x0001, 0x0000, len(data) + 2, unit_id)\n        pdu = struct.pack(\"B\", func_code) + data\n\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(5)\n            sock.connect((self.target, self.port))\n            sock.send(mbap + pdu)\n            response = sock.recv(1024)\n            sock.close()\n            return response\n        except Exception as e:\n            return None\n\n    def test_authentication_required(self):\n        \"\"\"Test if PLC requires authentication for read\u002Fwrite operations.\"\"\"\n        # Test unauthenticated read\n        read_data = struct.pack(\">HH\", 0, 10)  # Read 10 registers from address 0\n        response = self._send_modbus(1, 3, read_data)\n\n        if response and len(response) > 8 and response[7] != 0x83:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Modbus Authentication - Read\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"high\",\n                detail=\"PLC accepts unauthenticated Modbus read commands. No authentication required.\",\n            ))\n\n        # Test unauthenticated write\n        write_data = struct.pack(\">HH\", 100, 0)  # Write 0 to register 100\n        response = self._send_modbus(1, 6, write_data)\n\n        if response and len(response) > 8 and response[7] != 0x86:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Modbus Authentication - Write\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"critical\",\n                detail=\"PLC accepts unauthenticated Modbus WRITE commands. Any host can modify registers.\",\n            ))\n\n    def test_function_code_access_control(self):\n        \"\"\"Test if PLC restricts dangerous function codes.\"\"\"\n        dangerous_funcs = {\n            8: \"Diagnostics (can restart communications)\",\n            17: \"Report Slave ID (information disclosure)\",\n            43: \"Encapsulated Interface Transport (device identification)\",\n        }\n\n        for fc, desc in dangerous_funcs.items():\n            response = self._send_modbus(1, fc, b\"\\x00\\x00\")\n            if response and len(response) > 8:\n                error_code = response[7]\n                if error_code != (fc | 0x80):  # Not an exception response\n                    self.results.append(ProtocolTestResult(\n                        test_name=f\"Function Code Access - FC{fc}\",\n                        target=self.target,\n                        protocol=\"Modbus\u002FTCP\",\n                        result=\"FAIL\",\n                        severity=\"medium\",\n                        detail=f\"PLC responds to FC{fc} ({desc}) without access control\",\n                    ))\n\n    def test_invalid_unit_id(self):\n        \"\"\"Test PLC response to broadcast and invalid unit IDs.\"\"\"\n        # Broadcast (unit ID 0) - should be carefully handled\n        read_data = struct.pack(\">HH\", 0, 1)\n        response = self._send_modbus(0, 3, read_data)\n\n        if response and len(response) > 8 and response[7] != 0x83:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Broadcast Unit ID Handling\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"high\",\n                detail=\"PLC responds to broadcast unit ID 0. This enables broadcast write attacks.\",\n            ))\n\n    def test_malformed_packet_handling(self):\n        \"\"\"Test PLC resilience against malformed Modbus packets.\"\"\"\n        # Oversized length field\n        malformed = struct.pack(\">HHH\", 0x0001, 0x0000, 0xFFFF) + b\"\\x01\\x03\\x00\\x00\\x00\\x01\"\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(5)\n            sock.connect((self.target, self.port))\n            sock.send(malformed)\n            time.sleep(1)\n\n            # Verify PLC is still responsive\n            read_data = struct.pack(\">HH\", 0, 1)\n            response = self._send_modbus(1, 3, read_data)\n            sock.close()\n\n            if response is None:\n                self.results.append(ProtocolTestResult(\n                    test_name=\"Malformed Packet - Oversized Length\",\n                    target=self.target,\n                    protocol=\"Modbus\u002FTCP\",\n                    result=\"FAIL\",\n                    severity=\"critical\",\n                    detail=\"PLC became unresponsive after receiving oversized length field. Possible DoS vulnerability.\",\n                ))\n            else:\n                self.results.append(ProtocolTestResult(\n                    test_name=\"Malformed Packet - Oversized Length\",\n                    target=self.target,\n                    protocol=\"Modbus\u002FTCP\",\n                    result=\"PASS\",\n                    severity=\"info\",\n                    detail=\"PLC correctly handles oversized length field without crashing\",\n                ))\n        except Exception as e:\n            pass\n\n    def run_all_tests(self):\n        \"\"\"Run all Modbus security tests.\"\"\"\n        print(f\"\\n{'='*60}\")\n        print(f\"PLC MODBUS SECURITY ANALYSIS - {self.target}:{self.port}\")\n        print(f\"{'='*60}\")\n\n        self.test_authentication_required()\n        self.test_function_code_access_control()\n        self.test_invalid_unit_id()\n        self.test_malformed_packet_handling()\n\n        for r in self.results:\n            icon = \"[FAIL]\" if r.result == \"FAIL\" else \"[PASS]\"\n            print(f\"\\n  {icon} {r.test_name}\")\n            print(f\"    Severity: {r.severity}\")\n            print(f\"    Detail: {r.detail}\")\n\n        return self.results\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python plc_protocol_tester.py \u003Ctarget_plc_ip> [port]\")\n        print(\"WARNING: Only use against lab\u002Ftest PLCs!\")\n        sys.exit(1)\n\n    target = sys.argv[1]\n    port = int(sys.argv[2]) if len(sys.argv) > 2 else 502\n\n    tester = ModbusSecurityTester(target, port)\n    tester.run_all_tests()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| PLC Firmware | The embedded software running on a Programmable Logic Controller, including the real-time operating system, protocol stacks, and I\u002FO drivers |\n| Ladder Logic | Graphical programming language for PLCs that represents relay logic circuits, stored as program blocks in PLC memory |\n| Function Block | Reusable PLC programming element that encapsulates logic with defined inputs\u002Foutputs, can be analyzed for malicious modifications |\n| Firmware Integrity | Verification that PLC firmware has not been modified from the vendor-supplied or approved version using cryptographic hash comparison |\n| IEC 62443-4-2 | Component security requirements in the IEC 62443 standard, defining security capabilities required for IACS components including PLCs |\n| JTAG\u002FSWD | Hardware debug interfaces (Joint Test Action Group \u002F Serial Wire Debug) used for firmware extraction and low-level analysis |\n\n## Tools & Systems\n\n- **Binwalk**: Firmware analysis tool for scanning, extracting, and analyzing embedded firmware images\n- **Ghidra**: NSA-developed reverse engineering framework supporting ARM, MIPS, PowerPC architectures common in PLCs\n- **EMUX\u002FFIRMADYNE**: Firmware emulation frameworks for dynamic analysis of embedded device firmware\n- **PLCinject**: Research tool for analyzing PLC logic injection vulnerabilities (use only in authorized lab settings)\n- **OpenPLC**: Open-source PLC platform useful as a test target for security research\n\n## Output Format\n\n```\nPLC Firmware Security Analysis Report\n=======================================\nDevice: [PLC Model and Firmware Version]\nAnalysis Date: YYYY-MM-DD\nMethodology: Static + Dynamic Analysis\n\nFIRMWARE INTEGRITY:\n  SHA-256: [hash]\n  Baseline Match: [Yes\u002FNo]\n  Vendor Signature Valid: [Yes\u002FNo\u002FNot Signed]\n\nVULNERABILITIES FOUND:\n  [PLC-001] [Severity] [Title]\n    CWE: [CWE-ID]\n    Detail: [Technical description]\n    Impact: [Operational impact]\n    Remediation: [Fix or mitigation]\n```\n","# Performing PLC Firmware Security Analysis\n\n## When to Use\n\n- When assessing PLC security as part of an IEC 62443 component security evaluation (IEC 62443-4-2)\n- When validating firmware integrity after a suspected compromise or supply chain attack\n- When evaluating the security of a new PLC platform before deployment in critical infrastructure\n- When performing vulnerability research on industrial control system devices in an authorized lab\n- When responding to an incident where PLC logic or firmware tampering is suspected\n\n**Do not use** on live production PLCs without explicit authorization and safety controls in place. Firmware extraction and analysis should be performed on lab devices or offline backups. Never upload PLC firmware to public analysis services. See performing-ics-penetration-testing for authorized live testing procedures.\n\n## Prerequisites\n\n- Isolated lab environment with the target PLC hardware or an emulated environment\n- PLC programming software for the target platform (Siemens TIA Portal, Rockwell Studio 5000, Schneider EcoStruxure)\n- Firmware extraction tools (binwalk, firmware-mod-kit, JTAG\u002FSWD debugger)\n- Static analysis tools (Ghidra, IDA Pro, Binary Ninja with ARM\u002FMIPS\u002FPowerPC support)\n- Understanding of PLC architecture (real-time OS, ladder logic execution, I\u002FO scanning)\n- Reference copy of known-good firmware for integrity comparison\n\n## Workflow\n\n### Step 1: Acquire PLC Firmware for Analysis\n\nExtract or obtain PLC firmware through authorized methods. This can be done by downloading from the vendor, extracting from a lab device, or obtaining from a project backup.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Firmware Acquisition and Integrity Verification.\n\nSupports firmware extraction from project files, network downloads,\nand binary image comparison against known-good baselines.\n\"\"\"\n\nimport hashlib\nimport json\nimport os\nimport struct\nimport sys\nimport zipfile\nfrom datetime import datetime\nfrom pathlib import Path\n\n\nclass PLCFirmwareAcquisition:\n    \"\"\"Handles PLC firmware acquisition from various sources.\"\"\"\n\n    def __init__(self, output_dir=\"firmware_analysis\"):\n        self.output_dir = Path(output_dir)\n        self.output_dir.mkdir(exist_ok=True)\n        self.manifest = {\n            \"acquisition_date\": datetime.now().isoformat(),\n            \"firmware_samples\": [],\n        }\n\n    def extract_from_siemens_project(self, project_path):\n        \"\"\"Extract firmware\u002Fprogram blocks from Siemens TIA Portal project.\n\n        TIA Portal projects (.ap16\u002F.ap17) are ZIP archives containing\n        XML-encoded PLC program blocks and system configuration.\n        \"\"\"\n        print(f\"[*] Analyzing Siemens project: {project_path}\")\n        results = {\"platform\": \"Siemens\", \"blocks\": []}\n\n        if zipfile.is_zipfile(project_path):\n            with zipfile.ZipFile(project_path, \"r\") as zf:\n                for info in zf.infolist():\n                    # Program blocks are stored as XML in specific paths\n                    if \"ProgramBlocks\" in info.filename or \"SystemBlocks\" in info.filename:\n                        block_data = zf.read(info.filename)\n                        block_hash = hashlib.sha256(block_data).hexdigest()\n\n                        block_path = self.output_dir \u002F info.filename.replace(\"\u002F\", \"_\")\n                        block_path.write_bytes(block_data)\n\n                        results[\"blocks\"].append({\n                            \"name\": info.filename,\n                            \"size\": info.file_size,\n                            \"sha256\": block_hash,\n                            \"extracted_to\": str(block_path),\n                        })\n                        print(f\"  [+] Extracted: {info.filename} ({info.file_size} bytes)\")\n\n        self.manifest[\"firmware_samples\"].append(results)\n        return results\n\n    def extract_from_rockwell_project(self, acd_path):\n        \"\"\"Extract program data from Rockwell Studio 5000 ACD file.\n\n        ACD files contain controller program, tags, and configuration.\n        \"\"\"\n        print(f\"[*] Analyzing Rockwell project: {acd_path}\")\n        results = {\"platform\": \"Rockwell\u002FAllen-Bradley\", \"blocks\": []}\n\n        with open(acd_path, \"rb\") as f:\n            header = f.read(256)\n            # ACD files have a specific signature\n            if b\"RSLogix\" in header or b\"Studio 5000\" in header:\n                f.seek(0)\n                full_data = f.read()\n                file_hash = hashlib.sha256(full_data).hexdigest()\n\n                results[\"blocks\"].append({\n                    \"name\": os.path.basename(acd_path),\n                    \"size\": len(full_data),\n                    \"sha256\": file_hash,\n                    \"header_signature\": header[:16].hex(),\n                })\n                print(f\"  [+] Project hash: {file_hash}\")\n\n        self.manifest[\"firmware_samples\"].append(results)\n        return results\n\n    def compute_firmware_hash(self, firmware_path):\n        \"\"\"Compute multiple hashes of a firmware image for integrity tracking.\"\"\"\n        data = Path(firmware_path).read_bytes()\n        return {\n            \"file\": str(firmware_path),\n            \"size\": len(data),\n            \"md5\": hashlib.md5(data).hexdigest(),\n            \"sha256\": hashlib.sha256(data).hexdigest(),\n            \"sha512\": hashlib.sha512(data).hexdigest(),\n        }\n\n    def compare_firmware_integrity(self, current_fw, baseline_fw):\n        \"\"\"Compare current firmware against known-good baseline.\"\"\"\n        current_hash = self.compute_firmware_hash(current_fw)\n        baseline_hash = self.compute_firmware_hash(baseline_fw)\n\n        match = current_hash[\"sha256\"] == baseline_hash[\"sha256\"]\n\n        result = {\n            \"comparison_date\": datetime.now().isoformat(),\n            \"current_firmware\": current_hash,\n            \"baseline_firmware\": baseline_hash,\n            \"integrity_match\": match,\n            \"verdict\": \"PASS - Firmware matches baseline\" if match else \"FAIL - Firmware modified!\",\n        }\n\n        if not match:\n            # Find the offset where files diverge\n            current_data = Path(current_fw).read_bytes()\n            baseline_data = Path(baseline_fw).read_bytes()\n            min_len = min(len(current_data), len(baseline_data))\n\n            first_diff = None\n            diff_count = 0\n            for i in range(min_len):\n                if current_data[i] != baseline_data[i]:\n                    if first_diff is None:\n                        first_diff = i\n                    diff_count += 1\n\n            result[\"first_difference_offset\"] = f\"0x{first_diff:08x}\" if first_diff else None\n            result[\"total_different_bytes\"] = diff_count\n            result[\"size_difference\"] = len(current_data) - len(baseline_data)\n\n        return result\n\n    def save_manifest(self):\n        \"\"\"Save acquisition manifest.\"\"\"\n        manifest_path = self.output_dir \u002F \"acquisition_manifest.json\"\n        with open(manifest_path, \"w\") as f:\n            json.dump(self.manifest, f, indent=2)\n        print(f\"\\n[*] Manifest saved: {manifest_path}\")\n\n\nif __name__ == \"__main__\":\n    acq = PLCFirmwareAcquisition()\n\n    if len(sys.argv) \u003C 2:\n        print(\"Usage:\")\n        print(\"  python process.py extract-siemens \u003Cproject.ap17>\")\n        print(\"  python process.py extract-rockwell \u003Cproject.acd>\")\n        print(\"  python process.py compare \u003Ccurrent.bin> \u003Cbaseline.bin>\")\n        sys.exit(1)\n\n    cmd = sys.argv[1]\n    if cmd == \"extract-siemens\" and len(sys.argv) > 2:\n        acq.extract_from_siemens_project(sys.argv[2])\n    elif cmd == \"extract-rockwell\" and len(sys.argv) > 2:\n        acq.extract_from_rockwell_project(sys.argv[2])\n    elif cmd == \"compare\" and len(sys.argv) > 3:\n        result = acq.compare_firmware_integrity(sys.argv[2], sys.argv[3])\n        print(json.dumps(result, indent=2))\n    else:\n        print(\"Invalid command\")\n        sys.exit(1)\n\n    acq.save_manifest()\n```\n\n### Step 2: Perform Static Analysis of Firmware Image\n\nUse binwalk for firmware unpacking and Ghidra for disassembly to identify security issues in the firmware binary.\n\n```bash\n# Step 2a: Unpack firmware image with binwalk\nbinwalk -e firmware.bin\n# Output: _firmware.bin.extracted\u002F\n\n# Identify firmware components\nbinwalk firmware.bin\n# Look for: file system images, compressed sections, bootloader, RTOS kernel\n\n# Extract strings for credential and configuration analysis\nstrings -n 8 firmware.bin > firmware_strings.txt\n\n# Search for hardcoded credentials\ngrep -iE \"(password|passwd|pwd|secret|key|credential|login|admin|root)\" firmware_strings.txt\n\n# Search for network configuration\ngrep -iE \"(http|ftp|telnet|ssh|snmp|modbus|192\\.168|10\\.|172\\.)\" firmware_strings.txt\n\n# Search for debug\u002Fbackdoor indicators\ngrep -iE \"(debug|backdoor|test_mode|factory|service_port|hidden)\" firmware_strings.txt\n\n# Search for cryptographic material\ngrep -iE \"(BEGIN RSA|BEGIN CERTIFICATE|AES|DES|private.key)\" firmware_strings.txt\n\n# Step 2b: Entropy analysis to detect encrypted\u002Fcompressed sections\nbinwalk -E firmware.bin\n# High entropy sections may contain encrypted payloads or compressed data\n\n# Step 2c: Analyze with Ghidra (headless mode)\nanalyzeHeadless \u002Ftmp\u002Fghidra_project PLC_FW \\\n  -import firmware.bin \\\n  -processor ARM:LE:32:Cortex \\\n  -postScript FindCryptoConstants.java \\\n  -postScript FindHardcodedStrings.java \\\n  -log \u002Ftmp\u002Fghidra_analysis.log\n```\n\n### Step 3: Analyze PLC Communication Stack Security\n\nExamine how the PLC handles industrial protocol requests, focusing on authentication bypass, buffer overflows in packet parsing, and command injection vulnerabilities.\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"PLC Protocol Security Analyzer.\n\nTests PLC protocol implementation for common vulnerabilities\nincluding authentication bypass, malformed packet handling,\nand function code access control.\n\nWARNING: Only run against lab\u002Ftest PLCs, never production systems.\n\"\"\"\n\nimport socket\nimport struct\nimport sys\nimport time\nfrom dataclasses import dataclass\n\n\n@dataclass\nclass ProtocolTestResult:\n    test_name: str\n    target: str\n    protocol: str\n    result: str  # PASS, FAIL, ERROR\n    severity: str\n    detail: str\n\n\nclass ModbusSecurityTester:\n    \"\"\"Tests Modbus\u002FTCP implementation security.\"\"\"\n\n    def __init__(self, target_ip, target_port=502):\n        self.target = target_ip\n        self.port = target_port\n        self.results = []\n\n    def _send_modbus(self, unit_id, func_code, data=b\"\"):\n        \"\"\"Send a Modbus\u002FTCP request and return response.\"\"\"\n        # MBAP Header: transaction_id(2) + protocol_id(2) + length(2) + unit_id(1)\n        mbap = struct.pack(\">HHHB\", 0x0001, 0x0000, len(data) + 2, unit_id)\n        pdu = struct.pack(\"B\", func_code) + data\n\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(5)\n            sock.connect((self.target, self.port))\n            sock.send(mbap + pdu)\n            response = sock.recv(1024)\n            sock.close()\n            return response\n        except Exception as e:\n            return None\n\n    def test_authentication_required(self):\n        \"\"\"Test if PLC requires authentication for read\u002Fwrite operations.\"\"\"\n        # Test unauthenticated read\n        read_data = struct.pack(\">HH\", 0, 10)  # Read 10 registers from address 0\n        response = self._send_modbus(1, 3, read_data)\n\n        if response and len(response) > 8 and response[7] != 0x83:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Modbus Authentication - Read\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"high\",\n                detail=\"PLC accepts unauthenticated Modbus read commands. No authentication required.\",\n            ))\n\n        # Test unauthenticated write\n        write_data = struct.pack(\">HH\", 100, 0)  # Write 0 to register 100\n        response = self._send_modbus(1, 6, write_data)\n\n        if response and len(response) > 8 and response[7] != 0x86:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Modbus Authentication - Write\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"critical\",\n                detail=\"PLC accepts unauthenticated Modbus WRITE commands. Any host can modify registers.\",\n            ))\n\n    def test_function_code_access_control(self):\n        \"\"\"Test if PLC restricts dangerous function codes.\"\"\"\n        dangerous_funcs = {\n            8: \"Diagnostics (can restart communications)\",\n            17: \"Report Slave ID (information disclosure)\",\n            43: \"Encapsulated Interface Transport (device identification)\",\n        }\n\n        for fc, desc in dangerous_funcs.items():\n            response = self._send_modbus(1, fc, b\"\\x00\\x00\")\n            if response and len(response) > 8:\n                error_code = response[7]\n                if error_code != (fc | 0x80):  # Not an exception response\n                    self.results.append(ProtocolTestResult(\n                        test_name=f\"Function Code Access - FC{fc}\",\n                        target=self.target,\n                        protocol=\"Modbus\u002FTCP\",\n                        result=\"FAIL\",\n                        severity=\"medium\",\n                        detail=f\"PLC responds to FC{fc} ({desc}) without access control\",\n                    ))\n\n    def test_invalid_unit_id(self):\n        \"\"\"Test PLC response to broadcast and invalid unit IDs.\"\"\"\n        # Broadcast (unit ID 0) - should be carefully handled\n        read_data = struct.pack(\">HH\", 0, 1)\n        response = self._send_modbus(0, 3, read_data)\n\n        if response and len(response) > 8 and response[7] != 0x83:\n            self.results.append(ProtocolTestResult(\n                test_name=\"Broadcast Unit ID Handling\",\n                target=self.target,\n                protocol=\"Modbus\u002FTCP\",\n                result=\"FAIL\",\n                severity=\"high\",\n                detail=\"PLC responds to broadcast unit ID 0. This enables broadcast write attacks.\",\n            ))\n\n    def test_malformed_packet_handling(self):\n        \"\"\"Test PLC resilience against malformed Modbus packets.\"\"\"\n        # Oversized length field\n        malformed = struct.pack(\">HHH\", 0x0001, 0x0000, 0xFFFF) + b\"\\x01\\x03\\x00\\x00\\x00\\x01\"\n        try:\n            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n            sock.settimeout(5)\n            sock.connect((self.target, self.port))\n            sock.send(malformed)\n            time.sleep(1)\n\n            # Verify PLC is still responsive\n            read_data = struct.pack(\">HH\", 0, 1)\n            response = self._send_modbus(1, 3, read_data)\n            sock.close()\n\n            if response is None:\n                self.results.append(ProtocolTestResult(\n                    test_name=\"Malformed Packet - Oversized Length\",\n                    target=self.target,\n                    protocol=\"Modbus\u002FTCP\",\n                    result=\"FAIL\",\n                    severity=\"critical\",\n                    detail=\"PLC became unresponsive after receiving oversized length field. Possible DoS vulnerability.\",\n                ))\n            else:\n                self.results.append(ProtocolTestResult(\n                    test_name=\"Malformed Packet - Oversized Length\",\n                    target=self.target,\n                    protocol=\"Modbus\u002FTCP\",\n                    result=\"PASS\",\n                    severity=\"info\",\n                    detail=\"PLC correctly handles oversized length field without crashing\",\n                ))\n        except Exception as e:\n            pass\n\n    def run_all_tests(self):\n        \"\"\"Run all Modbus security tests.\"\"\"\n        print(f\"\\n{'='*60}\")\n        print(f\"PLC MODBUS SECURITY ANALYSIS - {self.target}:{self.port}\")\n        print(f\"{'='*60}\")\n\n        self.test_authentication_required()\n        self.test_function_code_access_control()\n        self.test_invalid_unit_id()\n        self.test_malformed_packet_handling()\n\n        for r in self.results:\n            icon = \"[FAIL]\" if r.result == \"FAIL\" else \"[PASS]\"\n            print(f\"\\n  {icon} {r.test_name}\")\n            print(f\"    Severity: {r.severity}\")\n            print(f\"    Detail: {r.detail}\")\n\n        return self.results\n\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python plc_protocol_tester.py \u003Ctarget_plc_ip> [port]\")\n        print(\"WARNING: Only use against lab\u002Ftest PLCs!\")\n        sys.exit(1)\n\n    target = sys.argv[1]\n    port = int(sys.argv[2]) if len(sys.argv) > 2 else 502\n\n    tester = ModbusSecurityTester(target, port)\n    tester.run_all_tests()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| PLC Firmware | The embedded software running on a Programmable Logic Controller, including the real-time operating system, protocol stacks, and I\u002FO drivers |\n| Ladder Logic | Graphical programming language for PLCs that represents relay logic circuits, stored as program blocks in PLC memory |\n| Function Block | Reusable PLC programming element that encapsulates logic with defined inputs\u002Foutputs, can be analyzed for malicious modifications |\n| Firmware Integrity | Verification that PLC firmware has not been modified from the vendor-supplied or approved version using cryptographic hash comparison |\n| IEC 62443-4-2 | Component security requirements in the IEC 62443 standard, defining security capabilities required for IACS components including PLCs |\n| JTAG\u002FSWD | Hardware debug interfaces (Joint Test Action Group \u002F Serial Wire Debug) used for firmware extraction and low-level analysis |\n\n## Tools & Systems\n\n- **Binwalk**: Firmware analysis tool for scanning, extracting, and analyzing embedded firmware images\n- **Ghidra**: NSA-developed reverse engineering framework supporting ARM, MIPS, PowerPC architectures common in PLCs\n- **EMUX\u002FFIRMADYNE**: Firmware emulation frameworks for dynamic analysis of embedded device firmware\n- **PLCinject**: Research tool for analyzing PLC logic injection vulnerabilities (use only in authorized lab settings)\n- **OpenPLC**: Open-source PLC platform useful as a test target for security research\n\n## Output Format\n\n```\nPLC Firmware Security Analysis Report\n=======================================\nDevice: [PLC Model and Firmware Version]\nAnalysis Date: YYYY-MM-DD\nMethodology: Static + Dynamic Analysis\n\nFIRMWARE INTEGRITY:\n  SHA-256: [hash]\n  Baseline Match: [Yes\u002FNo]\n  Vendor Signature Valid: [Yes\u002FNo\u002FNot Signed]\n\nVULNERABILITIES FOUND:\n  [PLC-001] [Severity] [Title]\n    CWE: [CWE-ID]\n    Detail: [Technical description]\n    Impact: [Operational impact]\n    Remediation: [Fix or mitigation]\n```\n",{"name":5,"note":25,"tags":26,"author":34,"domain":35,"source":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":44,"mitre_attack":45,"source_commit":51},"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.",[27,28,29,30,31,32,33],"ot-security","ics","scada","industrial-control","iec62443","firmware-analysis","plc-security","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0.0",[39,40,41,42],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security","This skill covers analyzing Programmable Logic Controller (PLC) firmware for security vulnerabilities including hardcoded credentials, insecure update mechanisms, backdoor functions, memory corruption flaws, and undocumented debug interfaces. It addresses firmware extraction from common PLC platforms (Siemens S7, Allen-Bradley, Schneider Modicon), static analysis of firmware images, dynamic analysis in emulated environments, and comparison against known-good baselines to detect tampering.\n",[46,47,48,49,50],"T1078","T1190","T1059","T1003","T1110","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill performing-plc-firmware-security-analysis",{"tool":68,"command":69},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill performing-plc-firmware-security-analysis",{"tool":71,"command":72},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill performing-plc-firmware-security-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis\u002FSKILL.md",true,[76,80,86],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fapi-reference.md","REFERENCE","参考文档",1760,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis\u002Freferences\u002Fapi-reference.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fagent.py","SCRIPT","脚本",7482,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-plc-firmware-security-analysis\u002Fscripts\u002Fagent.py",[93,101,108,116,124,132],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]