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

01Ports and services

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.

02Banners

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.

03DNS

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).

04Weak passwords

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

▮▯▯▯ Easy10 pts · 8 minWho's on the network?The Fog has slipped a beacon into the Parallel's network. First things first: find out which machines are connected and which one doesn't belong.You learn What an IP address and a /24 network are, and how nmap discovers the machines that are switched on and the open ports on one of them.Enter →🩸 no first blood yet▮▯▯▯ Easy10 pts · 10 minWhat the banners sayA KOI server has services on odd ports. Many services introduce themselves when you connect, and sometimes they say more than they should.You learn nmap -sV to see versions and nc (netcat) to connect to a port and read a service's banner.Enter →🩸 no first blood yet▮▮▯▯ Medium20 pts · 15 minFactory passwordA Fog surveillance camera is watching FROG's street. Find out what model it is and get in the way whoever misconfigured it would.You learn Identifying services and versions, looking up known flaws and how a dictionary attack works.Enter →🩸 no first blood yet▮▮▯▯ Medium20 pts · 15 minDNS talksKOI has a test machine that doesn't show up in any sweep. But its DNS is misconfigured and only too happy to spill everything.You learn How DNS works, the record types (A, TXT, MX, NS) and what a misconfigured zone transfer (AXFR) is.Enter →🩸 no first blood yet▮▮▯▯ Medium20 pts · 12 minAnonymous FTPAn old KOI file server is still switched on. It lets in anyone who says their name is anonymous.You learn What FTP is, anonymous access and why old unencrypted protocols are still a risk.Enter →🩸 no first blood yet▮▮▮▮ Elite50 pts · 30 minThe door on the high portThe Fog's deployment server looks locked up tight. But quick scans don't check every port, and developers leave keys where they shouldn't.You learn Scanning every port (nmap -p-), finding services hidden on high ports, chaining a leak into an SSH key and getting in with ssh -i.Enter →🩸 no first blood yet

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.

More questions about Cyberpunks España →