GCSE · Computer Science · Eduqas · Spec C500QS

Penetration testing

Two people try the same tricks on the same system. One helps the owner; one is a threat. What separates them?

COMPUTER SCIENCE · CYBERSECURITY

Test or attack?

Sort each attempt to get into a system: penetration test or real attack?

Did the system's owner say yes first?

Still to sort

Penetration test (0)

Authorised, planned, and done to improve security.

Where the line is: What makes it a test is permission, planning and the aim of reporting weaknesses, not the method used.

Real attack (0)

No permission, and the aim is harm or gaining access.

Where the line is: A real attacker has no permission. Using clever methods does not make something a test, and neither does saying you meant well.

6 of 6 still to sort.

Several of these attempts use the same kind of method. Decide which side of the line each one falls on.

Exam line: Do not decide by the method. Ask: did the owner give permission, was it planned, and will the weaknesses be reported so they can be fixed?
Watch out: Meaning well is not enough. An attempt nobody agreed to is not a penetration test.

Two kinds of simulated attacker

External attacker testvsInside user test

A penetration test copies a real attacker. Which attacker does it copy?

Focus

Where the simulated attacker starts

External attacker test

Outside the organisation

Inside user test

Inside it, as a user who already has some access

The insight

The starting point is the main difference between the two tests.

What the tester begins with

External attacker test

No access to the system

Inside user test

Some access, for example an ordinary user account

What it checks the system against

External attacker test

An attempt to get in from outside

Inside user test

Someone who already has some access trying to go further

What stays the same

External attacker test

Authorised, planned, and reported to the owner

Inside user test

Authorised, planned, and reported to the owner

THE TESTING LOOP

Rebuild the loop, then break it

3 stages are missing. Use the rest of the loop to work out which goes where.

  1. Stage 1: Plan

    Agree in advance what will be tested. This can be done before a new system goes live.

  2. Stage 2: Simulate an attack

    Testers try to get in using the kinds of methods a real attacker might use.

  3. Stage 6: Test again

    After a change or update, and at regular intervals, because changes can add new weaknesses and new threats appear over time.

…and stage 6 leads back to stage 1.

Exam line: Testing finds weaknesses; fixing protects the system; repeating the test catches the new weaknesses that changes and new threats bring.

WHAT DO YOU THINK?

What does a penetration test actually do?

A company has just had a penetration test carried out on its system.

Which of these is closest to what you think right now?
How sure are you?

EXAM PRACTICE

Write it, then mark it

A company has just updated its online system. Explain the difference between a penetration test and a real attack, and explain why the company should carry out a penetration test now. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Same tricks as an attacker, completely different job. Find out what makes the difference.

What you need to know

  • Penetration testing protects a computer system by finding weaknesses (vulnerabilities) in its security.
  • A penetration test is an authorised attempt to break in, carried out with the system owner's permission.
  • It is planned in advance, with what will be tested agreed beforehand.
  • Testers use the same kinds of methods a real attacker might, so the test simulates an attack.
  • Have a goSam says: "Penetration testers use the same methods as attackers, so they are basically criminals." Using the bullets so far, what has Sam missed?

    The test is authorised and planned in advance.

    Using similar methods does not make something an attack. Permission from the owner and planning beforehand are what mark a penetration test out.

  • The purpose is to find weaknesses before an attacker can find and exploit them.
  • The weaknesses found are reported to the owner so they can be fixed and security improved.
  • A real attacker has no permission and intends to cause harm or gain access. Permission and purpose are the difference.
  • A test can simulate an attack from outside (an external attacker) or from inside, such as a user who already has some access.
  • Have a goA company wants to know what a member of staff with an ordinary login could get at. Should it ask for an external test or an inside-user test?

    An inside-user test.

    A test can simulate an attacker from inside, such as a user who already has some access, rather than only someone outside.

  • Testing can happen before go-live, after changes (which can add weaknesses) and at regular intervals, as new threats appear.
  • Have a goA new website was tested before go-live. Name one later moment when it could be tested again, and why.

    After a change or update, because changes can add new weaknesses.

    The first test cannot find weaknesses that a later change adds, and new threats appear over time, so testing can be repeated.

  • Testing finds weaknesses but does not fix them. The system is only protected once they are fixed.

The big picture

A penetration test is an authorised, planned attempt to break into a system, done to find its weaknesses before a real attacker does. The weaknesses are reported to the owner, and the system is only protected once they have been fixed. Tests can be run before a system goes live, after changes and at regular intervals.

Key points

1Penetration testing protects a system by finding its weaknesses before an attacker does.
2A penetration test is authorised and planned, and it simulates an attack using the kinds of methods a real attacker might use.
3The difference from a real attack is permission and purpose, not the method.
4The weaknesses are reported to the owner. The system is only protected once they have been fixed.
5Testing can happen before go-live, after changes and at regular intervals.

Worked example

Problem

A café chain has just updated its online ordering system. A tester tries to get in from outside, using the kinds of methods an attacker might use. The chain's owner agreed a plan beforehand and asked for a report. Decide whether this is a penetration test or a real attack, and say what must happen next for the system to be better protected.

⚠ Watch out

Thinking a penetration test makes a system secure. It only finds weaknesses. The system is protected once the weaknesses found have been fixed.

🧠

Memory hook

Three Ps separate a test from an attack: Permission, Planned, Purpose (find and report weaknesses). And remember: finding is not fixing.

✓

Check yourself

Cover the page: how can a tester and an attacker use the same methods yet differ? What must happen after a test?

Flashcards

(12)
What is penetration testing?
A method of protecting a computer system by finding its weaknesses (vulnerabilities) in security.
Whose say-so makes a penetration test legitimate?
The system's owner. The test is carried out with their permission.
When is a penetration test planned?
In advance, with what will be tested agreed beforehand.
Why is a penetration test called a simulated attack?
Testers try to get in using the same kinds of methods a real attacker might use.
What is the purpose of penetration testing?
To find weaknesses before an attacker can find and exploit them.
Who gets the results of a penetration test, and why?
The system's owner, so the weaknesses can be fixed and security improved.
Two things that separate a penetration test from a real attack?
A test has permission and aims to improve security. An attacker has no permission and intends harm or access.
External vs inside test: what is the difference?
External simulates an attacker from outside the organisation. Inside simulates one who already has some access, such as a user.
Why test before a new system goes live?
So weaknesses are found before the system is in use.
Why test after a system is changed or updated?
Changes can introduce new weaknesses.
Why repeat penetration testing at regular intervals?
New threats and new weaknesses appear over time.
Does a penetration test fix the weaknesses it finds?
No. It finds them. The system is only protected once they have been fixed.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.