本文へスキップ
Skillpedia
セキュリティ6.5k · #14141

active-recon

できること

このナレッジベースは、ポートスキャンやWebのディレクトリ確認など、対象システムへの直接の確認を扱います。範囲が定められており、確認の目立ち方を抑える必要がある、許可されたテスター向けです。

使う場面

  • ✓許可されたテストで、承認された対象のオープンなポートとサービスを一覧にする必要があるとき。
  • ✓チームが、自社のWebサーバーで公開されたディレクトリを確認したいとき。
  • ✓対象を妨害しないよう、遅く、目立たないスキャンが必要な評価のとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/active-recon/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“許可されたテストのために、承認されたWebサーバーのオープンなポートとサービスを、遅く目立たないスキャンで確認してください。”

毎週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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル