Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SC 8.2: Redirected traffic and open Wi-Fi

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

The right address, the wrong shop

You type the right web address of your bank. The page looks perfect. But it is a copy, and it is not the bank.

You did nothing wrong. Something between you and the bank sent you to the wrong place.

Today you learn how, and why a free Wi-Fi in a cafe is a risk too.

By the end of this lesson

Note

I can explain how an attack on the domain name system redirects traffic, and why open Wi-Fi is risky.

Key words

WordWhat it meansExample
NetworkComputers joined together so they can share data.
RouterA device that passes traffic between networks.
MalwareHarmful software.
IP addressThe number that names a computer on a network.10.0.0.5
Domain nameThe name people type for a website.college.example
DNSDomain name system: the service that turns a domain name into an IP address.
DNS serverA computer that answers DNS questions.
RedirectionSending traffic to a different place than the one asked for.
PharmingRedirecting you to a fake website, even when you type the right address.
Open Wi-FiA wireless network with no password, so anyone can join.
EavesdroppingSecretly listening to other people's traffic.
VPNVirtual private network: a private, scrambled tunnel across the internet.
HTTPSThe secure kind of web link. The page and you talk in scrambled form.

The cells students fill in are left blank in this preview.

Starter: what you already know

Have a go

Starter: what you already know

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Cycle 1: DNS is a phone book

Computers find each other by IP address, a number. People prefer names.

The DNS is like a phone book. You ask for a domain name. The DNS server gives back the IP address.

You type college.example. DNS answers 10.0.0.5. Your browser then goes to 10.0.0.5.

Try it: a phone book in code

Code: python
book = {"college.example": "10.0.0.5", "shop.example": "10.0.0.9"}

name = "college.example"
print(name, "is at", book[name])

# An attacker changes one line in the book:
book["college.example"] = "66.6.6.6"
print(name, "is now at", book[name])

A DNS attack and redirection

In a DNS attack, the attacker changes the answers. The name stays right, but the number is wrong.

Your browser goes to the attacker's computer. This is redirection of traffic. When the page is a fake, it is called pharming.

Impact: stolen logins and card details, and malware downloads.

Check: DNS

Have a go

Check: DNS

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

10 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.