UnixDroid

Kali · 25 Nov 2026 · 10 min read

Kali Linux Forensic Mode: The Hidden Boot Option Most Users Never Click

Your Kali Linux USB has a hidden boot option called Forensic Mode. Learn what it changes, how to boot it, and how to image a disk without altering a single byte.

Your Kali Linux USB has a hidden boot option that most users never click. It sits quietly in the boot menu, right under the default "Live system" entry. It's called Forensic Mode, and it's the difference between investigating a hard disk and accidentally destroying the evidence on it.

In this post you'll learn what Forensic Mode actually changes, why a normal boot can silently modify a disk, how to start it, and the exact 5-step workflow investigators use to copy a disk without changing a single byte. You'll even prove it yourself with a hash test.

Kali Linux Forensic Mode, the hidden boot option on every Kali Live USB
Kali Linux Forensic Mode, the hidden boot option on every Kali Live USB

First, what is Forensic Mode?

Forensic Mode is a special way of booting Kali Linux Live (the version that runs straight from a USB stick, without installing). It's not new: the feature was first introduced in BackTrack Linux, Kali's predecessor, and it's been carried forward ever since.

The idea is simple. When you plug a Kali USB into someone's computer to investigate it, the operating system on that USB must not touch the computer's own disks. Kali's official documentation puts it bluntly: "the internal hard disk is never touched."

Kali also comes loaded with free forensic tools for imaging, hashing, file recovery and analysis, so one USB stick becomes a complete investigation kit.

Wait, can a normal boot really change a disk?

Yes, and this surprises most beginners. Plugging a disk into a normal system can change it in several quiet ways:

  • Mounting it can update the "last mounted" time stored on the disk itself.
  • On Linux ext4 disks, even a read-only mount can replay the journal and write to the disk if it wasn't shut down cleanly.
  • A live system may start using a swap partition it finds on the internal disk, overwriting whatever old data was sitting there. That's often deleted files an investigator wanted.
  • Desktop environments auto-mount USB drives the moment you plug them in, and generate thumbnails and previews of the files inside.

Each of these changes the disk's hash. And if the hash changes, nobody can prove that the evidence you present is the same as what was on the original disk. In a real case, that's the end of your evidence.

What Forensic Mode changes

What changes between a normal Kali Live boot and Forensic Mode
What changes between a normal Kali Live boot and Forensic Mode
Normal Live bootForensic Mode
Internal hard disksShown in the file manager, mounted with one clickNever touched
Swap partition on the internal diskCan be usedNever used
USB drives / CDs you plug inAuto-mountedIgnored until you mount them yourself
ToolsFull Kali toolsetSame full toolset

The rule of Forensic Mode is: nothing happens to any disk unless you type the command to make it happen. Kali's team even tested this. They hashed a hard disk, booted Kali Live in forensic mode and used it for a while, then hashed the disk again, and the two hashes matched.

How to boot into Forensic Mode

1. Use the Live image, not the Installer

Forensic Mode only exists on the Kali Live image. Download it from kali.org/get-kali → Live Boot (the file name contains live, like kali-linux-2026.3-live-amd64.iso). The Installer ISO doesn't have this option.

2. Write it to a USB stick

On Windows, use Rufus or balenaEtcher. On Linux:

lsblk                                   # find your USB stick, e.g. /dev/sdX
sudo dd if=kali-linux-*-live-amd64.iso of=/dev/sdX bs=4M status=progress conv=fsync

Triple-check the device name. dd will overwrite whatever you point it at, with no undo.

3. Boot from the USB

Restart the computer and open its boot menu (usually F12, F9, Esc or F11, depending on the brand). Pick the USB stick.

4. Choose "forensic mode"

In Kali's boot menu, press the down arrow to the forensic mode entry, the one right after fail-safe mode, and press Enter. If you're curious, highlight it and press Tab (BIOS) or e (UEFI) to see its boot options. You'll spot noswap and noautomount, which are the whole trick.

Log in with the live credentials kali / kali. You're now in a full Kali desktop, and the internal disk hasn't been touched.

The 5-step forensic workflow

Booting Forensic Mode is only step one. Here's how investigators actually use it to collect a disk properly.

The 5-step forensic workflow in Kali Forensic Mode
The 5-step forensic workflow in Kali Forensic Mode

Step 1: Identify the suspect disk

lsblk -o NAME,SIZE,MODEL,SERIAL,RO

Match the size, model and serial number to the physical disk you're investigating. Write the serial number in your notes. In this example the suspect disk is /dev/sdb and your empty evidence drive is /dev/sdc.

Step 2: Lock the suspect disk read-only

sudo blockdev --setro /dev/sdb
sudo blockdev --getro /dev/sdb     # prints 1 = read-only

This tells the Linux kernel to refuse every write to that disk. It's an extra safety net on top of Forensic Mode, but it is not a hardware write blocker. More on that below.

Step 3: Mount your evidence drive (yourself)

Automount is off, so you mount your own external drive manually, where the copy will be saved:

sudo mkdir -p /mnt/evidence
sudo mount /dev/sdc1 /mnt/evidence

Step 4: Hash and image the disk

First, fingerprint the original:

sudo sha256sum /dev/sdb | tee /mnt/evidence/case01-original.sha256

Then make a bit-for-bit copy, called a forensic image:

sudo dd if=/dev/sdb of=/mnt/evidence/case01.img bs=4M status=progress

