[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E63TP30KSY5JMEWFEGQ8PS":3,"skill-same:01M7E63TP30KSY5JMEWFEGQ8PS":88},{"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":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M7E63TP30KSY5JMEWFEGQ8PS","performing-scada-hmi-security-assessment",null,"Perform security assessments of SCADA Human-Machine Interface (HMI) systems to identify vulnerabilities in web-based HMIs, thin-client configurations, authentication mechanisms, and communication channels between HMI and PLCs, aligned with IEC 62443 and NIST SP 800-82 guidelines.","sanjeevafk\u002Fagent-skills","sanjeevafk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230678117?v=4","01M7C540EFY46ETG1NNWKS5X3Q","Sanjeev","01M7C540F366J5C1D587BMKH9Q",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-scada-hmi-security-assessment\ndescription: 'Perform security assessments of SCADA Human-Machine Interface (HMI)\n  systems to identify vulnerabilities in web-based HMIs, thin-client configurations,\n  authentication mechanisms, and communication channels between HMI and PLCs, aligned\n  with IEC 62443 and NIST SP 800-82 guidelines.\n\n  '\ndomain: cybersecurity\nsubdomain: ot-ics-security\ntags:\n- ot-security\n- ics\n- scada\n- hmi\n- security-assessment\n- vulnerability\n- iec62443\n- nist-800-82\nversion: '1.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- T0816\n- T0836\n---\n\n# Performing SCADA HMI Security Assessment\n\n## When to Use\n\n- When assessing the security posture of HMI systems in SCADA\u002FDCS environments\n- When evaluating web-based HMI interfaces for common web vulnerabilities\n- When auditing HMI authentication, authorization, and session management\n- When testing communication security between HMIs and PLCs\u002FRTUs\n- When preparing for IEC 62443 or NERC CIP compliance assessments\n\n**Do not use** for testing HMIs in active production without a maintenance window and rollback plan, for PLC-level protocol analysis (see performing-s7comm-protocol-security-analysis), or for general web application testing on non-OT systems.\n\n## Prerequisites\n\n- HMI system inventory with vendor, version, and network configuration details\n- Lab or test environment mirroring production HMI setup (preferred for active testing)\n- Authorization from plant operations for testing during maintenance windows\n- NIST SP 800-82 and IEC 62443 security requirements documentation\n- Network capture capability on HMI-to-PLC communication segment\n\n## Workflow\n\n### Step 1: Assess HMI Attack Surface\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"SCADA HMI Security Assessment Tool.\n\nEvaluates HMI security across authentication, communication,\nconfiguration, and web interface categories aligned with\nIEC 62443 and NIST SP 800-82 requirements.\n\"\"\"\n\nimport json\nimport sys\nfrom datetime import datetime\nfrom typing import Dict, List\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass HMISecurityAssessment:\n    \"\"\"Performs security assessment of SCADA HMI systems.\"\"\"\n\n    def __init__(self, hmi_info: dict):\n        self.hmi_info = hmi_info\n        self.findings = []\n        self.checks_run = 0\n        self.checks_passed = 0\n\n    def check_authentication(self):\n        \"\"\"Assess HMI authentication mechanisms.\"\"\"\n        checks = [\n            {\n                \"id\": \"AUTH-01\",\n                \"name\": \"Password complexity enforcement\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.7\",\n                \"description\": \"HMI must enforce minimum password complexity requirements\",\n                \"test\": \"Verify minimum length >= 8, complexity rules, history >= 5\",\n            },\n            {\n                \"id\": \"AUTH-02\",\n                \"name\": \"Account lockout policy\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.11\",\n                \"description\": \"HMI must lock accounts after failed login attempts\",\n                \"test\": \"Verify lockout after 5 failed attempts, lockout duration >= 15 min\",\n            },\n            {\n                \"id\": \"AUTH-03\",\n                \"name\": \"Default credentials changed\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.5\",\n                \"description\": \"All default vendor credentials must be changed\",\n                \"test\": \"Attempt login with known vendor defaults (admin\u002Fadmin, operator\u002Foperator)\",\n            },\n            {\n                \"id\": \"AUTH-04\",\n                \"name\": \"Role-based access control\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 2.1\",\n                \"description\": \"HMI must separate operator, engineer, and admin roles\",\n                \"test\": \"Verify operator role cannot access engineering functions\",\n            },\n            {\n                \"id\": \"AUTH-05\",\n                \"name\": \"Session timeout enforcement\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.12\",\n                \"description\": \"HMI sessions must time out after inactivity\",\n                \"test\": \"Verify session timeout \u003C= 15 minutes for operator, \u003C= 5 for admin\",\n            },\n            {\n                \"id\": \"AUTH-06\",\n                \"name\": \"Multi-factor authentication for remote access\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.13\",\n                \"description\": \"Remote HMI access requires MFA\",\n                \"test\": \"Verify MFA is enforced for all non-local HMI connections\",\n            },\n        ]\n\n        print(f\"\\n--- AUTHENTICATION ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Ref: {check['iec62443_ref']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_communication_security(self):\n        \"\"\"Assess HMI-to-PLC communication security.\"\"\"\n        checks = [\n            {\n                \"id\": \"COMM-01\",\n                \"name\": \"Encrypted HMI-PLC communication\",\n                \"description\": \"Traffic between HMI and PLCs should use encrypted protocols (OPC UA with TLS)\",\n                \"test\": \"Capture HMI-PLC traffic and verify encryption (Wireshark TLS handshake)\",\n            },\n            {\n                \"id\": \"COMM-02\",\n                \"name\": \"HMI write command authentication\",\n                \"description\": \"Write commands from HMI to PLC should be authenticated\",\n                \"test\": \"Verify that write operations require operator confirmation\u002Fauthentication\",\n            },\n            {\n                \"id\": \"COMM-03\",\n                \"name\": \"Web HMI uses HTTPS\",\n                \"description\": \"Web-based HMI interfaces must use TLS 1.2+ with valid certificates\",\n                \"test\": \"Check TLS version, cipher suites, certificate validity\",\n            },\n            {\n                \"id\": \"COMM-04\",\n                \"name\": \"No cleartext protocols in use\",\n                \"description\": \"Telnet, FTP, HTTP must not be used for HMI access or management\",\n                \"test\": \"Port scan HMI for cleartext protocol services\",\n            },\n        ]\n\n        print(f\"\\n--- COMMUNICATION SECURITY ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_web_hmi_security(self):\n        \"\"\"Assess web-based HMI for common web vulnerabilities.\"\"\"\n        hmi_url = self.hmi_info.get(\"url\", \"\")\n        if not hmi_url:\n            print(f\"\\n  [SKIP] No web HMI URL provided\")\n            return\n\n        checks = [\n            {\n                \"id\": \"WEB-01\",\n                \"name\": \"Cross-Site Scripting (XSS)\",\n                \"owasp\": \"A7:2017\",\n                \"test\": \"Test input fields with XSS payloads in tag names, alarm messages\",\n            },\n            {\n                \"id\": \"WEB-02\",\n                \"name\": \"Cross-Site Request Forgery (CSRF)\",\n                \"owasp\": \"A8:2013\",\n                \"test\": \"Verify CSRF tokens on state-changing operations (setpoint changes)\",\n            },\n            {\n                \"id\": \"WEB-03\",\n                \"name\": \"Insecure Direct Object References\",\n                \"owasp\": \"A4:2013\",\n                \"test\": \"Manipulate URL parameters to access other users HMI views\",\n            },\n            {\n                \"id\": \"WEB-04\",\n                \"name\": \"Security Headers\",\n                \"test\": \"Verify X-Frame-Options, CSP, X-Content-Type-Options headers\",\n            },\n            {\n                \"id\": \"WEB-05\",\n                \"name\": \"Privileged file system access (CVE-2025-0921)\",\n                \"test\": \"Check Ignition SCADA for privileged file system vulnerability via project files\",\n            },\n        ]\n\n        print(f\"\\n--- WEB HMI SECURITY ASSESSMENT ---\")\n        print(f\"  Target: {hmi_url}\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_hardening(self):\n        \"\"\"Assess HMI operating system and application hardening.\"\"\"\n        checks = [\n            {\n                \"id\": \"HARD-01\",\n                \"name\": \"OS patch level\",\n                \"test\": \"Verify HMI OS is patched within SLA (typically 90 days for OT)\",\n            },\n            {\n                \"id\": \"HARD-02\",\n                \"name\": \"Unnecessary services disabled\",\n                \"test\": \"Verify no unnecessary network services running (RDP if not needed, SMB, etc)\",\n            },\n            {\n                \"id\": \"HARD-03\",\n                \"name\": \"USB port restrictions\",\n                \"test\": \"Verify USB mass storage is blocked on HMI terminals\",\n            },\n            {\n                \"id\": \"HARD-04\",\n                \"name\": \"Application whitelisting\",\n                \"test\": \"Verify only authorized HMI applications can execute\",\n            },\n            {\n                \"id\": \"HARD-05\",\n                \"name\": \"Audit logging enabled\",\n                \"test\": \"Verify operator actions, login events, and setpoint changes are logged\",\n            },\n        ]\n\n        print(f\"\\n--- HMI HARDENING ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def generate_report(self):\n        \"\"\"Generate assessment report.\"\"\"\n        self.check_authentication()\n        self.check_communication_security()\n        self.check_web_hmi_security()\n        self.check_hardening()\n\n        print(f\"\\n{'='*70}\")\n        print(\"SCADA HMI SECURITY ASSESSMENT SUMMARY\")\n        print(f\"{'='*70}\")\n        print(f\"Date: {datetime.now().isoformat()}\")\n        print(f\"HMI: {self.hmi_info.get('name', 'Unknown')}\")\n        print(f\"Vendor: {self.hmi_info.get('vendor', 'Unknown')}\")\n        print(f\"Version: {self.hmi_info.get('version', 'Unknown')}\")\n        print(f\"Total Checks: {self.checks_run}\")\n        print(f\"Findings: {len(self.findings)}\")\n\n\nif __name__ == \"__main__\":\n    assessment = HMISecurityAssessment(hmi_info={\n        \"name\": \"Plant-HMI-01\",\n        \"vendor\": \"Siemens WinCC\",\n        \"version\": \"7.5 SP2\",\n        \"ip\": \"10.10.2.10\",\n        \"url\": \"https:\u002F\u002F10.10.2.10:8080\",\n        \"os\": \"Windows 10 LTSC 2021\",\n    })\n    assessment.generate_report()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| HMI | Human-Machine Interface providing operators visual representation and control of industrial processes |\n| Web HMI | Browser-based HMI interface accessible via HTTP\u002FHTTPS, subject to standard web vulnerabilities |\n| Setpoint | Target value for a process variable that operators can change through the HMI; unauthorized changes can cause process upset |\n| Alarm Suppression | Attacker technique of disabling or hiding HMI alarms to mask malicious process manipulation |\n| WinCC | Siemens SCADA\u002FHMI software widely deployed in manufacturing and process industries |\n| CVE-2025-0921 | Ignition SCADA privileged file system vulnerability exploitable through malicious project uploads |\n\n## Output Format\n\n```\nHMI SECURITY ASSESSMENT REPORT\n=================================\nDate: YYYY-MM-DD\nHMI: [name] | Vendor: [vendor] | Version: [version]\n\nFINDINGS BY CATEGORY:\n  Authentication: [pass\u002Ffail count]\n  Communication: [pass\u002Ffail count]\n  Web Security: [pass\u002Ffail count]\n  Hardening: [pass\u002Ffail count]\n\nCRITICAL FINDINGS:\n  1. [finding with remediation]\n\nCOMPLIANCE STATUS:\n  IEC 62443 SL-T: [target level]\n  IEC 62443 SL-A: [achieved level]\n```\n","# Performing SCADA HMI Security Assessment\n\n## When to Use\n\n- When assessing the security posture of HMI systems in SCADA\u002FDCS environments\n- When evaluating web-based HMI interfaces for common web vulnerabilities\n- When auditing HMI authentication, authorization, and session management\n- When testing communication security between HMIs and PLCs\u002FRTUs\n- When preparing for IEC 62443 or NERC CIP compliance assessments\n\n**Do not use** for testing HMIs in active production without a maintenance window and rollback plan, for PLC-level protocol analysis (see performing-s7comm-protocol-security-analysis), or for general web application testing on non-OT systems.\n\n## Prerequisites\n\n- HMI system inventory with vendor, version, and network configuration details\n- Lab or test environment mirroring production HMI setup (preferred for active testing)\n- Authorization from plant operations for testing during maintenance windows\n- NIST SP 800-82 and IEC 62443 security requirements documentation\n- Network capture capability on HMI-to-PLC communication segment\n\n## Workflow\n\n### Step 1: Assess HMI Attack Surface\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"SCADA HMI Security Assessment Tool.\n\nEvaluates HMI security across authentication, communication,\nconfiguration, and web interface categories aligned with\nIEC 62443 and NIST SP 800-82 requirements.\n\"\"\"\n\nimport json\nimport sys\nfrom datetime import datetime\nfrom typing import Dict, List\n\ntry:\n    import requests\nexcept ImportError:\n    print(\"Install requests: pip install requests\")\n    sys.exit(1)\n\n\nclass HMISecurityAssessment:\n    \"\"\"Performs security assessment of SCADA HMI systems.\"\"\"\n\n    def __init__(self, hmi_info: dict):\n        self.hmi_info = hmi_info\n        self.findings = []\n        self.checks_run = 0\n        self.checks_passed = 0\n\n    def check_authentication(self):\n        \"\"\"Assess HMI authentication mechanisms.\"\"\"\n        checks = [\n            {\n                \"id\": \"AUTH-01\",\n                \"name\": \"Password complexity enforcement\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.7\",\n                \"description\": \"HMI must enforce minimum password complexity requirements\",\n                \"test\": \"Verify minimum length >= 8, complexity rules, history >= 5\",\n            },\n            {\n                \"id\": \"AUTH-02\",\n                \"name\": \"Account lockout policy\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.11\",\n                \"description\": \"HMI must lock accounts after failed login attempts\",\n                \"test\": \"Verify lockout after 5 failed attempts, lockout duration >= 15 min\",\n            },\n            {\n                \"id\": \"AUTH-03\",\n                \"name\": \"Default credentials changed\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.5\",\n                \"description\": \"All default vendor credentials must be changed\",\n                \"test\": \"Attempt login with known vendor defaults (admin\u002Fadmin, operator\u002Foperator)\",\n            },\n            {\n                \"id\": \"AUTH-04\",\n                \"name\": \"Role-based access control\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 2.1\",\n                \"description\": \"HMI must separate operator, engineer, and admin roles\",\n                \"test\": \"Verify operator role cannot access engineering functions\",\n            },\n            {\n                \"id\": \"AUTH-05\",\n                \"name\": \"Session timeout enforcement\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.12\",\n                \"description\": \"HMI sessions must time out after inactivity\",\n                \"test\": \"Verify session timeout \u003C= 15 minutes for operator, \u003C= 5 for admin\",\n            },\n            {\n                \"id\": \"AUTH-06\",\n                \"name\": \"Multi-factor authentication for remote access\",\n                \"iec62443_ref\": \"ISA-62443-3-3 SR 1.13\",\n                \"description\": \"Remote HMI access requires MFA\",\n                \"test\": \"Verify MFA is enforced for all non-local HMI connections\",\n            },\n        ]\n\n        print(f\"\\n--- AUTHENTICATION ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Ref: {check['iec62443_ref']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_communication_security(self):\n        \"\"\"Assess HMI-to-PLC communication security.\"\"\"\n        checks = [\n            {\n                \"id\": \"COMM-01\",\n                \"name\": \"Encrypted HMI-PLC communication\",\n                \"description\": \"Traffic between HMI and PLCs should use encrypted protocols (OPC UA with TLS)\",\n                \"test\": \"Capture HMI-PLC traffic and verify encryption (Wireshark TLS handshake)\",\n            },\n            {\n                \"id\": \"COMM-02\",\n                \"name\": \"HMI write command authentication\",\n                \"description\": \"Write commands from HMI to PLC should be authenticated\",\n                \"test\": \"Verify that write operations require operator confirmation\u002Fauthentication\",\n            },\n            {\n                \"id\": \"COMM-03\",\n                \"name\": \"Web HMI uses HTTPS\",\n                \"description\": \"Web-based HMI interfaces must use TLS 1.2+ with valid certificates\",\n                \"test\": \"Check TLS version, cipher suites, certificate validity\",\n            },\n            {\n                \"id\": \"COMM-04\",\n                \"name\": \"No cleartext protocols in use\",\n                \"description\": \"Telnet, FTP, HTTP must not be used for HMI access or management\",\n                \"test\": \"Port scan HMI for cleartext protocol services\",\n            },\n        ]\n\n        print(f\"\\n--- COMMUNICATION SECURITY ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_web_hmi_security(self):\n        \"\"\"Assess web-based HMI for common web vulnerabilities.\"\"\"\n        hmi_url = self.hmi_info.get(\"url\", \"\")\n        if not hmi_url:\n            print(f\"\\n  [SKIP] No web HMI URL provided\")\n            return\n\n        checks = [\n            {\n                \"id\": \"WEB-01\",\n                \"name\": \"Cross-Site Scripting (XSS)\",\n                \"owasp\": \"A7:2017\",\n                \"test\": \"Test input fields with XSS payloads in tag names, alarm messages\",\n            },\n            {\n                \"id\": \"WEB-02\",\n                \"name\": \"Cross-Site Request Forgery (CSRF)\",\n                \"owasp\": \"A8:2013\",\n                \"test\": \"Verify CSRF tokens on state-changing operations (setpoint changes)\",\n            },\n            {\n                \"id\": \"WEB-03\",\n                \"name\": \"Insecure Direct Object References\",\n                \"owasp\": \"A4:2013\",\n                \"test\": \"Manipulate URL parameters to access other users HMI views\",\n            },\n            {\n                \"id\": \"WEB-04\",\n                \"name\": \"Security Headers\",\n                \"test\": \"Verify X-Frame-Options, CSP, X-Content-Type-Options headers\",\n            },\n            {\n                \"id\": \"WEB-05\",\n                \"name\": \"Privileged file system access (CVE-2025-0921)\",\n                \"test\": \"Check Ignition SCADA for privileged file system vulnerability via project files\",\n            },\n        ]\n\n        print(f\"\\n--- WEB HMI SECURITY ASSESSMENT ---\")\n        print(f\"  Target: {hmi_url}\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def check_hardening(self):\n        \"\"\"Assess HMI operating system and application hardening.\"\"\"\n        checks = [\n            {\n                \"id\": \"HARD-01\",\n                \"name\": \"OS patch level\",\n                \"test\": \"Verify HMI OS is patched within SLA (typically 90 days for OT)\",\n            },\n            {\n                \"id\": \"HARD-02\",\n                \"name\": \"Unnecessary services disabled\",\n                \"test\": \"Verify no unnecessary network services running (RDP if not needed, SMB, etc)\",\n            },\n            {\n                \"id\": \"HARD-03\",\n                \"name\": \"USB port restrictions\",\n                \"test\": \"Verify USB mass storage is blocked on HMI terminals\",\n            },\n            {\n                \"id\": \"HARD-04\",\n                \"name\": \"Application whitelisting\",\n                \"test\": \"Verify only authorized HMI applications can execute\",\n            },\n            {\n                \"id\": \"HARD-05\",\n                \"name\": \"Audit logging enabled\",\n                \"test\": \"Verify operator actions, login events, and setpoint changes are logged\",\n            },\n        ]\n\n        print(f\"\\n--- HMI HARDENING ASSESSMENT ---\")\n        for check in checks:\n            self.checks_run += 1\n            print(f\"  [{check['id']}] {check['name']}\")\n            print(f\"    Test: {check['test']}\")\n\n    def generate_report(self):\n        \"\"\"Generate assessment report.\"\"\"\n        self.check_authentication()\n        self.check_communication_security()\n        self.check_web_hmi_security()\n        self.check_hardening()\n\n        print(f\"\\n{'='*70}\")\n        print(\"SCADA HMI SECURITY ASSESSMENT SUMMARY\")\n        print(f\"{'='*70}\")\n        print(f\"Date: {datetime.now().isoformat()}\")\n        print(f\"HMI: {self.hmi_info.get('name', 'Unknown')}\")\n        print(f\"Vendor: {self.hmi_info.get('vendor', 'Unknown')}\")\n        print(f\"Version: {self.hmi_info.get('version', 'Unknown')}\")\n        print(f\"Total Checks: {self.checks_run}\")\n        print(f\"Findings: {len(self.findings)}\")\n\n\nif __name__ == \"__main__\":\n    assessment = HMISecurityAssessment(hmi_info={\n        \"name\": \"Plant-HMI-01\",\n        \"vendor\": \"Siemens WinCC\",\n        \"version\": \"7.5 SP2\",\n        \"ip\": \"10.10.2.10\",\n        \"url\": \"https:\u002F\u002F10.10.2.10:8080\",\n        \"os\": \"Windows 10 LTSC 2021\",\n    })\n    assessment.generate_report()\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| HMI | Human-Machine Interface providing operators visual representation and control of industrial processes |\n| Web HMI | Browser-based HMI interface accessible via HTTP\u002FHTTPS, subject to standard web vulnerabilities |\n| Setpoint | Target value for a process variable that operators can change through the HMI; unauthorized changes can cause process upset |\n| Alarm Suppression | Attacker technique of disabling or hiding HMI alarms to mask malicious process manipulation |\n| WinCC | Siemens SCADA\u002FHMI software widely deployed in manufacturing and process industries |\n| CVE-2025-0921 | Ignition SCADA privileged file system vulnerability exploitable through malicious project uploads |\n\n## Output Format\n\n```\nHMI SECURITY ASSESSMENT REPORT\n=================================\nDate: YYYY-MM-DD\nHMI: [name] | Vendor: [vendor] | Version: [version]\n\nFINDINGS BY CATEGORY:\n  Authentication: [pass\u002Ffail count]\n  Communication: [pass\u002Ffail count]\n  Web Security: [pass\u002Ffail count]\n  Hardening: [pass\u002Ffail count]\n\nCRITICAL FINDINGS:\n  1. [finding with remediation]\n\nCOMPLIANCE STATUS:\n  IEC 62443 SL-T: [target level]\n  IEC 62443 SL-A: [achieved level]\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":42,"description":43,"mitre_attack":44},[26,27,28,29,30,31,32,33],"ot-security","ics","scada","hmi","security-assessment","vulnerability","iec62443","nist-800-82","mahipal","cybersecurity","1.0",[38,39,40,41],"PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02","ot-ics-security","Perform security assessments of SCADA Human-Machine Interface (HMI) systems to identify vulnerabilities in web-based HMIs, thin-client configurations, authentication mechanisms, and communication channels between HMI and PLCs, aligned with IEC 62443 and NIST SP 800-82 guidelines.\n",[45,46,47,48,49],"T1078","T1190","T1059","T0816","T0836","main","4e084e84eb42fc53e144c89c0f7f48b39c8a4b0f","collections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment",1,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fsanjeevafk","First make it work. Then make it right. Then make it fast.","2026-11-14 13:36:16",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add sanjeevafk\u002Fagent-skills --skill performing-scada-hmi-security-assessment",{"tool":64,"command":65},"bunx","bunx skills add sanjeevafk\u002Fagent-skills --skill performing-scada-hmi-security-assessment",{"tool":67,"command":68},"pnpm","pnpm dlx skills add sanjeevafk\u002Fagent-skills --skill performing-scada-hmi-security-assessment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment\u002FSKILL.md",true,[72,76,82],{"path":73,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fapi-reference.md","REFERENCE","参考文档",2601,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment\u002Freferences\u002Fapi-reference.md",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fagent.py","SCRIPT","脚本",6908,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-scada-hmi-security-assessment\u002Fscripts\u002Fagent.py",[89,97,105,113,121,128],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M7EFHX67M3KKXT1BXVPA5ADT","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","MIT","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7EFFQGM51TZBGRENXY50ZYM","whiteboard-diagrams","Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M7EFF1CSQNTDMHFK4ZGY6NYK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M7EFE8106X6C28FT8PA74427","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M7EFCSNZM9G7ZHS6F127Q71X","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":20},"01M7EFCE7EZMKPRYDDNKBQ9EEH","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[]]