← GCSE Computer Science · OCR · GCSE Computer Science revision
⭐ 0
OCR GCSE Computer Science (J277) · 1.4 Network security
Mini-Lesson

Network security

3 missions. Guess, learn, then check. Your place is saved.

  1. Mission 1In 2020, hackers hijacked famous Twitter accounts. What did they hack?
  2. Mission 2The fix was out by March. Why did WannaCry still hit the NHS in May?
  3. Mission 3Thieves reached a store's card tills via its air-con firm. How?
Mission 1

In 2020, hackers hijacked famous Twitter accounts. What did they hack?

Make a guess: In 2020, hackers hijacked famous Twitter accounts. What did they hack?

Cyber security · social engineering

People as the weak point

Two ways to the dataAttackerServerwith dataTechnical attackfirewallencryptionHi, it’s ITsupport…EmployeeSocial engineering
  • Social engineering: manipulating people so they give up confidential information, or do something unsafe.
  • Strong technical security fails if a person is persuaded to let the attacker in.
  • Attackers pretend to be someone trusted and use urgency, fear or a wish to help.
Cyber security · social engineering

Phishing

Spot the phishing emailFrom:security@northbank-alerts.coSubject:Account locked!Dear Customer,Please verifiy your details within 24 hours.Unlock accounthttp://northbank.login-secure.xyz123451Sender address isn’t the bank’s2Urgency and threat3Generic greeting4Spelling error5Link goes to a different site
  • Phishing: fake messages, often email or SMS, that pretend to come from a trusted organisation to get private information.
  • The message usually links to a fake website that copies a real login page.
  • Anything typed there (passwords, bank details) goes straight to the attacker.
  • Purpose: steal login or payment details for fraud or to break into accounts.
Quick check
?A text says: "ParcelGo: your parcel is held. Pay a £1.45 redelivery fee within 24 hours at parcelgo-redeliver.info". Which detail is the strongest sign of phishing?
Cyber security · social engineering

Protecting against social engineering

  • Training: users learn the warning signs.
  • Check the real web address (URL) behind a link before clicking it.
  • Verify requests through a contact you already know, not one in the message. Never share a password.
Quick check
?Priya, who works in a firm's finance team, gets an email that seems to be from her manager: "Urgent: pay this new supplier £8,000 today. I'm in meetings, so don't call." What should she do?
Mission check

?In 2020, hackers hijacked famous Twitter accounts. What did they hack?
Mission 2

The fix was out by March. Why did WannaCry still hit the NHS in May?

Make a guess: The fix was out by March. Why did WannaCry still hit the NHS in May?

Cyber security · malware and technical attacks

Malware

How malware gets inEmailattachmentDownloadInfected websiteSoftwareweakness
  • Malware (malicious software): an umbrella term for hostile or intrusive software.
  • It can delete or encrypt files, steal data, record typing, or let an attacker take control.
  • Ways in: email attachments, downloads, infected websites and software weaknesses.
Cyber security · malware and technical attacks

Vulnerabilities and patches

Patch before the attackWeaknessfoundPatchreleasedAttack beginsTimePatch installedNot patched
  • A vulnerability is a weakness in software that an attacker can exploit.
  • The maker then releases a patch: an update that fixes it.
  • Unpatched or outdated software still has the weakness. An operating system that no longer gets updates can't be fixed.
Cyber security · malware and technical attacks

Anti-malware software

  • Anti-malware scans files, downloads and memory for malware.
  • It compares code with a database of known malware and also flags suspicious behaviour.
  • Malware it finds is quarantined (isolated) or deleted.
  • It needs regular updates, or it can't recognise new malware.
Quick check
?A school's computers all run anti-malware, but they use an old operating system that no longer gets updates. New malware spreads through a weakness in that system. Which change protects them best?
Cyber security · malware and technical attacks

Attacks on networks

  • Brute-force attack: trying every possible password until one works. Aim: get into an account. Defence: long passwords, lock-outs.
  • Denial of service (DoS): flooding a server with requests so real users can't get in. Aim: disruption or blackmail.
  • Data interception and theft: capturing data as it travels across a network, e.g. by packet sniffing. Aim: steal data. Defence: encryption.
Cyber security · malware and technical attacks

SQL injection

SQL injectionLoginUsernamebeaPasswordx' OR '1'='1Log inThe query the program builds:SELECT * FROM usersWHERE username = 'bea'AND password = 'x' OR '1'='1'3 rows returned: login accepted
  • SQL injection: typing SQL code into a data entry box, such as a login form, so the database runs it.
  • It works when a program builds its query by joining user input straight into the SQL.
  • Aim: get past a login, or reveal, change or delete data.
  • Prevention: validate input and pass it to the database as data, never as part of the SQL command.
Quick check
?A game's login server suddenly gets millions of fake requests every second, and real players can't log in. Which attack is this?
Mission check

?The fix was out by March. Why did WannaCry still hit the NHS in May?
Mission 3

