How to Upload a Single File to / Forensic Acquisition and Investigation
You can upload a single file, such as a disk image or a previously collected / Forensic Acquisition and Investigation Host zip file, using / Forensic Acquisition and Investigation Host with the upload command. This method is useful when you do not have direct access to AWS, Azure, or GCP, as / Forensic Acquisition and Investigation will generate the required credentials during the import process.
Steps to Upload a Single File:
-
Generate Upload Credentials
In the Platform, go to Import > / Forensic Acquisition and Investigation Host to generate the credentials for the upload. -
Copy Presigned Data
In the investigator system, copy the--presigned_dataportion of the script to your clipboard. -
Execute the Command
Run the following command on the investigator system:./cado-host upload $file <paste clipboard presigned_data>Replace
$filewith the path to the file you wish to upload. -
Automatic Processing
/ Forensic Acquisition and Investigation Host will upload the specified file, and Cado will automatically begin the import and processing of the file.
Here’s the full Markdown section ready to paste into your documentation:
Manual Upload: Example Workflow
This example demonstrates how to extract files from a macOS disk image and upload the resulting collection to / Forensic Acquisition and Investigation for processing.
1. Attach the Disk Image
Use hdiutil to mount the disk image in read-only mode:
hdiutil attach -readonly /path/to/disk-image.dmg
Example output:
/dev/disk6s1 41504600-0000-00AA-AA11-0030654 /Volumes/DISK
/dev/disk6s2 41504600-0000-00AA-AA11-0030654
/dev/disk6s3 41504600-0000-00AA-AA11-0030654
/dev/disk6s4 41504600-0000-00AA-AA11-0030654
Take note of the mount point (e.g., /Volumes/DISK).
2. Download and Extract UAC
Download the UAC tool and extract it.
Open the extracted directory in a terminal window.
3. Run UAC to Collect Data
Run UAC with the offline and ir_triage profiles, specifying the mounted disk and an output destination:
sudo ./uac -p ir_triage -p offline -m /Volumes/DISK /path/to/output
Replace /path/to/output with the folder where you want the collection saved.
4. Prepare the Collection for Upload
- Download the
cado-hostbinary from your / Forensic Acquisition and Investigation platform. - Generate the upload script using the Script Builder page.
- Rename the UAC output file to match the expected
cado-hostcapture filename:
mv uac-unknown-macos-20250902203343.tar.gz cado-host-capture-1756842200.tar.lz4
Note that you can upload with the existing filename, however you will then need to manually import the file from S3. Any files named cado-host-capture-*.tar.lz4 are automatically imported once uploaded.
5. Upload the Collection to Cado
Run the cado-host upload command provided in your script:
./cado-host upload /path/to/cado-host-capture-1756842200.tar.lz4 --presigned_data <presigned_data_token>
Replace <presigned_data_token> with the token from your generated script.