/marq:bec-email-investigationfrom marq
Guides investigating business-email-compromise or mailbox takeover in Microsoft 365 or Google Workspace. Covers log preservation, persistence hunting (inbox rules, forwarding, delegates, OAuth grants, MFA/devices), containment order, and funds recovery via bank recall and FBI IC3.
Ships in marq. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
BEC is the most expensive email crime: about $3.0B in reported US losses in 2025,
second only to investment fraud.
verify: https://www.ic3.gov/AnnualReport/Reports/2025_IC3Report.pdf
This skill is the mailbox-specific work. The lifecycle is load_skill incident-response,
and notify/escalate decisions are load_skill incident-response-leadership.
If a payment went out, run funds recovery in parallel, now. Recall odds fall by the hour.
load_skill legal-contractual). Outside the US, call the national fraud
centre and police, with the same urgency.load_skill phishing-email-analysis). Alert the vendor through a known contact.dnstwist lists registered lookalikes of your domain; rdap gives the
registrar and registration date for the takedown request.
Check your DMARC (load_skill email-security).Export before you change anything, and snapshot rules before you delete them. Don't let preservation delay containment while the attacker is actively sending.
Search-UnifiedAuditLog or the Graph audit query
API): 180 days Standard, 1 year default with Audit Premium. Confirm ingestion
was on with Get-AdminAuditLogConfig.
verify: https://learn.microsoft.com/en-us/purview/audit-log-retention-policiesGet-MessageTraceV2 covers 90 days, in 10-day windows per query
(the default is 48h). The legacy Get-MessageTrace has been deprecated since Sep 2025.
verify: https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/get-messagetracev2EmailEvents, UrlClickEvents, CloudAppEvents) if licensed.deviceCode protocol, legacy
auth (BAV2ROPC, IMAP/SMTP AUTH), and scripted UAs.New-InboxRule, Set-InboxRule, UpdateInboxRules): delete,
mark-read, or move to RSS Feeds/Conversation History/Archive. Keywords like
invoice/payment/wire/bank or the vendor's name. Rule names like .. Run
Get-InboxRule -IncludeHidden, because MAPI-hidden rules don't show in OWA.
verify: https://learn.microsoft.com/en-us/purview/audit-log-search-mailbox-rulesSet-Mailbox ForwardingSmtpAddress and rule ForwardTo/RedirectTo. If
an admin was touched, also transport rules and a relaxed outbound auto-forward block.Add-MailboxPermission), SendAs/SendOnBehalf, folder
permissions, new mobile/EAS partnerships, IMAP/POP re-enabled.Consent to application/Add app role assignment with Mail.Read,
Mail.Send or offline_access. User-approved sync and bulk-mail apps survive a
password reset. Also new app registrations and new service-principal credentials.
A Microsoft-managed consent policy has been the default since mid-2025. It narrows
this vector but doesn't close it.
verify: https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-user-consentUser registered security info (attacker authenticator or phone),
device registration (a PRT, common after device-code phish), Temporary Access Pass,
app passwords.MailItemsAccessed shows what was read. Sync means a whole folder, which feeds
load_skill privacy-us/privacy-eu.SearchQueryInitiatedExchange (Premium) shows attacker searches.Send/SendAs, deleted sent items, outbound phish bursts, and OneDrive lure shares.Revoke-MgUserSignInSession). A reset
alone leaves refresh tokens and stolen cookies live. CAE-aware apps cut off in
minutes, others when the access token expires (~1h).load_skill iam).Step 3 before step 1 lets a live attacker re-add everything. Step 2 before step 1 is the most common failure.
load_skill social-engineering-defense)report_finding each persistence item with its audit-record evidence, then render_report.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub rhaist/marq --plugin marq86 skills in this plugin
/actor-ttp-attributionGuides going from observed behavior or IOCs to a candidate threat actor and concrete MITRE ATT&CK technique IDs with calibrated confidence, starting from ORKL report search. Use when the user asks who is behind an attack, which APT or group matches observed TTPs, to map behavior to ATT&CK, or how confident an attribution is./ai-governanceGuides running an AI management system, covering ISO/IEC 42001 (with 42005/42006), NIST AI RMF and its profiles, the AI inventory and risk register, acceptable-use policy, model-vendor assessment, and how it evidences EU AI Act and AI-security duties. Use when the user asks about ISO 42001, NIST AI RMF, an AI policy or inventory, assessing an AI vendor, or AI governance for EU AI Act compliance./ai-securityCovers securing AI/LLM systems: the AI-specific attack surface (prompt injection, RAG poisoning, agent tool abuse), model supply chain, controls that hold, and the governance anchors ISO 42001, NIST AI RMF and the OWASP LLM and Agentic Top 10. Use when the user asks how to secure an LLM app, chatbot, RAG pipeline or AI agent, about prompt injection or jailbreak risk, model/weights provenance, or AI security governance./apac-cyber-regsCovers APAC cyber law (not privacy) for security and GRC teams responsible for an entity, at group HQ or locally, in China, Japan, South Korea, Taiwan, Hong Kong, Australia, Singapore, India, Malaysia, Indonesia, Vietnam, Thailand and the Philippines: whether an entity or site is in scope, which incident clock runs, what telemetry can leave the country, and OT/ICS rules. Use when the user asks about MLPS, China CSL or CAC incident reporting, CERT-In, SOCI or the Cyber Security Act 2024, Singapore CII code, Japan Cyber Response Capability Act, Taiwan/Hong Kong/Malaysia/Vietnam cyber law, or whether an APAC entity or site must comply./appsec-sdlcCovers secure SDLC architecture: pipeline gates, SAST vs DAST vs IAST vs SCA (what each finds and misses, where), OWASP SAMM and ASVS, and software supply chain (SBOM, SLSA, signing). Use when the user asks which application-security testing to adopt, how to build a secure development lifecycle, how to measure AppSec maturity with SAMM, verify against ASVS, or secure third-party code and dependencies. (Rolling it out in CI/CD: devsecops.)/backup-recoveryCovers designing ransomware-resilient backups, including the 3-2-1-1-0 rule, immutable and air-gapped copies, protecting the backup system itself, restore-test discipline, and recovery prioritization. Use when the user asks how to design or assess a backup strategy, survive ransomware, make backups immutable, or test and sequence restores.