Logo: Auditing Mfa Enrollment And Reset Abuse

Auditing Mfa Enrollment And Reset Abuse

Organisatioun
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.

Iwwersiicht

EditeurUnboundCompute
Repositorysecurity-agent-skills
Skill-Nummauditing-mfa-enrollment-and-reset-abuse
Stären
27
Forks
8
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    UnboundCompute huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Auditing Mfa Enrollment And Reset Abuse an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Auditing Mfa Enrollment And Reset Abuse an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Auditing Mfa Enrollment And Reset Abuse automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Auditing Mfa Enrollment And Reset Abuse net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-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...

Firwat Auditing Mfa Enrollment And Reset Abuse op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Auditing Mfa Enrollment And Reset Abuse besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Auditing Mfa Enrollment And Reset Abuse an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mfa-enrollment-and-reset-abuse an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Auditing Mfa Enrollment And Reset Abuse benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Auditing Mfa Enrollment And Reset Abuse benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Auditing Mfa Enrollment And Reset Abuse domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Auditing Mfa Enrollment And Reset Abuse gratis?

Jo. UnboundCompute huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