Network Security and Attack Methodologies
The Expanding Attack Surface
Networks as Targets: Modern attacks extend beyond web applications to personal devices and critical infrastructure. Data in transit and netwok infrastructure are primary targets.
Example - Infrastructure Attack: In March 2024, the TheMoon botnet was resurrected, infecting over Asus routers in a -hour period. It compromised over devices across countries to power a criminal proxy service called Faceless.
Common Network Attacks
Denial-of-Service (DoS/DDoS): Overwhelming systems with traffic to deny access.
NZX Case Study (Aug 2020): A series of overseas DDoS attacks halted trading for multiple days following a ransom note.
Challenges: Hard to defend due to botnet scale, spoofed traffic, and the asymmetry between low-cost attacks and high-cost defense.
Eavesdropping: Unauthorized interception of data.
Bus vs. Switched Networks: Bus networks allow easy packet sniffing as all devices see all traffic. Switched networks create private connections, making sniffing harder.
Wireless Security: Wireless traffic is vulnerable to sniffing (similar to bus networks). Standards have evolved from WEP (Weak) to WPA (Outdated) to WPA2 (Current, using AES encryption).
Man-in-the-Middle (MitM): Also known as on-path or machine-in-the-middle attacks.
Rogue Access Points: Unauthorized access points (e.g., a personal hotspot) providing backdoors.
Evil Twin: Malicious Wi-Fi impersonating a legitimate network (e.g., VUWStudent) to steal credentials.
Attacker Methodology and Toolkit
Methodology Steps:
Reconnaissance: Finding entry points.
Gaining Access: Exploiting vulnerabilities.
Maintaining Foothold: Establishing persistent access.
Lateral Movement: Moving between systems inside the network.
Payload Delivery: Achieving the final objective (e.g., theft or ransom).
Key Tools:
Reconnaissance: Nmap (port scanning), Wireshark (packet sniffing), Nessus/OpenVAS (vulnerability scanners).
Exploitation: Metasploit (exploit framework), Social Engineering.
Persistence: Remote Access Trojans (RATs) such as Cobalt Strike, njRAT, or DarkComet.
Lateral Movement: Mimikatz for credential extraction from memory.
Exfiltration: Iodine (DNS tunneling).
Landmark Cyberattack Case Studies
Stuxnet (2010): A sophisticated worm targeting Iranian uranium enrichment centrifuges. It used infected USB drives and zero-day vulnerabilities in Siemens PLCs to cause physical damage.
Target Data Breach (2013): Attackers stole data from million customers. Entry was gained via stolen credentials from an HVAC supplier (Fazio Mechanical Services). BlackPOS malware was used to capture card details at terminals.
NotPetya (2017): Disguised as a software update for MeDoc (Ukrainian accounting software). It used Mimikatz and the EternalBlue vulnerability to spread globally.
Impact: Maersk Shipping saw computers across countries infected, halting logistics for three days.