Ethical hacking means finding weaknesses only with clear authorization, defined scope, and rules of engagement. This beginner guide emphasizes a LOCAL lab you own or control. Do not scan or exploit systems on the public internet without written permission—unauthorized access is illegal.
What ethical hacking is
Authorized security testing to improve defenses. It overlaps with penetration testing but always requires permission. Certifications and tools do not create authorization.
Strictly authorized LOCAL lab exercise
Label: LOCAL LAB ONLY — use machines you own, a hypervisor network in host-only/NAT lab mode, or intentionally vulnerable VMs (for example OWASP Juice Shop, DVWA) downloaded to your lab.
Exercise Lab-1 (beginner):
- Create a virtual network that cannot route to production.
- Deploy one vulnerable web VM and one attacker VM.
- Authorization note: write a one-line charter: “I authorize myself to test VM 192.168.56.10 only, ports 80/443, until Sunday 18:00.”
- Recon: identify open web ports with a lab-safe scanner aimed only at the lab IP.
- Test: attempt OWASP-style checks (for example reflected XSS on a known intentionally vulnerable page)—stay inside the charter ports/hosts.
- Evidence: screenshots + request/response redacted exports stored in an evidence folder.
- Remediation practice: apply the documented fix on the vulnerable app or record the recommended fix if the image is disposable.
- Teardown: snapshot or destroy VMs; never pivot the same tooling to work/school networks.
If you lack permission at work, keep practice in the local lab. Company testing requires a signed rules-of-engagement.
Sample scoped report template
Copy/adapt:
Client / Lab owner:
Authorization reference (ticket/email/charter):
Tester:
Start / end time (timezone):
Scope in (hosts, ports, apps):
Scope out (explicit):
Rules of engagement (DoS allowed? social engineering? data exfil capped?):
Method summary:
Findings table: ID | Severity | Affected asset | Evidence link | Reproduction steps | Recommended fix | Retest status
Positive controls observed:
Limitations / coverage gaps:
Conclusion:
Appendix: tools and versions
SYNTHETIC sample finding row:
F-001 | Medium | 192.168.56.10:/search | evidence/f001.png | Inject "><script>alert(1)</script> in q param shows script exec in lab browser | Encode output; enable CSP | Fixed in lab build 2026-11-16
Do not paste real production secrets into reports stored in personal cloud drives.
Legal and ethical baseline
Written authorization; stay in scope; protect recovered data; disclose responsibly to the owner; avoid public exploit dumps that harm unpatched strangers when a vendor process exists. When unsure, stop and ask.
Learning path (safe)
- Networking and Linux basics
- OWASP Top 10 concepts on lab apps
- Scripting for evidence collection
- Mentored CTF/lab platforms
- Only then pursue professional engagements under contract
Conclusion
Ethical hacking for beginners starts with authorization and a contained local lab, then documents findings in a scoped report. Skills grow inside that boundary—not by improvising against systems you do not own.

