KS3National Curriculum Y8.5 28 min read 10 question quiz 18 exam marks

Networks and Cyber Security

How computers talk to each other, what happens when you type a web address, and the attacks and defences you need to understand.

Networks

A network is two or more computers connected so they can share data and resources.

LAN and WAN

  • LAN, local area network, covers a small area such as one school or one house, and the organisation owns the equipment.
  • WAN, wide area network, covers a large area such as a whole country. The internet is the largest WAN in the world.

Why network computers

  • Share files and work
  • Share hardware such as printers, which saves money
  • Share one internet connection
  • Back up everything centrally
  • Manage user accounts and updates from one place

The downsides are the cost of setting it up, the fact that malware spreads quickly across a network, and that if the server fails everyone is affected.

The hardware

DeviceJob
RouterConnects different networks together and directs data between them
SwitchConnects devices within one network and sends data only to the right device
NICNetwork interface card, letting a device connect to a network at all
WAPWireless access point, letting devices connect without cables
ServerA powerful computer that provides files, web pages or other services

Wired and wireless

WiredWireless
SpeedFaster and more consistentSlower and more variable
ReliabilityVery reliableSignal weakens with distance and through walls
SecurityMore secure, physical access neededLess secure, signal travels through the air
ConvenienceDevices cannot moveDevices can move freely
Star topology compared with mesh topologyTwo topologies side by side. In a star, four devices each have a single cable running to a central switch, and no device connects directly to another, so traffic always passes through the switch. If one cable fails only that one device is cut off, but if the switch fails the whole network stops. In a full mesh, five devices labelled A to E are each joined directly to all four of the others, giving ten links in total. Because there are many possible routes between any two devices, a broken link does not stop traffic, but the amount of cable needed grows very quickly.STARMESHSwitchDevice 1Device 2Device 3Device 4every device has one link to the switchone cable fails, one device is cut offABCDEevery device links to every other devicemany routes, so one broken link is survivable
In a full mesh of n devices there are n times n minus one, all divided by two links. Five devices need ten. Ten devices would need forty five.
Three network topologies: star, mesh and busThree network topologies side by side. In a star, every device has its own cable running to a central switch, so performance stays high because no device shares its cable, and a single cable failure takes out only the one device attached to it; the costs are that it needs a lot of cable and that the switch is a single point of failure for the whole network. In a mesh, every device is connected directly to every other, so any one link can fail and the data simply goes a different way, which is why the internet is built as a mesh; the cost is a great deal of cable. In a bus, every device taps into one shared backbone cable with a terminator at each end: it is cheap and needs little cable, but a break in the backbone stops everyone and all the devices share its capacity.StarMeshBusIts own cable eachOne failure drops one PCSwitch is a weak pointMany routes to takeSurvives failuresNeeds lots of cableCheap, little cableOne break stops allEveryone shares it12345
  1. Star: every device has its own cable to a central switch.
  2. If one cable fails, only that one device drops off.
  3. Mesh: every device connects to every other, with no centre at all.
  4. Any one link can fail and the data simply goes a different way.
  5. Bus: one shared backbone, and every device taps into it.
Star for a school or an office, mesh for anything that has to survive a failure. The internet is a mesh.

The internet and the web

The internet and the web are not the same

The internet is the global network of connected computers. The World Wide Web is one service that runs on it, made of web pages linked together. Email, streaming and online gaming also run on the internet but are not part of the web.

What happens when you type an address

  1. You type www.example.com into a browser.
  2. Your computer asks a DNS server to look up the IP address for that name, because computers route by number, not by name.
  3. DNS replies with something like 93.184.216.34.
  4. Your computer sends a request to that address.
  5. The web server sends back the page, broken into packets.
  6. Packets travel by different routes and may arrive out of order.
  7. Your computer reassembles them in the right order and the browser displays the page.

Packets

Data is split into small packets. Each contains:

  • Part of the data
  • The destination address
  • The sender's address
  • A packet number, so they can be reassembled in order

Splitting data up means a single large file cannot block the network, and if one packet is lost only that packet needs resending rather than the whole file.

IP addresses and protocols

An IP address identifies a device on a network. A protocol is a set of rules for how data is sent, so that different computers can understand each other.

  • HTTP transfers web pages
  • HTTPS does the same but encrypted, so intercepted data cannot be read
  • TCP/IP splits data into packets, addresses them and makes sure they all arrive
  • SMTP sends email, and IMAP retrieves it
