Skip to content

0478 · Unit 5 · Paper 1: Computer systems

The internet and its uses.

0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

The internet, the web and browsers

§5.1 · The internet and the world wide web

People often say “the internet” when they mean the web, but the two are different things. The internet is the network. The web is the pages that use it. A browser uses a URL to find, fetch and show a page.

The internet

The infrastructure: a global network of connected computers and networks.

The world wide web (WWW)

The collection of websites and web pages that are accessed using the internet.

URL: uniform resource locator, the address of a web page written as text

Every web address splits into the same three parts: the rules for fetching the page, the server that holds it, and the file on that server.

https://protocolwww.example.orgdomain name/revision/unit5.htmlweb page / file name
https://Protocolwww.example.orgDomain name/revision/unit5.htmlWeb page / file name

Web browser

Main purpose: render HTML and display web pages. Other functions:

  • storing bookmarks and favourites
  • recording the user’s history
  • allowing multiple tabs
  • storing cookies
  • navigation tools: back, forward, refresh
  • an address bar to enter a URL

How a web page is located, retrieved and displayed

A browser cannot fetch a page by its name alone: first it needs the server’s IP address. Describe the six numbered steps in order: who sends what, and to whom.

Browserwww.example.org/revision/unit5.htmlDNS serverits databaseshop.example.net203.0.113.42www.example.org198.51.100.7Web serverunit5.htmlwww.example.org1 · domain name2 · finds the matching IP addressnot there? it asks another DNS server198.51.100.73 · IP address/revision/unit5.html4 · request sent to 198.51.100.7 (HTTP or HTTPS)<html>…</html>5 · the web page’s HTML6 · page rendered
BrowserDNS serverWeb serverwww.example.orgwww.example.org1 · domain nameshop.example.net203.0.113.42www.example.org198.51.100.72 · finds the IP address198.51.100.73 · IP address/revision/unit5.html4 · request to 198.51.100.7<html>…</html>5 · the page’s HTML6 · the browser renders the pagewww.example.org/revision/unit5.html

Step 4 uses one of two sets of rules, and only one of them protects the data on its way.

HTTP · hypertext transfer protocol

The set of rules a browser and web server use to request and send web pages.

HTTPS · HTTP secure

HTTP with SSL/TLS: the server’s digital certificate is checked and the data is encrypted, so intercepted data cannot be understood.

Your turn

1 In https://shop.example.net/offers/today.html, name the protocol, the domain name and the web page.

2 Which server turns a domain name into an IP address?

3 What does HTTPS add to HTTP?

  1. 1
    protocol: https · domain name: shop.example.net · web page: /offers/today.html
  2. 2
    the DNS server
  3. 3
    SSL/TLS: the server’s digital certificate is checked and the data is encrypted
Tick what you can do now
Exam focusThe DNS finds the IP address; it does not send the web page. The web server sends the HTML; the browser renders it. A browser is not a search engine.
Practise with m26/12 Q2(a)–(b); s26/11 Q6(a); s25/12 Q5(c)(i) (older paper); w25/12 Q6(a) (older paper); s24/12 Q11(a) (older paper)
1 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Cookies, digital currency and blockchain

§5.1 · §5.2 · Cookies and digital currency

A website would forget you between pages unless it left a note on your device. A cookie is that note: a small file a website stores on your device. Online money needs the opposite, a record nobody can quietly rewrite. A blockchain is a chain of linked blocks that is hard to change.

Cookies: small text files that store data about a user

Follow the cookie: the server sends it on the first visit, and the browser hands it back on the next one. Then say what cookies are used for, and tell a session cookie from a persistent one.

Browser / deviceWeb server1 · first visit: the server creates a cookie and sends itcreates the cookieuser=K42; lang=fr2 · stored as a text file3 · later visit: the cookie is sent back with the requestuser=K42; lang=fr4 · recognises user K42page shown in French
Browser / deviceWeb server1 · server creates and sends a cookieuser=K42; lang=fr2 · stored as a file3 · later visit: cookie sent backuser=K42; lang=fr4 · the server recognises user K42and shows the page in French

Used for

  • saving personal details, e.g. name and address
  • storing login details
  • tracking user preferences, e.g. language
  • holding items in an online shopping cart
  • targeted advertising based on browsing

Session cookie

  • Temporary: held in RAM.
  • Deleted when the browser is closed.

e.g. keeps items in a shopping cart while you browse.

