Logo van Auditing Mfa Enrollment And Reset Abuse

Auditing Mfa Enrollment And Reset Abuse

Organisatie
UnboundCompute
auditing-mfa-enrollment-and-reset-abuse

Audit multi-factor authentication enrollment, reset, and recovery for paths that let an attacker add their own factor or bypass the check: a first-factor session that can enroll a new authenticator without re-proving identity so a stolen password adds a second factor, an MFA reset or recovery flow guarded only by a weak signal (an email link, a knowledge question, a support request) that resets the factor to attacker control, a step-up prompt that can be skipped or is not enforced server-side on a sensitive action, backup codes that are weak, reusable, or issued without authentication, and an MFA-fatigue or push-bombing flow that approves on a single tap. Use when adding, resetting, or satisfying a second factor is the boundary between a stolen first factor and a full account takeover. The enrollment or reset request is the source, the attacker-controlled factor or bypassed check is the sink, and the missing identity proof or skippable step-up is the bug.

Overzicht

UitgeverUnboundCompute
Repositorysecurity-agent-skills
Skillnaamauditing-mfa-enrollment-and-reset-abuse
Sterren
27
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door UnboundCompute op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Auditing Mfa Enrollment And Reset Abuse in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Auditing Mfa Enrollment And Reset Abuse in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Auditing Mfa Enrollment And Reset Abuse automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Auditing Mfa Enrollment And Reset Abuse niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Auditing Mfa Enrollment And Reset Abuse?

Audit multi-factor authentication enrollment, reset, and recovery for paths that let an attacker add their own factor or bypass the check: a first-factor session that can enroll a new authenticator without re-proving identity so a stolen password adds a second factor, an MFA reset or recovery flow guarded only by a weak signal (an email link, a knowledge question, a support request) that resets the factor to attacker control, a step-up prompt that can be skipped or is not enforced server-side on a sensitive action, backup codes that are weak, reusable, or issued without authentication, and...

Waarom Auditing Mfa Enrollment And Reset Abuse gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Auditing Mfa Enrollment And Reset Abuse bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Auditing Mfa Enrollment And Reset Abuse in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Auditing Mfa Enrollment And Reset Abuse gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Auditing Mfa Enrollment And Reset Abuse gebruiken?

Zoveel als je wilt. Je kunt Auditing Mfa Enrollment And Reset Abuse gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Auditing Mfa Enrollment And Reset Abuse gratis?

Ja. Deze skill is door UnboundCompute op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