AGENT SKILL

smishing-campaign

Analyze a batch of reported SMS/text messages through mlab.sh - score each for smishing, cluster them into campaigns, and extract the shared infrastructure (URLs, callback numbers, sender patterns). Use when the user has multiple reported SMS from users/employees, or investigates an SMS phishing wave. For a single message, phishing-triage does the job.

License 许可
MIT
最近更新
2026-10-22
Stars
★ 1
Forks
0

01 前言 Front Matter

name
smishing-campaign
description
Analyze a batch of reported SMS/text messages through mlab.sh - score each for smishing, cluster them into campaigns, and extract the shared infrastructure (URLs, callback numbers, sender patterns). Use when the user has multiple reported SMS from users/employees, or investigates an SMS phishing wave. For a single message, phishing-triage does the job.

03 SKILL.md 正文

Smishing Campaign Analysis

Before interpreting any tool result, read ${CLAUDE_PLUGIN_ROOT}/docs/tool-reference.md: verified output shapes and gotchas that override intuition.

Workflow

1. Score every message

Run smishing_risk on each message body in RAW form - the IOC extractor skips defanged text, so refang first if reports arrived defanged. Pass country matching the fleet's locale (default fr; ask if the batch is mixed). Keep per-message: score, band, filter action, reasons, extracted IOCs. The tool is offline and quota-free, so volume is not a problem.

2. Cluster into campaigns

Group messages by shared evidence, in order of strength:

  1. Same URL, domain, or URL pattern (same registrar-fresh domain family counts)
  2. Same callback phone number
  3. Same brand impersonated + same pretext (package delivery, tax refund, bank alert)
  4. Near-identical wording

One campaign = one cluster. Singletons stay singletons; do not force them into clusters.

3. Enrich each campaign's infrastructure once

Per campaign (not per message - this is where batch discipline saves quota):

  • Distinct URLs → scan_url; a shortener central to the campaign may justify resolve: true, announced.
  • Callback numbers → scan_phone (VoIP + country/operator mismatch with the impersonated brand = strong signal).
  • Central domains → offer start_domain_scan (quota; check get_scan_limits for several).
  • Sender emails, wallets in the messages → scan_email / scan_crypto.

4. Report

## SMS wave: <N> messages -> <K> campaigns

| Campaign | Msgs | Brand/pretext | Score range | Action |
|---|---|---|---|---|

### Campaign <k>: <brand/pretext>
- Sample message (1, verbatim, defanged)
- Infrastructure: <URLs, numbers, domains + verdicts>
- Filter recommendation: <allow/quarantine/drop + the reasons the scorer gave>

### Blocklist (defanged, ready to deploy)
<distinct URLs, domains, numbers across all campaigns>

### False-positive review
<messages scored high that look legitimate on inspection - flag, never bury>

Rules

  • Defang every IOC in the report (hxxp, [.]); the report itself gets forwarded and must not carry live links.
  • Quote the scorer's weighted reasons per campaign; a bare score convinces nobody.
  • Never call, reply to, or open anything from the messages to verify; scoring is static.
  • A clean-band message reported by a user still gets a line in the false-positive review - users report things for reasons.

04 同仓库更多 Skills

mlab-sh
mlab-sh/mlab-claude

threat-watch

Generate a threat landscape digest from mlab.sh - recent critical/KEV CVEs filtered to a declared technology stack, with actor attribution. Use when the user asks what is new in vulnerabilities, wants a daily/weekly threat brief, asks about recent CVEs for a product, or sets up a recurring watch on their stack.

★ 1
mlab-sh
mlab-sh/mlab-claude

supply-chain-audit

Full supply-chain audit of a project - postmortem detects malicious code, install hooks and risky dependencies locally, then mlab.sh enriches what it finds (hashes, endpoints, actors, CVEs). Use when the user asks to audit a project's dependencies or supply chain, check a repo for malicious packages, or vet a codebase before adoption or deployment.

★ 1
mlab-sh
mlab-sh/mlab-claude

script-triage

Statically analyze a suspicious shell script through mlab.sh - install.sh, cron payloads, CI steps, curl-pipe-sh one-liners. Flags dangerous constructs (download-piped-to-shell, base64 decoding, reverse shells, persistence, anti-forensics, destructive deletes), extracts every IOC and enriches them. Use when the user pastes shell code and asks if it is safe/malicious, or provides a .sh file to vet before running it.

★ 1
mlab-sh
mlab-sh/mlab-claude

sbom-export

Generate a CycloneDX SBOM locally with postmortem and push it through mlab.sh vulnerability scanning - for projects or container images where no single lockfile can be pasted. Use when the user asks for an SBOM, needs vuln scanning of a container image or a multi-ecosystem repo, or when sbom-audit lacks a usable lockfile.

★ 1
mlab-sh
mlab-sh/mlab-claude

sbom-audit

Audit a dependency lockfile or SBOM for known vulnerabilities via mlab.sh, prioritize findings by KEV status and EPSS, and attribute actively exploited CVEs to threat actors. Use when the user provides a lockfile (package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.sum, composer.lock, Gemfile.lock, pom.xml, gradle.lockfile, packages.lock.json, pubspec.lock, mix.lock) or a CycloneDX / SPDX SBOM, or asks to check dependencies for vulnerabilities.

★ 1
mlab-sh
mlab-sh/mlab-claude

repo-ioc-sweep

Inventory what a codebase talks to - extract embedded URLs, IPs, domains, wallets, base64 blobs and shell scripts from a repo, then enrich each endpoint through mlab.sh. Use when the user asks what a repo connects to, wants an egress inventory, or vets a vendor/third-party codebase for suspicious embedded infrastructure.

★ 1