recon — скилл для Claude Code: разведка целей и карта атаки
Скилл для структурированной разведки авторизованной цели: пассивный сбор, сканирование портов и итоговая карта поверхности атаки.
npx skills add briiirussell/cybersecurity-skills --skill recon -a claude-codeЧто делает recon
Скилл ведёт разведку по трём фазам. Сначала пассивная часть: DNS-записи через dig any, попытка зонного трансфера, поддомены из certificate transparency через crt.sh, whois, доркинг поисковиками, поиск по публичным репозиториям и старым страницам в Wayback Machine. Затем активная фаза — только при явной авторизации: nmap -sC -sV, перебор каталогов через gobuster, feroxbuster или dirsearch, перечисление виртуальных хостов, поиск API-эндпоинтов, проверка SSL/TLS через testssl.sh или sslyze.
На выходе — отчёт в markdown: таблица пассивных находок, список поддоменов, обнаруженные технологии с версиями, таблица портов и служб, приоритизированная сводка поверхности атаки и рекомендованные следующие шаги. Приоритет считается по тяжести потенциального ущерба, вероятности эксплуатации и уровню экспозиции.
Перед запуском любой команды скилл требует подтвердить письменную авторизацию и границы скоупа. Если авторизация неясна, он спрашивает, а не предполагает. Смежные скиллы того же автора: osint-recon для более широкого расследования, web-pentest для следующего этапа после карты атаки, owasp-audit для ревью исходников. Скилл отказывается работать по целям без явного разрешения и не берёт массовое сканирование посторонних систем. Это повод проверить, что у вас на руках действительно подписанный скоуп, а не устная договорённость.
Какие задачи решает
- собрать поддомены цели из certificate transparency
- просканировать порты и определить версии служб
- найти открытые каталоги и API-эндпоинты
- свести находки в приоритизированную карту поверхности атаки
- зафиксировать все команды для отчёта по пентесту
Примеры запросов агенту
- проведи recon по example.com, авторизация есть, скоуп подтверждён
- собери пассивную разведку: DNS, whois, поддомены через crt.sh
- просканируй топ-1000 портов и определи версии служб
Как установить recon
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill recon -a claude-code2Вручную: положить файлы
~/.claude/skills/recon/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/recon/
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill recon -a codex2Вручную: положить файлы
.agents/skills/recon/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill recon -a cursor2Вручную: положить файлы
.cursor/skills/recon/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install briiirussell/cybersecurity-skills recon2Вручную: положить файлы
.github/skills/recon/SKILL.md1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill recon -a gemini-cli2Командой платформы
gemini skills install https://github.com/briiirussell/cybersecurity-skills --path skills/reconВручную: положить файлы
.devin/skills/recon/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill recon -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о recon
Как установить recon в Claude?
Выполните npx skills add briiirussell/cybersecurity-skills --skill recon -a claude-code. После этого файл скилла окажется в ~/.claude/skills/recon/SKILL.md.
Что делает recon?
Проводит структурированную разведку авторизованной цели: пассивный сбор данных, активное сканирование и сведение находок в карту поверхности атаки с рекомендованными следующими шагами.
Нужна ли авторизация для работы скилла?
Да. Перед любой командой скилл требует подтвердить письменную авторизацию и границы скоупа, а при неясности спрашивает. Запросы по системам без разрешения он отклоняет.
Исходный текст
SKILL.md · MIT
--- name: recon description: "Perform structured reconnaissance and attack surface enumeration for authorized penetration tests, CTF challenges, and bug bounty programs. Use when the user mentions 'recon,' 'reconnaissance,' 'enumerate,' 'attack surface,' 'subdomain enumeration,' 'port scan,' 'fingerprint,' 'asset discovery,' or needs to map a target's external footprint." allowed-tools: Bash, Read, Write, WebSearch, WebFetch --- # Recon — Penetration Testing Reconnaissance Perform structured reconnaissance against an authorized target, organizing findings into an actionable attack surface map. Cross-references: `osint-recon` for the deeper open-source-intelligence pass (people, organizations, historical data) — this skill is the active/passive target-mapping side, osint-recon is the broader investigative side; they pair naturally. `web-pentest` for the next stage once recon has produced an attack surface map and an authorized target list. `owasp-audit` for source-code review when you have access to the target's code. ## Authorization Check Before running any commands, confirm: 1. The user has written authorization for the target (pentest engagement, bug bounty program, CTF/lab environment) 2. The target is within the defined scope If authorization is unclear, ask before proceeding. Never assume authorization. ## Methodology ### Phase 1: Passive Recon Gather information without touching the target directly. **DNS enumeration:** - Run `dig any $ARGUMENTS` for A, AAAA, MX, TXT, NS, CNAME records - Attempt zone transfer: `dig axfr @ns-server $ARGUMENTS` - Enumerate subdomains via certificate transparency: ``` curl -s "https://crt.sh/?q=%25.$ARGUMENTS&output=json" | jq -r '.[].name_value' | sort -u ``` **WHOIS and registration:** Run `whois $ARGUMENTS` for registrant, nameserver, and creation date info. **Search engine dorking:** Use targeted queries — `site:`, `inurl:`, `filetype:`, `intitle:` — to find exposed pages, documents, and admin panels. **Technology fingerprinting:** Identify frameworks, CMS, server software, and JavaScript libraries from public-facing pages. **Public code repositories:** Search GitHub/GitLab for the target's org name, domain, API keys, or internal paths. **Historical data:** Check the Wayback Machine for old endpoints, removed pages, and configuration files. ### Phase 2: Active Recon (explicit authorization only) **Port scanning:** ```bash nmap -sC -sV -oN scan-results.txt $ARGUMENTS ``` Start with top 1000 ports. Expand to full range (`-p-`) if needed. Use `-Pn` if the host appears down but is in scope. **Service enumeration:** Based on open ports, probe for version info and default configurations. **Web content discovery:** - Directory bruting with gobuster, feroxbuster, or dirsearch - Virtual host enumeration - API endpoint discovery (check `/api/`, `/v1/`, `/graphql`, `/swagger.json`) **SSL/TLS analysis:** Run `testssl.sh` or `sslyze` to check for weak ciphers, expired certificates, and misconfigurations. ### Phase 3: Analysis Correlate all findings. Identify the most promising attack vectors and prioritize by: 1. Severity of potential impact 2. Likelihood of exploitation 3. Exposure level (internet-facing vs. internal) ## Output Format Produce a structured recon report: ```markdown # Recon Report ## Target: [target] ## Scope: [confirmed scope] ## Date: [date] ### Passive Findings | Finding | Details | Relevance | |---------|---------|-----------| ### Subdomains Discovered - [list] ### Technologies Detected - [list with versions where identified] ### Active Findings | Port | Service | Version | Notes | |------|---------|---------|-------| ### Attack Surface Summary [Prioritized list of interesting findings with risk assessment] ### Recommended Next Steps [Ordered list of what to investigate further] ``` ## Boundaries - Stay within the defined scope — never scan adjacent or out-of-scope systems - Rate-limit aggressive scans to avoid disruption - Log all commands run for the engagement record - If you discover evidence of active compromise by a third party, alert the user immediately - Refuse requests targeting systems without explicit authorization - Refuse requests for mass scanning of unrelated targets ## References - PTES (Penetration Testing Execution Standard) - OWASP Testing Guide - Bug Bounty Methodology (jhaddix/tbhm)
© briiirussell · MIT · briiirussell/cybersecurity-skills