> For the complete documentation index, see [llms.txt](https://gitbook.seguranca-informatica.pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.seguranca-informatica.pt/resources-1/dfir-ftk-imager.md).

# DFIR FTK Imager

## FTK Image Create

1. **Select source**

<figure><img src="/files/bviohUGjbCGpnGYJ2HRr" alt=""><figcaption></figcaption></figure>

2. Se**lect Drive**
3. **Create Image**
4. **Select Image Type**

<figure><img src="/files/BCyx4EYEigtDGnt7G31n" alt=""><figcaption></figcaption></figure>

5. **Define the length of the segments or set it as "0" to create a single raw image.**<br>

   <figure><img src="/files/9l12y9r3RRZL3ZYXfDsG" alt=""><figcaption></figcaption></figure>

## Convert segments into a single raw file (dd)

```
copy /b filesprefix.* single.raw
```

The "**/b**" parameter means: **binary**.

## Convert from E01 files into single RAW file

```
ewfexport -t xxx.raw -f raw disco_1.E01
```

## Convert from  VMDK into RAW format with qemu

```
qemu-img convert xxxxx-flat.vmdk xxxxx.raw
```

## Convert from RAW format into VDI (VirtualBox)

```
VBoxManage convertdd xxxx.raw xxxx.vdi
```

## Change SAM Password to boot machines

### kon-bootCD-2.7.iso

{% file src="/files/f3MoUyEtBELPhwqKDR2f" %}

### cd140201.iso

{% file src="/files/5r3qSKvMTJM3nmpvj4pQ" %}

### Hirens' Boot

<figure><img src="/files/GOhbobDNfJATG2sBY9Xk" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.hirensbootcd.org/>" %}

### Can not you login after patch the SAM?

If you can't change the SAM file or the login doesn't work, you can simply create a ISO file with the needed tools (e.g.: velociraptor collector) and execute it locally with Hiron's Boot.

```
mkisofs -o output.iso input_directory
```

Add the iso file via CD drive on virtualbox.

Use the **dissect-shell** after that to dump the outputed .zip file with all the artifacts .&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.seguranca-informatica.pt/resources-1/dfir-ftk-imager.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
