MadeByZack
Sign in
Back

1.4.1 Threats to computer systems and networks · Paper 1

Attacks: how systems are threatened

Each section has pictures and things to try, then its key points and key words. Exam practice is at the end of the page.

You need to know

  • The threats to devices and systems
  • For each attack: how it is used, and what it is trying to do
  • Malware, social engineering (including phishing and people as the weak point), brute-force, denial of service, data interception and theft, and the idea of SQL injection

You don't need to know

  • OCR doesn't rule anything out here.

The six attacks at a glance

For every attack, learn two things: how it works and what the attacker is trying to do.

MalwareHarmful software that gets onto a computer.Aim: damage, lock or steal data
Social engineeringTricking people rather than computers.Aim: passwords, money, access
Brute-forceSoftware tries password after password.Aim: get into an account
Denial of serviceFloods a server until it can't cope.Aim: take a service offline
Data interceptionCaptures data as it travels.Aim: read private data
SQL injectionSneaks SQL code into an input box.Aim: read or change a database

Exam tip: Learn each attack together with the defence that stops it. See 1.4.2.

Malware

Malware (malicious software) is any software written to harm a computer or its user. Exam questions often ask you to tell the types apart.

Virus

How it spreads
Attaches itself to a file or program. Spreads when a person runs or shares that file.
Copies itself?
Yes, into other files
What it does
Deletes or corrupts files, slows the computer down

Worm

How it spreads
A standalone program that spreads by itself across a network, using security holes.
Copies itself?
Yes, with no help from people
What it does
Uses up bandwidth and slows networks; often carries other malware

Trojan

How it spreads
Pretends to be useful software, e.g. a free game, so the user installs it.
Copies itself?
No
What it does
Opens a backdoor so the attacker can control the computer or steal data

Ransomware

How it spreads
Usually through phishing emails or other malware.
Copies itself?
Sometimes
What it does
Encrypts your files and demands payment to unlock them

Spyware

How it spreads
Hidden inside other downloads.
Copies itself?
No
What it does
Secretly records what you do. A keylogger records every key you press and sends passwords to the attacker.

Common mistake: a virus needs a person to run an infected file. A worm spreads on its own. A trojan doesn't copy itself at all.

How malware gets in

  • Email attachments and links
  • Downloads from untrusted sites
  • Infected USB sticks
  • Software that hasn't been updated (security holes)

Try it

Which type of malware is it?

  • All the files on a school server are locked, and a message asks for £5,000 in Bitcoin.
  • Malware spreads to every computer on a network overnight, without anyone clicking anything.
  • A free "speed booster" app secretly lets a hacker control the laptop.
  • Every key typed is recorded and sent to a criminal.
  • An infected document spreads each time someone opens it and emails it on.

Key points

Malware

  • Malware is malicious software designed to harm a computer or its user.
  • Virus: attaches to files and spreads when they are opened.
  • Worm: copies itself across networks on its own.
  • Trojan: pretends to be useful software but does harm.
  • Ransomware: encrypts your files and demands payment.
  • Spyware: secretly records what you do, e.g. keystrokes and passwords.

Key words

Say what each one means, then tap to check.

Social engineering

Social engineering means tricking people into giving away information or access. It targets people because people are often the weakest point in a system: the strongest security is no use if someone hands over their password.

PhishingFake emails, texts or websites that look real, asking you to log in or click a link.Aim: passwords and bank details
Blagging (pretexting)Making up a story to get information, e.g. phoning as "IT support" and asking for a password.Aim: information or access
ShoulderingWatching someone type their PIN or password, e.g. at a cash machine.Aim: PINs and passwords

Try it

This is a phishing email. Tap the 5 warning signs.

From: Netflix Support <security@netflix-acc0unts.co>

Subject: Your account has been suspended

Dear Customer,

We were unable to process your payment. You must update your details within 24 hours or your account will be deleted.

Click here to update: www.netflix.com/account

Thank you for chosing Netflix.

Tap the parts of the email that look suspicious.

Odd sender address

"netflix-acc0unts.co" uses a zero instead of an o, and isn't Netflix's real address.

Doesn't use your name

Real companies usually greet you by name. "Dear Customer" is sent to thousands of people.

Rushes you

Threats and deadlines make you panic and click before you think.

The link is hidden

The text shows a real address, but the link could go anywhere. Hover over links to check before clicking.

Spelling mistake

"Chosing" should be "choosing". Mistakes are a common sign of a fake.

Key points

Social engineering and phishing

  • Social engineering is tricking people into giving away information or access. It targets people, not computers.
  • Phishing: fake emails, texts or websites that look real, asking you to log in or give details.
  • Pretexting / blagging: making up a story, e.g. pretending to be IT support on the phone.
  • Shouldering: watching someone type their PIN or password.
  • People are the weak point: even strong security fails if someone gives their password away.
  • Defence: train staff, and check suspicious messages carefully.

Key words

Say what each one means, then tap to check.

Brute-force attacks

