# tohru-art/hunt-08-second-vector architecture

> Architecture diagram of the GitHub repository tohru-art/hunt-08-second-vector, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tohru-art/hunt-08-second-vector
- Repository: https://github.com/tohru-art/hunt-08-second-vector

## Overview

HUNT-08 is a cloud DFIR case study and threat-hunting playbook, not an executable application. An analyst follows the eight investigation phases from initial triage through correlation and containment, using phase findings and KQL queries to investigate the documented attack and prioritize response. The graph represents documented investigation stages and their attack progression; no phase files were sampled, so internal query-to-telemetry relationships are not inferred.

Main entry points: [`phases/phase-01-triage`](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-01-triage) (Initial Triage), [`phases/phase-02-session-scope`](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-02-session-scope) (Session Scope), [`phases/phase-03-directory-recon`](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-03-directory-recon) (Directory Recon), [`phases/phase-04-fraud`](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-04-fraud) (Fraud Operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access Investigation"]
  node_triage["Initial Triage"]
  node_session["Session Scope"]
end

subgraph group_activity["Tenant Activity"]
  node_recon["Directory Recon"]
  node_fraud["Fraud Operations"]
end

subgraph group_impact["Impact Investigation"]
  node_persistence["Mail Persistence"]
  node_theft["Data Theft"]
  node_automation["Flow Execution"]
end

subgraph group_response["Correlation Response"]
  node_containment["Correlation Response"]
end

node_analyst(("DFIR Analyst"))

node_analyst -->|"investigates"| node_triage
node_triage -->|"then scopes"| node_session
node_session -->|"then investigates"| node_recon
node_recon -->|"then investigates"| node_fraud
node_fraud -->|"then hunts"| node_persistence
node_persistence -->|"then investigates"| node_theft
node_theft -->|"then investigates"| node_automation
node_automation -->|"then correlates"| node_containment

click node_triage "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-01-triage"
click node_session "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-02-session-scope"
click node_recon "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-03-directory-recon"
click node_fraud "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-04-fraud"
click node_persistence "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-05-persistence-hunt"
click node_theft "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-06-data-theft"
click node_automation "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-07-plant-and-trigger"
click node_containment "https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-08-correlation-containment"

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_triage,node_session toneBlue
class node_recon,node_fraud toneAmber
class node_persistence,node_theft,node_automation toneMint
class node_containment toneRose
class node_analyst toneIndigo
```

## Components

### Access Investigation

- [Initial Triage](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-01-triage): `phases/phase-01-triage`
- [Session Scope](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-02-session-scope): `phases/phase-02-session-scope`

### Tenant Activity

- [Directory Recon](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-03-directory-recon): `phases/phase-03-directory-recon`
- [Fraud Operations](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-04-fraud): `phases/phase-04-fraud`

### Impact Investigation

- [Mail Persistence](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-05-persistence-hunt): `phases/phase-05-persistence-hunt`
- [Data Theft](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-06-data-theft): `phases/phase-06-data-theft`
- [Flow Execution](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-07-plant-and-trigger): `phases/phase-07-plant-and-trigger`

### Correlation Response

- [Correlation Response](https://github.com/tohru-art/hunt-08-second-vector/tree/main/phases/phase-08-correlation-containment): `phases/phase-08-correlation-containment`

### Other components

- **DFIR Analyst**

## Connections

- DFIR Analyst → Initial Triage: investigates (evidence: `README.md`)
- Initial Triage → Session Scope: then scopes (evidence: `README.md`)
- Session Scope → Directory Recon: then investigates (evidence: `README.md`)
- Directory Recon → Fraud Operations: then investigates (evidence: `README.md`)
- Fraud Operations → Mail Persistence: then hunts (evidence: `README.md`)
- Mail Persistence → Data Theft: then investigates (evidence: `README.md`)
- Data Theft → Flow Execution: then investigates (evidence: `README.md`)
- Flow Execution → Correlation Response: then correlates (evidence: `README.md`)
