# prof-gp/forensic-toolbox architecture

> Architecture diagram of the GitHub repository prof-gp/forensic-toolbox, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/prof-gp/forensic-toolbox
- Repository: https://github.com/prof-gp/forensic-toolbox

## Overview

Forensic Toolbox accepts evidence files through a command-line interface, detects supported artifact types, and dispatches each to a specialized parser for forensic extraction. Its major branches cover Registry, Prefetch, LNK, EVTX, and memory analysis; mapping modules configure Registry, EVTX, and Volatility analysis. The README documents output formats and analysis options. Some parser internals are only partially excerpted, so the graph shows documented capabilities without inferring unshown internal call chains.

Main entry points: [`main.py`](https://github.com/prof-gp/forensic-toolbox/blob/main/main.py) (CLI and detection), [`Toolbox/toolbox_registry.py`](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_registry.py) (Registry analysis), [`Toolbox/toolbox_evtx.py`](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_evtx.py) (EVTX parsing), [`Toolbox/toolbox_volatility.py`](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_volatility.py) (Memory orchestration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Input and Dispatch"]
  node_cli["CLI and detection<br/>[main.py]"]
end

subgraph group_artifacts["Windows Artifacts"]
  node_registry["Registry analysis"]
  node_registry_map["Registry key mappings"]
  node_prefetch["Prefetch parsing"]
  node_lnk["Shortcut analysis<br/>[toolbox_lnk.py]"]
end

subgraph group_event["Event Logs"]
  node_evtx["EVTX parsing<br/>[toolbox_evtx.py]"]
  node_evtx_map["Event ID mappings<br/>[evtx_mapping.py]"]
end

subgraph group_memory["Memory Analysis"]
  node_memory["Memory orchestration"]
  node_vol_map["Plugin mappings"]
end

node_analyst(("Forensic analyst"))

node_analyst -->|"submits evidence"| node_cli
node_cli -->|"dispatches hive"| node_registry
node_cli -->|"dispatches file"| node_prefetch
node_cli -->|"dispatches shortcut"| node_lnk
node_cli -->|"dispatches log"| node_evtx
node_cli -->|"dispatches dump"| node_memory
node_registry -->|"uses key mappings"| node_registry_map
node_evtx -->|"uses event mappings"| node_evtx_map
node_memory -->|"uses plugin mappings"| node_vol_map

click node_cli "https://github.com/prof-gp/forensic-toolbox/blob/main/main.py"
click node_registry "https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_registry.py"
click node_registry_map "https://github.com/prof-gp/forensic-toolbox/blob/main/registry_mapping.py"
click node_prefetch "https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_prefetch.py"
click node_lnk "https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_lnk.py"
click node_evtx "https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_evtx.py"
click node_evtx_map "https://github.com/prof-gp/forensic-toolbox/blob/main/evtx_mapping.py"
click node_memory "https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_volatility.py"
click node_vol_map "https://github.com/prof-gp/forensic-toolbox/blob/main/volatility_mapping.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli toneBlue
class node_registry,node_registry_map,node_prefetch,node_lnk toneAmber
class node_evtx,node_evtx_map toneMint
class node_memory,node_vol_map toneRose
class node_analyst toneIndigo
```

## Components

### Input and Dispatch

- [CLI and detection](https://github.com/prof-gp/forensic-toolbox/blob/main/main.py): `main.py`

### Windows Artifacts

- [Registry analysis](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_registry.py): `Toolbox/toolbox_registry.py`
- [Registry key mappings](https://github.com/prof-gp/forensic-toolbox/blob/main/registry_mapping.py): `registry_mapping.py`
- [Prefetch parsing](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_prefetch.py): `Toolbox/toolbox_prefetch.py`
- [Shortcut analysis](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_lnk.py): `Toolbox/toolbox_lnk.py`

### Event Logs

- [EVTX parsing](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_evtx.py): `Toolbox/toolbox_evtx.py`
- [Event ID mappings](https://github.com/prof-gp/forensic-toolbox/blob/main/evtx_mapping.py): `evtx_mapping.py`

### Memory Analysis

- [Memory orchestration](https://github.com/prof-gp/forensic-toolbox/blob/main/Toolbox/toolbox_volatility.py): `Toolbox/toolbox_volatility.py`
- [Plugin mappings](https://github.com/prof-gp/forensic-toolbox/blob/main/volatility_mapping.py): `volatility_mapping.py`

### Other components

- **Forensic analyst**

## Connections

- Forensic analyst → CLI and detection: submits evidence (evidence: `README.md`)
- CLI and detection → Registry analysis: dispatches hive (evidence: `main.py`)
- CLI and detection → Prefetch parsing: dispatches file (evidence: `main.py`)
- CLI and detection → Shortcut analysis: dispatches shortcut (evidence: `main.py`)
- CLI and detection → EVTX parsing: dispatches log (evidence: `main.py`)
- CLI and detection → Memory orchestration: dispatches dump (evidence: `main.py`)
- Registry analysis → Registry key mappings: uses key mappings (evidence: `Toolbox/toolbox_registry.py`)
- EVTX parsing → Event ID mappings: uses event mappings (evidence: `Toolbox/toolbox_evtx.py`)
- Memory orchestration → Plugin mappings: uses plugin mappings (evidence: `Toolbox/toolbox_volatility.py`)
