Claude Skill

Ethical Hacking Methodology

This skill should be used when the user asks to "learn ethical hacking", "understand penetration testing lifecycle", "perform reconnaissance", "conduct security scanning", "exploit vulnerabilities", or "write penetration test reports". It provides comprehensive ethical hacking methodology and techniques.

Reviewed community sourceInstallable4 sections3 related pages

Editor's Note

This skill should be used when the user asks to "learn ethical hacking", "understand penetration testing lifecycle", "perform reconnaissance", "conduct security scanning", "exploit vulnerabilities", or "write penetration test reports". It provides... Covers purpose, prerequisites, outputs and deliverables.

Editorial Guide

What to do with this skill

Start with the workflow below, then drop into the upstream source only after the page has narrowed the job for you.

What this skill does

This skill should be used when the user asks to "learn ethical hacking", "understand penetration testing lifecycle", "perform reconnaissance", "conduct security scanning", "exploit vulnerabilities", or "write penetration test reports". It provides comprehensive ethical hacking methodology and techniques.

When to use it

Use it when you need Claude Code to follow the workflow defined in the upstream source instead of improvising from generic examples.

Install and setup notes

  • Open the upstream source before treating this page as install-ready, because not every official record is meant to be dropped into a workflow unchanged.
  • Keep the context narrow. These skills are usually strongest when you load only the branch, reference set, or workflow step that matches the current task.
  • If you plan to standardize on this skill for team use, pin the upstream repo and check for updates periodically instead of assuming the official defaults are static.

Example workflow

  1. Start with one narrow task that obviously fits the scope of this Claude Code skill instead of pulling it into every job by default.
  2. Read the overview and first source section, then choose the smallest branch of guidance or references that solves the task in front of you.
  3. Run the change on a real file, command, or workflow, verify the result, and only then widen the skill into a repeatable team pattern.

Compatible agents

This skill is explicitly marked for Claude Code.

Claude Code

Install source

This page does not expose a single copy-paste install command in the normalized record. Use the upstream install source below to confirm the exact steps, file paths, and current setup expectations before you add it to your stack.

Page Outline

PurposePrerequisitesOutputs and DeliverablesCore Workflow

Source Content

Normalized top-level metadata comes from the directory layer. The body below is the upstream source content for this item.

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

  • **Reconnaissance Report** - Target information gathered
  • **Vulnerability Assessment** - Identified weaknesses
  • **Exploitation Evidence** - Proof of concept attacks
  • **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**

# 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 listings
site:target.com intitle:"index of"

# Find configuration files
site:target.com filetype:config
site:target.com filetype:env

**Google Hacking Database Categories:**

  • Files containing passwords
  • Sensitive directories
  • Web server detection
  • Vulnerable servers
  • Error messages
  • Login portals

**Social Media Reconnaissance**

  • LinkedIn: Organizational charts, technologies used
  • Twitter: Company announcements, employee info
  • Facebook: Personal information, relationships
  • Job postings: Technology stack revelations

Phase 3: Scanning

Active enumeration of target systems:

**Host Discovery**

# Ping sweep
nmap -sn 192.168.1.0/24

# ARP scan (local network)
arp-scan -l

# Discover live hosts
nmap -sP 192.168.1.0/24

**Port Scanning**

# TCP SYN scan (stealth)
nmap -sS target.com

# Full TCP connect scan
nmap -sT target.com

# UDP scan
nmap -sU target.com

# All ports scan
nmap -p- target.com

# Top 1000 ports with service detection
nmap -sV target.com

# Aggressive scan (OS, version, scripts)
nmap -A target.com

**Service Enumeration**

# Specific service scripts
nmap --script=http-enum target.com
nmap --script=smb-enum-shares target.com
nmap --script=f

<!-- truncated -->

Recommended skills

Next places to browse

Sponsored
MoltAwards: Turn AI agents loose on government contracts & jobs! logo

Turn AI agents loose on government contracts

Learn more