Auditing Mfa Enrollment And Reset Abuse 标志

Auditing Mfa Enrollment And Reset Abuse

组织
UnboundCompute
auditing-mfa-enrollment-and-reset-abuse

审查多因素身份验证的注册、重置和恢复流程,检查是否存在让攻击者添加自己的验证因素或绕过检查的路径:例如,仅凭第一因素验证的会话即可注册新的身份验证器,无需重新证明身份,导致窃取密码的攻击者可以添加第二因素;仅由薄弱信号(电子邮件链接、知识问题、客服请求)保护的 MFA 重置或恢复流程,会将验证因素重置为攻击者控制的状态;敏感操作的增强验证提示可以跳过,或未在服务器端强制执行;备用代码过弱、可重复使用,或未经身份验证便签发;以及 MFA 疲劳攻击或推送轰炸流程只需轻点一次即可批准。当添加、重置或验证第二因素的流程构成从第一因素被盗到整个账户被接管之间的安全边界时使用。注册或重置请求是源,攻击者控制的验证因素或被绕过的检查是汇,而缺失的身份验证或可跳过的增强验证就是漏洞。

Add to TypingMind

概览

发布者UnboundCompute
代码仓库security-agent-skills
技能名称auditing-mfa-enrollment-and-reset-abuse
星标数
27
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 UnboundCompute 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Auditing Mfa Enrollment And Reset Abuse AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-mfa-enrollment-and-reset-abuse .claude/skills/auditing-mfa-enrollment-and-reset-abuse
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Auditing Mfa Enrollment And Reset Abuse,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Auditing Mfa Enrollment And Reset Abuse。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Auditing Mfa Enrollment And Reset Abuse 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Auditing MFA enrollment and reset abuse: the second factor is only as strong as how you enroll and reset it

Multi-factor authentication assumes the attacker who has the password still cannot pass the second factor, and that assumption lives or dies in three places most audits skip: how a factor is enrolled, how it is reset or recovered, and how a step-up is enforced. If an account with only the first factor satisfied can enroll a new authenticator without re-proving identity, an attacker with a stolen password simply adds their own second factor and now passes MFA legitimately. If the reset or recovery flow is guarded only by a weak signal, an email link to an inbox the attacker controls, a knowledge question, a support request that does not verify hard, then MFA resets back to attacker control and the second factor is decorative. If a step-up prompt on a sensitive action can be skipped, or backup codes are weak, reusable, or handed out without authentication, or a push approval lands on a single tap so fatigue or bombing gets an accidental yes, the factor is bypassed rather than broken. The audit treats enrollment and reset as privileged actions that must re-prove identity, and checks that every step-up is actually enforced. You audit this by holding only the first factor and trying to add, reset, or skip the second.

When to use

  • An authentication system lets users enroll a second factor, reset or recover it, use backup codes, or satisfy a step-up prompt.
  • Enrollment or reset may not re-prove identity, or recovery may be guarded only by a weak signal (email link, knowledge question, support request).
  • Step-up may be skippable, backup codes may be weak or unauthenticated, or push approval may succeed on a single tap (MFA fatigue).

Scope check

Test MFA enrollment and reset only against accounts and systems you own or are authorized to assess, with test accounts. Enrolling, resetting, and bypassing factors changes real authentication state, so use test identities and never add a factor to, reset, or take over an account that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish what enrolling and resetting a factor should require first. Name the identity proof each privileged authentication action demands: what re-authentication enrolling a new factor requires, what resetting or recovering a factor requires, when a step-up is mandatory, and how backup codes are issued. This is the false-positive killer: a system that requires a fresh strong proof to enroll or reset a factor, enforces step-up on every sensitive action, issues strong single-use backup codes only after authentication, and requires deliberate push approval is behaving correctly. Name the intended proof, then test each path.

  2. Test factor enrollment from a first-factor-only session. With only the password satisfied (no second factor yet passed on this session), attempt to enroll a new authenticator. Confirm the system requires a fresh, strong identity proof before adding a factor. If a stolen-password session can add its own second factor without re-proving identity, the attacker owns MFA from that point on.

  3. Test the reset and recovery flow. Exercise every way a factor can be reset or recovered and identify what guards each: an email or SMS link, a knowledge question, a support-driven reset, a recovery code. Confirm the guard is a strong proof, not a weak signal an attacker with the first factor also controls. A reset guarded only by an email link to a takeable inbox resets the factor back to the attacker.

  4. Test step-up enforcement. For each sensitive action that should demand a step-up (changing security settings, viewing secrets, high-value operations), attempt it without satisfying the step-up, by skipping the prompt, replaying a prior state, or calling the action directly. Confirm the step-up is enforced server-side on the action, not just shown in the UI. A skippable step-up is no step-up.

  5. Test backup codes and push approval. Check how backup or recovery codes are generated (strength, single-use, count) and whether they can be issued or viewed without authentication. Separately, test push approval: whether repeated prompts (fatigue or bombing) can be sent and whether a single tap approves without context or number matching. Weak or unauthenticated backup codes and single-tap push are both factor bypasses.

  6. Confirm and record. Confirm with test accounts by enrolling an attacker factor from a first-factor-only session, resetting a factor through a weak recovery guard, skipping an unenforced step-up, or approving via backup-code or push weakness, without touching real accounts. Kill the lead if enrollment and reset require a fresh strong proof, step-up is enforced server-side, backup codes are strong single-use and post-auth, and push requires deliberate approval. Record the enrollment or reset request, the attacker-controlled factor or bypassed check, and the missing identity proof or skippable step-up.

