sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.52k stars 1.51k forks source link

Opening LibreWolf from the taskbar prevents non-sandboxed links from opening in it #2778

Open Dyras opened 1 year ago

Dyras commented 1 year ago

Describe what you noticed and did

  1. Install LibreWolf outside of Sandboxie and force it to run inside of Sandboxie
  2. Click the LibreWolf shortcut in the taskbar: image
  3. Open Skype and try to click a link. Notice how a new LibreWolf.exe is started inside Sandboxie, and then it's immediately terminated:

https://user-images.githubusercontent.com/12563436/229273578-69420885-d71d-4179-8ed8-4c01fec478e0.mp4

  1. Close LibreWolf
  2. Click the link in Skype or any other program
  3. Notice how it now starts as it should, every time.

How often did you encounter it so far?

Whenever I open LibreWolf in the taskbar

Affected program

LibreWolf 109

Download link

https://librewolf.net/installation/windows/

Where is the program located?

The program is installed only outside the sandbox.

Expected behavior

It should always open the link, and it should work every time

What is your Windows edition and version?

Windows 10 Education

In which Windows account you have this problem?

User account with UAC protection set to Always notify.

Please mention any installed security software

Windows Defender

What version of Sandboxie are you running?

Sandboxie-Plus v.1.8.1

Is it a new installation of Sandboxie?

I just updated Sandboxie from a previous version (to be specified).

Is it a regression?

Gonna check on this later

In which sandbox type you have this problem?

In a hardened sandbox with data protection (red 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?

Probably, but I doubt it's relevant

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

#
# Sandboxie configuration file
#

[GlobalSettings]
FileRootPath=\??\%SystemDrive%\Sandbox\%USER%\%SANDBOX%
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX%
IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION%
Template=OfficeClickToRun
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing
Template=7zipShellEx
SandboxieLogon=y
UseSbieDeskHack=y
ForceDisableSeconds=60
DefaultBox=DefaultBox
NetworkEnableWFP=y
AlertFolder=D:\

[UserSettings_08DA01C0]
SbieCtrl_AutoStartAgent=SandMan.exe
SbieCtrl_EnableAutoStart=y
SbieCtrl_HideMessage=1308, dllhost.exe [LibreWolf]

[LibreWolf]
Enabled=y,User
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#0423ee,off,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
Template=LibreWolf_Force
ConfigLevel=10
AutoRecover=y
UseSecurityMode=y
BoxNameTitle=-
CopyLimitKb=81920
WriteFilePath=C:\Users\User\AppData\Roaming\librewolf
UsePrivacyMode=y
DropAdminRights=y
FakeAdminRights=n
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
LeaderProcess=librewolf.exe
ProcessGroup=<StartRunAccess>,librewolf.exe
OpenFilePath=librewolf.exe,C:\Users\User\Downloads
AllowNetworkAccess=<BlockNetAccess>,n
NormalFilePath=C:\Program Files\WindowsApps\Microsoft.SkypeApp_15.96.3207.0_x64__kzf8qxf38zg5c\Skype

(The last line was added by me after this started happening in an attempt to fix it)
offhub commented 1 year ago

It may be because it starts working under the default desktop (Winsta0\default) when launched from the taskbar. Do you have the same problem when running LibreWolf.exe directly? (with Force template selected)

Also you can try creating a shortcut for LibreWolf via Sandboxie and pinning that shortcut to the taskbar. Right click on the sandbox > Box Content > Create Shortcut > Find and select LibreWolf.exe

There seem to be other similar issues as well.

524 #2532

Dyras commented 1 year ago

@offhub When I run LibreWolf from CMD, it works When I run it through a shortcut, it works.

So yeah, it seems to be an issue with the taskbar specifically.

wilders-soccerfan commented 1 year ago

@Dyras In your [LibreWolf] box, if you change "Enabled=y,User" to "Enabled=y", does it affect anything?

Dyras commented 1 year ago

@wilders-soccerfan No change at all unfortunately.