Cybersecurity · Ethical Hacking Basics
Basics of Ethical Hacking You Must Know
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:
- Types of hackers & ethical hacking fundamentals — what ethical hacking really means.
- Phases of ethical hacking — reconnaissance to reporting.
- Essential tools & skills — what beginners should learn first.
- Learning plan templates — track your progress.
- 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.
Legal & Ethical Checklist Before Testing:
☐ Do I have written authorization from the system owner?
☐ Is the exact scope (IPs, domains, apps) documented?
☐ Are testing dates and times agreed?
☐ Have I identified prohibited actions (DoS, data deletion)?
☐ Is there an emergency contact if something breaks?
☐ Am I using an isolated lab for practice?
☐ Will I report findings privately and responsibly?
☐ Have I read the relevant cyber laws?
☐ Am I avoiding public disclosure without consent?
☐ Is all data stored securely and deleted after the engagement?
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
Phase Checklist:
Reconnaissance:
☐ Is the target scope confirmed in writing?
☐ Have I collected public information only?
☐ Is the target profile documented?
Scanning:
☐ Have I scanned only authorized IPs?
☐ Are open ports and services documented?
☐ Have I identified known vulnerabilities?
Exploitation:
☐ Is the exploit non-destructive?
☐ Do I have evidence of the finding?
☐ Have I stopped after proving impact?
Reporting:
☐ Are findings rated by risk?
☐ Are fixes clearly explained?
☐ Was the report delivered privately?
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.
Beginner Practice Checklist:
☐ Can I navigate Linux from the terminal?
☐ Do I understand IP addresses, ports, and DNS?
☐ Can I run an Nmap scan on my lab machine?
☐ Can I identify open services and versions?
☐ Can I intercept a request with Burp Suite?
☐ Can I read a packet capture in Wireshark?
☐ Have I documented one finding with evidence?
☐ Have I written a short remediation note?
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.
Weekly Tracker:
Week: _____ (Fundamentals / Scanning / Web / Reporting)
Goals for this week:
1.
2.
3.
Daily Progress:
Mon: ☐☐☐
Tue: ☐☐☐
Wed: ☐☐☐
Thu: ☐☐☐
Fri: ☐☐☐
Sat: ☐☐☐
Sun: ☐☐☐
Weekly Wins:
1.
2.
3.
Challenges & Solutions:
1.
2.
Next Week's Goals:
1.
2.
3.
Monthly Tracker:
Month: _____ (1 / 2 / 3)
Monthly Goal:
_______________________________________________
Week 1 Progress: ☐☐☐
Week 2 Progress: ☐☐☐
Week 3 Progress: ☐☐☐
Week 4 Progress: ☐☐☐
Monthly Wins:
1.
2.
3.
Skills Gained:
1.
2.
3.
Lab Reports Written:
1.
2.
3.
Tools Practised: _____
Write-ups Read: _____
Labs Completed: _____
Next Month's Goal:
_______________________________________________
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.
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 / 5Pick 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.
SECTION 09Related reads
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- Complete ethical hacking roadmap
- Hands-on lab projects
- Mock interviews
- Weekday & weekend batches