sandboxie-plus / Sandboxie

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

Bulk Image Downloader extension don't see installed program in Sandboxie #706

Open tutak-kat opened 3 years ago

tutak-kat commented 3 years ago

I'am using ungoogled chromium and run it sandboxed on win7x64 pc. I installed bulkimage downloader in sandboxieplus (latest version) and run normally some browser extension like ublock, cookie auto delete, decentraleyes etc, but when I installed bulkimage downloader extension - it can be started by button on toolbar or with right click on any given page I got pop up saying that (it is a long one), but on the bottom it stated the following:

Access to the specified native messaging host is forbiden

and basically when I click Ok it send me to web site to download application (which is already installed and working). Obviously extension can't see installed application in sandboxie.

I installed application and extension on normal operating system and everything works fine. How can I make it to work (extension)? Thanks

isaak654 commented 3 years ago

You may try with WriteFilePath: https://sandboxie-plus.github.io/sandboxie-docs/Content/WriteFilePath.html

In your case, you need to replace the value with your browser extension folder path or any application path you want to be created and recognized in the sandbox.

tutak-kat commented 3 years ago

Thanks for suggestion but it is not working.

DavidXanatos commented 3 years ago

The issue is the Inter Process Communication being shielded, eider you install the bulkimage downloader app into the same sandbox, or you need to research its means of IPC and open the appropriate resources.

isaak654 commented 3 years ago

I can reproduce the issue after installing both https://bulkimagedownloader.com (free trial) and https://chrome.google.com/webstore/detail/bulk-image-downloader/facoldpeadablbngjnohbmgaehknhcaj into the same standard sandbox (not outside).

Problem: The Chrome extension doesn't detect the main application installed into the same sandbox.

Steps: 1) Install both application and the extension for Chrome inside a sandbox (URLs are reported above) 2) Open Chrome with the installed extension 3) Go into this page: https://www.vectorstock.com/royalty-free-vector/a-beautiful-colorful-butterfly-vector-22457838 4) Click on the installed extension icon -> Bulk Image downloader -> Open with BID

image1

5) You will receive a message saying you didn't install the latest version (not true):

image2

Log: https://gist.github.com/isaak654/ab666eef89103c0ef8a5cf45b9240ed2

In order to receive the last message, I had to apply previously all these resources without success:

OpenIpcPath=*\BaseNamedObjects*\BulkImageDownloaderMutex
OpenIpcPath=*\BaseNamedObjects*\__OMADM_NAMED_MUTEX__
OpenIpcPath=*\BaseNamedObjects*\BIDChromeExtMutex_*
OpenIpcPath=*\SBIE_DummyJob_chrome.exe_*
OpenIpcPath=*\BaseNamedObjects*\eed3bd3a-a1ad-4e99-987b-d7cb3fcfa7f0*
OpenWinClass=ConsoleWindowClass
OpenWinClass=ApplicationManager_DesktopShellWindow
OpenWinClass=$:explorer.exe
OpenWinClass=Chrome_MessageWindow
OpenWinClass=TfrmBIDQueueManager
OpenPipePath=*\Device\NamedPipe\mojo.*
OpenPipePath=*\Device\NamedPipe\chrome.nativeMessaging.in*
OpenPipePath=*\Device\NamedPipe\chrome.nativeMessaging.out*
OpenFilePath=*bidparams*
OpenFilePath=*\bidchromemsghost.exe
OpenClsid={228826AF-02E1-4226-A9E0-99A855E455A6}
OpenClsid={6CA50344-051A-4DED-9779-A43305165E35}
OpenClsid={E2B3C97F-6AE1-41AC-817A-F6F92166D7DD}
tutak-kat commented 3 years ago

@isaak654 so, we are out of luck for now. You obviously tried all the tricks... thanks

isaak654 commented 1 year ago

@DavidXanatos Although this issue seems fixed with Sandboxie Plus 1.9.6 x64, I have experienced a severe slowdown with MS Edge related to the sandboxed BID.exe processes. You can refer to the following installation steps for further confirmation: https://github.com/sandboxie-plus/Sandboxie/issues/706#issuecomment-805957305