active-recon
하는 일
이 지식 베이스는 포트 스캔과 웹 디렉터리 점검처럼 대상 시스템을 직접 확인하는 방법을 다룹니다. 범위가 정해진 허가된 테스터가 점검의 소음을 제한해야 할 때를 위한 것입니다.
사용하는 경우
- ✓허가된 테스트가 승인된 대상의 열린 포트와 서비스를 나열해야 할 때.
- ✓팀이 자사 웹 서버의 노출된 디렉터리를 점검하려는 경우.
- ✓대상을 방해하지 않도록 느리고 소음이 적은 스캔이 필요한 평가인 경우.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/active-recon/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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:
- What you're scanning and why
- What passive intel led to this decision
- 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.
인기도
- GitHub 스타
- 6.5k
- 순위
- #14141
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.