GoalRecall the threats to data on the move, how encryption and one-time codes help, and the rules for strong passwords and proof of identity.
New words
eavesdropping · reading data while it travels, without permissionencryption · scrambling data with a key so that only people with the key can read itstrong password · a long password that mixes kinds of characters and is not about youmulti-factor · proving who you are with more than one kind of proof
Explanation
Data that travels across a network can be attacked. Someone may read it as it passes, which is packet sniffing. Someone may record a message and send it again later, which is a replay. Someone may sit in the middle and pretend to be each side, which is a man in the middle attack. Encryption protects the data, because a message that is scrambled with a key is useless without the key. In a shift cipher the key tells us how many places to move each letter along the alphabet. To prove who we are we use something we know, something we have or something we are. A strong password is long, mixes letters, numbers and symbols, and is not a name or a year. Two kinds of proof together are safer than one.
Threat
What the attacker does
A defence
packet sniffing
reads the data as it passes
encrypt the data
replay
sends a recorded message again
a message that works only once
man in the middle
pretends to be both sides
check who you are talking to
Worked examples
Lola types a message→it is encrypted with a key→a sniffer copies only nonsense→the aunt’s device decrypts it
Encryption in one picture. Lola sends a message to her aunt. A sniffer copies it on the way but sees only ciphertext. Only the aunt’s device, which has the key, turns it back into words.
Password
12 or more characters
Mixed characters
Not personal
cat123
no
no
yes
7Plum!sailing_Hill
yes
yes
yes
Ali2014
no
yes
no
A password is better when it is long, mixes kinds of characters and has no personal details. Look at three passwords and the checks that each one passes.
A cash machine asks for a card and then a PIN. The card is something we have and the PIN is something we know. Two kinds of proof together are multi-factor. A stolen card alone is not enough.
Class activity
Security sort (no computer): make twelve cards: packet sniffing, replay, man in the middle, encryption, one-time code, padlock sign, password, PIN, key card, phone code, fingerprint and face. Sort them into three piles: threats, defences and proofs of identity. Then sort the proofs into know, have and are. Next, a partner picks a threat card and you find a defence card that helps against it, and explain why in one sentence. Finally, build a two-factor login from two proof cards of different kinds.
Practice
1
Encrypt the word BOX with a shift key of 8.
B becomes J, O becomes W and X goes past Z and becomes F. The answer is JWF.
2
Which password is the strongest, and why?
Password
bluebird
Gk7!pine_Harbour41
Sam2015
Gk7!pine_Harbour41 is the strongest. It is long, it mixes kinds of characters and it has no personal details.
3
Name the threat in each case.
Case
What happens
(a)
a stranger reads your message while it travels
(b)
a stranger records your message and sends it again later
(c)
a stranger pretends to be you to the shop and to the shop to you
(a) packet sniffing, (b) replay, (c) man in the middle.
4
A phone app asks for your password and then sends a code to your phone. Which kinds of proof are used?
The password is something you know and the phone is something you have. Two kinds of proof make it multi-factor.