Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
mukul975/detecting-business-email-compromise-with-aiAI, agents and MCP

detecting-business-email-compromise-with-ai

⁨Deploy AI and NLP-powered detection systems to identify business email⁩

v1.03 installs+3 in 7 days36.3K StarsApache-2.0synced 12 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install mukul975/detecting-business-email-compromise-with-ai

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
e4h6Ro3HNX…BQ5lSiAg==The CLI checks the SHA-256 and the signature before it writes a file.
Package9840b7a0…77e478d1
9840b7a068d4…c04277e478d18 files · ⁦12.8 KB⁩
ScanMedium3 findings
  • Executable script shipped with the skillscripts/agent.py
  • Executable script shipped with the skillscripts/process.py
  • Links to outside domains
See the full scan
Sourcegithub.com/mukul975/Anthropic-Cybersecurity-Skills/tree/main/skills/detecting-business-email-compromise-with-ai@54a7988

Overview

AI-powered BEC detection uses machine learning, NLP, and behavioral analytics to identify sophisticated impersonation attacks that contain no malicious links or attachments. Traditional rule-based filters miss these attacks because BEC relies purely on social engineering. Modern AI approaches analyze writing style, tone, vocabulary, grammatical patterns, and behavioral context to determine if an email genuinely comes from the stated sender. BERT-based models achieve 98.65% accuracy in BEC detection, and AI-enhanced platforms show a 25% increase in phishing identification over keyword-based rules.

When to Use

  • When investigating security incidents that require detecting business email compromise with ai
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • AI-powered email security platform (Abnormal Security, Tessian, Microsoft Defender)
  • Historical email data for baseline training (minimum 30 days)
  • Integration with email platform (Microsoft 365 or Google Workspace)
  • SIEM for alert correlation and investigation
  • Understanding of BEC attack types (FBI IC3 classification)

Workflow

Step 1: Deploy AI Email Security Platform

  • Select API-based solution (Abnormal Security, Tessian, Ironscales) or enhance existing SEG
  • Connect to Microsoft Graph API or Google Workspace API
  • Allow 48-hour baseline learning period on historical email data
  • Configure integration to scan inbound, outbound, and internal email
  • Verify API permissions for message access and remediation

Step 2: Configure Behavioral Baselines

  • AI learns normal communication patterns: who emails whom, frequency, tone
  • Establish writing style profiles for each user (vocabulary, sentence structure)
  • Map typical request types per role (finance processes payments, HR handles PII)
  • Baseline email metadata: typical sending times, devices, locations
  • Flag deviations from established baselines as anomalous

Step 3: Train NLP Models for BEC Detection

  • Deploy transformer-based models (BERT, GPT) for email content analysis
  • Detect urgency and manipulation language patterns
  • Identify mismatches between sender identity and writing style
  • Analyze sentiment shifts indicating social engineering pressure
  • Classify email intent: information request, payment request, credential request

Step 4: Configure Detection Policies

  • VIP impersonation: AI compares new email against known executive communication patterns
  • Vendor impersonation: detect payment change requests from vendor lookalike domains
  • Account compromise: detect sudden changes in employee email behavior
  • Supply chain BEC: monitor for impersonation of trusted partners
  • Configure confidence thresholds for auto-block vs. warning banner vs. analyst review

Step 5: Integrate with Response Workflow

  • Auto-quarantine high-confidence BEC detections
  • Add warning banners for moderate-confidence detections
  • Route suspicious emails to SOC analyst queue for review
  • Integrate with SOAR for automated response playbooks
  • Feed BEC verdicts back into training data for model improvement

Tools & Resources

  • Abnormal Security: API-based AI email security with behavioral analysis
  • Microsoft Defender for O365: Built-in AI anti-BEC with Impostor Classifier
  • Tessian (Proofpoint): AI-powered email security with human layer protection
  • Ironscales: AI + human-in-the-loop BEC detection
  • Darktrace Email: Self-learning AI for email threat detection

Validation

  • AI detects test BEC email with no malicious indicators (pure social engineering)
  • Writing style analysis identifies impersonation of known executive
  • Behavioral baseline flags unusual payment request from compromised account
  • NLP correctly classifies urgency manipulation in test scenario
  • False positive rate below 0.05% after baseline training
  • Detection rate exceeds traditional rule-based filters by 25%+

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesYesYes
Writes filesYesYes
Runs shell commandsYesYes
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumFile · Executable script shipped with the skillscripts/agent.py
  2. MediumFile · Executable script shipped with the skillscripts/process.py
  3. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v1.0Nov 13, 202654a79889840b7a0Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login