Windows: threat model and OS protection comparison

Open
#128 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
security

Research direction

This is an architecture decision record, not code. Start by reading the linked issues #101, #103, #54, #86 and #95–#104 to see what is already decided or in progress, then review the existing security and sandboxing design in the repository. Done means a maintainer-approved ADR that covers each listed Windows mechanism, a threat model, and a test and rollback plan, and the work should not begin until that approval exists.

Written by the indexing model from the issue text.

Description

area:platform priority:P3 type:research

Ziel

ADR zu ACLs, Named-Pipe-Identität, AppContainer, Restricted Token, Job Objects, WER, DLL-Suchpfaden, Speicher und unsafe-Grenzen; kein Produktivcode.

Abhängigkeiten und Abgrenzung

#101, #103. Keine Duplikation bestehender Funktionalität; #54 Spiegelmodus, #86 Backup-Check und #95–#104 Architektur berücksichtigen.

Sicherheits- und Integrationsregeln

  • Vor Umsetzung Architekturplan, Threat Model, Tests und Maintainer-Freigabe.
  • Jeder PR eigenständig und nach Merge voll funktionsfähig; kein Big-Bang.
  • Keine automatische Migration, keine destruktiven Defaults, keine neuen Ports.

Tests

  • Unit-/Integrationstests inklusive Grenzwerte, Tamper, Crash, Rechte und Fehlerpfade.
  • Regression bestehender Schlüssel-/Dateiformate und CLI/API unter Windows und Linux soweit relevant.
  • CI fmt/clippy/tests/audit, keine Secrets in Logs.

Definition of Done

  • Plan und Sicherheitsentscheidungen freigegeben
  • Isolierte Implementierung und Negativtests
  • Rückwärtskompatibilität und CI grün
  • DE/EN Dokumentation und Einschränkungen
  • Rollback und Wiederherstellung nachgewiesen

Rollback

Opt-in/Feature-Flag, alter Betriebsweg unverändert; Abschalten oder PR-Revert ohne Datenmigration möglich. Bei Datenänderungen nur transaktional und mit Restore-Test.

Dominant language
Rust
Stars
0
Forks
0
Avg merge
1h 22m
Merged PRs (30d)
72

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SpecterAoD/pqkeep

All issues in SpecterAoD/pqkeep

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.