Passwords, encryption and outputs
What Arcsentry Collector writes: the AES-256 encrypted .arcx archive, its SHA-256, integrity file, report and log, what is inside the archive, and how to verify it.
- Every archive is AES-256 encrypted unless you pass
--no-encryption. Without the password nobody can read it. - Beside the
.arcx:.sha256(archive hash),.integrity.json(hashes of the metadata),.report.json(counts),.log(what ran). - Inside:
evidence/(files, command output, a bodyfile) andmetadata/(manifest.json,collection_log.csvwith a SHA-256 per file,skip_log.csv,commands.csv).
sha256sum web01.arcx && cat web01.arcx.sha256The files a collection leaves
| File | What it is | Why it matters |
|---|---|---|
HOST.arcx |
The evidence, AES-256 encrypted by default | The thing you load into Arcsentry |
HOST.arcx.sha256 |
SHA-256 of the archive | Proves the archive has not changed |
HOST.arcx.integrity.json |
The archive hash plus a SHA-256 of each metadata file | Proves the collection records are unaltered |
HOST.arcx.report.json |
Counts: files collected and skipped, commands run and failed, bytes | A quick check that the run did what you expected |
HOST.arcx.log |
The Collector’s log of the run | Detail when something needs explaining |
Keep all five together, and copy them as a set.
A real report, from the practice archive web01.arcx:
{
"source_kind": "offline_image",
"files_collected": 49,
"files_skipped": 0,
"commands_run": 0,
"commands_failed": 0,
"bytes_collected": 5153067,
"archive_sha256": "ffa290ed7670acb0b9ddbff9eccbc4056b44c7b0987787409383f2006e3438c4"
}
Inside the archive
evidence/
artifacts/<source>/ the collected files, under their original paths
commands/<class>/ output of live commands (processes, network, sessions...)
bodyfile/bodyfile.txt a file system timeline in bodyfile format
metadata/
manifest.json source, targets, host details, timings, case ID, examiner, reason
collection_log.csv every collected file: path, size, timestamps, SHA-256, target
skip_log.csv everything that could not be collected, and why
commands.csv every command: exit code, duration, bytes, output path
An .arcx is a standard ZIP with a 16-byte Arcsentry header in front. 7-Zip, WinZip and tar (bsdtar, built into Windows 10 and later and macOS) can usually open it directly with the password. If a stricter tool refuses, strip the first 16 bytes.
Passwords
- Set one per case, not one for everything you ever collect.
- Use a password file (
--password-file, or Password file in the app) or theARCSENTRY_PASSWORDenvironment variable. That keeps it out of shell history and process lists. - Store it separately from the archive, for example in your password manager, and share it by a different channel than the archive.
- Unencrypted archives (
--no-encryption) are for evidence that has no confidentiality requirement, or for pipelines that encrypt in transit and at rest some other way.
Verify before you analyse
sha256sum HF-WS01.arcx # or: shasum -a 256 HF-WS01.arcx
cat HF-WS01.arcx.sha256
Get-FileHash .\HF-WS01.arcx -Algorithm SHA256
Get-Content .\HF-WS01.arcx.sha256
The two values must match exactly. Arcsentry also records the archive’s provenance when you load it: format, source path, Collector version and collection time (lesson 3.7).
Check yourself
Try it
Open the practice archive web01.arcx with 7-Zip on Windows, or tar (bsdtar) on macOS, Linux or Windows, using the practice password. Read metadata/manifest.json and web01.arcx.report.json. How many files were collected, and from what kind of source?
Show the answer
49 files, 5,153,067 bytes, from an offline image (source_kind: offline_image, image web01.img). The command is tar -x -f web01.arcx --passphrase <password> metadata/. The practice archives were made with an older Collector, so their manifest does not record host details; Arcsentry identifies the host from its own files when you load it.