What happens between typing a web address and seeing the pageYou type a domain name, which is written for people to remember, but routers only understand IP addresses, so the browser first has to translate it. It asks a DNS server, which works like a phone book for the internet, and the DNS server returns the IP address that the name belongs to. The browser then sends an HTTP request to that address asking for the page. The web server answers with the files the page is made of: HTML, CSS, images and scripts. The browser puts them together and draws the page on the screen. DNS only tells the browser where to go; the browser makes the journey itself.www.example.comDNSthe internet's phone bookweb server93.184.216.34Where is example.com?It is 93.184.216.34GET /index.htmlHTMLCSSJSIMGthe files the page is made of12345
  1. You type an address. The browser needs the IP address behind the name.
  2. A DNS server looks up the name and returns the IP address.
  3. The browser sends an HTTP request to that address.
  4. The server sends back HTML, CSS, images and scripts.
  5. The browser renders them into the page you see.
DNS is a lookup, not a delivery. It tells the browser where to go, and the browser goes there itself.
How an email travels, and the difference between POP and IMAPThe journey of an email. The sender's laptop uses SMTP to send the message to the sender's mail server. SMTP is used again to pass it to the recipient's mail server. The recipient then collects it with POP or IMAP. Below, the two ways of collecting mail are compared. With POP the mail is downloaded to one device and then removed from the server, so it only exists on the device that downloaded it. With IMAP the mail stays on the server and every device, such as a phone and a laptop, shows the same mailbox, so they stay in sync.sendersender's mail serverrecipient's mail serverrecipientSMTPSMTPPOP or IMAP1POP: download, then deletemail serverone laptopdownloadremoved from the servermail is only on the device that downloaded itgood for: one device, little storage2IMAP: keep it on the servermail serverevery devicesame mailkept on the serverevery device shows the same mailboxgood for: phone and laptop together3
  1. SMTP sends email, from the sender to their server and between mail servers.
  2. POP downloads mail and normally deletes it from the server, so it lives on one device.
  3. IMAP keeps mail on the server, so a phone and a laptop both show the same mailbox.
SMTP sends. POP downloads and removes. IMAP keeps it on the server and in sync. Two devices means IMAP.

Cyber security

Threats

ThreatHow it works
VirusAttaches to a file and spreads when that file is opened or shared
WormSpreads across a network by itself, with no user action needed
TrojanPretends to be useful software so the user installs it willingly
RansomwareEncrypts your files and demands payment to unlock them
SpywareSecretly records what you do, including what you type
PhishingA fake message tricking you into giving away your details
Brute forceTrying millions of password combinations automatically
DoS attackFlooding a server with requests so real users cannot get through

Defences

DefenceWhat it does
Anti malware softwareScans files against known threats and removes them. Must be kept updated.
FirewallChecks traffic entering and leaving the network and blocks anything against its rules
Strong passwordsLong and unguessable, defeating brute force attacks
Two factor authenticationA stolen password alone is not enough to log in
EncryptionScrambles data so intercepted information cannot be read
User access levelsEach person can only reach what their role needs
BackupsData can be restored after ransomware or hardware failure
Software updatesClose the security holes that malware exploits
Encryption does not prevent interception

It makes intercepted data useless, because without the key it is meaningless. That distinction matters, and it earns marks.

The weakest point is always a person

The most sophisticated firewall in the world cannot stop an employee who types their password into a convincing fake login page. This is why training is a genuine security measure, not an afterthought.

Six cyber security threats: malware, social engineering, brute force, denial of service, SQL injection and interceptionSix common cyber security threats, one card each. Malware is software written to cause harm: a virus needs a host file, a worm spreads by itself, a trojan looks harmless, ransomware locks your files and spyware watches you. Social engineering tricks people instead of computers, for example a caller who says they are from IT and asks for a password; phishing, blagging and shouldering are all social engineering. A brute force attack tries every possible combination, for example every code from 0000 upwards, until one works. A denial of service attack floods a server with requests from many machines so that a real user cannot get through. SQL injection types database code such as ' OR '1'='1 into a form so that the database hands over names, passwords and card numbers. Data interception reads data while it travels, for example from an unencrypted wireless connection.Malware1virus: needs a host fileworm: spreads by itselftrojan: looks harmlessransomware: locks your filesspyware: watches youSocial engineering2"I'm from IT. What'syour password?"phishingblaggingshoulderingtricks people, not computersBrute force300000001....7316tries every combinationDenial of service4BUSYyoufloods it with requestsSQL injection5username' OR '1'='1namespasswordscardscode typed into a formData interception6reads data in transit
  1. Malware: virus, worm, trojan, ransomware and spyware.
  2. Social engineering: phishing, blagging and shouldering trick people instead of computers.
  3. Brute force: try every combination until one works.
  4. Denial of service: flood a server so real users cannot get in.
  5. SQL injection: database code typed into an input box.
  6. Interception: reading data as it travels, for example on public Wi-Fi.
