How to use Caine Linux in the cloud

--

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/caine12b2
Using default tag: latestThe push refers to repository [docker.io/digitalforensic/caine12b2]a167fb3aa5b0: Pushing [====================================] 13.85GB
a167fb3aa5b0: Pushed
latest: digest: sha256:97b2387451227ad25667ff52f4b6ec61c614a860f64bbe22e083a5090a1280a3 size: 530docker run — name caine -it digitalforensic/caine12b2 /bin/bash

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Jakub Jóźwicki
Jakub Jóźwicki

No responses yet

Write a response