Persistent cookie

  • Saved on secondary storage.
  • Kept until its expiry date or until the user deletes it.
  • Also called permanent cookies.

e.g. remembers login details, or keeps cart items after the browser is closed.

Digital currency and blockchain

Money that exists only as data needs a record everyone can trust. Say what each one is, and explain how the hashes link the blocks.

Digital currency

  • A currency that only exists electronically: there are no notes or coins.
  • Used to pay for goods and services online or to send money to another person (e.g. cryptocurrency).
  • Many use a blockchain, a decentralised database that no single bank controls.

Blockchain

A digital ledger: a time-stamped series of records that cannot be altered.

  1. 1
    Transactions are stored in blocks.
  2. 2
    A full block is added to the chain.
  3. 3
    The updated chain is shared with every computer in the network, so every transaction can be tracked.

For a payment, the device encrypts the payment data before sending it to the digital ledger. Recording the transaction in the chain is a separate step.

How the blocks are linked

Compare the hashes from block to block: the violet previous hash in each block is a copy of the blue block hash in the block before it.

Digital currency

A currency that only exists electronically: there are no notes or coins. It is used to pay for goods and services online or to send money to another person (e.g. cryptocurrency).

Many use a blockchain, a decentralised database that no single bank controls.

Blockchain

A digital ledger: a time-stamped series of records that cannot be altered. Transactions are stored in blocks. A full block is added to the chain, and the updated chain is shared with every computer in the network, so every transaction can be tracked.

For a payment, the device encrypts the payment data before sending it to the digital ledger. Recording the transaction in the chain is a separate step.

Block 108:40Transfer 6 unitsprevious hashblock hashnone84181a0eBlock 208:46Transfer 3 unitsprevious hashblock hash84181a0efea16e44Block 308:51Transfer 11 unitsprevious hashblock hashfea16e449ae0a7cf
Block 1Transfer 6 unitstime stamp 08:40previoushashnone (first block)84181a0eBlock 2Transfer 3 unitstime stamp 08:46previoushash84181a0efea16e44Block 3Transfer 11 unitstime stamp 08:51previoushashfea16e449ae0a7cf
  1. 1
    A hash is a fingerprint calculated from a block’s contents (shortened here).
  2. 2
    Each block stores the previous block’s hash.
  3. 3
    Changing an old record changes its hash, so its link to the next block no longer matches.

A hash is a fingerprint calculated from a block’s contents (shortened here). Each block stores the previous block’s hash. Changing an old record changes its hash, so its link to the next block no longer matches.

Your turn

1 A shop website keeps your cart items only until you close the browser. Which type of cookie does it use, and where is it held?

2 In a blockchain, what does block 2 store from block 1?

3 Why does changing an old record break the chain?

  1. 1
    a session cookie, held in RAM and deleted when the browser closes
  2. 2
    block 1’s hash, as its previous hash
  3. 3
    the old record’s hash changes, so the previous hash stored in the next block no longer matches
Tick what you can do now
Practise with m26/12 Q2(c); w25/13 Q4(c) (older paper); m24/12 Q5 (older paper); w24/11 Q8 (older paper)
2 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Social engineering, phishing and pharming

§5.3 · Cyber security

The easiest way into a system is often a person, not the software. Social engineering is when a criminal manipulates or deceives people into giving away confidential or personal data, or into breaking normal security procedures.

Phishing: a fake message that looks legitimate

Read the email first: each orange note marks a warning sign. The chain below it shows what happens if the user clicks.

Inbox · 1 new messageFrom: support@bank-secure-login.exampleURGENT – your account is locked!!Dear customer, we has detected a problem.Confirm your password within 24 hoursor your account will be closed.Verify my accountlink: bank-secure-login.example/verifysender address does notmatch the real bankurgent tone, pressureto act quicklyspelling and grammarmistakescheck the URL attachedto the linkThe bank’s real domain: bank.example
Real bank domain: bank.example1 · From: support@bank-secure-login.example2 · URGENT: account closes today!3 · Dear customer, your details has expired.Confirm your password within 24 hours.4 · bank-secure-login.example/verify1 · Sender domain differs from the real bank2 · Pressure to act immediately3 · Grammar mistake4 · Link points to a different domain

Protect yourself

  • Check the sender’s address, spelling and tone of the message.
  • Check the URL attached to a link before clicking it.
  • Never give a password in reply to a message; contact the organisation directly.