Every threat has a matching defence. Learn them as pairs: the picture on the next page of defences shows which goes with which.
Layers of defence around encrypted data, and the defence that answers each threatDefence in depth drawn as rings around the data. From the outside in the rings are physical security, a firewall, anti-malware software, user access levels, and passwords with two factor authentication, and at the centre the data itself is encrypted. An attacker has to get through every layer. On the right each threat is matched with its defence: brute force is stopped by a long password, two factor authentication and a limit on login attempts; phishing by staff training and spam filters; malware by anti-malware software that is kept up to date; SQL injection by validating every input; interception by encrypting the data; and unauthorised access by a firewall and user access levels.Physical securityFirewallAnti-malwareAccess levelsPasswords and 2FAencrypted dataDefence for each threatBrute forcelong password, 2FA, limit triesPhishingstaff training, spam filtersMalwareanti-malware, keep it updatedSQL injectionvalidate every inputInterceptionencrypt the dataUnauthorised accessfirewall, access levels12
  1. No single defence is enough, so several layers are used. An attacker has to get past all of them.
  2. Match each threat to the defence that answers it. This pairing is asked in the exam.
Encryption does not stop data being intercepted. It makes intercepted data useless.

Key terms you must be able to define

Network
Two or more computers connected so they can share data and resources.
LAN
Local area network, covering a small area with hardware owned by the organisation.
WAN
Wide area network, covering a large geographical area. The internet is the largest.
Router
A device that connects different networks and directs data between them.
Switch
A device that connects computers within one network and sends data only to the intended device.
Packet
A small piece of data sent across a network, containing addresses and a sequence number.
IP address
A number identifying a device on a network.
DNS
The Domain Name System, which converts a web address into an IP address.
Protocol
A set of rules governing how data is sent between devices.
Encryption
Scrambling data with a key so it cannot be understood by anyone who intercepts it.
Firewall
Hardware or software that inspects network traffic and blocks anything against its rules.

Flashcards

Say the definition out loud before you flip the card. Retrieving it from memory is what builds recall, reading it again is not.

DefineNetwork
AnswerTwo or more computers connected so they can share data and resources.
DefineLAN
AnswerLocal area network, covering a small area with hardware owned by the organisation.
DefineWAN
AnswerWide area network, covering a large geographical area. The internet is the largest.
DefineRouter
AnswerA device that connects different networks and directs data between them.
DefineSwitch
AnswerA device that connects computers within one network and sends data only to the intended device.
DefinePacket
AnswerA small piece of data sent across a network, containing addresses and a sequence number.
DefineIP address
AnswerA number identifying a device on a network.
DefineDNS
AnswerThe Domain Name System, which converts a web address into an IP address.

Reach the top grade on this topic

The top level here is about explaining mechanisms.

Say what a device actually does. Not "a router connects to the internet", but "a router connects two different networks and uses IP addresses to decide where each packet should be sent next".

Explain why packets are used. Because a large file split into packets cannot block the network for everyone else, and because if one packet is lost only that packet has to be resent.

Match the defence to the threat. A firewall does not stop phishing, because phishing works on the person rather than the network. The defence there is training.

  • Explain the difference between the internet and the World Wide Web
  • Describe what happens between typing a web address and the page appearing
  • Explain the difference between a virus and a worm
  • Match any threat to the defence that actually addresses it

Mistakes that cost marks here

Avoid these
  • Using the words internet and web as if they mean the same thing.
  • Saying a switch and a router do the same job. A switch works inside one network, a router works between networks.
  • Saying encryption stops data being intercepted. It stops it being understood.
  • Recommending antivirus software as the defence against phishing, which attacks the person rather than the machine.
  • Saying a virus and a worm are the same. A worm spreads on its own with no user action.
Fun fact

