test(mxc): verify ProcessContainer token isolation - #3430
prekshivyas wants to merge 3 commits into
Conversation
Update the Windows host proxy call for the current ProxyHandle API so the windows branch builds again. Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Add a real-binary regression test that checks the workload token through Windows access-control APIs and document how to distinguish token identity from effective administrator membership. Refs: NVBug 6782979 Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Use a non-mutating Service Control Manager access check instead of legacy group-membership behavior when validating AppContainer isolation. Require ERROR_ACCESS_DENIED so unrelated failures cannot satisfy the assertion, and clarify the Windows dual-principal model in the operator documentation. Refs: NVBug 6782979 Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
df30689 to
6417b4a
Compare
Qualification evidenceRevisions
The same installed MXC runtime and probe executable were used for both sides of the A/B observation. Machine-specific SID values are intentionally omitted. Token and access results
The SCM check is non-mutating: it requests the administrator-gated access right but does not create or modify a service. This is intentionally not a failing-before/passing-after claim. The PR does not change production token construction. It records the existing security boundary and prevents regression. Windows AppContainer tokens retain traditional user/group metadata, while protected-resource access is the intersection of the user/group and package/capability sides. See Microsoft's AppContainer dual-principal description and AppContainer-aware membership API. Live validation
ConclusionThe reported username and Administrators-group lines are reproducible token metadata. They do not demonstrate administrator access. The direct administrator-gated access attempt is denied by Windows on both the baseline and combined candidate. |
Qualification before/after summaryNVBug: 6782979 — ProcessContainer token-isolation concern Before: The runtime retained launching-user and Administrators-group token metadata, but there was no durable test proving that this metadata did not permit an administrator-gated operation. After: A real Qualification status: Scenario PASS. This PR primarily adds security regression coverage/documentation and does not weaken the runtime boundary. The current hosted red is the shared |
Uh oh!
There was an error while loading. Please reload this page.