<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://epikritis.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://epikritis.com/" rel="alternate" type="text/html" hreflang="en" /><updated>2026-10-19T19:56:04+00:00</updated><id>https://epikritis.com/feed.xml</id><title type="html">Fredrick Njoroge</title><subtitle>Cybersecurity professional with 7+ years of experience in threat detection &amp; response, endpoint security, email security, and risk &amp; compliance.</subtitle><author><name>Fredrick Njoroge</name></author><entry><title type="html">Forensically Imaging a PC with Kali Linux &amp;amp; FTK Imager</title><link href="https://epikritis.com/2024/09/23/forensically-imaging-a-pc-with-kali-linux-ftk-imager.html" rel="alternate" type="text/html" title="Forensically Imaging a PC with Kali Linux &amp;amp; FTK Imager" /><published>2024-09-23T00:00:00+00:00</published><updated>2024-09-23T00:00:00+00:00</updated><id>https://epikritis.com/2024/09/23/forensically-imaging-a-pc-with-kali-linux-ftk-imager</id><content type="html" xml:base="https://epikritis.com/2024/09/23/forensically-imaging-a-pc-with-kali-linux-ftk-imager.html"><![CDATA[<p>PS:</p>
<ul>
  <li>This blog post was originally created on Sep 8, 2021 and has recently been migrated to this platform.</li>
  <li>I made a few changes to the original article since Exterro acquired AccessData in 2020 (https://www.exterro.com/about/news/exterro-acquires-accessdata-to-form-the-leading-enterprise-legal-grc-software-platform-across-data-privacy-forensics-and-e-discovery).</li>
</ul>

<h1 id="introduction">Introduction</h1>

<p>You are supposed to obtain a forensic image of a PC; however, you lack the “sophisticated” tools to do so because they’re costly — a write-blocker (https://digitalintelligence.com/store/products/w2710), the right screwdriver kit (https://www.amazon.com/Professional-Precision-Screwdriver-Magnetic-Flexible/dp/B07Q45V69K), etc. What do you do? 🤔</p>

<p>Don’t stress! You could make use of open-source tools to achieve your goal. In this tutorial, we shall explore the use of Exterro’s FTK Imager (https://www.exterro.com/digital-forensics-software/ftk-imager) running on Kali Live.</p>

<p>NB: I have assumed that you have some basics in Linux.</p>

<p>Here are my reasons for using the two:</p>
<ol>
  <li>Kali Live has ‘Forensics Mode’ — its benefits:
    <ul>
      <li>Kali Live is non-destructive; it makes no changes on the disk.</li>
      <li>‘Forensics Mode’ disallows auto-mounting of drives.</li>
    </ul>
  </li>
  <li>FTK Imager is easy to use.</li>
</ol>

<p>Let’s dive right in.</p>

<h1 id="step-0-create-the-disk">Step 0: Create the Disk</h1>

<p>You can download Kali Live from here (https://www.kali.org/get-kali/#kali-live). Once you download it, you can use Rufus (https://rufus.ie/en/) to create the Kali Live disk you will boot from. Apply the settings shown below:</p>
<ul>
  <li>Device: This is the drive that you will use to create the live disk. (I recommend that you use a flash drive.)</li>
  <li>Boot selection: Use the Kali Live image you downloaded.</li>
  <li>Partition scheme: MBR or GPT.
You may leave the rest of the options as they are.</li>
</ul>

<p>After clicking on ‘Start’ at the bottom of this window, in case you are prompted to choose between iso and dd (on the next window), choose dd. Choosing iso may cause your antivirus software to detect and block some of the malicious (but helpful) modules native in Kali Linux, and thus corrupting the disk.</p>

<p>dd will however alter the format of your drive. To restore the normal format (FAT32 or NTFS), refer to this article (https://medium.com/@fnjoroge/how-to-reformat-a-disk-created-using-dd-format-f444d3a02f22).</p>

<p>Figure 1: Configurations to apply once you launch Rufus</p>

<h1 id="step-1-change-bios-settings">Step 1: Change BIOS Settings</h1>

<p>This step is important as some PCs won’t allow you to boot from the live disk.</p>

<p>The BIOS menu varies with the device. For instance, to access it on most HP PCs, press F10 as soon as you turn on your machine; for most Lenovo PCs, press F2. You may confirm what works for you with a Google search.</p>

<p>These are the settings to look out for:</p>
<ol>
  <li>Secure Boot: Disable it.</li>
  <li>UEFI/Legacy Boot: If possible, have both options on. This is pegged on your preference though. For UEFI, ensure CSM Support is on to allow booting from a disk with an MBR partition scheme; else, use GPT (instead of MBR) while creating your disk. Legacy Boot supports the MBR partition scheme.</li>
</ol>

<p>After altering the settings, save changes and exit. Remember to restore the original settings after you complete the imaging process.</p>

<p>NB: BIOS settings are stored on the flash memory, therefore changing BIOS settings will not tamper with the evidence.</p>

<h1 id="step-2-boot-up">Step 2: Boot Up</h1>

<p>The next step is booting from the disk. To do so, you need to confirm the specific function key used to access the boot menu. As soon as you turn on the device, press the function key to access the boot menu (HP: F9, Lenovo: F12).</p>

<p>Figure 2: Example of boot menu
After selecting the disk to boot from, you should see this window. Click on ‘Live (forensic mode)’:</p>

<p>Figure 3: Kali Live boot menu
After the boot-up process is complete, you will now access the desktop.</p>

<p>Figure 4: Kali Live desktop</p>

<h1 id="step-3-imaging-process">Step 3: Imaging Process</h1>

<p>(Optional) First things first, make yourself root to avoid forgetting sudo as you type in your commands.</p>
<pre><code class="language-bash">sudo su
</code></pre>
<p>FTK Imager is not a native tool in the Kali suite, therefore we need to download it. Connect your PC to the Internet by clicking the taskbar icon next to the clock (on the top right corner of the Kali Live desktop). To confirm that your PC is connected, open the terminal (by clicking the fourth icon on the top left corner) and run the command:</p>
<pre><code>ping -c 5 google.com
</code></pre>
<p>You should get a result that looks like this: <code>Reply from 172.217.170.174: bytes=32 time=12ms TTL=57</code> .</p>

<p>This is the link (https://web.archive.org/web/20160909140256/https://ad-zip.s3.amazonaws.com/ftkimager.3.1.1_ubuntu64.tar.gz) to download FTK Imager, CLI (command-line interface) version</p>
<pre><code class="language-bash">wget https://web.archive.com/20160909140256/https://ad-zip.s3.amazonaws.com/ftkimager.3.1.1_ubuntu64.tar.gz
</code></pre>

<p>Figure 6: Download of FTK Imager CLI version (with updated URL)</p>

<p>Extract the contents of the compressed file using the command <code>tar -zxvf [compressed_file]</code> .</p>

<p>Figure 6: Extraction</p>

<p>Next, connect your destination drive to the PC. This is where you will store your forensic image. On the Kali Live desktop, open the terminal (the fourth icon on the top left corner). Use the <code>fdisk -l</code> command to return a list of available disks.</p>

<p>Figure 7: List of disks</p>

<p>Figure 8: List of disks (cont.)</p>

<p>It is important to note two disks: the PC disk and the external hard drive connected. The PC disk will serve as the source and the external disk as the destination. In my case, the PC disk is <code>/dev/nvme0n1</code> and the external disk <code>/dev/sda</code>.</p>

<p>The destination drive is unusable as is, i.e., <code>/dev/sda</code> is not writeable. We need to mount it to a local directory. First, create a directory using the command <code>mkdir [directory_path]</code> , e.g., <code>mkdir /mnt/destDrive</code> . Then mount your disk to the directory you’ve created using the command mount. In my case, <code>mount /dev/sda1 /mnt/destDrive</code>. We have used <code>/dev/sda1</code> instead of <code>/dev/sda</code> since we’d only be interested in a partition within the disk.</p>

<p>Next, we run FTK Imager to image the PC disk. The syntax is as follows:</p>
<pre><code class="language-bash">./ftkimager [source] [destination] [options]
</code></pre>
<p>There are several options you can use for your imaging. To check them out, run the command <code>./ftkimager</code> with no parameters.
For instance, to create an Encase image with ‘best’ compression, here’s the command:</p>
<pre><code class="language-bash">./ftkimager /dev/nvme0n1 /mnt/destDrive/jdoePC --e01 --compress 9 --case-number "CO-X-FOR-HDD-001" --evidence-number "HDD-001" --description "John Doe's PC" --examiner "F. Rodriguez" --verify
</code></pre>
<p>As you may have noticed, we specified a directory on the destination. <code>--case-number</code> , <code>--evidence-number</code> , <code>--description</code> and <code>--examiner</code> are metadata that should be specified for reporting purposes. <code>--verify</code> is important for integrity purposes, i.e., that there are no changes between the disk and the image.</p>

<p>NB: Remember not to interchange the source and destination, or else you will corrupt the evidence.</p>

<p>Figure 9: Image creation</p>

<p>Figure 10: Image verification</p>

<p>Figure 11: Hash matching to prove no loss of integrity</p>

<p>There you go, you have your image. A few more steps, and you’ll be completely done. You need to safely unmount the destination drive. To do so, use the command <code>umount [mount_directory]</code>. You can now shut down the PC using <code>init 0</code>. Remember to change the BIOS settings back to what they were.</p>

<p>To check if the image is not corrupted, you may use FTK Imager GUI (graphical user interface) version. On a Windows PC with FTK Imager installed, connect the external hard drive and add the image as an evidence item. Use the tree on the left side of the window to navigate through the contents of the image. In case you get the error ‘Unrecognized file system [Data]’ on the data partition, you may have to repeat the process using a different method. I recommend doing a disk copy using Hirens Boot CD.</p>

<h1 id="conclusion">Conclusion</h1>

<p>We have gone through the process of imaging a disk using FTK Imager and Kali Live. Remember, the goal is to preserve the integrity of the evidence.</p>

<p>You can also use Parrot OS in place of Kali Live.</p>

<p>I hope you enjoyed this article!</p>]]></content><author><name>Fredrick Njoroge</name></author><category term="Digital Forensics" /><summary type="html"><![CDATA[PS: This blog post was originally created on Sep 8, 2021 and has recently been migrated to this platform. I made a few changes to the original article since Exterro acquired AccessData in 2020 (https://www.exterro.com/about/news/exterro-acquires-accessdata-to-form-the-leading-enterprise-legal-grc-software-platform-across-data-privacy-forensics-and-e-discovery).]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://epikritis.com/assets/img/og-card.png" /><media:content medium="image" url="https://epikritis.com/assets/img/og-card.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>