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

A flaw in the snapshot feature #1782

Closed
JesseChain opened this issue Apr 9, 2022 · 2 comments
Closed

A flaw in the snapshot feature #1782

JesseChain opened this issue Apr 9, 2022 · 2 comments
Labels
fixed in next build Fixed in the next Sandboxie version Snapshot Issues with the snapshot feature of Plus UI User interface Related to Plus and/or Classic UIs

Comments

@JesseChain
Copy link

JesseChain commented Apr 9, 2022

What happened?

Initialize system environment variables When creating or switching snapshots

Download link

https://github.com/git-for-windows/git/releases/download/v2.35.1.windows.2/Git-2.35.1.2-64-bit.exe

To Reproduce

  1. Create a new sandbox
  2. Install git in this sandbox, at this point you can run git from the command line
  3. Create a snapshot after successful installation
  4. Can't run git via command line at this point

Expected behavior

I can always run git from the command line

What is your Windows edition and version?

windows11 21H2

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?

Sandboxie Plus v1.0.15

Is it a regression?

No response

List of affected browsers

No response

In which sandbox type you have this problem?

In a Standard isolation sandbox (yellow sandbox icon).

Where is the program located?

The program is installed only inside a sandbox (NOT in the real system anyway).

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

Sandboxie-Plus configuration file

[GlobalSettings]
FileRootPath=D:\Sandbox%SANDBOX%
SeparateUserFolders=y
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%%SANDBOX%
IpcRootPath=\Sandbox%USER%%SANDBOX%\Session
%SESSION%
NetworkEnableWFP=n
EnableObjectFiltering=y
EnableWin32kHooks=y
EditAdminOnly=n
ForceDisableAdminOnly=n
ForgetPassword=n
Template=7zipShellEx
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing

@isaak654
Copy link
Collaborator

Also confirmed with Plus 1.0.17, it's crazy how the snapshot feature can break system environment variables.

@isaak654 isaak654 added User interface Related to Plus and/or Classic UIs Must-fix Snapshot Issues with the snapshot feature of Plus UI labels Apr 11, 2022
@isaak654 isaak654 added High priority To be done as soon as possible and removed Must-fix labels Apr 11, 2022
@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed High priority To be done as soon as possible labels Apr 16, 2022
@DavidXanatos
Copy link
Member

the problem was with the taking of teh snapshot moving RegHive to the snapshot instead of only copying it.
You can fix the issue for now by copying reghive manualyl out of the snapshot back to the root, and the next build will no longer do that mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version Snapshot Issues with the snapshot feature of Plus UI User interface Related to Plus and/or Classic UIs
Projects
None yet
Development

No branches or pull requests

3 participants