Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1penetration test | AThe test is run without the owner's written permission. Without authorisation it is an illegal attack, not a penetration test. | |
| 2white-hat hacker | Bif permission == True: run_pen_test(system) | |
| 3A pen test finds weaknesses so they can be fixed, which improves security | CAn authorised, simulated attack on a system to find vulnerabilities before real attackers do | |
| 4A pen test is only ethical when the system owner gives permission first | Dfindings = pen_test(system) fix(findings) | |
| 5run_pen_test(bank_system) # no permission asked | EBlack-hat hackers are not ethical hackers. They attack systems without permission for personal gain or to cause harm. White-hat hackers are the ethical ones. | |
| 6black_hat = ethical_hacker | FA hacker who has permission to test a system and reports weaknesses so they can be fixed |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
penetration test — An authorised, simulated attack on a system by an ethical (white-hat) hacker to find vulnerabilities before real attackers (black-hat) do, so the weaknesses can be fixed.penTest.authorised = TrueblackHat.authorised = Falseif vulnerabilityFound:
fix(vulnerability)found = runPenTest(system)
for weakness in found:
fix(weakness)tester = WhiteHat() # ethical hacker