#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →

Cybersecurity · Ethical Hacking Basics

Basics of Ethical Hacking You Must Know

Learn the basics of ethical hacking you must know — hacker types, the five phases of ethical hacking, essential tools, legal boundaries, and a practical learning plan for beginners.

Tracks
Ethical Hacking Phases · Live Interactive
Phase
—
Ethical hacking phase
Key Activity
—
What you do
Deliverable
—
Outcome of the phase
Recon → Scan → Exploit → Report
Click a phase to see the core activity and deliverable. Always test only with written authorization.

Home / Tutorials / Career Guides / Basics of Ethical Hacking You Must Know

Cybersecurity · Ethical Hacking Basics

Basics of Ethical Hacking You Must Know

RECONNAISSANCE SCANNING EXPLOITATION REPORTING Reconnaissance Passive information OSINT & footprinting Footprint Scanning Ports & services Nmap & enumeration Attack surface Exploitation Controlled testing Metasploit & Burp Exploit Reporting Findings & fixes Documentation Report
Ethical hacking basics — Reconnaissance, Scanning, Exploitation, and Reporting, always performed with written authorization.

Quick summary — ethical hacking basics you must know

Understand the fundamentals of ethical hacking before you touch a single tool. This guide explains hacker types, the five phases of ethical hacking, essential beginner tools, legal boundaries, and a practical learning plan.

In this guide you will learn:

  1. Types of hackers & ethical hacking fundamentals — what ethical hacking really means.
  2. Phases of ethical hacking — reconnaissance to reporting.
  3. Essential tools & skills — what beginners should learn first.
  4. Learning plan templates — track your progress.
  5. Legal & ethical guidelines — stay on the right side of the law.

SECTION 01Types of Hackers & Ethical Hacking Fundamentals

Ethical hacking is authorized security testing. Before learning tools, understand the different hacker types and the core principles:

Hacker Type Intent Authorization Example
White Hat Improve security Written permission Penetration tester
Black Hat Malicious gain No permission Cybercriminal
Grey Hat Mixed / unclear Usually none Uninvited researcher
Script Kiddie Curiosity / mischief None Uses ready-made tools
Hacktivist Political / social message None Defacement campaigns
State-Sponsored Espionage / disruption Government backed Advanced persistent threats
Ethical Hacking — Core Concepts:
1. Authorization first — never test without written permission.
2. Scope — know exactly which systems and domains are allowed.
3. Confidentiality — protect everything you discover.
4. Non-destructive testing — avoid damaging data or services.
5. Documentation — record every action and finding.
6. Responsible disclosure — report vulnerabilities privately.
7. Continuous learning — tools change, fundamentals stay.

Key terms:
- Vulnerability: a weakness in a system.
- Exploit: code or technique that abuses a vulnerability.
- Threat: a potential cause of harm.
- Risk: likelihood × impact of a threat.
- Payload: the action performed after exploitation.
- CVE: public identifier for a known vulnerability.
ethical-hacking-fundamentals.md
Key insight: Ethical hacking is defined by authorization and intent. The same tool used by a black hat becomes ethical only when you have written permission and a defined scope.

SECTION 02Phases of Ethical Hacking

Ethical hacking follows a structured process. Here are the core phases and what you do in each:

Phase Focus Activities Deliverable
1. Reconnaissance Gather information OSINT, WHOIS, DNS lookup, social engineering footprinting Target profile
2. Scanning & Enumeration Map the attack surface Port scanning, service detection, vulnerability scanning Open ports & services list
3. Gaining Access Exploit weaknesses Controlled exploitation of confirmed vulnerabilities Proof of access
4. Maintaining Access Test persistence Assess how long access can be maintained (authorized scope only) Persistence findings
5. Reporting Document & fix Write findings, risk ratings, and remediation steps Final report
Ethical Hacking — Phase Workflow:
Phase 1 — Reconnaissance:
  Passive: search engines, LinkedIn, WHOIS, DNS records
  Active: direct interaction (only with authorization)

Phase 2 — Scanning & Enumeration:
  Nmap for ports and services
  Vulnerability scanners for known issues
  Enumerate users, shares, and versions

Phase 3 — Gaining Access:
  Validate vulnerabilities in a controlled way
  Use the least invasive exploit possible
  Capture evidence (screenshots, logs)

Phase 4 — Maintaining Access:
  Test persistence only within the agreed scope
  Document how access could be retained

Phase 5 — Reporting:
  Summarize findings by risk
  Include reproduction steps and fixes
  Deliver a private report to the owner
ethical-hacking-phases.md
Key insight: Beginners often jump straight to exploitation. Real ethical hackers spend most of their time on reconnaissance, scanning, and reporting.

SECTION 03Essential Tools & Skills for Beginners

Start with a small set of tools and master the fundamentals. Here's what beginners should learn first:

