Skip to content

Rescan

Info

For this option, you need to specify at least one sandbox in the config.

Quick start

sandbox-cli scanner re-scan sandbox_logs.zip
[INFO] Using key: name=test-1 max_workers=8
[DONE] sandbox_logs.zip • https://sandbox.example.com/tasks/56ae494b-fffc-11ef-a24b-72ab1bd29c47

Options

Download options

Option Description Default
--debug / -d All debug files will be downloaded. False

Parameters

Option Description Default
--rules / -r The path to the folder with the rules or the default rules from the sandbox or platform alias. None
--out / -o The path where the analysis results will be saved. ./sandbox
--local / -l Compile rules locally using Docker (unix only). False
--unpack / -U The downloaded logs will be automatically converted.
Learn more in Analyzing logs.
False
--open-browser / -ob Open the analysis link in the default browser. False
--timeout / -t Response waiting time in seconds (increase for large traces). 300

Sandbox Options

Option Description Default
--key / -k The name of the key for accessing a specific sandbox. None

Cookbook

Rescan multiple files

sandbox-cli scanner re-scan sandbox_logs.zip sandbox_logs_1.zip sandbox_logs_2.zip

Rescan with automatic unpacking

sandbox-cli scanner re-scan -U sandbox_logs.zip sandbox_logs_1.zip sandbox_logs_2.zip

Rescan and view results

sandbox-cli scanner re-scan -U sandbox_logs.zip sandbox_logs_1.zip sandbox_logs_2.zipsandbox-cli report sandbox/

Help

sandbox-cli scanner re-scan --help
Usage: sandbox-cli scanner re-scan [OPTIONS] TRACES

Send traces to re-scan.

╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * TRACES Path to folder with drakvuf-trace.log.zst and tcpdump.pcap or │
│ sandbox_logs.zip [required] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Parameters ─────────────────────────────────────────────────────────────────╮
│ --rules -r The path to the folder with the rules or the default │
│ rules from the sandbox or platform alias (windows, │
│ linux) │
│ --out -o The path where to save the results [default: sandbox] │
│ --local -l The rules will be compiled locally using Docker (unix │
│ only) [default: False] │
│ --unpack -U Unpack downloaded files [default: False] │
│ --open-browser -ob Open analysis link in the default browser [default: │
│ False] │
│ --timeout -t Response waiting time (increase this value if large │
│ traces are scanned) [default: 300] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Download options ───────────────────────────────────────────────────────────╮
│ --debug -d Download debug artifacts [default: False] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Sandbox Options ────────────────────────────────────────────────────────────╮
│ --key -k The key to access the sandbox test-1,test-2,test-3 [default: │
│ test-1] │
╰──────────────────────────────────────────────────────────────────────────────╯