When you load a web page, the data is broken into packets that may each take a completely different route across the world and arrive out of order. Your computer reassembles them so fast that it looks instant.

Knowledge check

0 of 10 answered
1What is the difference between the internet and the World Wide Web?
2What does DNS do?
3Which device connects two different networks together?
4Why is data split into packets?
5What is the difference between a virus and a worm?
6What does a firewall do?
7Which defence is most effective against staff being tricked by fake emails?
8What does HTTPS provide that HTTP does not?
9Which is an advantage of a wired connection over wireless?
10What is ransomware?
Score 0 / 10

Exam-style questions

Five written questions in the style of the real paper. Write a full answer, then let the marker check it against the mark scheme.

18 marks
1State two differences between a LAN and a WAN.2 marks
State

Mark scheme0 / 2
  • LA LAN covers a small area and a WAN covers a large geographical area
  • LLAN equipment is owned by the organisation, WAN infrastructure is not
Model answer

A LAN covers a small geographical area such as a single school or house, whereas a WAN covers a large area and may span whole countries, with the internet being the largest example. In addition, the organisation using a LAN owns all of the cabling and hardware itself, while a WAN uses infrastructure belonging to other companies.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Describe what happens when a user types a web address into a browser and presses enter.4 marks
Describe

Mark scheme0 / 4
  • LThe browser asks a DNS server to look up the address
  • LDNS returns the IP address of the web server
  • LA request is sent to that IP address and the server responds
  • LThe page is sent as packets which are reassembled by the browser
Model answer

When the user presses enter, the browser first needs to turn the human readable address into a number, because networks route data by IP address rather than by name. It therefore sends a request to a DNS server, which looks the name up and returns the IP address of the web server. The browser then sends a request to that IP address asking for the page. The web server responds by sending the page back, but the data is split into small packets, each carrying a sequence number and the destination address. These packets may travel by different routes and arrive out of order, so the receiving computer uses the sequence numbers to reassemble them correctly before the browser displays the finished page.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3Explain why data is split into packets when sent across a network.3 marks
Explain

Mark scheme0 / 3
  • LLarge files would otherwise block the network for other users
  • LPackets can take different routes, using the network efficiently
  • LIf a packet is lost only that packet needs resending, not the whole file
Model answer

Splitting data into packets means that a single very large file cannot occupy a connection completely and block everyone else, because packets from different transfers can be interleaved and the network is shared fairly. Packets can also travel by different routes depending on which parts of the network are congested, which uses the available capacity efficiently and means a fault on one route does not stop the transfer. Finally, if a packet is damaged or lost in transit, only that individual packet has to be sent again rather than the entire file, which is far quicker and far less wasteful.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4A school is worried about malware on its network. Describe three measures it could take.6 marks
Describe

Mark scheme0 / 6
  • LInstall anti malware software
  • LKeep it updated so new threats are recognised
  • LUse a firewall to filter network traffic
  • LRestrict user access levels so students cannot install software
  • LTrain staff and students to recognise suspicious emails and links
  • LKeep backups so data can be restored if it is encrypted or lost
Model answer

The first measure is to install anti malware software on every computer and set it to update automatically. This scans files against a database of known malware and removes or quarantines anything it finds, but because new malware appears constantly the software is only effective if that database is kept current. The second measure is to use a firewall between the school network and the internet. A firewall examines all the traffic going in and out and blocks anything that does not match its rules, which stops many threats reaching the network at all and prevents malware that does get in from communicating with outside servers. The third measure is to set user access levels so that students, and most staff, cannot install software or change system files. That means that even if someone is tricked into running something harmful, it only has the limited permissions of that account and cannot spread across the whole system. Alongside these, training people to recognise suspicious emails addresses the route most infections actually take, and keeping regular backups means that if ransomware does encrypt the school's files they can be restored rather than paid for.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
5Explain the purpose of encryption and state whether it prevents data from being intercepted.3 marks
Explain

Mark scheme0 / 3
  • LEncryption scrambles data using a key
  • LWithout the key the data cannot be understood
  • LIt does not prevent interception, it makes intercepted data useless
Model answer

Encryption scrambles data using a key so that what is actually transmitted is a meaningless sequence of characters. Only someone who has the correct key can convert it back into the original information, so an attacker who captures the traffic cannot understand any of it. Encryption does not prevent data from being intercepted: anyone in a position to capture the traffic can still capture it. What encryption does is make that interception pointless, because the attacker ends up with data they cannot read.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 18