SKILL.md--- name: ethical-hacking-methodology description: "Master the complete penetration testing lifecycle from reconnaissance through reporting. This skill covers the five stages of ethical hacking methodology, essential tools, attack techniques, and professional reporting for authorized security assessments." risk: offensive source: community author: zebbern date_added: "2026-02-27" --- > AUTHORIZED USE ONLY: Use this skill only for authorized penetration testing engagements, defensive validation, or controlled educational environments. # Ethical Hacking Methodology ## Purpose Master the complete penetration testing lifecycle from reconnaissance through reporting. This skill covers the five stages of ethical hacking methodology, essential tools, attack techniques, and professional reporting for authorized security assessments. ## Prerequisites ### Required Environment - Kali Linux installed (persistent or live) - Network access to authorized targets - Written authorization from system owner ### Required Knowledge - Basic networking concepts - Linux command-line proficiency - Understanding of web technologies - Familiarity with security concepts ## Outputs and Deliverables 1. **Reconnaissance Report** - Target information gathered 2. **Vulnerability Assessment** - Identified weaknesses 3. **Exploitation Evidence** - Proof of concept attacks 4. **Final Report** - Executive and technical findings ## Core Workflow ### Phase 1: Understanding Hacker Types Classification of security professionals: **White Hat Hackers (Ethical Hackers)** - Authorized security professionals - Conduct penetration testing with permission - Goal: Identify and fix vulnerabilities - Also known as: penetration testers, security consultants **Black Hat Hackers (Malicious)** - Unauthorized system intrusions - Motivated by profit, revenge, or notoriety - Goal: Steal data, cause damage - Also known as: crackers, criminal hackers **Grey Hat Hackers (Hybrid)** - May cross ethical boundaries - Not malicious but may break rules - Often disclose vulnerabilities publicly - Mixed motivations **Other Classifications** - **Script Kiddies**: Use pre-made tools without understanding - **Hacktivists**: Politically or socially motivated - **Nation State**: Government-sponsored operatives - **Coders**: Develop tools and exploits ### Phase 2: Reconnaissance Gather information without direct system interaction: **Passive Reconnaissance** ```bash # WHOIS lookup whois target.com # DNS enumeration nslookup target.com dig target.com ANY dig target.com MX dig target.com NS # Subdomain discovery dnsrecon -d target.com # Email harvesting theHarvester -d target.com -b all ``` **Google Hacking (OSINT)** ``` # Find exposed files site:target.com filetype:pdf site:target.com filetype:xls site:target.com filetype:doc # Find login pages site:target.com inurl:login site:target.com inurl:admin # Find directory listing