Перейти к содержанию
Skillpedia
Безопасность10k · #11970

offensive-phishing

Что он делает

Этот скилл представляет собой методику проведения имитаций фишинга в авторизованных проектах red team. Он охватывает настройку инфраструктуры, аутентификацию почты, создание легенд и отслеживание кампании. Он нужен специалистам по безопасности, которые проверяют, как сотрудники реагируют на социальную инженерию по почте, с письменного разрешения.

Когда использовать

  • ✓Когда вы планируете авторизованную имитацию фишинга, чтобы проверить осведомленность сотрудников.
  • ✓Когда нужно настроить отслеживание кампании и аутентификацию почты для согласованной имитации.
  • ✓Когда вы хотите задокументировать результаты теста фишинга для службы безопасности.

Ссылка на скилл

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/social-engineering/offensive-phishing/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/social-engineering/offensive-phishing/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“У нас есть разрешение провести имитацию фишинга для наших сотрудников. Спланируй кампанию, настройку отправки и отчетность.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл проходит жизненный цикл кампании: инфраструктуру, создание легенды на основе исследования, тестовые отправки на собственные аккаунты и волны рассылки с мониторингом. Завершается он задокументированными результатами.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Offensive Phishing

Phishing remains the most reliable initial access vector in red team engagements. You are simulating a real adversary -- your infrastructure, pretexts, and payloads must withstand the same scrutiny that a targeted organization's email security stack applies to inbound mail. This skill walks you through building campaigns that test an organization's human and technical defenses against email-based social engineering.

Every technique here assumes you hold explicit written authorization. Document your scope, target lists, and escalation procedures before sending the first email.

Quick Workflow

  1. Register a lookalike domain 4-8 weeks before the engagement; configure DNS records for SPF, DKIM, and DMARC alignment.
  2. Stand up GoPhish on dedicated infrastructure; configure SMTP relay through a reputable provider or self-hosted MTA.
  3. Develop pretexts based on OSINT -- org announcements, vendor relationships, internal processes.
  4. Build or clone landing pages; deploy EvilGinx2 phishlets if MFA bypass is in scope.
  5. Craft payloads matched to the target's email security posture (macro-enabled docs, HTML smuggling, ISO containers).
  6. Send test emails to your own accounts first; verify rendering, link tracking, and payload delivery.
  7. Launch the campaign in waves; monitor GoPhish dashboard for opens, clicks, and credential submissions.
  8. Document findings with timestamps, screenshots, and affected user counts for the final report.

Infrastructure Setup

Your sending infrastructure determines whether mail reaches the inbox or lands in quarantine. Treat infrastructure provisioning as the foundation of every campaign.

Domain Acquisition and Aging

Register domains that visually or semantically resemble the target. Homoglyph substitutions (rn for m, vv for w), TLD swaps (.net instead of .com), and hyphenated variants all work. Age the domain for at least two weeks with benign content and low-volume legitimate email before using it in a campaign.

# Check domain availability and WHOIS history
whois targetcorp-portal.com
# Verify no existing reputation flags
dig +short targetcorp-portal.com @8.8.8.8

# Generate homoglyph candidates with dnstwist
dnstwist --registered targetcorp.com

DNS and Email Authentication Records

Proper SPF, DKIM, and DMARC records are non-negotiable. Without them, most modern email gateways will reject or quarantine your mail outright.

# SPF record -- authorize your sending IP
# Add as TXT record on your phishing domain:
# v=spf1 ip4:203.0.113.50 -all

# Generate DKIM keys (2048-bit RSA)
opendkim-genkey -s mail -d targetcorp-portal.com -b 2048

# DMARC record -- set policy to none during warmup
# _dmarc.targetcorp-portal.com TXT "v=DMARC1; p=none; rua=mailto:dmarc@targetcorp-portal.com"

# Verify DNS propagation
dig TXT targetcorp-portal.com
dig TXT mail._domainkey.targetcorp-portal.com
dig TXT _dmarc.targetcorp-portal.com

GoPhish Deployment

GoPhish is the standard open-source phishing framework. Deploy it on a VPS with a valid TLS certificate.

# Download and extract GoPhish
wget https://github.com/gophish/gophish/releases/download/v0.12.1/gophish-v0.12.1-linux-64bit.zip
unzip gophish-v0.12.1-linux-64bit.zip -d /opt/gophish

# Generate TLS certificate with Let's Encrypt
certbot certonly --standalone -d phish.targetcorp-portal.com

# Configure GoPhish (config.json)
cat <<'EOF' > /opt/gophish/config.json
{
  "admin_server": {
    "listen_url": "0.0.0.0:3333",
    "use_tls": true,
    "cert_path": "/etc/letsencrypt/live/phish.targetcorp-portal.com/fullchain.pem",
    "key_path": "/etc/letsencrypt/live/phish.targetcorp-portal.com/privkey.pem"
  },
  "phish_server": {
    "listen_url": "0.0.0.0:443",
    "use_tls": true,
    "cert_path": "/etc/letsencrypt/live/phish.targetcorp-portal.com/fullchain.pem",
    "key_path": "/etc/letsencrypt/live/phish.targetcorp-portal.com/privkey.pem"
  }
}
EOF

# Start GoPhish
cd /opt/gophish && ./gophish &

SMTP Configuration

Self-hosted Postfix or a relay through Amazon SES, Mailgun, or SendGrid. Self-hosted gives you full control but requires careful IP reputation management.

# Postfix main.cf essentials for phishing relay
postconf -e "myhostname = mail.targetcorp-portal.com"
postconf -e "mydomain = targetcorp-portal.com"
postconf -e "smtp_tls_security_level = may"
postconf -e "smtp_tls_note_starttls_offer = yes"
postconf -e "milter_default_action = accept"
postconf -e "s
Частые вопросы

Охватывает ли он реальное похищение учетных данных?

Он охватывает жизненный цикл имитации под письменным разрешением, включая отслеживание отправок для отчета.

Зачем сначала тестовые отправки?

Скилл рекомендует отправлять тестовые письма на собственные аккаунты, чтобы проверить отображение и отслеживание перед запуском.

Это только для авторизованных тестов?

Да. Каждая техника предполагает письменное разрешение и задокументированную область.

Подробности

Оригинальное описание автора

Phishing campaign execution methodology for authorized red team engagements. Covers end-to-end campaign lifecycle: infrastructure provisioning (GoPhish, SMTP relay configuration, domain acquisition and aging, SPF/DKIM/DMARC alignment), payload delivery vectors (Office macro weaponization, HTA droppers, ISO/IMG container abuse, LNK shortcut hijacking, OneNote embedded payloads, HTML smuggling), email authentication bypass techniques (SPF softfail exploitation, DKIM replay attacks, display name spoofing, homoglyph and cousin domain registration), credential harvesting with MFA bypass (EvilGinx2

repo: SnailSploit/Claude-Red

Популярность

Звёзды на GitHub
10k
Место в рейтинге
#11970
Лицензия
MIT
Обновлён
12.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы