Complete the code to identify the vulnerability related to weak passwords in SCADA systems.
if system.authentication == '[1]': alert('Weak password detected')
Default passwords are a common vulnerability in SCADA systems because they are easy to guess.
Complete the code to detect if unencrypted communication is used in SCADA.
if network.protocol == '[1]': alert('Unencrypted communication detected')
HTTP is unencrypted and vulnerable to interception, unlike HTTPS or SSH.
Fix the error in the code that checks for outdated SCADA software versions.
if system.version [1] '1.0.0': alert('Outdated software version detected')
Versions less than '1.0.0' indicate outdated software that may have vulnerabilities.
Fill both blanks to detect if firewall and antivirus are disabled in SCADA.
if system.firewall == [1] and system.antivirus == [2]: alert('Security protections disabled')
Both firewall and antivirus being False means they are disabled, which is a vulnerability.
Fill all three blanks to create a dictionary of vulnerabilities with their status.
vulnerabilities = [1]: [2] for [3] in detected_vulns if detected_vulns[[3]] == True
This dictionary comprehension creates a map of vulnerability names to their status when they are detected (True).