Hacking challenges › Networks
Learning route · 6 challenges
⌁ Networks
Discover machines and services, talk to them and understand why an open port is an open door.
⚠ For educational purposes only. A simulation for strictly educational purposes. Everything happens in your browser against made-up machines: it doesn't connect to any real system. Using these techniques against computers or networks without their owner's written permission is a crime (articles 197 bis and 264 of the Spanish Criminal Code). Learn in order to defend.
The basics before you start
Every service listens on a port: 22 SSH, 80 HTTP, 21 FTP, 53 DNS. nmap finds out which are open and, with -sV, which program and version sit behind them.
Lots of services introduce themselves when you connect: name, version, sometimes more than they should. nc IP PORT is the simplest way to listen in.
It turns names into addresses, but it also stores text (TXT), mail servers (MX) and, if it's badly configured, the full list of machines (zone transfer).
An exposed service with a dictionary password falls in seconds (hydra). Defence: long passwords, attempt limits, SSH keys and not exposing what doesn't need exposing.
Challenges, from easiest to hardest
FAQ
What do you learn on the Hacklab's Networks route?
Discovering machines and services, talking to them and understanding why an open port is a door. Concepts: ports and services, banners, dns, weak passwords.
How many challenges are on the Networks route?
6 challenges ordered from easy to elite. Complete them all to earn the route badge.