Genuine-looking emailsent to many peopleVerify accountUser clicks linkor repliesbank-secure…Fake websitecopies the real onej.lee••••••••User enters detailse.g. password, cardData stolenused for fraud
Genuine-looking emailsent to many peopleVerify accountUser clicks linkor repliesbank-secure…Fake websitecopies the real onej.lee••••••••User enters detailse.g. password, cardData stolenused for fraud
Genuine-looking emailsent to many peopleUser clicks linkor repliesFake websitecopies the real oneUser enters detailse.g. password, cardData stolenused for fraud
Genuine-looking emailsent to many peopleUser clicks linkor repliesFake websitecopies the real oneUser enters detailse.g. password, cardData stolenused for fraud

Pharming: redirected even when the URL is correct

Follow the numbers. This time the user does nothing wrong: malicious code already on the computer sends the correct address to a fake site.

2correct URL typedhttps://bank.exampleLog inj.lee••••••••Log in4user entersdetails1malicious codeinstalled by a downloadrequest for bank.example3code redirectsthe requestgenuine bank sitenever reachedfake websitea copy of the real one5data stolen,used for fraud
2correct URL typedhttps://bank.exampleLog inj.lee••••••••Log in4user entersdetails1malicious codeinstalled by a download3code redirectsgenuine bank sitenever reachedfake websitea copy of the real one5data stolenused for fraud

Aim, defence and other tricks

Give the aim with the process, and a way to stop each attack.

Aim of phishing and pharming

To obtain personal data such as login details or bank details, for fraud or identity theft.

Stop pharming

Anti-malware finds and removes the redirecting code. Check the actual domain and certificate warnings. HTTPS protects a connection; it does not prove the site’s intentions.

Other social engineering

Pretending to be IT support and asking for a password; looking over a shoulder as a PIN is typed (shoulder surfing); leaving an infected USB stick to be found (baiting).

Aim of phishing and pharming

To obtain personal data such as login details or bank details, for fraud or identity theft.

Stop pharming

  • Anti-malware finds and removes the redirecting code.
  • Check the actual domain and certificate warnings.
  • HTTPS protects a connection; it does not prove the site’s intentions.

Other social engineering

  • Pretending to be IT support and asking for a password.
  • Looking over a shoulder as a PIN is typed (shoulder surfing).
  • Leaving an infected USB stick to be found (baiting).
Your turn

1 An email says “Your parcel is held. Pay a fee now at parcel-fee.example”. Is this phishing or pharming? Why?

2 Which attack redirects a user to a fake site even when the correct URL is typed?

3 Give two signs that a message is a phishing attempt.

  1. 1
    phishing: it is a fake message and the user must act on it (click the link or pay)
  2. 2
    pharming: malicious code redirects the request
  3. 3
    any two: the sender’s address does not match the real organisation, an urgent tone, spelling and grammar mistakes, a link with an odd URL
Tick what you can do now
Exam focusPhishing needs the user to act on a message (click or reply). Pharming uses malicious code that redirects the user even when the correct URL is typed. Give the process and the aim.
Practise with w25/11 Q4(a)–(b) (older paper); w25/13 Q4(b) (older paper)
3 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Malware

§5.3 · Cyber security

Harmful programs do not all work the same way: one copies itself from file to file, another locks your files and demands money. Malware is malicious software installed on a device without the user’s permission.

For each type, say what it does and give its aim. Name the specific behaviour, not just “damages the computer”.

Virus

Attaches to files and replicates itself.

Aim: to delete or corrupt data, or fill memory

Worm

Replicates across a network by itself, exploiting weaknesses.

Aim: to use up bandwidth and slow the network

Trojan horse

Disguised as legitimate software; once downloaded it releases the malware it contains.

Aim: to get other malware installed

Spyware

Records key presses (or webcam or GPS data) and sends it to a third party.

Aim: to steal passwords and personal data

AD

Adware

Displays unwanted adverts such as pop-ups.

Aim: to make money from adverts

Ransomware

Encrypts the user’s data so it cannot be accessed.

Aim: to demand payment (a ransom) for the key

Anti-malware, including anti-virus and anti-spyware

1
Scans files and downloads, or the whole system.
2
Compares them with a database of known malware (signatures) and looks for suspicious behaviour.
3
Quarantines or deletes anything found and alerts the user. The database must be updated to find new threats.
Your turn

1 Which malware is disguised as a useful program?

2 Which malware encrypts a user’s files and demands payment?

