UnixDroid

Lesson 1 of 6 · 6 min

Step 1: permission and legal targets

Why scanning someone else's network can get you in trouble, and the safe targets you can practise on today.

Nmap is legal to download and learn. Pointing it at networks you don't own is a different story.

Why permission comes first

A port scan is the first step of almost every attack, so defenders treat it seriously. Scanning a company, college or website without permission can get your IP blocked, get you reported, and in India it can fall under the IT Act 2000 (Sections 43 and 66) if it leads to unauthorised access or damage.

Rule: only scan what you own, or what you have written permission to test.

Safe places to practise

TargetWhy it's safe
Your own home labYour machines, your rules. See the Home Lab path.
Metasploitable 2A deliberately vulnerable VM made for practice.
scanme.nmap.orgRun by the Nmap project so learners can test scans.
TryHackMe / Hack The BoxLegal targets inside their own networks.

Respect scanme.nmap.org

The Nmap team lets you scan scanme.nmap.org, but only lightly: a few scans a day, no brute-forcing, no attacking its services.

nmap scanme.nmap.org

If you're not sure you're allowed to scan something, you're not allowed.

Try it yourself
  1. List three targets you are allowed to scan.
  2. Run one basic scan against scanme.nmap.org and save the output.
  3. Write down which ports were open.
No Linux machine? Practise in the free online terminal

Quick check

Which hostname does the Nmap project let learners scan?

Need a hint?

scan + me, on nmap.org.

Finished this lesson?

Done lessons keep your daily streak going 🔥

0 day streak

0 lessons done

best 0 days

Log in to keep your streak on every device →