Tool / Skill Category What It Is Used For Beginner Goal
Linux basics Foundation Command line, permissions, networking Use Kali/Ubuntu comfortably
Networking Foundation TCP/IP, DNS, HTTP, ports Understand how packets flow
Nmap Scanning Port and service discovery Run basic and service scans
Burp Suite Web testing Intercept and modify HTTP traffic Test a local vulnerable app
Metasploit Exploitation Controlled exploitation in labs Exploit a lab machine
Wireshark Analysis Packet capture and inspection Read a basic HTTP capture
Beginner Ethical Hacking Lab:
1. Use a virtual machine (VirtualBox / VMware).
2. Install Kali Linux as the attacker VM.
3. Install a deliberately vulnerable target:
   - Metasploitable 2
   - DVWA (Damn Vulnerable Web Application)
   - OWASP Juice Shop
4. Keep the lab on a host-only network — never expose it.
5. Take snapshots before testing.
6. Practice only inside this isolated lab.

Golden rule:
Never scan or test systems you do not own or have
written permission to test.
ethical-hacking-tools.md
Key insight: Tools don't make an ethical hacker — methodology does. Learn Linux, networking, and web fundamentals before chasing advanced exploits.

SECTION 04Learning plan templates

Use these templates to track your ethical hacking learning progress:

Daily Tracker:
Date: _________
☐ Morning routine completed
☐ Linux / networking study (1 hour)
☐ Hands-on lab practice (2 hours)
☐ Tool practice (Nmap / Burp / Wireshark)
☐ Read one security write-up
☐ Documented what I learned
☐ Reviewed progress
☐ Planned tomorrow

Today's Accomplishments:
1. 
2. 
3. 

Tomorrow's Priorities:
1. 
2. 
3. 
ethical-hacking-learning-templates.md

SECTION 05Legal & ethical guidelines

Ethical hacking is only ethical when it is legal. Follow these guidelines at all times:

  • Get written authorization — verbal permission is not enough. Always have a signed scope document.
  • Stay inside the scope — test only the systems, domains, and time windows explicitly allowed.
  • Do no harm — avoid denial-of-service, data deletion, or anything that could disrupt production.
  • Protect data — treat all discovered information as confidential and store it securely.
  • Report responsibly — disclose vulnerabilities privately to the owner before any public discussion.
  • Know the law — unauthorized access is a criminal offence in most countries, regardless of intent.
Pro tip: Practice only in isolated labs (Kali + Metasploitable / DVWA / Juice Shop). If you don't have written permission, don't test it.

SECTION 06Interview Q&A — ethical hacking basics

Q1What is ethical hacking?

Ethical hacking is authorized security testing performed to find vulnerabilities before malicious attackers do. Ethical hackers work within a defined scope and report findings responsibly.

Q2What is the difference between a vulnerability and an exploit?

A vulnerability is a weakness in a system. An exploit is the technique or code that takes advantage of that weakness to achieve an outcome.

Q3What are the phases of ethical hacking?

Reconnaissance, scanning and enumeration, gaining access, maintaining access (within scope), and reporting. Reporting is often the most valuable phase for the client.

Q4What is Nmap used for?

Nmap is a network scanning tool used to discover hosts, open ports, running services, and sometimes operating system details. It is a core tool in the scanning phase.

Q5What is the most important rule before testing any system?

Written authorization. Never test a system you do not own or have explicit permission to test. Authorization and scope define whether hacking is ethical or illegal.

SECTION 07Test yourself — ethical hacking basics quiz

Five questions. No sign-up.

0 / 5

Pick an answer to see why it is right or wrong.

SECTION 08Frequently asked questions

What is ethical hacking in simple terms?

Ethical hacking is authorized security testing — you use the same techniques as attackers, but with permission, a defined scope, and the goal of improving security.

Do I need coding to start ethical hacking?

Not immediately, but basic scripting (Python/Bash) and understanding how web apps work will help you go deeper. Start with Linux and networking first.

Which tools should a beginner learn first?

Start with Linux, networking, Nmap, Wireshark, and Burp Suite. Add Metasploit after you understand the fundamentals and have an isolated lab.

Is ethical hacking legal?

Yes — when you have written authorization and stay within the agreed scope. Without permission, the same actions are illegal.

How long does it take to learn the basics?

With consistent daily practice, most beginners can understand the fundamentals and complete basic lab exercises in 2-3 months. Mastery takes longer and requires real-world practice.

Classroom & online

Your ethical hacking journey starts now

Our Ethical Hacking Training Course is designed for beginners — with labs, tools, reporting practice, and interview prep that get you job-ready.

₹15,500 · full programme ₹24,000
  • Complete ethical hacking roadmap
  • Hands-on lab projects
  • Mock interviews
  • Weekday & weekend batches