Where MFA enrollment and reset leak

  • Enrollment without re-proof. A first-factor-only session that can add a new authenticator lets a stolen password enroll the attacker's own second factor.
  • Weak reset or recovery guard. A factor reset guarded only by an email link, a knowledge question, or a soft support check resets MFA back to attacker control.
  • Skippable step-up. A sensitive action that shows a step-up prompt but does not enforce it server-side is reachable without the second factor.
  • Weak or unauthenticated backup codes. Backup or recovery codes that are guessable, reusable, or issued without authentication are a standing bypass of the factor.
  • Single-tap push and MFA fatigue. A push that approves on one tap, with no number matching or context and no limit on repeated prompts, lets fatigue or bombing get an accidental approval.

Worked example (a confirm and a kill)

Confirm. After entering a valid password, but before satisfying any second factor, the account settings page lets the session enroll a new authenticator app and does not require the existing second factor or any fresh proof. On a test account, an attacker holding only the stolen password enrolls their own authenticator and from then on passes MFA legitimately, locking the real user's factor out of the decision. Confirmed attacker factor enrollment from a first-factor-only session, high, remediation = require a fresh strong proof (the existing second factor, or full re-authentication) before enrolling, changing, or removing any authenticator.

Kill. Enrolling, changing, or removing a factor requires the existing second factor or full re-authentication; reset and recovery are guarded by a strong proof, not a weak email or knowledge signal; every sensitive action enforces step-up server-side; backup codes are strong, single-use, and issued only after authentication; and push requires number matching with limits on repeated prompts. A first-factor-only session cannot add a factor, a weak recovery signal does not reset one, and a step-up cannot be skipped. Killed, kill_reason = "enrollment and reset require a fresh strong proof, step-up is enforced server-side, backup codes are strong single-use post-auth, and push needs deliberate approval; a stolen first factor cannot add, reset, or bypass the second."

Rationalizations to reject

  • "They already entered the password." → The password is the factor assumed stolen; enrolling or resetting a second factor must re-prove identity beyond the password, or MFA protects nothing against a credential leak.
  • "Recovery has to be easy." → Easy recovery guarded by a signal the attacker also controls is an attacker recovery path; require a strong proof to reset a factor even at the cost of some friction.
  • "The step-up prompt appears." → A prompt shown in the UI is not enforcement; confirm the server rejects the sensitive action when the step-up is not satisfied, including on a direct call.
  • "Backup codes are for emergencies." → Emergency codes are full bypasses; if they are weak, reusable, or viewable without authentication, the attacker uses them as the primary path.
  • "The user approved the push." → A single-tap approval under a flood of prompts is not consent; require number matching and rate-limit prompts so fatigue and bombing cannot harvest an accidental yes.

Executing this in practice

You need the enrollment flow's re-authentication requirement, every reset and recovery path and its guard, which actions demand a step-up and how it is enforced, and how backup codes and push approvals work. With test accounts, hold only the first factor and try to enroll a new factor, reset an existing one, skip a step-up, and approve via backup code or push. Reading the enrollment and reset handling shows the intended proof; an attacker factor added or a check bypassed from a first-factor-only session shows what the proof fails to require.

Related

  • auditing-account-recovery-and-reset-trust - the account-level recovery flow; MFA reset is a specific factor reset that shares the weak-recovery-signal failure mode.
  • auditing-webauthn-and-passkey-flows - the enrollment and step-up mechanics for passkeys; adding a phishing-resistant factor still depends on proving identity at enrollment.
  • auditing-session-lifecycle-and-fixation - the session that enrollment and step-up act on; whether a factor change re-issues or elevates the session is shared ground.
  • reviewing-rate-limiting-and-abuse-controls - push-bombing and code-guessing are rate-limit failures; that skill covers the abuse controls this one depends on.
  • FINDING-SCHEMA.md - source = the enrollment or reset request, sink = the attacker-controlled factor or bypassed check, evidence = the missing identity proof or skippable step-up.

常见问题

Auditing Mfa Enrollment And Reset Abuse AI 技能有什么作用?

审查多因素身份验证的注册、重置和恢复流程,检查是否存在让攻击者添加自己的验证因素或绕过检查的路径:例如,仅凭第一因素验证的会话即可注册新的身份验证器,无需重新证明身份,导致窃取密码的攻击者可以添加第二因素;仅由薄弱信号(电子邮件链接、知识问题、客服请求)保护的 MFA 重置或恢复流程,会将验证因素重置为攻击者控制的状态;敏感操作的增强验证提示可以跳过,或未在服务器端强制执行;备用代码过弱、可重复使用,或未经身份验证便签发;以及 MFA 疲劳攻击或推送轰炸流程只需轻点一次即可批准。当添加、重置或验证第二因素的流程构成从第一因素被盗到整个账户被接管之间的安全边界时使用。注册或重置请求是源,攻击者控制的验证因素或被绕过的检查是汇,而缺失的身份验证或可跳过的增强验证就是漏洞。

为什么在 TypingMind 中使用 Auditing Mfa Enrollment And Reset Abuse?

因为您只需安装一次,就能搭配任何模型使用。Auditing Mfa Enrollment And Reset Abuse 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Auditing Mfa Enrollment And Reset Abuse?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Auditing Mfa Enrollment And Reset Abuse?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Auditing Mfa Enrollment And Reset Abuse 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Auditing Mfa Enrollment And Reset Abuse 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Auditing Mfa Enrollment And Reset Abuse AI 技能免费吗?

是的。UnboundCompute 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