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

Cannot run GOG Galaxy inside Sandboxie #1246

Closed
thejavascriptman opened this issue Oct 3, 2021 · 6 comments
Closed

Cannot run GOG Galaxy inside Sandboxie #1246

thejavascriptman opened this issue Oct 3, 2021 · 6 comments
Labels
incompatibility Broken compatibility with Sandboxie Known issue Old known Sandboxie issues launcher issue Issues with application launchers Partially fixed Issues with partial fixes ToDo To be done Workaround Temporary or alternative solution

Comments

@thejavascriptman
Copy link

thejavascriptman commented Oct 3, 2021

Describe the bug
Installing GOG Galaxy inside of Sandboxie causes various errors related to GalaxyClientService.exe / GalaxyCommunication.exe which seem to request administrator permissions while the UI GalaxyClient.exe does not (this is just a guess)

To Reproduce
Steps to reproduce the behavior:

  1. Download GOG Galaxy from https://www.gog.com/galaxy
  2. Create a new sandbox with default template
  3. Run the installer inside of the new sandbox
  4. You will get an error like "Essential components are missing...", however installer will finish anyway
  5. After closing the installer, GOG galaxy will not launch without being unusable and slow (even if the "Run after closing the installer" checkbox is checked)
  6. If GOG Galaxy is started manually you will get various errors related to GalaxyClientService.exe / GalaxyCommunication.exe and the UI will be unusable due to slowness

Expected behavior
GOG Galaxy should start quick and GalaxyClientService.exe / GalaxyCommunication.exe shouldn't crash

Screenshots
Communication_Service_GOG
image
image

System details and installed software (please provide the following information):

  • Windows 7 x64 / Windows 10 21H1 / Windows 10 22H2
  • Sandboxie Plus 0.9.6 up to Sandboxie-Plus-x64-v1.11.2
  • Please mention in which version this bug got introduced: Not sure, haven't used Sandboxie before
  • Please mention any security software running in the background: None, Windows defender disabled

Additional context
Tested a lot of settings combinations including

DropAdminRights=y
FakeAdminRights=y
UnrestrictedSCM=y
OpenDevCMApi=y
OpenSamEndpoint=y
OpenLsaEndpoint=y
BlockNetworkFiles=n
OpenWinClass=#
MsiInstallerExemptions=y

If I use PipeTrace=AD and IpcTrace=AD I get
https://gist.github.com/thejavascriptman/ebbbb1e0360d3b0c1ca89fe43ee6feb5

Sandboxie configuration

Minimal configuration
Enabled=y
AutoRecover=n
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=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
ConfigLevel=9
@isaak654
Copy link
Collaborator

isaak654 commented Oct 4, 2021

This is a known issue since 2016, when Invincea developed Sandboxie:
https://sandboxie-website-archive.github.io/www.sandboxie.com/old-forums/viewtopic59fa59fa.html?f=5&t=23233

I think that the issue (or part of it) is the GalaxyCommunication.exe process that keeps terminating itself and recreated continuosly in a sort of loop... if you try to block it with a ClosedFilePath, the program will still crash.

I tried these settings too, but they won't help: #1227

A few GOG threads about it:

@isaak654 isaak654 added the Known issue Old known Sandboxie issues label Oct 5, 2021
@thejavascriptman
Copy link
Author

Thank you for the explanation, should we keep this issue open or would you prefer to have it closed?

@isaak654
Copy link
Collaborator

isaak654 commented Oct 6, 2021

Thank you for the explanation, should we keep this issue open or would you prefer to have it closed?

I think this issue should stay open, unless there is a technical reason provided by the current maintainer.

@Vincent14
Copy link

Doest it worked previously for Gog Galaxy?

@isaak654
Copy link
Collaborator

isaak654 commented Oct 18, 2021

This is a known issue since 2016, when Invincea developed Sandboxie:
https://sandboxie-website-archive.github.io/www.sandboxie.com/old-forums/viewtopic59fa59fa.html?f=5&t=23233

I think it never worked if installed in a sandbox. The only workaround is installing it outside of the sandbox and set it as forced program to load on Sandboxie.

@isaak654 isaak654 added the launcher issue Issues with application launchers label Apr 16, 2022
@isaak654 isaak654 added Workaround Temporary or alternative solution incompatibility Broken compatibility with Sandboxie labels Jun 12, 2022
@isaak654 isaak654 changed the title Can not run GOG Galaxy inside Sandboxie [1.10.3] Cannot run GOG Galaxy inside Sandboxie Aug 8, 2023
@isaak654 isaak654 changed the title [1.10.3] Cannot run GOG Galaxy inside Sandboxie Cannot run GOG Galaxy inside Sandboxie Sep 21, 2023
@DavidXanatos
Copy link
Member

the underlying issue with service handling will be fixed in the next build to run gog a green compartment type box is required with the following options

UnrestrictedSCM=y
RunServicesAsSystem=y
NoSecurityIsolation=y
Template=RpcPortBindingsExt

I'll look if its possible to add workarounds to make this obsolete but that will take time as there are at least two more issues when trying to run in a yellow box

@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version ToDo To be done labels Oct 23, 2023
@isaak654 isaak654 added Partially fixed Issues with partial fixes and removed fixed in next build Fixed in the next Sandboxie version labels Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incompatibility Broken compatibility with Sandboxie Known issue Old known Sandboxie issues launcher issue Issues with application launchers Partially fixed Issues with partial fixes ToDo To be done Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

4 participants