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

[1.0.22] BreakoutProcess option does not work when executed directly from an unsandboxed explorer or cmd #1883

Open
SiNONiMiTY opened this issue May 24, 2022 · 2 comments
Labels
Confirmation Pending Further confirmation is requested Feature: Program Control Issues with control structures ReOpened Reopened for another look Type: Enhancement Requested enhancement of existing feature

Comments

@SiNONiMiTY
Copy link

SiNONiMiTY commented May 24, 2022

What happened?

BreakoutProcess option only works when a program already running in a sandbox spawns the indicated program.

But it doesn't work when executed from explorer.

I will be using 3 boxes althroughout the scenarios, indicating the important config sections from each box:
.
.
.

DefaultBox (Hardened)

ForceFolder=D:\Downloads
BreakoutProcess=firefox.exe

MozillaFirefox (Hardened)

Template=Firefox_Force
OpenFilePath=firefox.exe,%APPDATA%\Mozilla\Firefox
OpenFilePath=firefox.exe,%LOCALAPPDATA%\Mozilla\Firefox
OpenFilePath=firefox.exe,D:\Downloads

EpicGames (Standard)

BreakoutProcess=firefox.exe

.
.
.

Scenario 1
Epic Games is already running under "EpicGames" sandbox and I clicked a link from the Epic Games Launcher that will open the default browser, in my case it is Firefox. Since firefox.exe is set as a BreakoutProcess, it should open on the MozillaFirefox sandbox.
This is working properly.
.
.
.
Scenario 2
In my Downloads folder, I have a PDF document, associated to open with Firefox. When I double-click on it, I am expecting for it to open on the MozillaFirefox sandbox, but, it opens on the DefaultBox. This is not working properly.

Open the PDF file in Explorer
image

This will open a firefox.exe process on the DefaultBox
image

And, a lot of child processes on MozillaFirefox
image

This will also cause a major system slowdown until you terminate all the processes in DefaultBox and MozillaFirefox
.
.
.
Scenario 3
Same goal as Scenario 2, but I won't be executing from Explorer, this time, I executed the PDF document on cmd by opening a cmd window on the downloads folder. The document will be opened on firefox that is running under the MozillaFirefox sandbox. Notice the yellow border, this indicates that this cmd window is already running inside the default box before it spawned firefox.exe This is working properly.
image
.
.
.
Scenario 4
Same goal as Scenario 3, but this time, the cmd window is unsandboxed. This fails like with the Scenario 2.
image

Download link

N/A

To Reproduce

No response

Expected behavior

N/A

What is your Windows edition and version?

Windows 10 Pro Education 21H2 x64 (19044.1706)

In which Windows account you have this problem?

A local or Microsoft account without special changes.

Please mention any installed security software

Windows Defender

What version of Sandboxie are you running?

1.0.22

Is it a regression?

No response

List of affected browsers

No response

In which sandbox type you have this problem?

Not relevant to my request.

Where is the program located?

Not relevant to my request.

Can you reproduce this problem on an empty sandbox?

Not relevant to my request.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

Related issue
#1268

@SiNONiMiTY SiNONiMiTY added the Confirmation Pending Further confirmation is requested label May 24, 2022
@SiNONiMiTY SiNONiMiTY changed the title [1.0.22] BreakoutProcess option does not work when executed directly from explorer [1.0.22] BreakoutProcess option does not work when executed directly from an unsandboxed explorer or cmd May 24, 2022
@DavidXanatos DavidXanatos added Status: Work in Progress Still in progress Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Confirmation Pending Further confirmation is requested Status: Work in Progress Still in progress labels May 25, 2022
@soleera
Copy link

soleera commented Aug 19, 2023

Can confirm this issue still exists, specifically when opening files directly in explorer using default programs, or when using context menu entries (e.g. "Open with Code"), however selecting "Open with..." and choosing the program manually works as expected.

@isaak654 isaak654 reopened this Aug 19, 2023
@isaak654 isaak654 added Fixed ??? Not sure if it was fixed or not ReOpened Reopened for another look and removed Status: Fixed in Next Build Fixed in the next Sandboxie version labels Aug 19, 2023
Copy link
Contributor

As it has been 3 months since the last activity, we are automatically closing this issue in 14 days. If it is still present, please respond to help us investigate on newer Sandboxie versions. Thank you for your contribution!

@github-actions github-actions bot added the stale Issues marked as stale label Nov 18, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2023
@isaak654 isaak654 reopened this Dec 3, 2023
@isaak654 isaak654 added Confirmation Pending Further confirmation is requested and removed Fixed ??? Not sure if it was fixed or not stale Issues marked as stale labels Dec 3, 2023
@offhub offhub added Feature: Program Control Issues with control structures Type: Enhancement Requested enhancement of existing feature labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmation Pending Further confirmation is requested Feature: Program Control Issues with control structures ReOpened Reopened for another look Type: Enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

5 participants