/marq:phishing-email-analysisfrom marq
Triages reported phishing emails (.eml/.msg) by analyzing Received chains, SPF/DKIM/DMARC/ARC headers, URL extraction, and attachment handling. Helps determine malicious/spam/benign verdict and scope of compromise.
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.
Goal: a verdict (malicious, spam, benign, or simulation) plus scope (who received
it, who clicked, whether creds were entered), fast. Credentials entered or a payment
reply means an incident, so go to load_skill bec-email-investigation. The
reporter/culture side is load_skill social-engineering-defense.
.eml from Gmail "Download message" or OWA/new Outlook "Download".msg from classic Outlook.msg is an OLE file with no parser in the image. Convert it off-box
(extract-msg, msgconvert) or ask for .eml./work and record its sha256 first (sha256sum in
your own shell). Work on a copy.hxxps://evil[.]tld). Never submit a URL or
file to a public scanner or sandbox without authorization. urlscan submissions
default to public, so search first (load_skill security-apis).read_file the .eml. The headers are plain text above the first blank line.
Received chain: only hops added by your MTA/SEG are trustworthy, and anything
below your boundary can be forged. At the boundary hop, take the connecting IP +
HELO and run whois_lookup, asnmap, shodan_host. A VPS or residential IP for
a "bank" is suspicious. Large timestamp gaps suggest queued or replayed mail.
Authentication-Results (RFC 8601): trust only the header with your receiver's
authserv-id. Attackers plant fake pass headers lower down. Read spf= smtp.mailfrom=, dkim= header.d= and dmarc= header.from=. On M365 also check:
compauth= with its reason= (Microsoft's composite verdict)X-MS-Exchange-Organization-AuthAs (Anonymous vs Internal)X-Forefront-Antispam-Report (SCL, SFV, CAT:PHSH/SPOOF/BULK)ARC (ARC-Seal cv=, ARC-Authentication-Results i=n) explains DKIM broken by a
list or forwarder. It counts only if you trust the sealer, because anyone can add ARC headers.
Traps:
dmarc=pass is not legitimacy. Attacker-owned lookalikes authenticate perfectly.dmarc=fail action=none means the sender's p=none let a spoof in. Tell them
(load_skill email-security).Mismatches:
rn/m, punycode xn--)Run whois_lookup on the From and Reply-To domains, since a domain days old is a
strong signal. Check ct_search (crt.sh) for certificates issued just before the
send, dnstwist for registered lookalike or cousin domains of the impersonated
brand (background job), and dns_lookup MX to see whether the domain can even
receive replies. ioc_lookup enriches the domains and IPs from URLs and the
hashes of attachments.
href with its link text. Unwrap rewriters (Safe Links ?url=,
urldefense.com/v3/__...__, Mimecast). The wrapper is not the IOC.load_skill indicator-enrichment. Expect open redirects on trusted domains,
shorteners, and CAPTCHA/Turnstile gates that hide the kit from scanners. Only
detonate with authorization, in an isolated browser or sandbox.#fragment before any lookup.
It personalizes the kit and leaks who was targeted.microsoft.com/devicelogin. The IOC is in the sign-in logs (protocol deviceCode).login.microsoftonline.com/.../authorize or Google
OAuth link carrying an attacker client_id. The IOC is the app ID, publisher and
scopes (Mail.Read, offline_access), not the domain.load_skill incident-response.python3 -I -c plus the
stdlib email module. Watch for nested .eml and archives. Check CIRCL hashlookup
first (ioc_lookup on the hash), since a known-good hit clears the file.olevba from oletools (load_skill malware-maldoc)exif_metadata (author, creating tool, internal paths;
lure templates repeat)load_skill malware-triage (capa, rabin2, YARA, in your own sandbox)malware-maldocEmailEvents, message trace; Workspace investigation tool (Gmail log
events). Purge from every mailbox once a copy is saved.UrlClickEvents,
and sign-ins from new IPs/ASNs just after the click. Any hit means reset plus revoke
sessions, then load_skill bec-email-investigation.load_skill ioc-pivoting). Tell the reporter the outcome.write_file a triage table (IOC, type, source, verdict, confidence).
report_finding confirmed-malicious items with defanged evidence and the proving
header excerpt.What SKILL.md sets; muted values are Claude Code's defaults
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.