Command Palette

Search for a command to run...

Назад к скиллам
скилл № 93140

phishing-triage

L2 email-content forensics. Header chain, sender authentication state, URL+attachment detonation, BEC pattern detection. Use after L1 dispatches a…

БесплатноБез исполняемых скриптов
VigilOSSот VigilOSS★ 35 звёзд на GitHub

Установить phishing-triage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Phishing Triage (L2)

L2 email-content forensics — the playbook the investigator loads when alert-triage dispatches a phishing-class alert. Primary platform is Microsoft 365 / Exchange Online; the Google Workspace analog lives in agent/skills/google-workspaces/SKILL.md §Gmail content. Same evidence shape, MITRE mapping, and disposition vocabulary; only the platform CLIs differ.

L2 pulls audit data, parses raw .eml, detonates URLs, hashes attachments, and writes a disposition_recommendation. L2 does NOT write the final disposition (L3 alert-fp-verification) and does NOT propose containment (L4 incident-containment). L2's deliverable is a registered evidence trail and a handoff JSON shaped for the verifier.

When to Activate

  • L1 alert-triage dispatches with platform hint m365-email or gws-gmail and category phishing, bec, aitm, or oauth-grant.
  • Operator pastes a phish report (end-user report, fraud notification, vendor warning) into scope.json:alert_metadata and the L1 classifier routes it here.
  • L2 platform investigator (google-workspaces or m365-signin-investigation) escalates after surfacing an inbox-rule artifact or attacker-grafted forwarding rule — the email that grafted the rule needs forensic triage before the session-token side of the AiTM compromise can be closed.

Does NOT activate on:

  • Generic credential-stuffing without an email artifact — those go to m365-signin-investigation or google-workspaces directly.
  • DLP exfiltration where the compromise is in the user's outbox — incident-containment owns outbound purge.
  • Quarantined-message release decisions — triage shortcut on the tenant's quarantine console, not a full L2 investigation.

Operating Rules

Load before the first command runs. Do not restate linked content.

  • agent/rules/triage.md (always-active) — disposition vocabulary (verified | false_positive | downgraded | escalated), severity ↔ MITRE alignment, 30-day look-back, symmetric evidence bar, mechanical-FP citation.
  • agent/rules/ir-evidence.md (always-active) — attribution gates on header forensics. An Authentication-Results verdict is not evidence-grade without Step 3's live DNS recheck.
  • agent/shared-constraints-blue.md — authorization, read-only by default, chain of custody, UTC, dispatch schema, host-exec audit pipeline.
  • Tenant ref(s) from scope.json:tenant_reference_paths[] — documented sender allowlists, mailflow rules, quarantine-release SOPs, known-benign register. Missing tenant ref = blocked handoff per triage.md rule 12.

Tools

Task Tool Why
Pull raw .eml from M365 mailbox curl against Graph users/{id}/messages/{id}/$value Graph returns the exact RFC 822 bytes the recipient received; preserves chain of custody. Authenticate via Azure AD app with Mail.ReadBasic.All (read) or Mail.Read if body access is required.
Pull raw .eml from GWS mailbox gam user <u> show message <gmail-internal-id> format raw GAM with DWD; mirror the pattern in google-workspaces/SKILL.md §3.
Parse RFC 5322 headers (Received chain, Auth-Results, Reply-To, From) eml-parser (pypi) via vigil assess host-exec --tool python3 Pure-Python parser; deterministic JSON output; handles multipart MIME, attachments, header folding.
Office attachment triage (macros, OLE, embedded URLs) oletools (oleid, olevba, oledump.py) via host-exec Standard malicious-document toolkit; surfaces VBA macros, AutoExec triggers, suspicious URL fragments.
PDF action / JS / embedded form triage pdfid.py + pdf-parser.py (Didier Stevens) via host-exec Surfaces /JS, /JavaScript, /OpenAction, /AcroForm, /EmbeddedFile, /Launch — the high-signal phishing-PDF tokens.
DNS auth verification (SPF, DKIM selector, DMARC) dig +short TXT <name> via host-exec Re-resolves live DNS at investigation time; compares against the verdicts the receiving MTA stamped into Authentication-Results.
Lookalike-domain check (homoglyph, IDN, character swap) dnstwist <domain> via host-exec Generates and resolves permutations of a target domain; flags the ones that resolve and serve mail (--mxcheck).
URL sandbox detonation curl POST https://urlscan.io/api/v1/scan/ then GET https://urlscan.io/api/v1/result/{uuid}/ urlscan returns the response chain, screenshot, DOM snapshot, and IOC list. Always submit with "visibility": "private" — public scans leak the customer's lookalike domains and recipient-tailored URLs to the urlscan public feed.
File / URL / domain reputation curl against VirusTotal v3 (/files/{sha256}, /urls/{id}, /domains/{d}) via host-exec Auth via x-apikey: $VT_API_KEY. URL IDs are base64url of the URL (see ioc-enrichment/SKILL.md §3).
M365 Defender Advanced Hunting (delivery, click-through, post-delivery rules) curl POST `https://api.security.microsoft.com/api/adv
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл phishing-triage?

L2 email-content forensics. Header chain, sender authentication state, URL+attachment detonation, BEC pattern detection. Use after L1 dispatches a phishing-class alert.

Как установить скилл phishing-triage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл phishing-triage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить phishing-triage с