ieeeColors = ({
navy: "#2C3E50",
teal: "#16A085",
orange: "#E67E22",
gray: "#7F8C8D",
red: "#E74C3C",
green: "#27AE60",
purple: "#8E44AD",
blue: "#3498DB",
yellow: "#F1C40F",
darkGray: "#34495E",
lightGray: "#BDC3C7",
white: "#FFFFFF",
lightRed: "#FADBD8",
lightGreen: "#D5F4E6",
lightBlue: "#D6EAF8",
lightOrange: "#FDEBD0"
})
// Attack type definitions
attackTypes = [
{
id: "mitm",
name: "Man-in-the-Middle (MITM)",
icon: "๐ต๏ธ",
severity: "Critical",
owaspMapping: "I3: Insecure Ecosystem Interfaces",
steps: [
{ phase: "Reconnaissance" },
{ phase: "ARP Spoofing" },
{ phase: "Traffic Interception" },
{ phase: "Certificate Substitution" },
{ phase: "Data Exfiltration/Modification" }
]
},
{
id: "replay",
name: "Replay Attack",
icon: "๐",
severity: "High",
owaspMapping: "I7: Insecure Data Transfer and Storage",
steps: [
{ phase: "Passive Monitoring" },
{ phase: "Message Capture" },
{ phase: "Message Storage" },
{ phase: "Replay Transmission" },
{ phase: "Action Execution" }
]
},
{
id: "dos",
name: "Denial of Service (DoS)",
icon: "๐ซ",
severity: "High",
owaspMapping: "I9: Insecure Default Settings",
steps: [
{ phase: "Target Selection" },
{ phase: "Botnet Assembly" },
{ phase: "Attack Initiation" },
{ phase: "Resource Exhaustion" },
{ phase: "Service Failure" }
]
},
{
id: "sidechannel",
name: "Side-Channel Attack",
icon: "๐ก",
severity: "Medium",
owaspMapping: "I5: Use of Insecure or Outdated Components",
steps: [
{ phase: "Equipment Setup" },
{ phase: "Signal Acquisition" },
{ phase: "Signal Processing" },
{ phase: "Statistical Analysis" },
{ phase: "Key Extraction" }
]
},
{
id: "firmware",
name: "Firmware Extraction",
icon: "๐พ",
severity: "Critical",
owaspMapping: "I4: Lack of Secure Update Mechanism",
steps: [
{ phase: "Physical Access" },
{ phase: "Interface Discovery" },
{ phase: "Memory Dumping" },
{ phase: "Firmware Analysis" },
{ phase: "Secret Extraction" }
]
},
{
id: "downgrade",
name: "Protocol Downgrade Attack",
icon: "โฌ๏ธ",
severity: "High",
owaspMapping: "I3: Insecure Ecosystem Interfaces",
steps: [
{ phase: "Connection Interception" },
{ phase: "Version Manipulation" },
{ phase: "Downgrade Forcing" },
{ phase: "Vulnerability Exploitation" },
{ phase: "Data Compromise" }
]
}
]
// State management
mutable selectedAttack = attackTypes[0]
mutable currentStep = 0
mutable showProtection = false