UnixDroid

Lesson 1 of 5 · 6 min

What ethical hacking really means

Same skills as a criminal, different rules. Learn where the legal line is before you touch a single tool.

Ethical hacking means breaking into computer systems with the owner's permission, so the weak spots get fixed before a real attacker finds them. Companies pay for this because it's far cheaper to hear "your login page can be bypassed" from a tester than from a criminal.

Here's the surprising part: an ethical hacker and a criminal use almost the same tools. Nmap, Burp Suite, Metasploit, Wireshark. The difference isn't skill or software. It's permission.

Comparison of an ethical hacker and a criminal hacker across permission, scope, goal and result
Comparison of an ethical hacker and a criminal hacker across permission, scope, goal and result

The three things every test needs

Every real security test rests on three things. Learn them before you learn a single command.

WhatMeaningExample
PermissionThe owner agrees, in writingA signed contract or authorisation letter
ScopeExactly what you may test"Only app.example.com, not the payment server"
RulesHow and when you may test"10 PM to 6 AM only, no denial-of-service"

If even one is missing, it isn't a test. It's an attack.

"I was only checking if it was secure" is not a defence. Without permission, good intentions don't count.

What the law in India says

India's main cyber law is the Information Technology Act, 2000. Two sections matter most for beginners:

  • Section 43 covers accessing a computer, copying data or damaging a system without the owner's permission. The person responsible can be ordered to pay compensation.
  • Section 66 turns those same acts into a crime when they're done dishonestly or fraudulently. The punishment can be up to 3 years in prison, a fine of up to ₹5 lakh, or both.

Other countries have similar laws, such as the Computer Fraud and Abuse Act in the US and the Computer Misuse Act in the UK. Wherever you live, follow one rule: no permission, no testing. (This is a simple summary to keep you safe, not legal advice.)

White, black and grey hats

  • White hat: works with permission. Penetration testers, bug bounty hunters, red teamers.
  • Black hat: breaks in without permission, for money, data or damage.
  • Grey hat: breaks in without permission but claims good intentions, sometimes reporting the bug afterwards. It's still illegal, and plenty of grey hats have ended up in trouble.

Everything on UnixDroid Journey is about being a white hat.

Where you can practise legally

You don't need anyone's permission to hack your own machines, or platforms built for practice. That's where every beginner starts:

  • Your own lab of virtual machines. You'll build one in lesson 3.
  • TryHackMe and Hack The Box, which give you machines you're allowed to attack.
  • OverTheWire wargames like Bandit, great for Linux practice.
  • Bug bounty programs on HackerOne or Bugcrowd, later, once you know the basics. Each program publishes its own scope. Anything outside it is off limits.
Try it yourself
  1. In your own words, write down the three things every security test needs.
  2. Open the page of any public bug bounty program on HackerOne. Find what is in scope and what is out of scope.
  3. Create a free TryHackMe account and finish the first room of the Pre Security path.
No Linux machine? Practise in the free online terminal

Quick check

What is the one thing that separates an ethical hacker from a criminal?

Need a hint?

You get it in writing before you start.

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 →