# msnightmare/fastunlock architecture

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

- Interactive diagram: https://gitdiagram.com/msnightmare/fastunlock
- Repository: https://github.com/msnightmare/fastunlock

## Overview

FastUnlock is a vulnerability report, not an implementation: the repository contains only a README and no source excerpts. The documented workflow begins at the Windows lock screen, abuses Narrator’s hidden UI in the locked-account context to reach Settings, then uses removable-media handling to achieve code execution as WsiAccount and bypass BitLocker. The graph reflects those documented stages only; it does not imply internal code modules or independently verified behavior.

Main entry points: [`README.md`](https://github.com/msnightmare/fastunlock/blob/main/README.md) (FastUnlock report)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Lock-screen entry"]
  node_fastunlock["FastUnlock report<br/>[README.md]"]
  node_lockscreen["Windows lock screen"]
end

subgraph group_ui["Windows UI surfaces"]
  node_recovery["Account recovery UI"]
  node_narrator["Narrator background UI"]
  node_settings["Windows Settings"]
  node_autoplay["Removable-drive AutoPlay"]
  node_explorer["File Explorer"]
end

subgraph group_result["Execution outcome"]
  node_wsi["WsiAccount execution"]
  node_bitlocker["BitLocker bypass"]
end

node_attacker(("Physical-access attacker"))

node_attacker -->|"physical access"| node_lockscreen
node_lockscreen -->|"opens recovery"| node_recovery
node_recovery -->|"enables Narrator"| node_narrator
node_narrator -->|"focuses hidden UI"| node_settings
node_settings -->|"configures AutoPlay"| node_autoplay
node_autoplay -->|"opens mounted media"| node_explorer
node_explorer -->|"launches binary"| node_wsi
node_wsi -->|"enables bypass"| node_bitlocker
node_fastunlock -->|"documents behavior"| node_lockscreen

click node_fastunlock "https://github.com/msnightmare/fastunlock/blob/main/README.md"

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_fastunlock,node_lockscreen toneBlue
class node_recovery,node_narrator,node_settings,node_autoplay,node_explorer toneAmber
class node_wsi,node_bitlocker toneMint
class node_attacker toneIndigo
```

## Components

### Lock-screen entry

- [FastUnlock report](https://github.com/msnightmare/fastunlock/blob/main/README.md): `README.md`
- **Windows lock screen**

### Windows UI surfaces

- **Account recovery UI**
- **Narrator background UI**
- **Windows Settings**
- **Removable-drive AutoPlay**
- **File Explorer**

### Execution outcome

- **WsiAccount execution**
- **BitLocker bypass**

### Other components

- **Physical-access attacker**

## Connections

- Physical-access attacker → Windows lock screen: physical access (evidence: `README.md`)
- Windows lock screen → Account recovery UI: opens recovery (evidence: `README.md`)
- Account recovery UI → Narrator background UI: enables Narrator (evidence: `README.md`)
- Narrator background UI → Windows Settings: focuses hidden UI (evidence: `README.md`)
- Windows Settings → Removable-drive AutoPlay: configures AutoPlay (evidence: `README.md`)
- Removable-drive AutoPlay → File Explorer: opens mounted media (evidence: `README.md`)
- File Explorer → WsiAccount execution: launches binary (evidence: `README.md`)
- WsiAccount execution → BitLocker bypass: enables bypass (evidence: `README.md`)
- FastUnlock report → Windows lock screen: documents behavior (evidence: `README.md`)
