# Basic Forensic Methodology

{% hint style="success" %}
Learn & practice AWS Hacking:<img src="/files/Xcgr3q6BP5MpWT3hTn6d" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="/files/Xcgr3q6BP5MpWT3hTn6d" alt="" data-size="line">\
Learn & practice GCP Hacking: <img src="/files/aQnEyHWQGyok3qCc92qt" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="/files/aQnEyHWQGyok3qCc92qt" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)

<details>

<summary>Support HackTricks</summary>

* Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
* **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.**
* **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.

</details>
{% endhint %}

## Creating and Mounting an Image

{% content-ref url="/pages/uoo2W3d8c2d8pH5Qv1ik" %}
[Image Acquisition & Mount](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/image-acquisition-and-mount.md)
{% endcontent-ref %}

## Malware Analysis

This **isn't necessary the first step to perform once you have the image**. But you can use this malware analysis techniques independently if you have a file, a file-system image, memory image, pcap... so it's good to **keep these actions in mind**:

{% content-ref url="/pages/9IuxBp8wdNxsDZFzG8B7" %}
[Malware Analysis](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/malware-analysis.md)
{% endcontent-ref %}

## Inspecting an Image

if you are given a **forensic image** of a device you can start **analyzing the partitions, file-system** used and **recovering** potentially **interesting files** (even deleted ones). Learn how in:

{% content-ref url="/pages/ObiinK31JLc8nOrLsVFN" %}
[Partitions/File Systems/Carving](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/partitions-file-systems-carving.md)
{% endcontent-ref %}

Depending on the used OSs and even platform different interesting artifacts should be searched:

{% content-ref url="/pages/Os7RTFRMCcrHaYlthJKT" %}
[Windows Artifacts](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/windows-forensics.md)
{% endcontent-ref %}

{% content-ref url="/pages/63OoY6D2v0hKTcH8NRHI" %}
[Linux Forensics](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/linux-forensics.md)
{% endcontent-ref %}

{% content-ref url="/pages/F3s4LH9ylqSS6vXlnQy9" %}
[Docker Forensics](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/docker-forensics.md)
{% endcontent-ref %}

## Deep inspection of specific file-types and Software

If you have very **suspicious** **file**, then **depending on the file-type and software** that created it several **tricks** may be useful.\
Read the following page to learn some interesting tricks:

{% content-ref url="/pages/BKM9E5JobU4oIajpbrQf" %}
[Specific Software/File-Type Tricks](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/specific-software-file-type-tricks.md)
{% endcontent-ref %}

I want to do a special mention to the page:

{% content-ref url="/pages/d3V9Y82SJDSVdqBaxaEP" %}
[Browser Artifacts](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/specific-software-file-type-tricks/browser-artifacts.md)
{% endcontent-ref %}

## Memory Dump Inspection

{% content-ref url="/pages/rqrNliof5Yu3Cs4nefaM" %}
[Memory dump analysis](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/memory-dump-analysis.md)
{% endcontent-ref %}

## Pcap Inspection

{% content-ref url="/pages/kw7kpAbC8TP6c584K8QS" %}
[Pcap Inspection](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/pcap-inspection.md)
{% endcontent-ref %}

## **Anti-Forensic Techniques**

Keep in mind the possible use of anti-forensic techniques:

{% content-ref url="/pages/iaBaScg9XJkvU216B2Os" %}
[Anti-Forensic Techniques](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/anti-forensic-techniques.md)
{% endcontent-ref %}

## Threat Hunting

{% content-ref url="/pages/zp5Sx1qZUc546pcit5Is" %}
[Baseline Monitoring](/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology/file-integrity-monitoring.md)
{% endcontent-ref %}

{% hint style="success" %}
Learn & practice AWS Hacking:<img src="/files/Xcgr3q6BP5MpWT3hTn6d" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="/files/Xcgr3q6BP5MpWT3hTn6d" alt="" data-size="line">\
Learn & practice GCP Hacking: <img src="/files/aQnEyHWQGyok3qCc92qt" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="/files/aQnEyHWQGyok3qCc92qt" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)

<details>

<summary>Support HackTricks</summary>

* Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
* **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.**
* **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.

</details>
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://angelica.gitbook.io/hacktricks/generic-methodologies-and-resources/basic-forensic-methodology.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
