Skip to content

[Bug]: PowerShell/git-bash/busybox fail under Low-IL AppContainer with 0xC0000135 and no actionable error #324

Description

@mr-wyck

Environment

  • wayland-core 0.12.8
  • Windows 11 Pro 26200 (x64)
  • Sandbox backend: AppContainer (Windows Tier-0 default)

Description

Any non-cmd shell whose runtime dependencies are not loadable under the Low-integrity, restricted-token AppContainer dies at image initialization with exit code -1073741515 = 0xC0000135 (STATUS_DLL_NOT_FOUND) and empty output. The user sees a silent failure with no indication of why.

Affected shells (reproductions)

  • pwsh / powershell: require .NET / GAC assemblies outside System32.
  • git-bash (C:\Program Files\Git\usr\bin\bash.exe): requires msys-2.0.dll from Program Files\Git.
  • busybox-w32 (a single static .exe): also fails — even a bare busybox echo. Its PE static-import table is ADVAPI32, bcrypt, KERNEL32, msvcrt, Secur32, USER32, WS2_32; the non-cmd imports (Secur32, WS2_32, bcrypt, USER32) do not load under this token. (cmd works because its imports are the minimal System32 set.)

Expected

Either the shell runs, or the tool returns a clear, actionable error explaining that the shell is unsupported under the sandbox and what to do instead.

Actual

The child process dies at load with 0xC0000135, empty stdout/stderr, and no diagnostic — appearing to the user as "the command did nothing."

Note

A "static" shell is not automatically sandbox-compatible: busybox-w32 still links network/auth/UI system DLLs that the Low-IL restricted-token AppContainer cannot load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreWayland Core engine / backendsneeds:coreHanded to the Wayland Core lanepriority:highInvestigate first

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions