Controls and audits say what should be true. Testing checks what is true. This lesson covers the two main kinds of test, and what each can and cannot tell you.
A vulnerability scan
Scans are fast, cover many systems, and can run every week. A scan from outside sees what any stranger on the internet sees. A scan that is allowed to log in, or a small program on each computer, sees much more, such as missing updates. But a scan only says a weakness seems to be present. It cannot show whether an attacker could really use it, and it can be wrong. You can only scan what you know you own, so an up-to-date list of systems comes first: the Identify function from station GOVN.
A penetration test
vulnerability scan · 46 findings
A weekly vulnerability scan of a made-up company lists 46 findings, each with a severity. It covers every system the company told the scanner about, in a few hours.
Testers can join several small weaknesses into one serious path, which a scan cannot do. A test is called black box when the tester is told nothing beyond the scope, white box when they are given full details such as designs and code, and grey box for something in between. In exercises, the attacking side is the red team and the defenders are the blue team. The quality of a test depends on the tester: a report with few findings can mean a strong system, or a weak test.
This course does not teach testing methods. What every learner needs is the rules around a test: permission, scope and reporting, in lesson TEST-2.
Bug bounties
In a bug bounty programme, an organisation publishes rules and a scope, and pays outside researchers who report valid weaknesses. A bounty gives permission only for what its published rules allow. Testing anything outside them is still unauthorised access (station ETHL).
A test shows one moment
A test shows the state of the systems on the days it ran. New systems, new updates and new attacks appear every week. Organisations therefore scan all the time, test at least once a year and after big changes, and check whether the SOC noticed the testers. If the blue team did not see the testers, it would not see real attackers either.
TEST-1 counts as completed once you step through the figure to its last step.