Thieves reached a store's card tills via its air-con firm. How?

Make a guess: Thieves reached a store's card tills via its air-con firm. How?

Cyber security · defences

Access levels

User access levelsUser access levelsHomeworkfolderExampapersNetworksettingsStudentReadNoneNoneTeacherRead+WriteRead+WriteNoneNetworkadminRead+WriteRead+WriteRead+Write
  • User access levels set which users can read, change or delete each file, folder or system.
  • Each person gets only the access their role needs: a pupil can't open exam papers.
  • An administrator sets and reviews them.
  • Physical security: locked server rooms, ID badges and CCTV stop people reaching the equipment.
Cyber security · defences

Passwords and authentication

  • Authentication checks that a user really is who they claim to be, e.g. with a username and password.
  • A strong password is long, mixes character types, isn't a dictionary word and isn't reused.
  • Systems should lock an account after a few wrong attempts, which defeats guessing.
Cyber security · defences

Firewalls

FirewallsInternetpassesbounced backFirewallAllow: web traffic to webserverBlock: everything else fromoutsideOfficeweb serverinternal firewallFinance
  • A firewall monitors incoming and outgoing network traffic and allows or blocks it using a set of security rules.
  • Firewalls inside a network stop traffic from one part reaching a more sensitive part.
Quick check
?A school lets its catering supplier log in to its network to update the lunch menu. Which setting best protects pupils' records?
Cyber security · defences

Encryption as a defence

Encryption protects dataSenderCard: 4929 1234 5678 9012encrypt with keynetworkh8$Kq!z0Lw…encrypted dataAttackersees only scrambledtextdecrypt with keyReceiverCard: 4929 1234 5678 9012
  • Encryption scrambles data using a key, so only someone with the right key can read it.
  • Data intercepted or stolen while encrypted is useless to an attacker without the key.
  • Encrypt data sent across network connections, wired or wireless (e.g. HTTPS websites, wireless networks), and stored data.
Cyber security · defences

Testing your own defences

  • Penetration testing: authorised testers try to break into a system to find weaknesses before criminals do.
Quick check
?Why would a bank pay a security firm to try to break into its own network?
Mission check

?Thieves reached a store's card tills via its air-con firm. How?
Recap

Big ideas

  • Social engineering manipulates people into giving away information or access: people are often the weakest point in a system.
  • Phishing uses fake messages and fake websites to steal details; check links, verify through a known contact, never share passwords.
  • Malware is hostile software; it gets in through attachments, downloads, websites and weaknesses in software.
  • Patches fix vulnerabilities, but only once installed; anti-malware must be kept up to date to recognise new malware.
  • Network attacks include brute force, denial of service and data interception; each has its own defence.
  • Access levels give each user only what their role needs; authentication proves who a user is; firewalls allow or block traffic using rules.
  • Encryption makes intercepted or stolen data unreadable without the key.
  • Penetration testing finds weaknesses before attackers do.
🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Network security for OCR GCSE Computer Science (J277). 🎉

  1. Mission 1In 2020, hackers hijacked famous Twitter accounts. What did they hack?
  2. Mission 2The fix was out by March. Why did WannaCry still hit the NHS in May?
  3. Mission 3Thieves reached a store's card tills via its air-con firm. How?

Your stars: 0 / 0

Next: test yourself in the Verify stage.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to GCSE Computer Science · OCR

Specification points and sources for this lesson are listed at the bottom of the page.

Sources (7)

The specification points and sources behind this lesson.

  1. 1 OCR J277 v3.1, 1.4.1–1.4.2
  2. 2 OCR J277 v3.1, 1.3.2, 1.4.2
  3. 3 NBC News, "Twitter says hackers used a telephone to fool staff and gain access" (31 July 2020), https://www.nbcnews.com/business/business-news/twitter-says-hackers-used-telephone-fool-staff-gain-access-n1235466
  4. 4 TechTarget SearchSecurity, "Twitter hackers posed as IT staff, used VPN issues as a lure" (16 Oct 2020), quoting the NYS DFS investigative report, https://www.techtarget.com/searchsecurity/news/252490684/Twitter-hackers-posed-as-IT-staff-used-VPN-issues-as-a-lure
  5. 5 National Audit Office, "Investigation: WannaCry cyber attack and the NHS" (Oct 2017), https://www.nao.org.uk/press-release/investigation-wannacry-cyber-attack-and-the-nhs/ and https://www.nao.org.uk/report/investigation-wannacry-cyber-attack-and-the-nhs/
  6. 6 CBS News, "Senate report details Target's missed chances to stop data breach" (25 Mar 2014), https://www.cbsnews.com/news/senate-report-details-targets-missed-chances-to-stop-data-breach
  7. 7 PCWorld, "Target point-of-sale terminals were infected with malware" (13 Jan 2014), https://www.pcworld.com/article/2087240/target-pointofsale-terminals-were-infected-with-malware.html