跳到正文
Skillpedia
安全6.5k · #14141

active-recon

它能做什么

本知识库介绍对目标系统的直接检查,例如端口扫描和网站目录检查。适用于拥有明确范围、需要控制检查声响的经授权测试人员。

适用场景

  • ✓当经授权的测试需要列出已批准目标上的开放端口和服务时。
  • ✓当团队想检查自己的网站服务器是否暴露了目录时。
  • ✓当评估需要缓慢、低噪音的扫描,以避免干扰目标时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/active-recon/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“在我们经授权的测试中,能否用缓慢、低噪音的方式检查我们已批准的网站服务器上的开放端口和服务?”

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

工作原理

智能体会以受控速率只扫描已批准的目标,记录服务版本和横幅信息,并报告暴露的内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Active Reconnaissance Knowledge Base

Active 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.

Quick Reference — Common Scan Patterns

# Stealth SYN scan with version detection (recommended starting point)
nmap -sS -sV -p 22,80,443,8080,8443 <TARGET> -oN nmap_<TARGET>.txt -oX nmap_<TARGET>.xml

# Full top-1000 port scan
nmap -sS -sV --top-ports 1000 -T2 <TARGET> -oN nmap_full_<TARGET>.txt

# Script enumeration on discovered ports
nmap -sC -sV -p <PORTS> <TARGET> -oN nmap_scripts_<TARGET>.txt

# UDP scan (DNS, SNMP, NTP)
nmap -sU -p 53,161,123 <TARGET> -oN nmap_udp_<TARGET>.txt

# Web directory fuzzing
ffuf -u https://<TARGET>/FUZZ -w /usr/share/wordlists/dirb/common.txt -mc 200,301,302,403 -o ffuf_<TARGET>.json

# Vulnerability scan
nuclei -u https://<TARGET> -severity critical,high -o nuclei_<TARGET>.txt

1. OPSEC Principles for Active Scanning

Detection Avoidance

  • Never scan entire ranges blindly — target specific IPs/ports identified during passive recon
  • Rate limiting: Slow scans blend with normal traffic; fast scans trigger IDS/IPS
  • Timing: Scan during business hours when traffic volume provides cover
  • Source management: Be aware your sandbox IP is the scan origin
  • User-Agent rotation: Vary HTTP user agents for web scanning tools

Scan Justification

Before every active scan, document:

  1. What you're scanning and why
  2. What passive intel led to this decision
  3. Expected noise level and detection risk

2. Port Scanning with Nmap

Stealth SYN Scan (Default for Recon)

# Targeted port scan — specific ports from passive findings
nmap -sS -p 22,80,443,8080,8443 <target_ip>

# Top 1000 ports with service detection
nmap -sS -sV --top-ports 1000 <target_ip>

# Full 65535 port scan (slow, use only when justified)
nmap -sS -p- --min-rate 1000 <target_ip>

# Save results
nmap -sS -sV -p 22,80,443 <target_ip> -oN nmap_scan.txt -oX nmap_scan.xml

Service Version Detection

# Version detection on specific ports
nmap -sV --version-intensity 5 -p 22,80,443 <target_ip>

# Aggressive version + OS detection
nmap -sV -O -p 22,80,443 <target_ip>

# Script-based enumeration
nmap -sC -sV -p 22,80,443 <target_ip>

Scan Types Reference

Flag Scan Type Noise Level Use Case
-sS SYN (half-open) Low Default stealth scan
-sT TCP Connect Medium When SYN scan unavailable
-sU UDP Medium-High DNS (53), SNMP (161), NTP (123)
-sV Version detect Medium Service identification
-sC Default scripts Medium-High Common vulnerability checks
-O OS detection Medium Operating system fingerprinting
-A Aggressive High Full enumeration (last resort)

Timing Templates

Flag Name Speed Detection Risk
-T0 Paranoid Very slow Minimal
-T1 Sneaky Slow Low
-T2 Polite Moderate Low-Medium
-T3 Normal Default Medium
-T4 Aggressive Fast High

Recommendation: Use -T2 or -T3 for recon engagements. -T1 for high-security targets.

Nmap Output Formats

# Multiple output formats simultaneously
nmap -sV -p 80,443 <target> -oN scan.txt -oX scan.xml -oG scan.gnmap

# -oN: Normal (human-readable)
# -oX: XML (tool integration, can import to Metasploit)
# -oG: Grepable (quick parsing)

3. Service-Specific Enumeration

Web Services (80/443)

# HTTP methods allowed
nmap --script http-methods -p 80,443 <target>

# Web server info
nmap --script http-server-header -p 80,443 <target>

# Directory/path discovery (careful — high noise)
nmap --script http-enum -p 80,443 <target>

# TLS/SSL analysis
nmap --script ssl-enum-ciphers -p 443 <target>
nmap --script ssl-cert -p 443 <target>

# WAF detection
nmap --script http-waf-detect -p 80,443 <target>

SSH (22)

nmap --script ssh2-enum-algos -p 22 <target>
nmap --script ssh-hostkey -p 22 <target>
nmap --script ssh-auth-methods -p 22 <target>

DNS (53)

nmap --script dns-nsid -p 53 <target>
nmap --script dns-recursion -p 53 <target>

SMTP (25/587)

nmap --script smtp-commands -p 25,587 <target>
nmap --script smtp-enum-us
常见问题

为什么主动扫描比被动研究风险更高?

指南指出,每个数据包都可能被记录或触发警报,因此应当先进行被动研究。

为什么要慢速扫描?

较慢的扫描更像正常流量,也不太可能干扰生产系统。

应该扫描整个网段吗?

不应该。指南建议只针对之前发现的特定已批准主机。

详情

作者的原始描述

Active target probing — port scanning, service detection, vulnerability scanning, banner grabbing, web directory fuzzing, SSL/TLS analysis.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14141
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能