3 Why must anti-malware be updated?

  1. 1
    a Trojan horse
  2. 2
    ransomware
  3. 3
    it compares files with a database of known malware, so new threats must be added to the database
Tick what you can do now
Exam focusName the specific behaviour: for spyware, an action such as recording key presses; “tracks what the user does” is too vague. Anti-malware compares files with a database of known malware, so it must be updated.
Practise with s26/12 Q5(a); s26/13 Q7; m26/12 Q8(c)
4 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Hacking, brute force, interception and DDoS

§5.3 · Cyber security

Not every attack needs malware on the victim’s device. An attacker can guess a password, read data as it travels, or flood a website until nobody else can reach it.

Threats to accounts and data

Say what each attack is, and give its aim.

Hacking

Gaining unauthorised access to a computer, account or system.

Aim: to steal, change, delete or leak data.

Brute-force attack

Repeatedly trying different password combinations, often using software, until one works.

Aim: to get into an account and its data.

Data interception

A packet sniffer analyses data packets in transit; useful ones go to a third party.

Aim: to steal data such as passwords or card numbers.

DDoS: distributed denial of service

One request is harmless. Thousands at once, from many computers, can shut a website down. Follow the arrows from the attacker to the genuine user who is shut out.

Attackerspreads malwareDevice 1Bot 1Device 2Bot 2Device 3Bot 3Device 4Bot 4botnet: devices taken over by the malwaremalware turns eachinfected device into a botrequests sent at the same timeWeb serverloadflooded: slows down or crashesGenuine user✗cannot reach the website
Attackerspreads malwareDevice 1Bot 1Device 2Bot 2Device 3Bot 3Device 4Bot 4Infected devices form a botnetWeb serverAll bots send requestsat the same timeloadOverwhelmed: slows downor crashesGenuine user✗cannot reach the website

Process and aim

  1. 1
    The attacker makes many bots send requests to one web server at the same time.
  2. 2
    The server cannot cope, so genuine users cannot reach the website.

Aim: disrupt a business, extort money, or protest.

The attacker makes many bots send requests to one web server at the same time. The server cannot cope, so genuine users cannot reach the website. Aim: disrupt a business, extort money, or protest.

Solution

A proxy server examines each request and limits how many reach the web server (see Firewalls, proxy servers and SSL).

Your turn

1 Software tries thousands of passwords in turn until one works. Name the attack.

2 In a DDoS attack, what are the bots and what do they do?

3 Which solution helps against a DDoS attack?

  1. 1
    a brute-force attack
  2. 2
    bots are devices taken over by malware; they all send requests to one web server at the same time
  3. 3
    a proxy server, which limits and blocks requests before they reach the web server
Tick what you can do now
Exam focusHacking is gaining unauthorised access; “stealing data” alone is too vague. For a DDoS, describe many controlled devices sending requests at once, not one attacker.
Practise with s26/12 Q5(a); m26/12 Q8(c); s25/13 Q5(c)(i) (older paper)
5 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Authentication, access levels and solutions

§5.3 · Cyber security

A system has to know who is logging in before it can decide what they may do. Security solutions prove who you are, limit what each account can do, and are matched to the threat they stop.

Authentication: prove who you are

A password alone can be guessed or stolen, so many systems add a second check. Follow the log-in through both checks to the open lock.

Log inj.lee••••••••••Username + passwordlong, with a mix of characterscode482913Two-step verificationa code is sent to the user’s phone or emailAccess grantedboth checks passed
Log inj.lee••••••••••Username + passwordlong, with a mixof characterscode482913Two-step verificationa code is sent to theuser’s phone or emailAccess grantedboth checks passed

Biometrics

A unique physical feature: fingerprint, face, voice or iris. Very hard to guess, copy or forget.

Why two steps?

A stolen password on its own is not enough to log in: the attacker also needs the user’s phone or email.

Access levels: limit what each account can do

Even a genuine user should not be able to change everything. In this example policy, administrator permission is needed to install system software or change protected settings.

Access levelView dataEdit or delete itAdministrator settings
No access✗✗✗
Read-only✓✗✗
Read/write✓✓✗
Administrator✓✓✓
Each user gets only the permissions they need. If an attacker gets into an account, they can only read or change the data that account is allowed to access. A read-only account can view the permitted data, but cannot edit or delete it.
  • Each user gets only the permissions they need.
  • If an attacker gets into an account, they can only read or change the data that account is allowed to access.
  • A read-only account can view the permitted data, but cannot edit or delete it.

