Repository navigation
[DRAFT Security RDTE] Real UID1000 peer denied with deliberately permissive synthetic socket DAC - #217
Conversation
…nder intentionally weak synthetic DAC
R040 actual numeric Linux UID1000 negative, exact-head terminal PASSFirst source |
R040 independent, real-numeric-UID negative qualification
Stacks strictly on #215 corrected source
eebbf13c6d787c269193544306b56c96f258ea2d; exact initial010e1348a2254eda990cdee9facbf21437c55f61. No changes to the broker, Compose, runtime, protected main or other actor branches. Three additive files: independent Go subprocess test, dedicated GitHub Actions workflow, scope/limitations document.Why this test differs from #215: prior rootless test proves real kernel-peer retrieval but uses the test account and intentionally mismatched expected UID. This test runs as root inside a cap-dropped, read-only, networkless public disposable OCI container and uses only SETUID/SETGID capability to start a real separate UID/GID1000 process. A freshly created synthetic /tmp socket is intentionally exposed with permissive DAC for this test only, so the guest must be able to connect; then the root broker must reject it with fixed
CONTROL_IPC=DENIEDfromSO_PEERCRED. No owner record may be created. Captured user or Docker diagnostics are never printed. Base image pinned to source-approved Debian digest, no publication, private GHA, host storage, Wine application or external target.Acceptance: exact-head public [Real Cross-UID Protected Control Negative RDTE] workflow must pass; also Go vet/-race/test and full CI. Deliberate root-cap test uses Docker guest namespace only, not a privileged host operation.
Nonclaims: does not prove user namespace mappings, control mount identity under TrueNAS, API/guest UID separation, authenticated roles, audit or human STOP. Root-only socket is not deployed. Existing
/artifacts/sessionswriter inode replacement is still a release STOP for untrusted Wine workloads. Draft only; no merge/release or hardware.