Reading a port scan from the defender side
A capture from a server segment shows a burst of connection attempts. Identify the scanner, count the ports it tried, and list the ports that answered as open.
What you’re looking at
A capture from a server segment shows a burst of connection attempts. Identify the scanner, count the ports it tried, and list the ports that answered as open.
Your goal: Read a port scan from the defender’s side: who scanned, how many ports, and which answered.
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words you will meet
- IDS
- intrusion detection system
- SYN
- the first packet of a TCP connection
- ACK
- the acknowledgment flag in TCP
- RST
- the TCP reset flag, which refuses or kills a connection
- IP
- Internet Protocol address, the number that identifies a machine on a network
- TCP
- Transmission Control Protocol, the connection most network traffic uses
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
The IDS raised a port scan alert for 10.0.5.10, a file server. The capture is at /cases/scan.pcap.
A SYN scan sends one SYN per port. An open port answers with SYN, ACK. A closed port answers with RST, ACK. The scanner then resets the open ones without finishing the handshake.
sensor-02 · Packet captures
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
The whole walkthrough
Every step in order, written to be read aloud: 293 words, about 2 min. It gives away every answer, so try the steps first.