Business Email Compromise Investigation logo

Business Email Compromise Investigation

Organization
CDESpace
Business Email Compromise Investigation

Investigate an escalated business email compromise alert. Confirms mailbox access, reconstructs thread hijacking and any payment-redirect or invoice- fraud attempt, audits the persistence the actor left, and scopes internal and external recipients before returning a verdict with containment and finance-notification actions.

Overview

PublisherCDESpace
RepositoryDetection-Skills
Skill nameBusiness Email Compromise Investigation
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 Business Email Compromise Investigation 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/Business%20Email%20Compromise%20Investigation
  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 Business Email Compromise Investigation 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 Business Email Compromise Investigation 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 Business Email Compromise Investigation 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.

Business Email Compromise Investigation

Runs on escalations where a mailbox may be in an attacker's hands — from inbox-rule-abuse triage, an account-takeover flow, or a reported fraudulent message. Triage established the account or a message looked wrong; investigation establishes whether the mailbox was truly controlled, what the actor did with it, and whether money or trust was redirected. The question is not "was the account suspicious" — it was — but "did an actor operate the mailbox, and what did they send, redirect, or read."

Inputs

  • The escalated alert (mailbox, suspicious sign-in or rule or reported message, timing) and the triage report.
  • Mailbox audit logs (sign-in, message send/read, rule and delegate changes), message-trace across the tenant, the sign-in logs for the owner, and the sent-items and rule state for the mailbox.

Investigation steps

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

1. Access confirmation — signal A

Confirm the mailbox was accessed by someone other than the owner. Signal A fires on a sign-in or mailbox access from infrastructure the owner never uses (new ASN/country/client), a token replay, or non-owner access that triage flagged — establishing control, not just a suspicious message. Fix the window of attacker control from first to last anomalous access.

2. Thread hijack and outbound fraud — signal B

Read what was sent from the mailbox during the control window. Signal B fires when the actor replied within existing threads (thread hijacking to borrow trust), sent invoice/payment/wire-change requests, or messaged finance, vendors, or customers with redirect instructions. Capture recipients (internal and external) and any changed bank/payment details — this is the fraud core of BEC.

3. Persistence and concealment — signal C

Audit what the actor left to keep access and stay hidden. Signal C fires on inbox rules that forward or delete replies (see inbox-rule-abuse-triage), added delegates or forwarding, a new MFA method (see suspicious-mfa-enrollment-triage), or OAuth grants — the machinery that keeps the fraud running and buries the evidence from the real owner.

4. Recipient and reach scoping — signal D

Scope who was touched: everyone the fraudulent mail reached, whether any recipient acted (replied, paid, changed details), and whether the actor pivoted to other internal mailboxes with the harvested trust. Signal D fires when the reach extends beyond the one mailbox — recipients who acted, or lateral spread to colleagues — setting the true incident scope.

Verdict rule

  • malicious: signal A plus B or C — confirmed non-owner control with outbound fraud or attacker persistence. Any confirmed payment redirect or a recipient who acted on it (in D) is a high-severity malicious incident on its own.
  • suspicious: access anomalies (A) or fraud-shaped mail (B) where control can't be fully confirmed and no benign explanation fits either.
  • inconclusive: mailbox audit or message-trace logs are missing, so access, outbound mail, or reach can't be reconstructed.
  • benign: the activity resolves to the legitimate owner — a sign-in and the messages both match their baseline and role, a rule or delegate they set themselves, no fraud-shaped outbound mail, no attacker persistence. A misjudged-but-legitimate account.

Output

Verdict

One of malicious / suspicious / inconclusive / benign, with the signals that decided it, and an explicit recipient/impact scope.

Recommended actions

When not benign: reset the owner's password and revoke all sessions/tokens, remove attacker rules/delegates/forwarding and rogue MFA methods, purge fraudulent messages tenant-wide, and — critically for BEC — notify finance and every recipient of a payment-redirect request to halt or claw back transfers, and alert affected vendors/customers. Escalate to fraud/legal when money moved. Scope to the reach found in step 4.

Evidence

The attacker-control window and access attribution, the fraudulent messages sent with recipients and any changed payment details, the persistence mechanisms left behind, and the full internal/external reach with any recipients who acted.

Reasoning

Name the signals and how they stacked — a mailbox accessed from a foreign VPS, replying inside a live invoice thread with new bank details to a customer who then paid, plus a rule deleting the customer's replies, is a high-severity malicious BEC scoped to that customer and thread; an owner sending normal mail from their usual device with a self-made vacation rule is benign.

Frequently asked questions

What does the Business Email Compromise Investigation AI skill do?

Investigate an escalated business email compromise alert. Confirms mailbox access, reconstructs thread hijacking and any payment-redirect or invoice- fraud attempt, audits the persistence the actor left, and scopes internal and external recipients before returning a verdict with containment and finance-notification actions.

Why use Business Email Compromise Investigation on TypingMind?

Because you install it once and use it with any model. Business Email Compromise Investigation 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 Business Email Compromise Investigation in TypingMind?

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

Which AI models can use Business Email Compromise Investigation?

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 Business Email Compromise Investigation?

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

Is the Business Email Compromise Investigation 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 👇