Sub topic 13
DoS, DDoS, on-path, evil twin and spoofing
This chapter assumes you know what an IP address, a MAC address, DNS and Wi-Fi are, and that you have read the earlier chapters on the threat vocabulary. Network attacks target the communication paths between devices rather than a single user or program. The A+ Core 2 exam asks you to name the attack from a short scenario.
Denial of service
A denial of service (DoS) attack makes a system or network unavailable by overwhelming it with traffic or requests. The attacker does not need to break in. The goal is to stop legitimate users from getting service.
A distributed denial of service (DDoS) attack does the same thing from many sources at once. The sources are usually a botnet, which is a group of infected computers controlled by an attacker. Blocking one source address does not help, because the traffic comes from thousands.
| Attack | Sources | Typical clue in a scenario |
|---|---|---|
| DoS | One system | A server is flooded by requests from a single address |
| DDoS | Many systems | A site becomes unreachable and traffic comes from thousands of addresses |
On-path attacks
In an on-path attack (formerly called man-in-the-middle), the attacker secretly sits between two parties. The attacker can read or change the traffic, and both parties believe they are talking directly to each other. Clues include unexpected certificate warnings and traffic taking an odd route. Encryption such as HTTPS limits the damage, because intercepted data is unreadable.
Evil twin
An evil twin is a rogue wireless access point that copies the name (SSID) of a legitimate network. Users connect to it by mistake, and the attacker can then watch their traffic. This is a common way to start an on-path attack.
A typical scenario describes a traveler who connects to "AirportFreeWiFi" and later finds that their accounts were misused. Countermeasures are to avoid open public Wi-Fi, to use a VPN, and to confirm the network name with the venue.
Spoofing
Spoofing means falsifying identifying information so that traffic or a message appears to come from a trusted source. Common forms are:
- IP spoofing: the source IP address is forged.
- MAC spoofing: a device copies another device's MAC address, for example to get past a MAC filter.
- Email spoofing: the sender address is faked, as in phishing.
- DNS spoofing: false DNS answers send users to a wrong site.
How the attacks relate
Choosing the countermeasure
- DoS or DDoS: work with the ISP or a traffic-filtering service, and use firewalls with rate limiting.
- On-path or evil twin: use encrypted connections (HTTPS, VPN) and avoid untrusted Wi-Fi.
- Spoofing: use filtering, authentication and user training.
Exercises
Exercise
Employees report that the company website is unreachable. The firewall logs show a huge number of requests from thousands of different addresses. Which attack is this?
Show answer
A DDoS attack. The traffic comes from many sources, probably a botnet, and the aim is to make the site unavailable.
Exercise
A user connects to a cafe network named "Cafe_WiFi" that turns out to be a laptop run by an attacker with the same name as the real network. What is this attack called, and what is one countermeasure?
Show answer
It is an evil twin. Countermeasures include confirming the network name with the cafe, avoiding open Wi-Fi, and using a VPN.