Picture a loan officer in a café in Chattogram. She joins the free Wi-Fi called Cafe_Free, opens the bank's portal and approves a transfer of Tk 4,50,000. The page loads, the confirmation appears, and she finishes her tea. Nothing looked wrong. But the account number that reached the bank might not be the one she typed, and the café's "free Wi-Fi" might have belonged to the man at the corner table.
Back at her branch the same bank has other worries: a stranger who plugs a laptop into a spare wall socket, a website that falls over during a festival sale, a customer who types the right web address and lands on a page that only looks like the bank.
Every one of these is a network attack, and every one works for a small, understandable reason: some part of the network was built to trust. A switch believes the addresses it hears, a DHCP client believes the first server that answers, a DNS resolver believes a reply with the right number, and an IP packet says who sent it without anybody checking. This chapter shows how each trust is used against us and what closes each door.
By the end you will say what sniffing and spoofing are and why a hub, a switch and Wi-Fi give a sniffer different luck. You will explain how a man in the middle gets onto the path and why the exam answer to "how do you stop him" is always two things.
You will count what a SYN flood costs a server and work out a smurf or DNS amplification attack in numbers. You will follow MAC flooding, DHCP starvation, a rogue DHCP server, DNS cache poisoning, VLAN hopping, an evil twin and a deauthentication attack, and name the feature that stops each. And you will read what a port scan reports, from a safe scan of our own computer.