A brute-force attack uses software to try every possible password until one works. Computers can try billions a second, so short, simple passwords fall fast.

A dictionary attack is a quicker version: it tries common words and popular passwords first, like "password" or "123456".

Try it

How long would your made-up password last?

Key points

Brute-force attacks

  • A brute-force attack uses software to try every possible password until one works.
  • Short and simple passwords can be cracked very quickly.
  • A dictionary attack is similar but tries common words and passwords first.
  • Defences: long, complex passwords; locking the account after several failed attempts; two-factor authentication.

Key words

Say what each one means, then tap to check.

Denial of service

A denial of service (DoS) attack floods a server with so many requests that it slows down or crashes, so real users can't get in.

DoS

Server

Comes from one computer, so it is easier to block.

DDoS (distributed)

Server

Comes from thousands of infected computers (a botnet), so it is much harder to block.

What it costs the victim

  • Lost sales while the website is down
  • Customers can't use the service
  • Damage to the company's reputation

Key points

Denial of service attacks

Before this: 1.3.1Web servers and clients

  • A denial of service (DoS) attack floods a server with requests until it can't cope.
  • Real users can't access the website or service.
  • A DDoS (distributed) attack uses thousands of infected computers (a botnet) at once.
  • Aims: cause disruption, cost a business money, or as a protest.
  • Defence: firewalls that spot and block unusual traffic, and extra server capacity.

Key words

Say what each one means, then tap to check.

Data interception and theft

Data travels across networks in packets. Attackers use packet sniffing software to capture packets and read them, especially on public Wi-Fi. Data can also be stolen by taking a device or a USB stick.

YouRouterAttacker copies the packets

Try it

Is the data safe?

Key points

Data interception and theft

Before this: 1.3.2Encryption

  • Data interception is capturing data as it travels across a network.
  • Attackers use packet sniffers to read data, especially on unsecured public Wi-Fi.
  • Aim: steal passwords, bank details or other private data.
  • Defence: encryption (e.g. HTTPS), so intercepted data can't be understood.

Key words

Say what each one means, then tap to check.

SQL injection

Many websites store data in a database and build an SQL command from what you type. In an SQL injection, the attacker types SQL code into an input box. If the website doesn't check its input, the database runs the attacker's code, letting them log in without a password or read, change or delete data.

Try it

Get into sam's account without the password. Then turn on validation.

Key points

SQL injection

Before this: 2.2.3Searching data with SQL

  • Many websites store data in a database and use SQL to search it.
  • In SQL injection, an attacker types SQL code into an input box, like a login form.
  • If the website doesn't check input, the database runs the attacker's code.
  • This can let them log in without a password, or read, change or delete data.
  • Defence: validate and sanitise input, and limit what the database account can do.

Key words

Say what each one means, then tap to check.

Exam practice

18 questions in the style of the OCR exam, 34 marks in total. Try each one, then check the mark scheme.

Malware

Question 1[2 marks]
Describe what ransomware does.
Hint

The clue is in the name: a ransom. What is held hostage, and what is asked for?

Describe means say what it is like or what happens. Make each point a separate fact.

2 marks: make 2 separate points.

Show mark scheme
  • Encrypts / locks the user's files…
  • …and demands payment to unlock them.

1 mark for each point.

Question 2[2 marks]
Give two ways malware can get onto a computer.
Hint

Look back at the list of ways malware gets in.

Give means give a short, clear answer. You don't need to explain it.

2 marks: make 2 separate points.

Show mark scheme
  • Opening an infected email attachment.
  • Downloading infected software / files.
  • Clicking a malicious link.
  • Infected USB stick.

1 mark each, max 2

Question 3[1 mark]
State the name of the spyware that records every key a user presses.
Hint

Its name says exactly what it does with the keys.

State means give a short, clear answer. You don't need to explain it.

1 mark: one answer is enough.

Show mark scheme
  • Keylogger.

Social engineering

Question 4[2 marks]
Give two signs that an email might be a phishing attempt.
Hint

Look back at the fake Netflix email you tapped on. What gave it away?

Give means give a short, clear answer. You don't need to explain it.

2 marks: make 2 separate points.

Show mark scheme
  • Urgent / threatening language.
  • Spelling and grammar mistakes.
  • Sender address doesn't match the company.
  • Asks for personal details / passwords.
  • Generic greeting, e.g. Dear customer.
  • Suspicious link.

1 mark each, max 2

Question 5[2 marks]
Explain why training staff helps protect against social engineering.
Hint

If staff can spot a scam, what are they less likely to do?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • Staff learn to recognise scams / phishing…
  • …so they are less likely to give away information.

1 mark for each point.

Brute-force attacks

Question 6[2 marks]
Explain why a long password with a mix of characters protects against brute-force attacks.
Hint

Every extra character multiplies the number of guesses. Try it in the password tester.

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • There are many more possible combinations…
  • …so it takes much longer to try them all.

1 mark for each point.

Question 7[1 mark]
Give one other way to protect against brute-force attacks.
Hint

What could happen after a few wrong guesses? What could be needed as well as the password?

