Understanding And Managing Security Vulnerabilities In Industrial IoT Systems And SCADA Environments