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

gophish-campaign

它能做什么

这份指南涵盖使用 GoPhish 工具设置和追踪钓鱼模拟。适合运行授权安全意识测试、并希望统计点击和提交次数的安全团队。

适用场景

  • ✓当授权的安全意识测试需要一个带有分组和模板的可追踪活动时。
  • ✓当团队想获得关于谁点击了模拟邮件的报告时。
  • ✓当防守团队已确认该活动及其发送时间窗口时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/phisher/gophish-campaign/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为下周二的员工测试设置一个可追踪的钓鱼安全意识活动,并确保所需的批准已经到位?”

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

工作原理

智能体通过 GoPhish 界面创建发件配置、目标分组和邮件模板,在获得批准后启动活动,并收集点击和提交事件用于报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

GoPhish Campaign

GoPhish drives the credential-harvest landing-page flow and the click/submit tracking the report needs. Use it for the "fake login page" path; use evilginx2-proxy instead when you must defeat MFA.

Prerequisites

  • GoPhish running in the sandbox (gophish binary; admin API on https://127.0.0.1:3333, phish server on :80/:443).
  • GOPHISH_API_KEY exported (read from the admin UI once).
  • The lure-deconfliction handshake COMPLETE for this campaign.
  • A sender domain with SPF/DKIM/DMARC (lookalike-domain) and a pretext (pretext-engineering).

Flow (REST API)

API=https://127.0.0.1:3333/api
H="Authorization: Bearer $GOPHISH_API_KEY"

# 1. Sending profile (SMTP)
curl -sk -H "$H" -H 'Content-Type: application/json' $API/smtp/ -d '{
  "name":"eng-smtp","host":"smtp.lure-domain.example:587",
  "from_address":"it-support@lure-domain.example",
  "username":"...","password":"...","ignore_cert_errors":true}'

# 2. Target group (from plan/phisher/pretext.md shortlist)
curl -sk -H "$H" -H 'Content-Type: application/json' $API/groups/ -d '{
  "name":"wave1","targets":[{"email":"alice@acme.example","first_name":"Alice","last_name":"R"}]}'

# 3. Email template (include the X-Decepticon-Eng header + opt-out URL)
curl -sk -H "$H" -H 'Content-Type: application/json' $API/templates/ -d '{
  "name":"sso-migration","subject":"Action needed: SSO re-enrollment",
  "html":"<a href=\"{{.URL}}\">Re-enroll</a> {{.Tracker}}"}'

# 4. Landing page (capture creds, then redirect to the real site)
curl -sk -H "$H" -H 'Content-Type: application/json' $API/pages/ -d '{
  "name":"sso-landing","html":"<form>...</form>",
  "capture_credentials":true,"redirect_url":"https://login.microsoftonline.com"}'

# 5. Launch
curl -sk -H "$H" -H 'Content-Type: application/json' $API/campaigns/ -d '{
  "name":"acme-wave1","template":{"name":"sso-migration"},
  "page":{"name":"sso-landing"},"smtp":{"name":"eng-smtp"},
  "url":"https://login.acme-portal.example","groups":[{"name":"wave1"}]}'

# 6. Poll results
curl -sk -H "$H" $API/campaigns/ | jq '.[].results[] | {email,status}'

Evidence

Each submitted credential → Credential node linked to the User node with an OBTAINED_VIA edge carrying the campaign id. Save the raw GoPhish results JSON under evidence/phisher/<campaign>.json.

OPSEC / failsafe

  • Send rate matches opsec_level (stealth ≤2/h, standard ≤20/h).
  • gophish_pause_campaign (PUT $API/campaigns/:id/complete) halts sending instantly on a SOC stop request.
  • Every template carries the engagement header + opt-out link.
常见问题

该指南追踪什么?

模拟中的点击和表单提交,以便团队报告结果。

需要先获得批准吗?

需要。该指南指出,防守团队必须在发送之前确认该活动。

它只用于培训吗?

它用于在书面范围内进行的安全意识和安全测试,而不是收集真实的凭据。

详情

作者的原始描述

Build and launch a tracked phishing campaign with the GoPhish REST API — sending profile, groups, email template, landing page, launch, and event polling.

repo: BitterSecurity/Decepticon

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能