Lesson 1.5
Collect from the command line
Run Arcsentry Collector from an elevated terminal on Windows or Linux: the collect command, its essential options, and ready-to-use examples for live hosts.
At a glance for experienced analysts
- Source: exactly one of
-L/--local,-i/--image,-m/--mount-point. Targets:-t(repeatable, several ids per flag). - Output:
-ois the folder (must exist),-fthe file name (defaultcollection-<UTC time>.arcx). - Password:
-W/--password-file, or theARCSENTRY_PASSWORDenvironment variable;-pworks but shows in the process list.-Nturns encryption off.
Command line
arcsentry-collect collect --local -t windows::profile::triage::priority -o E:\IR -f WS01.arcx --password-file E:\IR\pw.txtThe shape of a collection command
arcsentry-collect collect <source> -t <targets> -o <folder> [-f <name>.arcx] <password> [options]
Live collection
From an elevated PowerShell (lesson 1.2):
.\arcsentry-collect.exe collect --local `
-t windows::profile::triage::priority `
-o E:\IR -f HF-WS01.arcx `
--password-file E:\IR\pw.txt `
--case-id HF-2026-014 --examiner j.analyst --collection-reason "Suspected intrusion"
sudo ./arcsentry-collect collect --local \
-t linux::profile::triage::priority \
-o /mnt/usb/IR -f web01.arcx \
--password-file /mnt/usb/IR/pw.txt \
--case-id HF-2026-014 --examiner j.analyst --collection-reason "Portal compromise"
The options you will use most
| Option | What it does |
|---|---|
-L, --local |
Collect from the running machine |
-i, --image <file> |
Collect from a disk image (lesson 1.6) |
-m, --mount-point <folder> |
Collect from a mounted volume (lesson 1.6) |
-t, --target <id>... |
Profiles or targets to collect; repeat, or list several after one flag |
-o, --output <folder> |
Folder the archive is written to. It must already exist |
-f, --output-file <name> |
Archive file name. Default collection-<UTC time>.arcx |
-W, --password-file <file> |
Read the password from the first line of a file |
-p, --password <text> |
Inline password. Visible in the process list, so prefer the file |
-N, --no-encryption |
Write an unencrypted archive |
-c, -e, -r |
Case ID, examiner and collection reason, recorded in the manifest |
-g, --staging-root <folder> |
Where files are staged before archiving, if the default volume is small |
-j, --threads <n> |
Worker threads; default 8 |
-Q, --disable-progress-bar |
No progress bar, for logs and pipes |
--status-file <file> |
Write machine-readable progress to a JSON file |
Passwords are taken in this order: --password, then --password-file, then the ARCSENTRY_PASSWORD environment variable.
Collecting several things at once
sudo ./arcsentry-collect collect --mount-point /mnt/host01 \
-t linux::profile::logs linux::profile::shell \
-o /evidence -f host01.arcx --threads 16 --password-file /secrets/case.pw
Run arcsentry-collect collect --help to see every option your version supports.
Check yourself
Progress is saved in this browser only.