跳到正文
Skillpedia
安全48k · #4551

ethical-hacking-methodology

它能做什么

这个工具讲解如何合法地测试计算机系统的安全性。它涵盖从信息收集到报告撰写的全部步骤,并介绍相关的道德黑客工具和技术。

适用场景

  • ✓想在受控环境中学习渗透测试时。
  • ✓在获得明确授权的前提下,验证系统的安全性时。
  • ✓想了解恶意黑客可能如何发起攻击时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ethical-hacking-methodology/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ethical-hacking-methodology/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想学习如何对一台我有权限访问的测试服务器完整地执行一次渗透测试。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会带你走完道德黑客的五个阶段:侦察(收集信息)、扫描(识别端口和服务)、漏洞分析(发现薄弱环节)、利用(尝试访问)和报告(记录发现的问题)。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

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

# 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


…
常见问题

什么是道德黑客?

道德黑客是指在系统所有者许可的情况下测试计算机系统安全性的做法,目的是在恶意黑客利用漏洞之前找到并修复它们。

使用这个工具需要获得许可吗?

需要。在进行任何测试之前,必须获得系统所有者的书面授权。未经授权的测试是违法的。

道德黑客的五个阶段是什么?

这五个阶段分别是:侦察、扫描、漏洞分析、利用和报告。

详情

作者的原始描述

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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4551
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能