Firefox WebAuthn / Windows Hello fails inside Sandboxie Classic on Windows 10
Describe what you noticed and did
Environment
- Windows 10 22H2
- Sandboxie Classic 5.73.2
- Firefox: [insert Firefox version]
- Windows Hello PIN is configured
- Sandbox: standard Sandboxie isolation
- WebAuthn test site: https://webauthn.io
Problem
WebAuthn/passkey credential creation works correctly in Firefox when Firefox is run outside Sandboxie, but fails when Firefox is sandboxed.
This also prevents creating a ChatGPT passkey / enabling Advanced Account Security from sandboxed Firefox.
Reproduction
- Run Firefox normally, outside Sandboxie.
- Open https://webauthn.io
- Enter a username and click Register.
- WebAuthn registration succeeds.
Then:
- Run the same Firefox profile inside Sandboxie.
- Open https://webauthn.io
- Enter a username and click Register.
- Registration fails with:
The authenticator was unable to process the specified options, or could not create a new credential
Windows WebAuthN event log
With normal Sandboxie isolation, Windows logs:
Event ID 1060:
WebAuthN error at: WebAuthNAuthenticatorMakeCredentialActiveCheck
Error: 0x8001011B. Access is denied.The operation later finishes with Event ID 1002:
WebAuthN Ctap MakeCredential completed.
Error: 0x80080005. Server execution failedThe log also confirms that Windows receives the MakeCredential request from Firefox, including:
RpId: webauthn.io
ClientDataHashAlgId: SHA-256
RequireResidentKey: false
CredentialParameterCount: 3So Firefox appears to reach the native Windows WebAuthN subsystem, but the Windows-side operation fails while sandboxed.
Sandbox configuration
The relevant sandbox normally contains:
[FirefoxQuantum_A]
Enabled=y
BlockNetworkFiles=y
Template=Firefox_Force
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=10
OpenFilePath=firefox.exe,D:\FirefoxQuantum
OpenFilePath=firefox.exe,D:\Downloads
BoxNameTitle=n
CopyLimitKb=81920
AutoDelete=yThere is no ClosedIpcPath, DropAdminRights, UseSecurityMode, or other explicit IPC restriction in this sandbox.
Compatibility tests performed
I tested the following Sandboxie options individually / in combinations:
OpenWndStation=yNo change.
NoSecurityIsolation=yNo change by itself.
NoSecurityIsolation=y
Template=OpenCOMThis is different: the native Windows Security / WebAuthn dialog appears.
However, NoSecurityIsolation requires a supporter certificate, so the test cannot be completed normally.
I then tested:
OriginalToken=y
Template=OpenCOMNow Windows Security appears and shows:
Security key setup
Set up your security key to sign in to webauthn.ioBut after clicking OK, credential creation still fails and webauthn.io shows:
The authenticator was unable to process the specified options,
or could not create a new credentialAdding:
OpenCredentials=ydoes not change this result.
So Template=OpenCOM allows the operation to progress considerably further, but credential creation still cannot complete.
Resource Access Monitor
I also tested Sandboxie's Resource Access Monitor with IPC/COM tracing.
There was no obvious denied CredentialUIBroker/WebAuthN IPC object that could simply be added to OpenIpcPath.
Some COM activity is visible, but nothing clearly identifies the Windows WebAuthN/Hello resource that needs access.
Comparison with Chrome
Chrome also runs inside Sandboxie on this machine.
Chrome can successfully start its cross-device WebAuthn flow and display the QR code for using a phone/tablet as the authenticator.
I have not confirmed that Chrome's local Windows Hello platform-authenticator path works inside Sandboxie, so this should not be interpreted as proof that native Windows Hello works from sandboxed Chrome.
Expected behavior
Sandboxed Firefox should be able to call the Windows WebAuthN platform authenticator / Windows Hello in the same way as unsandboxed Firefox, ideally without broadly disabling Sandboxie security isolation or opening all COM access.
Actual behavior
Normal Sandboxie isolation:
WebAuthNAuthenticatorMakeCredentialActiveCheck
0x8001011B Access is deniedWith OpenCOM and relaxed token handling:
- Windows Security UI appears
- "Security key setup" is displayed
- clicking OK fails to create the credential
Question
Is Windows WebAuthN / Windows Hello currently expected to work from Firefox inside Sandboxie?
If so, is there a specific process, COM class, RPC endpoint, IPC path, or template that needs to be opened?
I would prefer a narrow compatibility rule rather than keeping:
Template=OpenCOM
OriginalToken=ybecause those significantly weaken sandbox isolation.
I can provide additional Resource Access Monitor traces and Microsoft-Windows-WebAuthN/Operational logs if useful.
How often did you encounter it so far?
No response
Expected behavior
Sandboxed Firefox should be able to call the Windows WebAuthN platform authenticator / Windows Hello in the same way as unsandboxed Firefox, ideally without broadly disabling Sandboxie security isolation or opening all COM access.
Affected program
Firefox 156.0.1
Download link
Not available
Where is the program located?
The program is installed both inside and outside the sandbox.
Did the program or any related process close unexpectedly?
No, not at all.
Crash dump
No response
What version of Sandboxie are you running now?
5.73.4
Is it a new installation of Sandboxie?
I recently did a new clean installation.
Is it a regression from previous versions?
No response
In which sandbox type you have this problem?
In a standard isolation sandbox (yellow sandbox icon).
Can you reproduce this problem on a new empty sandbox?
I can confirm it also on a new empty sandbox.
What is your Windows edition and version?
Windows 10 22H2 64
In which Windows account you have this problem?
A local account (Administrator).
Please mention any installed security software
gdata
Did you previously enable some security policy settings outside Sandboxie?
No response
Trace log
No response
Sandboxie.ini configuration
Source: sandboxie-plus/Sandboxie