Attack surface
All the points where an attacker could try to get into a system or take data out, such as open ports, running services and user accounts. A smaller attack surface means fewer ways in.
Understanding Attack surface in Years 9–10 Digital Systems
What it does: Blocking port 23 (Telnet) removes one entry point, so the attack surface gets smaller. Deleting an unused account takes away a login that an attacker could target, so there are fewer ways in. More services and open ports mean more points an attacker could try, so the attack surface grows. Closing unneeded ports takes away entry points. Opening them all does the opposite.
Common mistakes: This condition closes the ports that are needed and leaves the unneeded ones open. To shrink the attack surface it should read IF port is not needed THEN. Closed ports are not a way in. The attack surface counts open ports, so the line should call list_open_ports().
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 25–40) and word search (Modules 13–40).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
attack surfaceFill in the Blanks
Spot the Error
Student with a class code? Join your class →