Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All browsers do not work in sandboxie #3503

Closed
NRicode opened this issue Dec 18, 2023 · 15 comments
Closed

All browsers do not work in sandboxie #3503

NRicode opened this issue Dec 18, 2023 · 15 comments
Labels
SbieDll Collection of SbieDll.dll issues Support request Support request issues

Comments

@NRicode
Copy link

NRicode commented Dec 18, 2023

Describe what you noticed and did

With fresh installation of sandboxie (latest version 1.12.4 released today), not a single browser can work in it, the errors are all the same:
image

For this example, I am testing out librewolf browser, but edge, firefox, and literally any other browser doesn't work. This only affect browser applications, normal apps are functioning just fine.

How often did you encounter it so far?

all the time

Affected program

all browsers

Download link

Where is the program located?

The program is installed both inside and outside the sandbox.

Expected behavior

What is your Windows edition and version?

windows 11 home

In which Windows account you have this problem?

A local account (Administrator).

Please mention any installed security software

ms defender

What version of Sandboxie are you running?

latest version 1.12.4 as of today

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

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.

Did you previously enable some security policy settings outside Sandboxie?

Crash dump

Trace log

Sandboxie.ini configuration

#
# Sandboxie configuration file
#

[GlobalSettings]
DefaultBox=DefaultBox
FileRootPath=D:\sandboxie\Sandboxie-Plus\Sandbox\%SANDBOX%
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX%
IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION%
Template=7zipShellEx
Template=Edge_Fix
Template=OfficeClickToRun
Template=OfficeLicensing
Template=WindowsLive
Template=WindowsRasMan

[UserSettings_087C01BD]
SbieCtrl_AutoStartAgent=SandMan.exe -autorun
BoxGrouping=:DefaultBox

[DefaultBox]
Enabled=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=10
BreakoutProcess=msedge.exe
DropAdminRights=y
FakeAdminRights=n

The main cause is the inability to inject sandboxie's dll into any browser process, but it injects just fine on any other app. Not sure what caused this. Ms edge compatibility is enabled. The last version before this also doesn't work. This includes all the other chromium based app like steam, discord, etc. Same exact errors for these apps

@NRicode NRicode added the Confirmation pending Further confirmation is requested label Dec 18, 2023
@offhub
Copy link
Collaborator

offhub commented Dec 18, 2023

What was the last version that worked properly? (version 1.11.4 or 1.12.2)

@DavidXanatos
Copy link
Member

DavidXanatos commented Dec 18, 2023

SbieDll_1.12.5.zip
please try this sbiedll.dll stop sandboxie using the maintenance menu command stop all replace the dll's in the instalation folder and restart sandboxie

if this does not help please let me know which ist the last version thet works fine for you

@NRicode
Copy link
Author

NRicode commented Dec 18, 2023

SbieDll_1.12.5.zip please try this sbiedll.dll stop sandboxie using the maintenance menu command stop all replace the dll's in the instalation folder and restart sandboxie

if this does not help please let me know which ist the last version thet works fine for you

This replacement dll didn't work. I'm new to sandboxie, it has never worked. Can this issue be replicated on your machine?

@DavidXanatos
Copy link
Member

This replacement dll didn't work. I'm new to sandboxie, it has never worked. Can this issue be replicated on your machine?

no here it works fine there was a minor bug where chrome browsers did not terminate last process that the dll addresses

@NRicode
Copy link
Author

NRicode commented Dec 18, 2023

This replacement dll didn't work. I'm new to sandboxie, it has never worked. Can this issue be replicated on your machine?

no here it works fine there was a minor bug where chrome browsers did not terminate last process that the dll addresses

Do you have any idea what might cause the dll hooks to fail? I think it is something specific with my system. I've also tried to whitelist sandboxie folder in windows defender, didn't work. I also have a feeling this is specific to windows 11

@isaak654 isaak654 added the SbieDll Collection of SbieDll.dll issues label Dec 18, 2023
@isaak654
Copy link
Collaborator

Do you have any idea what might cause the dll hooks to fail?

#3050 (comment)

@NRicode
Copy link
Author

NRicode commented Dec 18, 2023

Do you have any idea what might cause the dll hooks to fail?

#3050 (comment)

Alright, seems like this one. Trying it out now.

@NRicode
Copy link
Author

NRicode commented Dec 18, 2023

Alright it works now, however I noticed this new error for this specific version 1.12.4 today, it doesn't cause any problem currently
image

@isaak654
Copy link
Collaborator

That's another issue: #2996
Apparently @DavidXanatos is waiting for someone to provide clear steps, since he was unable to reproduce it.

@bastik-1001
Copy link
Contributor

bastik-1001 commented Dec 18, 2023

Sandboxie-Plus 1.12.4 64bit failed to start start.exe with the message that the Lowlevel.dll could not be loaded into the process, for a confidential box type, while the rest worked fine. I reverted to 1.12.3 and the problem is gone.

Edit:

  1. Open Sandman
  2. Right-click a confidential box
  3. Select Run > Run Program
  4. start.exe is going to be started but gets killed and the error is displayed

This fails in 1.12.4, but works in 1.12.3

Update: I tried with 1.12.4 and the dlls provided in this issue and it still failed (SBIE2181), which is why I back again at 1.12.3

@offhub
Copy link
Collaborator

offhub commented Dec 18, 2023

@bastik-1001
Did the troubleshooting not work for you?

Sandboxie-Plus > Help > Troubleshooting Wizard > Fix issues with sandboxing > Issues with a web browser > Next > Another > Next > SBIE2181: Failed to load SbieDll.dll > Next

@bastik-1001
Copy link
Contributor

bastik-1001 commented Dec 18, 2023

@offhub

I had not tried that. Now I tried 1.12.4 with the new dlls and if the troubleshooting script resolves this. The result is the same.

Just to be sure, it still works with 1.12.3, which I went back to, again.

Edit: It's not related to browsers, for me. It all worked fine with the latest version. Just as I tried to start a process in a confidential box, I now encounter the message and I am unable to use that box type. This might not be the same issue, in which case, I might have hijacked the issue.

@offhub
Copy link
Collaborator

offhub commented Dec 18, 2023

@bastik-1001 Could you try the files in this #3503 (comment).

@bastik-1001
Copy link
Contributor

@offhub,

I had tried them. First 1.12.4 vanilla, then 1.12.4 with new dlls. Then 1.12.4 vanilla and the new dlls with the troubleshooting script, which did not resolve it. Maybe I was not clear enough, that I tried with the replaced dlls.

@offhub
Copy link
Collaborator

offhub commented Dec 18, 2023

@bastik-1001

Maybe I was not clear enough, that I tried with the replaced dlls.

Sorry, I forgot.

It would be appropriate to open a separate issue for this.

@isaak654 isaak654 added Support request Support request issues and removed Confirmation pending Further confirmation is requested labels Dec 19, 2023
@sandboxie-plus sandboxie-plus locked and limited conversation to collaborators Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
SbieDll Collection of SbieDll.dll issues Support request Support request issues
Projects
None yet
Development

No branches or pull requests

5 participants