Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SESP CS task 2: Test a network for security weaknesses

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

60 minutes

It works, but is it safe?

A new branch passes every ping test. All the desks reach the server. The manager is happy.

But a visitor plugs a laptop into a wall socket and reaches the room where the finance server sits. Working is not the same as safe. A security test asks a different question.

By the end of this lesson

Note

I can test a system for security and record the weaknesses I find.

Key words

WordWhat it meansExample
Requirementsomething the system must do or must not allow
Weaknessa flaw that an attacker could use
Porta numbered door on a device where one service listens80
Open porta port that accepts a connection
Servicea program that waits for other devices to connect to it
Telnetan old way to log in over a network that sends everything as plain text
Segmentationsplitting a network into parts so one part cannot freely reach another
Networkcomputers and devices joined together so they can share data
Firewalla device or program that blocks some messages and lets others through

The cells students fill in are left blank in this preview.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

This is practice

Important

The real Task 2 gives you a network file in the exam board's simulator and sets its own way of recording tests. Here you use real tools in a lab on a network built for practice. Only test networks you are allowed to test.

Start from the requirements

Requirement for the branchHow you could test it
Staff desks can reach the web server on the management networkConnect to port 80 from a desk
No other service on the management network is reachable from desksProbe the other common ports from a desk
Desks cannot log in to the management servers with old, unsafe toolsCheck that telnet, port 23, is closed
Only the services that are needed are runningList what is listening on the server

The cells students fill in are left blank in this preview.

Set up: a route out of router A

Command
sudo ip netns exec r1 ip route replace 10.0.99.0/24 via 10.0.12.2

A command for the lesson’s lab terminal. It is shown here and not run.

Set up: the way back on router B

Command
sudo ip netns exec r2 ip route replace 10.0.1.0/24 via 10.0.12.1

A command for the lesson’s lab terminal. It is shown here and not run.

Set up: start two services on the server

Command
sudo ip netns exec mgmt bash -c "nc -l -p 23 -k >/dev/null 2>&1 & nc -l -p 80 -k >/dev/null 2>&1 &"

A command for the lesson’s lab terminal. It is shown here and not run.

The lesson goes on

10 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.