[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DG7MPMKRAZ79Y35D9ZHEEQ":3,"skill-same:01M7DG7MPMKRAZ79Y35D9ZHEEQ":55},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":54},"01M7DG7MPMKRAZ79Y35D9ZHEEQ","active-recon",null,"Active target probing — port scanning, service detection, vulnerability scanning, banner grabbing, web directory fuzzing, SSL\u002FTLS analysis.","Akapi895\u002Fraptix","Akapi895","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F83953516?v=4","01M7DEGNDGERR4F4YETDFVA512","Phạm Anh Tuấn","01M7DEGNEHYZNA920AYM5EH7H8",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Frecon\u002Factive-recon\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: active-recon\ndescription: \"Active target probing — port scanning, service detection, vulnerability scanning, banner grabbing, web directory fuzzing, SSL\u002FTLS analysis.\"\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: reconnaissance\n  when_to_use: \"port scan, nmap, active scan, service detection, banner grab, vulnerability scan, nuclei, nikto, SSL analysis, network sweep, testssl\"\n  tags: nmap, port-scan, service-detection, banner-grab, nuclei, vulnerability-scan\n  mitre_attack: T1595, T1595.001, T1595.002, T1595.003\n  fanout:\n    effects: read\n    resources: [\"host:*\"]\n    fragile_target: true\n    notes: >-\n      aggressive parallel scans can wedge single-worker or embedded services;\n      admission keeps per-host in-flight scans at the narrow cap\n---\n\n# Active Reconnaissance Knowledge Base\n\nActive reconnaissance **directly interacts with target systems**. Every packet sent may be logged, detected, or trigger alerts. Use active techniques only after passive reconnaissance has identified specific targets that warrant further investigation.\n\n## Quick Reference — Common Scan Patterns\n```bash\n# Stealth SYN scan with version detection (recommended starting point)\nnmap -sS -sV -p 22,80,443,8080,8443 \u003CTARGET> -oN nmap_\u003CTARGET>.txt -oX nmap_\u003CTARGET>.xml\n\n# Full top-1000 port scan\nnmap -sS -sV --top-ports 1000 -T2 \u003CTARGET> -oN nmap_full_\u003CTARGET>.txt\n\n# Script enumeration on discovered ports\nnmap -sC -sV -p \u003CPORTS> \u003CTARGET> -oN nmap_scripts_\u003CTARGET>.txt\n\n# UDP scan (DNS, SNMP, NTP)\nnmap -sU -p 53,161,123 \u003CTARGET> -oN nmap_udp_\u003CTARGET>.txt\n\n# Web directory fuzzing\nffuf -u https:\u002F\u002F\u003CTARGET>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -mc 200,301,302,403 -o ffuf_\u003CTARGET>.json\n\n# Vulnerability scan\nnuclei -u https:\u002F\u002F\u003CTARGET> -severity critical,high -o nuclei_\u003CTARGET>.txt\n```\n\n## 1. OPSEC Principles for Active Scanning\n\n### Detection Avoidance\n- **Never scan entire ranges blindly** — target specific IPs\u002Fports identified during passive recon\n- **Rate limiting**: Slow scans blend with normal traffic; fast scans trigger IDS\u002FIPS\n- **Timing**: Scan during business hours when traffic volume provides cover\n- **Source management**: Be aware your sandbox IP is the scan origin\n- **User-Agent rotation**: Vary HTTP user agents for web scanning tools\n\n### Scan Justification\nBefore every active scan, document:\n1. **What** you're scanning and **why**\n2. **What passive intel** led to this decision\n3. **Expected noise level** and detection risk\n\n## 2. Port Scanning with Nmap\n\n### Stealth SYN Scan (Default for Recon)\n```bash\n# Targeted port scan — specific ports from passive findings\nnmap -sS -p 22,80,443,8080,8443 \u003Ctarget_ip>\n\n# Top 1000 ports with service detection\nnmap -sS -sV --top-ports 1000 \u003Ctarget_ip>\n\n# Full 65535 port scan (slow, use only when justified)\nnmap -sS -p- --min-rate 1000 \u003Ctarget_ip>\n\n# Save results\nnmap -sS -sV -p 22,80,443 \u003Ctarget_ip> -oN nmap_scan.txt -oX nmap_scan.xml\n```\n\n### Service Version Detection\n```bash\n# Version detection on specific ports\nnmap -sV --version-intensity 5 -p 22,80,443 \u003Ctarget_ip>\n\n# Aggressive version + OS detection\nnmap -sV -O -p 22,80,443 \u003Ctarget_ip>\n\n# Script-based enumeration\nnmap -sC -sV -p 22,80,443 \u003Ctarget_ip>\n```\n\n### Scan Types Reference\n\n| Flag | Scan Type | Noise Level | Use Case |\n|------|-----------|-------------|----------|\n| `-sS` | SYN (half-open) | Low | Default stealth scan |\n| `-sT` | TCP Connect | Medium | When SYN scan unavailable |\n| `-sU` | UDP | Medium-High | DNS (53), SNMP (161), NTP (123) |\n| `-sV` | Version detect | Medium | Service identification |\n| `-sC` | Default scripts | Medium-High | Common vulnerability checks |\n| `-O` | OS detection | Medium | Operating system fingerprinting |\n| `-A` | Aggressive | High | Full enumeration (last resort) |\n\n### Timing Templates\n\n| Flag | Name | Speed | Detection Risk |\n|------|------|-------|----------------|\n| `-T0` | Paranoid | Very slow | Minimal |\n| `-T1` | Sneaky | Slow | Low |\n| `-T2` | Polite | Moderate | Low-Medium |\n| `-T3` | Normal | Default | Medium |\n| `-T4` | Aggressive | Fast | High |\n\n**Recommendation**: Use `-T2` or `-T3` for recon engagements. `-T1` for high-security targets.\n\n### Nmap Output Formats\n```bash\n# Multiple output formats simultaneously\nnmap -sV -p 80,443 \u003Ctarget> -oN scan.txt -oX scan.xml -oG scan.gnmap\n\n# -oN: Normal (human-readable)\n# -oX: XML (tool integration, can import to Metasploit)\n# -oG: Grepable (quick parsing)\n```\n\n## 3. Service-Specific Enumeration\n\n### Web Services (80\u002F443)\n```bash\n# HTTP methods allowed\nnmap --script http-methods -p 80,443 \u003Ctarget>\n\n# Web server info\nnmap --script http-server-header -p 80,443 \u003Ctarget>\n\n# Directory\u002Fpath discovery (careful — high noise)\nnmap --script http-enum -p 80,443 \u003Ctarget>\n\n# TLS\u002FSSL analysis\nnmap --script ssl-enum-ciphers -p 443 \u003Ctarget>\nnmap --script ssl-cert -p 443 \u003Ctarget>\n\n# WAF detection\nnmap --script http-waf-detect -p 80,443 \u003Ctarget>\n```\n\n### SSH (22)\n```bash\nnmap --script ssh2-enum-algos -p 22 \u003Ctarget>\nnmap --script ssh-hostkey -p 22 \u003Ctarget>\nnmap --script ssh-auth-methods -p 22 \u003Ctarget>\n```\n\n### DNS (53)\n```bash\nnmap --script dns-nsid -p 53 \u003Ctarget>\nnmap --script dns-recursion -p 53 \u003Ctarget>\n```\n\n### SMTP (25\u002F587)\n```bash\nnmap --script smtp-commands -p 25,587 \u003Ctarget>\nnmap --script smtp-enum-users --script-args smtp-enum-users.methods=VRFY -p 25 \u003Ctarget>\n```\n\n### SMB (445)\n```bash\nnmap --script smb-enum-shares,smb-enum-users,smb-os-discovery -p 445 \u003Ctarget>\nnmap --script smb-vuln* -p 445 \u003Ctarget>\n```\n\n### SNMP (161\u002FUDP)\n```bash\nnmap -sU --script snmp-info,snmp-interfaces,snmp-processes -p 161 \u003Ctarget>\n```\n\n## 4. Web Directory & Content Discovery\n\n### ffuf (Fast Web Fuzzer)\n```bash\n# Directory discovery\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -mc 200,301,302,403\n\n# File extension fuzzing\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -e .php,.asp,.aspx,.jsp,.html,.js,.json,.xml,.txt,.bak,.old\n\n# Subdomain fuzzing via Host header\nffuf -u https:\u002F\u002F\u003Ctarget>\u002F -H \"Host: FUZZ.\u003Ctarget>\" -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt -fs \u003Cdefault_size>\n\n# API endpoint discovery\nffuf -u https:\u002F\u002F\u003Ctarget>\u002Fapi\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fapi-endpoints.txt -mc 200,201,401,403\n\n# Save JSON output\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w wordlist.txt -o ffuf_results.json -of json\n```\n\n### gobuster (Alternative)\n```bash\ngobuster dir -u https:\u002F\u002F\u003Ctarget> -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -o gobuster_\u003Ctarget>.txt\ngobuster dns -d \u003Ctarget> -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt\n```\n\n## 5. Vulnerability Scanning\n\n### nuclei (Template-Based Scanner)\n```bash\n# Critical and high severity only (recommended start)\nnuclei -u https:\u002F\u002F\u003Ctarget> -severity critical,high -o nuclei_\u003Ctarget>.txt\n\n# Specific template categories\nnuclei -u https:\u002F\u002F\u003Ctarget> -tags cve,misconfig,exposure\nnuclei -u https:\u002F\u002F\u003Ctarget> -tags takeover\n\n# Scan list of URLs from httpx\nnuclei -l httpx_live.txt -severity critical,high,medium\n\n# Rate limiting for stealth\nnuclei -u https:\u002F\u002F\u003Ctarget> -rl 10 -severity critical,high\n\n# JSON output\nnuclei -u https:\u002F\u002F\u003Ctarget> -severity critical,high -json -o nuclei.json\n```\n\n### nikto (Web Server Scanner)\n```bash\n# Basic scan\nnikto -h https:\u002F\u002F\u003Ctarget> -o nikto_\u003Ctarget>.txt\n\n# Specific tuning options\nnikto -h https:\u002F\u002F\u003Ctarget> -Tuning 1234 -o nikto_\u003Ctarget>.txt\n# 1=Interesting files, 2=Misconfigs, 3=Info disclosure, 4=Injection (XSS\u002FSQL)\n```\n\n## 6. SSL\u002FTLS Analysis\n\n### testssl.sh\n```bash\n# Comprehensive TLS test\ntestssl.sh https:\u002F\u002F\u003Ctarget>\n\n# Quick check — vulnerable protocols only\ntestssl.sh --vulnerable https:\u002F\u002F\u003Ctarget>\n\n# Check specific vulnerabilities\ntestssl.sh --heartbleed --ccs --robot --breach https:\u002F\u002F\u003Ctarget>\n```\n\n### Key TLS Findings\n- **SSLv3 \u002F TLS 1.0 \u002F TLS 1.1**: Deprecated protocols → compliance issue\n- **Weak ciphers**: RC4, DES, 3DES, NULL → cryptographic weakness\n- **Missing HSTS**: No HTTP Strict Transport Security → downgrade risk\n- **Certificate issues**: Expired, self-signed, wrong CN\u002FSAN → trust issues\n\n## 7. Banner Grabbing\n\n### Netcat\n```bash\n# TCP banner grab\necho \"\" | nc -nv -w 3 \u003Ctarget_ip> \u003Cport>\n\n# Multiple ports\nfor port in 22 80 443 8080; do\n    echo \"--- Port $port ---\"\n    echo \"\" | nc -nv -w 3 \u003Ctarget_ip> $port 2>&1\ndone\n```\n\n### curl for HTTP Services\n```bash\n# Full response headers\ncurl -sI -L https:\u002F\u002F\u003Ctarget>\n\n# Follow redirects and show chain\ncurl -sIL https:\u002F\u002F\u003Ctarget> 2>&1 | grep -E \"^(HTTP\u002F|Location:)\"\n```\n\n## 8. Authentication & Directory Service Enumeration\n\n### LDAP (389\u002F636)\n```bash\n# Anonymous LDAP bind test\nnmap --script ldap-rootdse -p 389 \u003Ctarget>\nnmap --script ldap-search --script-args 'ldap.qfilter=users' -p 389 \u003Ctarget>\n\n# ldapsearch if available\nldapsearch -x -H ldap:\u002F\u002F\u003Ctarget> -b \"dc=example,dc=com\" -s base namingContexts\n```\n\n### Kerberos (88)\n```bash\n# Kerberos service detection\nnmap --script krb5-enum-users --script-args krb5-enum-users.realm='DOMAIN.COM' -p 88 \u003Ctarget>\n```\n\n### RDP (3389)\n```bash\nnmap --script rdp-enum-encryption,rdp-ntlm-info -p 3389 \u003Ctarget>\n```\n\n### FTP (21)\n```bash\nnmap --script ftp-anon,ftp-syst -p 21 \u003Ctarget>\n# Check for anonymous access\n```\n\n### Redis (6379) \u002F MongoDB (27017) \u002F Elasticsearch (9200)\n```bash\n# Unauthenticated access checks\nnmap -sV -p 6379 \u003Ctarget> --script redis-info\nnmap -sV -p 27017 \u003Ctarget> --script mongodb-info\ncurl -s http:\u002F\u002F\u003Ctarget>:9200\u002F | python3 -m json.tool\ncurl -s http:\u002F\u002F\u003Ctarget>:9200\u002F_cat\u002Findices\n```\n\n## 9. IPv6 Scanning\n\n```bash\n# Check for AAAA records\ndig \u003Ctarget> AAAA +short\n\n# IPv6 port scan (if AAAA records found)\nnmap -6 -sS -sV --top-ports 100 \u003Cipv6_address>\n\n# IPv6 neighbor discovery (local network)\nnmap -6 --script targets-ipv6-multicast-echo \u003Cinterface>\n```\n\n**Why IPv6 matters:** Many organizations deploy IPv6 without the same firewall\nrules as IPv4. Services may be exposed on IPv6 that are filtered on IPv4.\n\n## 10. Parallel Execution Strategy\n\n### Scan Orchestration\n```bash\n# Run independent scans in parallel (use & and wait)\nnmap -sS -sV --top-ports 1000 \u003Ctarget1> -oN nmap_t1.txt &\nnmap -sS -sV --top-ports 1000 \u003Ctarget2> -oN nmap_t2.txt &\nwait\n\n# Parallel web fuzzing across multiple hosts\ncat live_hosts.txt | while read host; do\n  ffuf -u \"$host\u002FFUZZ\" -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt \\\n    -mc 200,301,302,403 -o \"ffuf_$(echo $host | tr '\u002F:' '_').json\" -of json &\n  # Limit concurrent jobs\n  [ $(jobs -r | wc -l) -ge 3 ] && wait -n\ndone\nwait\n```\n\n### Rate Distribution\nWhen scanning multiple targets, distribute rate limits:\n- 3 parallel scans at 30 req\u002Fsec each = 90 req\u002Fsec total from your IP\n- Adjust per-scan rate to stay within aggregate OPSEC threshold\n\n## 11. Network Topology Mapping\n\n### Traceroute\n```bash\n# ICMP traceroute\ntraceroute \u003Ctarget>\n\n# TCP traceroute (more firewall-friendly)\nnmap --traceroute -p 443 \u003Ctarget>\n```\n\n### Network Sweep (Use Sparingly)\n```bash\n# Ping sweep — only within authorized scope\nnmap -sn \u003Ctarget_network>\u002F24\n\n# ARP sweep (local network only)\nnmap -PR -sn \u003Ctarget_network>\u002F24\n```\n\n## 12. Workflow: Active Recon Sequence\n\n1. **Target Selection** → From passive recon, pick high-value IPs\u002Fdomains\n2. **Port Discovery** → SYN scan on top ports (`-sS --top-ports 1000`)\n3. **IPv6 Check** → Scan AAAA records if found\n4. **Service Identification** → Version detection on open ports (`-sV`)\n5. **Script Enumeration** → Targeted NSE scripts for identified services\n6. **Auth Service Enumeration** → LDAP, Kerberos, RDP, FTP, databases\n7. **Web Content Discovery** → ffuf\u002Fgobuster on web services (→ hand off to `web-recon` for deep enumeration)\n8. **Vulnerability Scanning** → nuclei on live web targets\n9. **SSL\u002FTLS Analysis** → testssl.sh on HTTPS services\n10. **Banner Grabbing** → Manual verification of interesting services\n11. **Synthesis** → Merge with passive findings, produce final attack surface map\n\n## 13. Error Handling\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| nmap \"host seems down\" | ICMP filtered | Add `-On` (skip host discovery) |\n| nmap extremely slow | Too many ports + version detection | Split: port discovery first (`-sS`), then `-sV` on open ports only |\n| ffuf 429 responses | Rate limited by WAF | Reduce `-rate` to 5, add `-p 1-3` for random delay |\n| nuclei template errors | Outdated templates | Run `nuclei -update-templates` first |\n| testssl.sh timeout | Target very slow | Add `--connect-timeout 10 --openssl-timeout 10` |\n| Banner grab empty | Service requires protocol-specific handshake | Use service-specific probes (HTTP GET, EHLO, etc.) |\n\n## 14. Common Pitfalls\n\n- **Scanning too broadly**: Only scan IPs confirmed in scope\n- **Ignoring UDP**: Critical services (DNS, SNMP, NTP) run on UDP\n- **Not saving results**: Always use `-oN` \u002F `-oX` flags — scans are expensive to repeat\n- **Re-running a full scan to resolve a contradiction**: if a result seems to contradict a prior scan in this workspace (e.g. a full-range scan now shows a port closed that an earlier scan or a live probe showed open), do NOT re-run the same full\u002Fexpensive scan again to \"double-check\" — verify with a narrow, targeted probe of just the specific port\u002Frange in question (a single `curl`\u002F`nc`\u002F`nmap -p \u003Cport>` call), then note the discrepancy (e.g. rate-limiting, filtering) in SUMMARY.md. A second full 65535-port scan costs as much wall-clock time as the first one for zero new information outside the disputed range.\n- **Aggressive timing on sensitive targets**: Start slow, increase only if needed\n- **Forgetting IPv6**: Check for AAAA records and scan IPv6 addresses too\n- **Skipping web fuzzing**: Many findings are behind non-obvious paths\n- **Running nuclei without rate limiting**: Can trigger WAF blocks and alert the SOC\n- **Not checking auth services**: LDAP anonymous bind, Redis no-auth, MongoDB no-auth are common critical findings\n- **Sequential when parallel is safe**: Independent targets can be scanned concurrently\n","# Active Reconnaissance Knowledge Base\n\nActive reconnaissance **directly interacts with target systems**. Every packet sent may be logged, detected, or trigger alerts. Use active techniques only after passive reconnaissance has identified specific targets that warrant further investigation.\n\n## Quick Reference — Common Scan Patterns\n```bash\n# Stealth SYN scan with version detection (recommended starting point)\nnmap -sS -sV -p 22,80,443,8080,8443 \u003CTARGET> -oN nmap_\u003CTARGET>.txt -oX nmap_\u003CTARGET>.xml\n\n# Full top-1000 port scan\nnmap -sS -sV --top-ports 1000 -T2 \u003CTARGET> -oN nmap_full_\u003CTARGET>.txt\n\n# Script enumeration on discovered ports\nnmap -sC -sV -p \u003CPORTS> \u003CTARGET> -oN nmap_scripts_\u003CTARGET>.txt\n\n# UDP scan (DNS, SNMP, NTP)\nnmap -sU -p 53,161,123 \u003CTARGET> -oN nmap_udp_\u003CTARGET>.txt\n\n# Web directory fuzzing\nffuf -u https:\u002F\u002F\u003CTARGET>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -mc 200,301,302,403 -o ffuf_\u003CTARGET>.json\n\n# Vulnerability scan\nnuclei -u https:\u002F\u002F\u003CTARGET> -severity critical,high -o nuclei_\u003CTARGET>.txt\n```\n\n## 1. OPSEC Principles for Active Scanning\n\n### Detection Avoidance\n- **Never scan entire ranges blindly** — target specific IPs\u002Fports identified during passive recon\n- **Rate limiting**: Slow scans blend with normal traffic; fast scans trigger IDS\u002FIPS\n- **Timing**: Scan during business hours when traffic volume provides cover\n- **Source management**: Be aware your sandbox IP is the scan origin\n- **User-Agent rotation**: Vary HTTP user agents for web scanning tools\n\n### Scan Justification\nBefore every active scan, document:\n1. **What** you're scanning and **why**\n2. **What passive intel** led to this decision\n3. **Expected noise level** and detection risk\n\n## 2. Port Scanning with Nmap\n\n### Stealth SYN Scan (Default for Recon)\n```bash\n# Targeted port scan — specific ports from passive findings\nnmap -sS -p 22,80,443,8080,8443 \u003Ctarget_ip>\n\n# Top 1000 ports with service detection\nnmap -sS -sV --top-ports 1000 \u003Ctarget_ip>\n\n# Full 65535 port scan (slow, use only when justified)\nnmap -sS -p- --min-rate 1000 \u003Ctarget_ip>\n\n# Save results\nnmap -sS -sV -p 22,80,443 \u003Ctarget_ip> -oN nmap_scan.txt -oX nmap_scan.xml\n```\n\n### Service Version Detection\n```bash\n# Version detection on specific ports\nnmap -sV --version-intensity 5 -p 22,80,443 \u003Ctarget_ip>\n\n# Aggressive version + OS detection\nnmap -sV -O -p 22,80,443 \u003Ctarget_ip>\n\n# Script-based enumeration\nnmap -sC -sV -p 22,80,443 \u003Ctarget_ip>\n```\n\n### Scan Types Reference\n\n| Flag | Scan Type | Noise Level | Use Case |\n|------|-----------|-------------|----------|\n| `-sS` | SYN (half-open) | Low | Default stealth scan |\n| `-sT` | TCP Connect | Medium | When SYN scan unavailable |\n| `-sU` | UDP | Medium-High | DNS (53), SNMP (161), NTP (123) |\n| `-sV` | Version detect | Medium | Service identification |\n| `-sC` | Default scripts | Medium-High | Common vulnerability checks |\n| `-O` | OS detection | Medium | Operating system fingerprinting |\n| `-A` | Aggressive | High | Full enumeration (last resort) |\n\n### Timing Templates\n\n| Flag | Name | Speed | Detection Risk |\n|------|------|-------|----------------|\n| `-T0` | Paranoid | Very slow | Minimal |\n| `-T1` | Sneaky | Slow | Low |\n| `-T2` | Polite | Moderate | Low-Medium |\n| `-T3` | Normal | Default | Medium |\n| `-T4` | Aggressive | Fast | High |\n\n**Recommendation**: Use `-T2` or `-T3` for recon engagements. `-T1` for high-security targets.\n\n### Nmap Output Formats\n```bash\n# Multiple output formats simultaneously\nnmap -sV -p 80,443 \u003Ctarget> -oN scan.txt -oX scan.xml -oG scan.gnmap\n\n# -oN: Normal (human-readable)\n# -oX: XML (tool integration, can import to Metasploit)\n# -oG: Grepable (quick parsing)\n```\n\n## 3. Service-Specific Enumeration\n\n### Web Services (80\u002F443)\n```bash\n# HTTP methods allowed\nnmap --script http-methods -p 80,443 \u003Ctarget>\n\n# Web server info\nnmap --script http-server-header -p 80,443 \u003Ctarget>\n\n# Directory\u002Fpath discovery (careful — high noise)\nnmap --script http-enum -p 80,443 \u003Ctarget>\n\n# TLS\u002FSSL analysis\nnmap --script ssl-enum-ciphers -p 443 \u003Ctarget>\nnmap --script ssl-cert -p 443 \u003Ctarget>\n\n# WAF detection\nnmap --script http-waf-detect -p 80,443 \u003Ctarget>\n```\n\n### SSH (22)\n```bash\nnmap --script ssh2-enum-algos -p 22 \u003Ctarget>\nnmap --script ssh-hostkey -p 22 \u003Ctarget>\nnmap --script ssh-auth-methods -p 22 \u003Ctarget>\n```\n\n### DNS (53)\n```bash\nnmap --script dns-nsid -p 53 \u003Ctarget>\nnmap --script dns-recursion -p 53 \u003Ctarget>\n```\n\n### SMTP (25\u002F587)\n```bash\nnmap --script smtp-commands -p 25,587 \u003Ctarget>\nnmap --script smtp-enum-users --script-args smtp-enum-users.methods=VRFY -p 25 \u003Ctarget>\n```\n\n### SMB (445)\n```bash\nnmap --script smb-enum-shares,smb-enum-users,smb-os-discovery -p 445 \u003Ctarget>\nnmap --script smb-vuln* -p 445 \u003Ctarget>\n```\n\n### SNMP (161\u002FUDP)\n```bash\nnmap -sU --script snmp-info,snmp-interfaces,snmp-processes -p 161 \u003Ctarget>\n```\n\n## 4. Web Directory & Content Discovery\n\n### ffuf (Fast Web Fuzzer)\n```bash\n# Directory discovery\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -mc 200,301,302,403\n\n# File extension fuzzing\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -e .php,.asp,.aspx,.jsp,.html,.js,.json,.xml,.txt,.bak,.old\n\n# Subdomain fuzzing via Host header\nffuf -u https:\u002F\u002F\u003Ctarget>\u002F -H \"Host: FUZZ.\u003Ctarget>\" -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt -fs \u003Cdefault_size>\n\n# API endpoint discovery\nffuf -u https:\u002F\u002F\u003Ctarget>\u002Fapi\u002FFUZZ -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fapi-endpoints.txt -mc 200,201,401,403\n\n# Save JSON output\nffuf -u https:\u002F\u002F\u003Ctarget>\u002FFUZZ -w wordlist.txt -o ffuf_results.json -of json\n```\n\n### gobuster (Alternative)\n```bash\ngobuster dir -u https:\u002F\u002F\u003Ctarget> -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt -o gobuster_\u003Ctarget>.txt\ngobuster dns -d \u003Ctarget> -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fsubdomains.txt\n```\n\n## 5. Vulnerability Scanning\n\n### nuclei (Template-Based Scanner)\n```bash\n# Critical and high severity only (recommended start)\nnuclei -u https:\u002F\u002F\u003Ctarget> -severity critical,high -o nuclei_\u003Ctarget>.txt\n\n# Specific template categories\nnuclei -u https:\u002F\u002F\u003Ctarget> -tags cve,misconfig,exposure\nnuclei -u https:\u002F\u002F\u003Ctarget> -tags takeover\n\n# Scan list of URLs from httpx\nnuclei -l httpx_live.txt -severity critical,high,medium\n\n# Rate limiting for stealth\nnuclei -u https:\u002F\u002F\u003Ctarget> -rl 10 -severity critical,high\n\n# JSON output\nnuclei -u https:\u002F\u002F\u003Ctarget> -severity critical,high -json -o nuclei.json\n```\n\n### nikto (Web Server Scanner)\n```bash\n# Basic scan\nnikto -h https:\u002F\u002F\u003Ctarget> -o nikto_\u003Ctarget>.txt\n\n# Specific tuning options\nnikto -h https:\u002F\u002F\u003Ctarget> -Tuning 1234 -o nikto_\u003Ctarget>.txt\n# 1=Interesting files, 2=Misconfigs, 3=Info disclosure, 4=Injection (XSS\u002FSQL)\n```\n\n## 6. SSL\u002FTLS Analysis\n\n### testssl.sh\n```bash\n# Comprehensive TLS test\ntestssl.sh https:\u002F\u002F\u003Ctarget>\n\n# Quick check — vulnerable protocols only\ntestssl.sh --vulnerable https:\u002F\u002F\u003Ctarget>\n\n# Check specific vulnerabilities\ntestssl.sh --heartbleed --ccs --robot --breach https:\u002F\u002F\u003Ctarget>\n```\n\n### Key TLS Findings\n- **SSLv3 \u002F TLS 1.0 \u002F TLS 1.1**: Deprecated protocols → compliance issue\n- **Weak ciphers**: RC4, DES, 3DES, NULL → cryptographic weakness\n- **Missing HSTS**: No HTTP Strict Transport Security → downgrade risk\n- **Certificate issues**: Expired, self-signed, wrong CN\u002FSAN → trust issues\n\n## 7. Banner Grabbing\n\n### Netcat\n```bash\n# TCP banner grab\necho \"\" | nc -nv -w 3 \u003Ctarget_ip> \u003Cport>\n\n# Multiple ports\nfor port in 22 80 443 8080; do\n    echo \"--- Port $port ---\"\n    echo \"\" | nc -nv -w 3 \u003Ctarget_ip> $port 2>&1\ndone\n```\n\n### curl for HTTP Services\n```bash\n# Full response headers\ncurl -sI -L https:\u002F\u002F\u003Ctarget>\n\n# Follow redirects and show chain\ncurl -sIL https:\u002F\u002F\u003Ctarget> 2>&1 | grep -E \"^(HTTP\u002F|Location:)\"\n```\n\n## 8. Authentication & Directory Service Enumeration\n\n### LDAP (389\u002F636)\n```bash\n# Anonymous LDAP bind test\nnmap --script ldap-rootdse -p 389 \u003Ctarget>\nnmap --script ldap-search --script-args 'ldap.qfilter=users' -p 389 \u003Ctarget>\n\n# ldapsearch if available\nldapsearch -x -H ldap:\u002F\u002F\u003Ctarget> -b \"dc=example,dc=com\" -s base namingContexts\n```\n\n### Kerberos (88)\n```bash\n# Kerberos service detection\nnmap --script krb5-enum-users --script-args krb5-enum-users.realm='DOMAIN.COM' -p 88 \u003Ctarget>\n```\n\n### RDP (3389)\n```bash\nnmap --script rdp-enum-encryption,rdp-ntlm-info -p 3389 \u003Ctarget>\n```\n\n### FTP (21)\n```bash\nnmap --script ftp-anon,ftp-syst -p 21 \u003Ctarget>\n# Check for anonymous access\n```\n\n### Redis (6379) \u002F MongoDB (27017) \u002F Elasticsearch (9200)\n```bash\n# Unauthenticated access checks\nnmap -sV -p 6379 \u003Ctarget> --script redis-info\nnmap -sV -p 27017 \u003Ctarget> --script mongodb-info\ncurl -s http:\u002F\u002F\u003Ctarget>:9200\u002F | python3 -m json.tool\ncurl -s http:\u002F\u002F\u003Ctarget>:9200\u002F_cat\u002Findices\n```\n\n## 9. IPv6 Scanning\n\n```bash\n# Check for AAAA records\ndig \u003Ctarget> AAAA +short\n\n# IPv6 port scan (if AAAA records found)\nnmap -6 -sS -sV --top-ports 100 \u003Cipv6_address>\n\n# IPv6 neighbor discovery (local network)\nnmap -6 --script targets-ipv6-multicast-echo \u003Cinterface>\n```\n\n**Why IPv6 matters:** Many organizations deploy IPv6 without the same firewall\nrules as IPv4. Services may be exposed on IPv6 that are filtered on IPv4.\n\n## 10. Parallel Execution Strategy\n\n### Scan Orchestration\n```bash\n# Run independent scans in parallel (use & and wait)\nnmap -sS -sV --top-ports 1000 \u003Ctarget1> -oN nmap_t1.txt &\nnmap -sS -sV --top-ports 1000 \u003Ctarget2> -oN nmap_t2.txt &\nwait\n\n# Parallel web fuzzing across multiple hosts\ncat live_hosts.txt | while read host; do\n  ffuf -u \"$host\u002FFUZZ\" -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirb\u002Fcommon.txt \\\n    -mc 200,301,302,403 -o \"ffuf_$(echo $host | tr '\u002F:' '_').json\" -of json &\n  # Limit concurrent jobs\n  [ $(jobs -r | wc -l) -ge 3 ] && wait -n\ndone\nwait\n```\n\n### Rate Distribution\nWhen scanning multiple targets, distribute rate limits:\n- 3 parallel scans at 30 req\u002Fsec each = 90 req\u002Fsec total from your IP\n- Adjust per-scan rate to stay within aggregate OPSEC threshold\n\n## 11. Network Topology Mapping\n\n### Traceroute\n```bash\n# ICMP traceroute\ntraceroute \u003Ctarget>\n\n# TCP traceroute (more firewall-friendly)\nnmap --traceroute -p 443 \u003Ctarget>\n```\n\n### Network Sweep (Use Sparingly)\n```bash\n# Ping sweep — only within authorized scope\nnmap -sn \u003Ctarget_network>\u002F24\n\n# ARP sweep (local network only)\nnmap -PR -sn \u003Ctarget_network>\u002F24\n```\n\n## 12. Workflow: Active Recon Sequence\n\n1. **Target Selection** → From passive recon, pick high-value IPs\u002Fdomains\n2. **Port Discovery** → SYN scan on top ports (`-sS --top-ports 1000`)\n3. **IPv6 Check** → Scan AAAA records if found\n4. **Service Identification** → Version detection on open ports (`-sV`)\n5. **Script Enumeration** → Targeted NSE scripts for identified services\n6. **Auth Service Enumeration** → LDAP, Kerberos, RDP, FTP, databases\n7. **Web Content Discovery** → ffuf\u002Fgobuster on web services (→ hand off to `web-recon` for deep enumeration)\n8. **Vulnerability Scanning** → nuclei on live web targets\n9. **SSL\u002FTLS Analysis** → testssl.sh on HTTPS services\n10. **Banner Grabbing** → Manual verification of interesting services\n11. **Synthesis** → Merge with passive findings, produce final attack surface map\n\n## 13. Error Handling\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| nmap \"host seems down\" | ICMP filtered | Add `-On` (skip host discovery) |\n| nmap extremely slow | Too many ports + version detection | Split: port discovery first (`-sS`), then `-sV` on open ports only |\n| ffuf 429 responses | Rate limited by WAF | Reduce `-rate` to 5, add `-p 1-3` for random delay |\n| nuclei template errors | Outdated templates | Run `nuclei -update-templates` first |\n| testssl.sh timeout | Target very slow | Add `--connect-timeout 10 --openssl-timeout 10` |\n| Banner grab empty | Service requires protocol-specific handshake | Use service-specific probes (HTTP GET, EHLO, etc.) |\n\n## 14. Common Pitfalls\n\n- **Scanning too broadly**: Only scan IPs confirmed in scope\n- **Ignoring UDP**: Critical services (DNS, SNMP, NTP) run on UDP\n- **Not saving results**: Always use `-oN` \u002F `-oX` flags — scans are expensive to repeat\n- **Re-running a full scan to resolve a contradiction**: if a result seems to contradict a prior scan in this workspace (e.g. a full-range scan now shows a port closed that an earlier scan or a live probe showed open), do NOT re-run the same full\u002Fexpensive scan again to \"double-check\" — verify with a narrow, targeted probe of just the specific port\u002Frange in question (a single `curl`\u002F`nc`\u002F`nmap -p \u003Cport>` call), then note the discrepancy (e.g. rate-limiting, filtering) in SUMMARY.md. A second full 65535-port scan costs as much wall-clock time as the first one for zero new information outside the disputed range.\n- **Aggressive timing on sensitive targets**: Start slow, increase only if needed\n- **Forgetting IPv6**: Check for AAAA records and scan IPv6 addresses too\n- **Skipping web fuzzing**: Many findings are behind non-obvious paths\n- **Running nuclei without rate limiting**: Can trigger WAF blocks and alert the SOC\n- **Not checking auth services**: LDAP anonymous bind, Redis no-auth, MongoDB no-auth are common critical findings\n- **Sequential when parallel is safe**: Independent targets can be scanned concurrently\n",{"name":5,"metadata":24,"description":7,"allowed-tools":35},{"tags":25,"fanout":26,"subdomain":32,"when_to_use":33,"mitre_attack":34},"nmap, port-scan, service-detection, banner-grab, nuclei, vulnerability-scan",{"notes":27,"effects":28,"resources":29,"fragile_target":31},"aggressive parallel scans can wedge single-worker or embedded services; admission keeps per-host in-flight scans at the narrow cap","read",[30],"host:*",true,"reconnaissance","port scan, nmap, active scan, service detection, banner grab, vulnerability scan, nuclei, nikto, SSL analysis, network sweep, testssl","T1595, T1595.001, T1595.002, T1595.003","Bash Read Write","master","8e5d356b795eae2edd4a26509a4b8968e2c4c251","packages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Frecon\u002Factive-recon","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix","https:\u002F\u002Fgithub.com\u002FAkapi895","2026-11-06 17:46:09",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":31},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Akapi895\u002Fraptix --skill active-recon",{"tool":48,"command":49},"bunx","bunx skills add Akapi895\u002Fraptix --skill active-recon",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Akapi895\u002Fraptix --skill active-recon","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Frecon\u002Factive-recon\u002FSKILL.md",[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7DGM32SRP4FZSPYWY621BKQ","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7DGKXXVDTY0KBZZR83VFPZX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DGKSV77ENX3D6TG2HQX9MK","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7DGKJ9R6YTFRFBSEAJRGGKF","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DGKCFZGKK2EQMWZM1A18S8","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7DGK76MKZQWBXTZN82W7214","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]