GCSE · Computer Science · AQA · Spec 8525
Penetration testing
Picture this: someone tries to break into your school at night. Not to nick anything, but to find the unlocked window before a real burglar does. That's penetration testing.
Cyber security · Penetration testing
Who is the tester pretending to be?
Read each brief. Is the tester starting like someone already inside, or like a stranger on the outside? Pick a brief, then drop it where it belongs.
Still to sort
Simulates a malicious insider (0)
The tester starts with knowledge of the target system and possibly basic credentials.
Where the line is: Holding any credentials at all rules out the other type, which starts with no knowledge of any credentials.
Simulates an external attack (0)
The tester starts with no knowledge of any credentials for the target system.
Where the line is: Skill and tools don't decide the type. What the tester is given at the start does.
Every brief here is made up. The only thing that changes is how much the tester is told first.
What is it for?
Reason it through
Why would anyone try to break into a system on purpose?
First link · your turn
First up: what does the tester actually do?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Two types of test, one question to ask: who is the tester pretending to be?
What you need to know
- Penetration testing is attempting to gain access to resources without knowledge of usernames, passwords and other normal means of access.
- Put simply: someone tries to get into a system on purpose, the way a real attacker would.
- It's used to find security weaknesses so they can be fixed before a real attacker uses them.
- There are two types, and they differ in what the tester is given at the start.
Have a goYour mate Jas reckons: "If the tester finds a way in, the test has failed." Is Jas right?
No. Finding a way in is the test working.
Jas is thinking like a burglar who wants to stay unnoticed. The test exists to find weaknesses, so every way in it finds is one that can now be fixed.
- First type: the tester has knowledge of, and possibly basic credentials for, the target system.
- That first type simulates an attack from inside the system, by a malicious insider.
Have a goWhich single word in the first type tells you the tester might not be handed a login at all?
"Possibly".
The tester has knowledge of the system, and possibly basic credentials. Skip that word and you'd think every insider-style test hands over a login.
- Second type: the tester has no knowledge of any credentials for the target system, simulating an attack from outside (an external attack).
- Skill and tools don't decide the type. The starting knowledge and credentials do.
Have a goTwo testers get the same brief: no usernames, no passwords, no details. One is a seasoned expert, one is brand new. Do they run different types of test?
No. Both simulate an external attack.
It feels as if the expert should count for more, but the type comes from the starting point, and both start with no knowledge of any credentials.
The big picture
Penetration testing means trying to get into a system on purpose, the way an attacker would, so the weaknesses can be found and fixed. There are two types, and one thing separates them: what the tester is given at the start. Knowledge and possibly basic credentials means playing a malicious insider. No knowledge of any credentials means playing an external attacker.
Key points
Worked example
Problem
A company is worried that someone who works for it could misuse the access they already have. It wants a penetration test to find out what such a person could do. Which type of penetration test should it ask for, and what should the tester be given at the start?
⚠ Watch out
Deciding the type by how skilled the tester is or how clever their tools are. Tempting, because experts sound like they'd do the 'serious' test. But skill doesn't decide it: what the tester knows and which credentials they hold at the start does.
Memory hook
Same break-in, different briefing. Handed a key (credentials) and a map (knowledge)? You're playing the insider. Handed nothing? You're playing the outsider.
Check yourself
Close the page and say it out loud: what penetration testing is, what it's for, and the one thing that decides which type a test is.
Flashcards
(6)What is penetration testing?
What is penetration testing used for?
A test starts with knowledge of the system and possibly basic credentials. Who is the tester playing?
A test starts with no knowledge of any credentials. Who is the tester playing?
A tester is handed one basic login and nothing else. Which attack does the test simulate?
Does the tester's skill decide which type of penetration test it is?
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 postedMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)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 26 October 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.