Match the solution to the threat

Name a solution that fits the threat in the question, and say how it helps.

ThreatSolutions that help
Brute-force attackstrong passwords · limit login attempts · two-step verification · biometrics
Data interceptionencryption, e.g. SSL / HTTPS, so intercepted data cannot be understood
Hackingfirewall · strong passwords and two-step verification · access levels
Malwareanti-malware (anti-virus, anti-spyware) · automatic software updates · firewall
DDoS attackproxy server: limits and blocks requests before they reach the web server
Phishingcheck the sender’s address, spelling and tone · check the URL attached to the link
Pharminganti-malware · check the actual domain and certificate warnings
Social engineeringnever share passwords · two-step verification · privacy settings
Your turn

1 Which access level lets a user view and edit data but not change administrator settings?

2 A hacker knows a user’s password. Why does two-step verification still stop them?

3 Name a solution for data interception.

  1. 1
    read/write
  2. 2
    they also need the code sent to the user’s phone or email
  3. 3
    encryption, e.g. SSL / HTTPS, so intercepted data cannot be understood
Tick what you can do now
Practise with s26/12 Q5(b); s26/13 Q3(d); m26/12 Q8(c)
6 / 7
0478 · Unit 5 · The internet and its uses
Revisionbyexamplicity

Firewalls, proxy servers and SSL

§5.3 · Cyber security

Some threats can be turned away before they reach a device, and data can be scrambled so that anything intercepted is useless. A firewall and a proxy server filter traffic. SSL encrypts data between a browser and a web server.

Both filters stand in the path of traffic and inspect it before letting it through. In the firewall drawing, follow each packet’s address to Allow or Block.

Firewall

Trafficin and outFirewallcompares eachpacket with rulesAllowBlockrule: block 203.0.113.66198.51.100.7203.0.113.66
  • Hardware or software.
  • Examines incoming and outgoing traffic.
  • Compares it with set criteria (e.g. blocked IP addresses or ports), allowing or blocking it.

Hardware or software that examines incoming and outgoing traffic and compares it with set criteria (e.g. blocked IP addresses or ports), allowing or blocking it.

Proxy server

UsersrequestsProxy serverchecks requests;has a cacheWebserver
  • Sits between users and the web server; every request passes through it.
  • Examines each request, limits how many reach the server and blocks suspicious IP addresses, so it can stop a DDoS flood.
  • A client proxy can hide the user’s public IP address from visited websites.
  • Caches popular pages and answers repeat requests itself.

SSL: secure socket layer

A security protocol that encrypts data sent between a browser and a web server. HTTP + SSL/TLS = HTTPS.

Time runs down the drawing: follow messages 1 to 4 between the browser and the server. No data is sent until step 3 has checked the certificate.

BrowserWeb server1 · browser asks the server to identify itself2 · server sends its digital certificate (it includes its public key)certificate: www.example.orgpublic key✓3 · browser authenticates the certificateinvalid → do not send dataZx8#qL2!vR0p4 · valid → encrypted session begins: data travels as ciphertext
BrowserServer1 · ask the server to identify itself2 · digital certificate + public keycertificate: www.example.orgpublic key✓3 · Browser authenticates the certificateInvalid → do not send the dataZx8#qL2!vR0p4 · Valid → encrypted sessionEncryption protects the contentsIt does not prevent interception

For asymmetric encryption from browser to server, the browser encrypts with the server’s public key. The server decrypts with the matching private key, which it keeps secret.

Two more defences

Say how each one protects a user.

Automating software updates

Security fixes are installed as soon as they are released, so known weaknesses are patched before criminals can use them.

Privacy settings

Control who can see a user’s personal information and posts, and who can contact them, e.g. on social media.

Your turn

1 What does a firewall compare each packet with?

2 What does the browser check before it sends data over HTTPS?

3 Which key does the browser use to encrypt data for the server?

  1. 1
    a set of rules or criteria, such as blocked IP addresses or ports
  2. 2
    it authenticates the server’s digital certificate; if it is not valid, no data is sent
  3. 3
    the server’s public key; only the server’s private key can decrypt it
Tick what you can do now
Exam focusSay the browser authenticates the digital certificate; “checks the website is safe” is too vague. Encryption does not stop interception.
Practise with s26/11 Q6(b); m26/12 Q8(c); s25/13 Q5(c)(ii) (older paper)
7 / 7