GCSE · Computer Science · Edexcel · Spec 1CP2
Ethical hacking
Two people do exactly the same thing to the same computer system. One is doing their job. The other is committing a crime. So what's the difference?
Computer Science · Hacker types
Did the owner say yes?
Someone is hacking into a system. Ask the questions in order and follow the route they take.
Permission → Intent
Ethical hackers use the same tools and methods as malicious hackers, so the tools can't tell you which is which. The questions can.
3 kinds of hacker.
Pick a branch at each question and see what kind of hacker you land on.
Computer Science · Simulated attacks
Which kind of simulated attack?
Pick an attack, then pick its category. Each category shows the area that tester is checking.
Still to sort
Physical (0)
Area checked: physical security, such as locks, CCTV, badges and unattended equipment.
Software-based (0)
Area checked: software security, such as whether software is patched and antivirus software and firewalls are used.
Social engineering (0)
Area checked: staff training against social engineering.
Testers also check how data is stored. These attacks are named by category only.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Same skills, same tools. One question decides whether it's a job or a crime: did the owner say yes?
What you need to know
- An ethical hacker is a cybersecurity professional who is authorised to break into systems to find and fix vulnerabilities.
- They use the same tools and methods as malicious hackers, but with permission, so the owner knows about the test.
- Testing without permission is illegal and unethical. Permission keeps the tester on the right side of the law.
Have a goYour mate says: "If ethical hackers use the same tools as criminals, there's no difference." In one word, what is the difference?
Permission.
The tools and methods can be identical. What makes the tester legal is that the owner agreed to the test.
- White hat hackers are ethical hackers with permission to protect systems and data, and are often employed by companies and governments.
- Grey hat hackers break in without permission but without intending harm. That is still illegal.
Have a goSam says: "Grey hats mean no harm, so what they do is basically legal." Is Sam right?
No. A grey hat breaks in without permission, which is still illegal.
Meaning no harm doesn't replace permission. Legality depends on whether the owner said yes.
- Black hat hackers illegally break in to steal data, spread malware or cause damage for personal gain.
- Penetration testing is ethical hacking as a simulated cyberattack, used to find and fix weaknesses before real attackers can exploit them.
- Box tests are about knowledge: white box is full knowledge (a malicious insider), grey box some, black box none (an external hacker).
Have a goA tester is given full details of a system and tests it as a malicious insider would. Which box test is that?
White box testing.
The box colour names how much the tester knows. Full knowledge is white box, none is black box.
- A penetration test runs in four stages: planning, discovery, attack, then reporting.
- Testers may check physical security, staff training, data storage and software, using physical, software-based or social engineering attacks.
The big picture
Ethical hackers and criminals can use the same tools and methods. The difference is permission: ethical hackers are authorised, so a penetration test is a simulated cyberattack that helps an organisation fix weaknesses before real attackers exploit them. Hats describe permission and intent, boxes describe how much the tester knows, and a test runs through planning, discovery, attack and reporting.
Key points
Worked example
Problem
Maya is hired by a company. The owner has agreed to the test. She is told nothing about how the company's systems work and tests them as an outsider would. Which kind of hacker is she, and which box test is she doing?
⚠ Watch out
Mixing the two sets of colours. A black box test isn't done by a black hat: the box is about knowledge, not permission. And meaning no harm never makes breaking in legal.
Memory hook
Hats ask "did the owner say yes?" Boxes ask "how much does the tester know?" Two sets of colours, two different questions.
Check yourself
Cover the page. A tester has permission and full details of the system. Which hat, which box? Answer: white hat, white box. Permission picks the hat, knowledge picks the box.
Flashcards
(14)What is an ethical hacker?
Why must an ethical hacker get permission first?
What do ethical and malicious hackers have in common?
What is penetration testing?
Why is penetration testing important?
White hat hacker
Grey hat hacker
Black hat hacker
Black box testing
How do white box and grey box testing differ?
Name the four stages of a penetration test in order.
What goes into a penetration test report?
Name the three categories of simulated attack.
Name four areas a penetration tester may check.
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 Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)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 21 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.