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 6,0006,000 Asus routers in a 7272-hour period. It compromised over 40,00040,000 devices across 8888 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:

    1. Reconnaissance: Finding entry points.

    2. Gaining Access: Exploiting vulnerabilities.

    3. Maintaining Foothold: Establishing persistent access.

    4. Lateral Movement: Moving between systems inside the network.

    5. 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 110110 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 50,00050,000 computers across 130130 countries infected, halting logistics for three days.