Give means give a short, clear answer. You don't need to explain it.

1 mark: one answer is enough.

Show mark scheme
  • Lock the account after a number of failed attempts / two-factor authentication / CAPTCHA.

Denial of service

Question 8[2 marks]
Describe how a denial of service attack works.
Hint

Picture a shop doorway jammed with thousands of fake customers. What happens to the real ones?

Describe means say what it is like or what happens. Make each point a separate fact.

2 marks: make 2 separate points.

Show mark scheme
  • The server is flooded with requests / traffic…
  • …so it can't respond to genuine users / crashes.

Don't accept: "It hacks into the server". A denial of service attack overloads the server. It doesn't need to break in.

1 mark for each point.

Question 9[2 marks]
Explain how a DoS attack could affect an online shop.
Hint

What happens to sales, and to customers' trust, while the site is down?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • Customers can't access the site…
  • …so the shop loses sales / reputation.

Don't accept: "Data is stolen". A DoS attack stops the service; it doesn't steal data.

1 mark for each point.

Data interception and theft

Question 10[2 marks]
Explain why using public Wi-Fi can be risky.
Hint

Who else could be on the same café Wi-Fi, and what could they capture?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • Data could be intercepted by others on the network…
  • …e.g. passwords if the connection isn't encrypted.

Also accept: Criminals can set up fake hotspots to capture data.

1 mark for each point.

Question 11[1 mark]
State the best method to protect data that may be intercepted.
Hint

Even if the data is captured, what would make it unreadable?

State means give a short, clear answer. You don't need to explain it.

1 mark: one answer is enough.

Show mark scheme
  • Encryption.

Don't accept: Firewall or anti-malware. They don't stop data being read as it travels.

SQL injection

Question 12[3 marks]
Explain how SQL injection works.
Hint

Where does the attacker type, what do they type, and why does the database run it?

Explain means say what happens and why. Words like “because” and “so” help.

3 marks: aim for 3 things said, such as a point and then the reason for it.

Show mark scheme
  • The attacker enters SQL code into a web form / input box.
  • The input isn't validated / checked.
  • The database runs the code, giving access to / changing data.

Also accept: An example, e.g. typing code into a login box so the database lets them in without a password.

Don't accept: "Hacking the database" with no detail of how.

1 mark for each point.

Question 13[1 mark]
State one way to prevent SQL injection.
Hint

The website should check what is typed in before it uses it.

State means give a short, clear answer. You don't need to explain it.

1 mark: one answer is enough.

Show mark scheme
  • Input validation / sanitisation / parameterised queries.

Don't accept: Firewall or anti-malware. They don't stop SQL typed into a form.

Mixed questions on the whole page

Question 14[2 marks]
Describe what is meant by phishing.
Hint

Think about the fake Netflix email. Who does it pretend to be, and what does it want from you?

Describe means say what it is like or what happens. Make each point a separate fact.

2 marks: make 2 separate points.

Show mark scheme
  • Fake emails / messages / websites that appear to come from a trusted source.
  • Used to trick people into giving away personal details such as passwords.

Don't accept: "A virus sent by email". Phishing tricks people into giving away details. It doesn't need to contain malware.

1 mark for each point.

Question 15[2 marks]
Explain how a brute-force attack is carried out.
Hint

What does the software do, over and over, and when does it stop?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • Software automatically tries every possible password combination…
  • …until the correct one is found.

Don't accept: "Guessing the password" with no detail. Say that software tries every combination automatically.

1 mark for each point.

Question 16[2 marks]
Explain the difference between a virus and a worm.
Hint

Both copy themselves. The difference is how they spread: does a person need to do anything?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • A virus attaches itself to a file or program, and needs a person to run or share that file to spread…
  • …a worm is a standalone program that spreads by itself across a network, using security holes.

Don't accept: "A worm is worse" or "a worm is bigger". The marks are for how each one spreads.

1 mark for the virus, 1 mark for the worm.

Question 17[3 marks]
A student downloads a free game from a website. A week later, an attacker is controlling their laptop. Identify the type of malware and explain how you know.
Hint

Did it spread by itself, or did the student install it because it looked useful?

Identify means pick out or name the right thing. A short answer is enough.

3 marks: make 3 separate points.

Show mark scheme
  • Trojan.
  • It pretended to be useful software (a free game)…
  • …so the user installed it themselves / it opened a backdoor so the attacker could control the laptop.

Don't accept: Virus or worm. Nothing here copies itself or spreads to other files or computers.

1 mark for trojan, 1 mark for each point.

Question 18[2 marks]
Explain why people are often described as the "weak point" in network security.
Hint

Even with great security, what can a person be tricked into doing, or forget to do?

Explain means say what happens and why. Words like “because” and “so” help.

2 marks: aim for 2 things said, such as a point and then the reason for it.

Show mark scheme
  • People can be tricked (social engineering), e.g. into revealing passwords.
  • They may use weak passwords / click on unsafe links / not follow rules.

1 mark each, max 2