MFA Deepdive logo

MFA Deepdive

Organization
CDESpace
MFA Deepdive

Investigate escalated MFA-fatigue (push bombing) alerts from Entra ID sign-in logs. Reconstructs the denial-to-success timeline, attributes the source infrastructure, inspects post-authentication activity for persistence, and checks for a wider campaign before returning a verdict with recommended containment actions.

Overview

PublisherCDESpace
RepositoryDetection-Skills
Skill nameMFA Deepdive
Stars
57
Forks
5
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by CDESpace on GitHub. Read the source before you install it.

Installation

Install the MFA Deepdive AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/MFA%20Deepdive
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable MFA Deepdive in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads MFA Deepdive on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so MFA Deepdive is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

MFA Fatigue Investigation

Runs on alerts escalated by triage (see mfa-fatigue-triage): a user accumulated a burst of MFA denials and a successful sign-in landed in the same window. Triage established that the pattern is anomalous for this user; investigation establishes whether the success was the attacker's. The question to answer is not "did push bombing happen" — it did — but "did it work, and what did they do with it."

Inputs

  • The escalated alert (user, window, denial/success counts, source IPs, apps, user agents) and the triage report with its check outcomes.
  • Raw Entra ID sign-in and audit logs. Confine all comparisons to a bounded recent window — the alert's calendar day (UTC) is usually sufficient and keeps queries cheap.

Investigation steps

Collect all four signals; the verdict is derived from them at the end.

1. Timeline reconstruction

Order every sign-in event for the user across the day. Establish: when the denial burst started and ended, where the successful login sits relative to the burst (mid-burst or terminal success is the attacker pattern; a success hours before an evening burst is not), and whether denials continued after the success (they usually stop once the attacker is in).

2. Source attribution — signal A

Compare the successful login's source against the user's own activity from the rest of the day (outside the alert window): source IP, country, ASN, and user agent.

  • Signal A fires when the success came from infrastructure the user never touched that day — new country, new ASN (especially hosting/VPS ranges), or a user agent absent from their other sign-ins.
  • Also record whether the denial-storm IPs and the success IP are related — same attacker infrastructure on both is a stronger story.

3. Post-authentication activity — signal B

Inspect the audit log after the successful login for actions that convert access into persistence:

  • new MFA method / security-info registration
  • new device registration or join
  • inbox rules, OAuth consent grants, or app password creation
  • privileged role activation or directory changes

Signal B fires on any of these within the day. A success with zero post-auth footprint leaves B silent.

4. Campaign check — signal C

Search the day's sign-in logs for the denial-storm and success IPs across other users. Signal C fires if the same infrastructure targeted additional accounts — this alert is then one instance of a campaign, and the report must list the other targets for separate handling.

Verdict rule

  • malicious — Signal A and (B or C), or B and C together: the attacker authenticated from their own infrastructure and either dug in or is running a campaign — or blended into the user's own geography (e.g. a residential proxy in the user's country and ASN) but both dug in and hit other accounts.
  • suspicious — any other case in which at least one signal fires, or the success is terminal to the burst with no contradicting evidence: coercion is likely but unproven.
  • benign — no signal fires and the success matches the user's own same-day infrastructure: the user eventually approved their own prompt.
  • inconclusive — required data is missing (no audit logs, truncated window). Say precisely what was unavailable.

Output

Verdict

malicious / suspicious / inconclusive / benign, plus which of signals A, B, C fired.

Recommended actions

Scale to the verdict — for malicious: revoke all refresh tokens and active sessions, remove attacker-registered MFA methods and devices, reset credentials, block the source infrastructure, and open incidents for every account surfaced by the campaign check. For suspicious: session revocation plus user confirmation. Never recommend auto-applying detection changes — that is the tuning phase's job.

Evidence

The ordered timeline, the source-comparison table (success vs same-day baseline: IP / country / ASN / user agent), the post-auth audit entries, and the campaign IP-overlap results.

Reasoning

One line per signal stating fired/silent and the observation behind it, then the verdict derivation from the rule above.

Frequently asked questions

What does the MFA Deepdive AI skill do?

Investigate escalated MFA-fatigue (push bombing) alerts from Entra ID sign-in logs. Reconstructs the denial-to-success timeline, attributes the source infrastructure, inspects post-authentication activity for persistence, and checks for a wider campaign before returning a verdict with recommended containment actions.

Why use MFA Deepdive on TypingMind?

Because you install it once and use it with any model. MFA Deepdive is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install MFA Deepdive in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/MFA%20Deepdive. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use MFA Deepdive?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with MFA Deepdive?

As many as you like. As long as a model supports skills, you can use MFA Deepdive with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the MFA Deepdive AI skill free?

Yes. It is published on GitHub by CDESpace under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