Tip: Kali's forensic toolset also includes imagers built for this job, such as dc3dd (hashes while it copies) and Guymager (point-and-click). If a tool is missing in your live session, sudo apt install dc3dd installs it into RAM until you reboot.

Step 5: Verify, then analyse the copy only

sha256sum /mnt/evidence/case01.img

If this hash matches case01-original.sha256, your image is a perfect copy, and you can prove it. From now on you only work on the image, never the original:

mmls /mnt/evidence/case01.img                  # list the partitions inside the image
fls -r -o 2048 /mnt/evidence/case01.img        # list files, including deleted ones

Those are The Sleuth Kit commands. Autopsy gives you the same power with a point-and-click interface. Use the partition start sector shown by mmls in place of 2048.

Prove it yourself: the hash test (safe, in a VM)

Don't just take anyone's word for it, including ours. Kali's own docs say forensic tools should always be validated before you rely on them. You can recreate their test in your home lab:

  1. In VirtualBox, create a VM with no disk of its own, attach the Kali Live ISO, and add a small 2 GB virtual disk. That's your "suspect" disk.
  2. Boot the normal Live system once and format the small disk: sudo mkfs.ext4 /dev/sda (check the name with lsblk).
  3. Reboot into forensic mode and run sudo sha256sum /dev/sda. Note the hash.
  4. Reboot into the normal live system, click the disk in the file manager so it mounts, then unmount it.
  5. Reboot into forensic mode and hash it again.

The hash from step 5 is different from step 3, because one simple mount changed the disk. Now repeat steps 3 to 5 using forensic mode every time, without mounting anything, and the hashes stay identical. That's Forensic Mode doing its job.

New to VirtualBox? Our free Home Lab Setup path walks you through it step by step.

What Forensic Mode does NOT do

Forensic Mode is powerful, but it isn't magic. Know its limits before you rely on it:

  • It's not a hardware write blocker. It stops Kali from touching the disk, but it can't stop you. A wrong dd or a read-write mount will still write. In real cases, professionals connect evidence through a hardware write blocker as well.
  • It can't save RAM. Rebooting a running computer into Kali wipes its memory: open connections, running malware, encryption keys. If the machine is still on, capture memory first. That's the order of volatility, covered in our Digital Forensics path.
  • It can't stop an SSD from cleaning itself. SSDs may erase deleted blocks internally (TRIM and garbage collection) as soon as they get power, whatever the operating system does.
  • It can't read encrypted disks. A BitLocker or LUKS disk still needs the key or recovery password.
  • It doesn't make you anonymous. It's about protecting evidence, not hiding you.
  • It doesn't make evidence court-ready by itself. That also needs documentation, chain of custody and validated tools.

When should you use Forensic Mode?

  • Incident response: checking a computer you suspect was hacked, without disturbing the evidence.
  • Data recovery: copying files off a laptop that won't boot, without risking further damage to the disk.
  • Suspicious USB drives: examining a found or untrusted drive without it being auto-mounted and previewed.
  • CTFs and practice: forensics challenges and building investigation habits in your lab.
  • Any time you want to look, not touch.

Common mistakes to avoid

MistakeWhat happensDo this instead
Booting the default "Live system"Swap and automount can modify the diskAlways pick forensic mode
Mixing up /dev/sdb and /dev/sdcYou image the wrong disk, or overwrite evidenceMatch the serial number with lsblk
Saving the image to the suspect diskOverwrites the very evidence you're collectingAlways use a separate evidence drive
Skipping the hashesNo proof the copy matches the originalHash before and after imaging
Analysing the original diskEvery action risks changing itAnalyse the image only
Pulling the plug on a running suspect PCRAM evidence is lost foreverCapture memory first if it's on

Quick cheat sheet

# Boot: Kali Live USB → "Live system (forensic mode)" → login kali / kali
lsblk -o NAME,SIZE,MODEL,SERIAL,RO                  # 1. identify
sudo blockdev --setro /dev/sdb                      # 2. lock read-only
sudo mount /dev/sdc1 /mnt/evidence                  # 3. mount YOUR evidence drive
sudo sha256sum /dev/sdb | tee /mnt/evidence/orig.sha256
sudo dd if=/dev/sdb of=/mnt/evidence/case01.img bs=4M status=progress   # 4. image
sha256sum /mnt/evidence/case01.img                  # 5. verify, then analyse the copy

A quick word on legality

Only use Forensic Mode on devices you own or are explicitly authorised to examine. Accessing someone else's data without permission is a crime under India's IT Act and similar laws everywhere, even if your intentions are good. Read Is Ethical Hacking Legal in India? before you practise on anything outside your own lab.

FAQ

Does Forensic Mode work in a virtual machine? Yes. Boot the Live ISO in VirtualBox and pick forensic mode, which is perfect for practice (see the hash test above).

Is Forensic Mode on the Kali installer ISO? No. It's only on the Live image.

Does anything I do in Forensic Mode get saved? No. Like the normal live system, everything runs in RAM and is gone after a reboot, except files you deliberately save to an external drive.

Can I install extra forensic tools? Yes, with sudo apt install toolname while connected to the internet. They last until you reboot.

What to learn next

Forensic Mode is your first step into digital forensics. Next, learn what to do with that image: recovering deleted files, finding Windows and Linux artifacts, memory forensics with Volatility and building an attack timeline. It's all in our free Digital Forensics path.

Got a Kali USB in your drawer? Boot it in Forensic Mode today and run the hash test. Seeing the hashes match is the moment this clicks.