componentData2 = ({
device: {
name: "Device/Sensor",
color: "#2C3E50",
riskLevel: 8,
description: "Physical IoT devices deployed in the field",
attacks: [
{ name: "Firmware Tampering", severity: "Critical" },
{ name: "JTAG/Debug Port Access", severity: "Critical" },
{ name: "Side-Channel Attacks", severity: "High" },
{ name: "Hardware Cloning", severity: "High" },
{ name: "Sensor Spoofing", severity: "Medium" }
],
mitigations: [
"Disable JTAG/debug ports in production",
"Use secure boot with signed firmware",
"Implement hardware security modules (HSM)",
"Deploy tamper-evident enclosures"
]
},
gateway: {
name: "Gateway",
color: "#16A085",
riskLevel: 7,
description: "Edge gateway bridging devices to cloud",
attacks: [
{ name: "Gateway Compromise", severity: "Critical" },
{ name: "Protocol Downgrade", severity: "High" },
{ name: "Credential Theft", severity: "High" },
{ name: "Log Manipulation", severity: "Medium" }
],
mitigations: [
"Implement OS hardening",
"Enable secure boot",
"Use encrypted credential storage",
"Deploy intrusion detection"
]
},
network: {
name: "Network",
color: "#E67E22",
riskLevel: 9,
description: "Communication layer (Wi-Fi, cellular, LPWAN)",
attacks: [
{ name: "Man-in-the-Middle", severity: "Critical" },
{ name: "Replay Attacks", severity: "Critical" },
{ name: "DDoS Attacks", severity: "Critical" },
{ name: "Eavesdropping", severity: "High" }
],
mitigations: [
"Enforce TLS 1.3 / DTLS",
"Implement mutual TLS (mTLS)",
"Use VPN for exposed devices",
"Deploy network segmentation"
]
},
cloud: {
name: "Cloud",
color: "#3498DB",
riskLevel: 8,
description: "Cloud platform storing data and APIs",
attacks: [
{ name: "API Exploitation", severity: "Critical" },
{ name: "Data Breach", severity: "Critical" },
{ name: "Account Takeover", severity: "Critical" },
{ name: "Misconfigured Storage", severity: "High" }
],
mitigations: [
"Implement WAF and rate limiting",
"Enable MFA for admin accounts",
"Encrypt data at rest",
"Deploy CSPM tools"
]
},
mobile: {
name: "Mobile App",
color: "#9B59B6",
riskLevel: 6,
description: "Smartphone app for device control",
attacks: [
{ name: "Reverse Engineering", severity: "High" },
{ name: "Insecure Storage", severity: "High" },
{ name: "Hardcoded Credentials", severity: "Critical" },
{ name: "Weak Authentication", severity: "High" }
],
mitigations: [
"Use code obfuscation",
"Store secrets in OS keychain",
"Implement certificate pinning",
"Never hardcode credentials"
]
}
})
currentComponent2 = componentData2[selectedComponent2]