How to use Caine Linux in the cloud
Nov 5, 2021
Sometimes you need to run forensic tools in the cloud, but you can’t just use ISO. Caine Linux used to be a first choice tool, however to boot it in the cloud we need a bare metal EC2 instance or a nested virtualization on an Azure VM. The easiest solution may be converting the Caine ISO image to a docker image.
mkdir /tmp/iso
mkdir /tmp/caine
mount -o loop /home/user/Downloads/caine12.0_beta02.iso /tmp/iso/
mount -t squashfs /tmp/iso/casper/filesystem.squashfs /tmp/caine/
cd /tmp
tar -C caine/ -c . | docker import - digitalforensic/caine12b2
docker push digitalforensic/caine12b2Using default tag: latestThe push refers to repository [docker.io/digitalforensic/caine12b2]a167fb3aa5b0: Pushing [====================================] 13.85GB
a167fb3aa5b0: Pushedlatest: digest: sha256:97b2387451227ad25667ff52f4b6ec61c614a860f64bbe22e083a5090a1280a3 size: 530docker run — name caine -it digitalforensic/caine12b2 /bin/bash