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

Explorer.exe does not work in sandbox if Avast Free Antivirus installed on Win11 Pro. #3777

Closed
takahiro-itou opened this issue Mar 31, 2024 · 7 comments
Labels
Avast Collection of Avast / AVG issues with SBIE explorer.exe Compatibility issues with explorer.exe fixed in next build Fixed in the next Sandboxie version Issue reproduced Issue reproduced without uncertainties Workaround Temporary or alternative solution

Comments

@takahiro-itou
Copy link
Contributor

takahiro-itou commented Mar 31, 2024

Describe what you noticed and did

  1. Open Sandboxie Plus 1.13.4
  2. Right click a box
  3. Select "Run" (実行) -> "Standard Applications" (標準的なアプリケーション)-> "Windows Explorer" (Windows エクスプローラ)
  4. Then the window is open, but
    • no items are displayed. or
    • explorer is freezed, I can't operate anything.
  5. Wait a bit, then window will be closed.

How often did you encounter it so far?

Always.

Expected behavior

The explorer shows folder and files. and does not crash.

Affected program

Explorer.exe

Download link

Not available

Where is the program located?

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

Did the program or any related process close unexpectedly?

Yes, it did, but no .dmp file has been created in the system.

Crash dump

No response

What version of Sandboxie are you running now?

Sandboxie Plus v1.13.4 64-bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression from previous versions?

No response

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.

What is your Windows edition and version?

Windows 11 Pro 22H2 or 23H2 64bit

In which Windows account you have this problem?

A local account (Standard user).

Please mention any installed security software

Avast Free Antivirus

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

No response

@takahiro-itou takahiro-itou added the Confirmation pending Further confirmation is requested label Mar 31, 2024
@takahiro-itou
Copy link
Contributor Author

Uninstall Sandboxie (delete all boxes and Sandboxie.ini) and Re-Install (Clean Install) sandboxie v1.13.4 again.
But the problem is not resolved.

Sandboxie-2024-03-31-152603.mp4

Sandboxie.ini configuration is:

#
# Sandboxie configuration file
#

[GlobalSettings]
Template=7zipShellEx
Template=Avast_Antivirus
Template=Edge_Fix
Template=OfficeClickToRun
Template=OfficeLicensing
Template=WindowsLive
Template=WindowsRasMan

[UserSettings_084801A4]
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

@takahiro-itou
Copy link
Contributor Author

After uninstall Avast Free Untivirus. Then explorer in sandbox does work correctly. See below movie.
Expected (correct) behaivor:

Sandboxie-2024-03-31-160220.mp4

Remark:
Comparing the two videos, I noticed that the "WerFault.exe" and "SandboxieCrypto.exe" process exists as child of explorer.

@offhub offhub added Workaround Temporary or alternative solution Issue reproduced Issue reproduced without uncertainties labels Mar 31, 2024
@offhub
Copy link
Collaborator

offhub commented Mar 31, 2024

Try this setting:

ClosedFilePath=explorer.exe,*\ashShell.dll

Windows 10 22H2 (19045.4046)

@offhub offhub added the explorer.exe Compatibility issues with explorer.exe label Mar 31, 2024
@SSJPKXL
Copy link

SSJPKXL commented Mar 31, 2024

The right way to run explorer.exe in Sandboxie is to use "C:\Windows\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" , but how do you force to run Explorer.exe by default with that command? If you set Explorer.exe for ForceProcess, then it becomes unusable as soon as your PC boots into Windows.

@DFP86
Copy link

DFP86 commented Apr 15, 2024

I have the same problem....

@DFP86
Copy link

DFP86 commented Apr 15, 2024

Try this setting:

ClosedFilePath=explorer.exe,*\ashShell.dll

Windows 10 22H2 (19045.4046)

is work!!! thanks a lot!!!!

@isaak654 isaak654 added Avast Collection of Avast / AVG issues with SBIE and removed Confirmation pending Further confirmation is requested labels Apr 15, 2024
offhub added a commit to offhub/Sandboxie that referenced this issue Apr 15, 2024
@isaak654 isaak654 added the fixed in next build Fixed in the next Sandboxie version label Apr 16, 2024
@takahiro-itou
Copy link
Contributor Author

Thanks @offhub !
I confirmed that explorer does work well by your proposed settings.
And, thanks to your commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Avast Collection of Avast / AVG issues with SBIE explorer.exe Compatibility issues with explorer.exe fixed in next build Fixed in the next Sandboxie version Issue reproduced Issue reproduced without uncertainties Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

6 participants