# un4ckn0wl3z/dioprocess-private architecture

> Architecture diagram of the GitHub repository un4ckn0wl3z/dioprocess-private, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/un4ckn0wl3z/dioprocess-private
- Repository: https://github.com/un4ckn0wl3z/dioprocess-private

## Overview

DioProcess is a Windows desktop system-monitoring and security-research framework. The primary workflow starts in the Dioxus desktop UI, where users select a monitoring or manipulation feature; UI components use Rust crates for process, network, service, and kernel-driver operations, then present results. Separate branches cover event capture and persistence, hypervisor/EPT operations, and UEFI/SMM support. The README documents broader feature coverage than the sampled source excerpts, so links for those capabilities are shown at subsystem level rather than as inferred internal call chains.

Main entry points: [`crates/ui/src/routes.rs`](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/routes.rs) (Feature routes), [`crates/callback/src/driver.rs`](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/driver.rs) (Driver interface), [`crates/ui/src/components/process_tab.rs`](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/process_tab.rs) (Process UI), [`crates/dioprocess/src/main.rs`](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/dioprocess/src/main.rs) (Desktop launcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop UI"]
  node_desktop_app["Desktop launcher<br/>[main.rs]"]
  node_ui_app["Application shell<br/>[app.rs]"]
  node_routes["Feature routes<br/>[routes.rs]"]
  node_process_ui["Process UI<br/>[process_tab.rs]"]
  node_network_ui["Network UI<br/>[network_tab.rs]"]
  node_service_ui["Service UI<br/>[service_tab.rs]"]
  node_memory_ui["Memory scanner UI"]
  node_callback_ui["Kernel feature UI<br/>[callback_tab.rs]"]
  node_capture_ui["Packet capture UI"]
  node_uefi_ui["UEFI management UI<br/>[uefi_tab.rs]"]
  node_smm_ui["SMM controls UI<br/>[smm_tab.rs]"]
end

subgraph group_usermode["Usermode features"]
  node_process_lib["Process operations<br/>[lib.rs]"]
  node_network_lib["Network inventory<br/>[lib.rs]"]
  node_service_lib["Service control<br/>[lib.rs]"]
  node_misc_lib["Process manipulation<br/>[lib.rs]"]
end

subgraph group_kernel["Kernel research"]
  node_callback_driver["Driver interface<br/>[driver.rs]"]
  node_kernel_driver["Windows kernel driver"]
  node_hypervisor["Hypervisor and EPT<br/>[hv.cpp]"]
end

subgraph group_events["Events and packets"]
  node_packet_capture["Packet capture<br/>[packet_capture.rs]"]
  node_packet_store[("Saved packets<br/>[packet_storage.rs]")]
  node_event_store[("Kernel event history<br/>[storage.rs]")]
end

subgraph group_boot["Boot and SMM"]
  node_uefi_manager["UEFI management<br/>[lib.rs]"]
  node_smm_lib["SMM communication<br/>[lib.rs]"]
  node_efi_smm["UEFI SMM handler<br/>[SmmMain.c]"]
end

node_operator(("Operator"))

node_operator -->|"launches"| node_desktop_app
node_desktop_app -->|"launches"| node_ui_app
node_ui_app -->|"renders"| node_routes
node_routes -->|"routes to"| node_process_ui
node_routes -->|"routes to"| node_network_ui
node_routes -->|"routes to"| node_service_ui
node_routes -->|"routes to"| node_memory_ui
node_routes -->|"routes to"| node_callback_ui
node_routes -->|"routes to"| node_capture_ui
node_routes -->|"routes to"| node_uefi_ui
node_routes -->|"routes to"| node_smm_ui
node_process_ui -->|"queries and manipulates"| node_process_lib
node_process_ui -->|"invokes techniques"| node_misc_lib
node_network_ui -->|"queries"| node_network_lib
node_service_ui -->|"controls"| node_service_lib
node_memory_ui -->|"scans via"| node_callback_driver
node_callback_ui -->|"sends driver requests"| node_callback_driver
node_callback_driver -->|"issues IOCTLs"| node_kernel_driver
node_kernel_driver -->|"dispatches hypervisor work"| node_hypervisor
node_capture_ui -->|"controls capture"| node_packet_capture
node_packet_capture -->|"saves and loads"| node_packet_store
node_callback_driver -->|"persists event history"| node_event_store
node_uefi_ui -->|"manages installation"| node_uefi_manager
node_smm_ui -->|"requests SMM operations"| node_smm_lib
node_smm_lib -->|"communicates by SMI"| node_efi_smm

click node_desktop_app "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/dioprocess/src/main.rs"
click node_ui_app "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/app.rs"
click node_routes "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/routes.rs"
click node_process_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/process_tab.rs"
click node_network_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/network_tab.rs"
click node_service_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/service_tab.rs"
click node_memory_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/memory_scanner_tab.rs"
click node_process_lib "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/process/src/lib.rs"
click node_network_lib "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/network/src/lib.rs"
click node_service_lib "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/service/src/lib.rs"
click node_misc_lib "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/misc/src/lib.rs"
click node_callback_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/callback_tab.rs"
click node_callback_driver "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/driver.rs"
click node_kernel_driver "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/kernelmode/DioProcess/DioProcessDriver/DioProcessDriver.cpp"
click node_hypervisor "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/kernelmode/DioProcess/DioProcessDriver/Hypervisor/hv.cpp"
click node_capture_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/packet_capture_tab.rs"
click node_packet_capture "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/packet_capture.rs"
click node_packet_store "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/packet_storage.rs"
click node_event_store "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/storage.rs"
click node_uefi_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/uefi_tab.rs"
click node_uefi_manager "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/uefi/src/lib.rs"
click node_smm_ui "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/smm_tab.rs"
click node_smm_lib "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/smm/src/lib.rs"
click node_efi_smm "https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/efi/DioProcessSmm/SmmMain.c"

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_desktop_app,node_ui_app,node_routes,node_process_ui,node_network_ui,node_service_ui,node_memory_ui,node_callback_ui,node_capture_ui,node_uefi_ui,node_smm_ui toneBlue
class node_process_lib,node_network_lib,node_service_lib,node_misc_lib toneAmber
class node_callback_driver,node_kernel_driver,node_hypervisor toneMint
class node_packet_capture,node_packet_store,node_event_store toneRose
class node_uefi_manager,node_smm_lib,node_efi_smm,node_operator toneIndigo
```

## Components

### Desktop UI

- [Desktop launcher](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/dioprocess/src/main.rs): `crates/dioprocess/src/main.rs`
- [Application shell](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/app.rs): `crates/ui/src/components/app.rs`
- [Feature routes](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/routes.rs): `crates/ui/src/routes.rs`
- [Process UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/process_tab.rs): `crates/ui/src/components/process_tab.rs`
- [Network UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/network_tab.rs): `crates/ui/src/components/network_tab.rs`
- [Service UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/service_tab.rs): `crates/ui/src/components/service_tab.rs`
- [Memory scanner UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/memory_scanner_tab.rs): `crates/ui/src/components/memory_scanner_tab.rs`
- [Kernel feature UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/callback_tab.rs): `crates/ui/src/components/callback_tab.rs`
- [Packet capture UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/packet_capture_tab.rs): `crates/ui/src/components/packet_capture_tab.rs`
- [UEFI management UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/uefi_tab.rs): `crates/ui/src/components/uefi_tab.rs`
- [SMM controls UI](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/ui/src/components/smm_tab.rs): `crates/ui/src/components/smm_tab.rs`

### Usermode features

- [Process operations](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/process/src/lib.rs): `crates/process/src/lib.rs`
- [Network inventory](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/network/src/lib.rs): `crates/network/src/lib.rs`
- [Service control](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/service/src/lib.rs): `crates/service/src/lib.rs`
- [Process manipulation](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/misc/src/lib.rs): `crates/misc/src/lib.rs`

### Kernel research

- [Driver interface](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/driver.rs): `crates/callback/src/driver.rs`
- [Windows kernel driver](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/kernelmode/DioProcess/DioProcessDriver/DioProcessDriver.cpp): `kernelmode/DioProcess/DioProcessDriver/DioProcessDriver.cpp`
- [Hypervisor and EPT](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/kernelmode/DioProcess/DioProcessDriver/Hypervisor/hv.cpp): `kernelmode/DioProcess/DioProcessDriver/Hypervisor/hv.cpp`

### Events and packets

- [Packet capture](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/packet_capture.rs): `crates/callback/src/packet_capture.rs`
- [Saved packets](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/packet_storage.rs): `crates/callback/src/packet_storage.rs`
- [Kernel event history](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/callback/src/storage.rs): `crates/callback/src/storage.rs`

### Boot and SMM

- [UEFI management](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/uefi/src/lib.rs): `crates/uefi/src/lib.rs`
- [SMM communication](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/crates/smm/src/lib.rs): `crates/smm/src/lib.rs`
- [UEFI SMM handler](https://github.com/un4ckn0wl3z/dioprocess-private/blob/feature/smm/efi/DioProcessSmm/SmmMain.c): `efi/DioProcessSmm/SmmMain.c`

### Other components

- **Operator**

## Connections

- Operator → Desktop launcher: launches
- Desktop launcher → Application shell: launches
- Application shell → Feature routes: renders
- Feature routes → Process UI: routes to
- Feature routes → Network UI: routes to
- Feature routes → Service UI: routes to
- Feature routes → Memory scanner UI: routes to
- Feature routes → Kernel feature UI: routes to
- Feature routes → Packet capture UI: routes to
- Feature routes → UEFI management UI: routes to
- Feature routes → SMM controls UI: routes to
- Process UI → Process operations: queries and manipulates
- Process UI → Process manipulation: invokes techniques
- Network UI → Network inventory: queries
- Service UI → Service control: controls
- Memory scanner UI → Driver interface: scans via
- Kernel feature UI → Driver interface: sends driver requests
- Driver interface → Windows kernel driver: issues IOCTLs
- Windows kernel driver → Hypervisor and EPT: dispatches hypervisor work
- Packet capture UI → Packet capture: controls capture
- Packet capture → Saved packets: saves and loads
- Driver interface → Kernel event history: persists event history
- UEFI management UI → UEFI management: manages installation
- SMM controls UI → SMM communication: requests SMM operations
- SMM communication → UEFI SMM handler: communicates by SMI
