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

"Could not hook" and "DLL initialization failed" #166

Closed
jedimasterspaz opened this issue Oct 24, 2020 · 6 comments
Closed

"Could not hook" and "DLL initialization failed" #166

jedimasterspaz opened this issue Oct 24, 2020 · 6 comments
Labels
fixed in next build Fixed in the next Sandboxie version

Comments

@jedimasterspaz
Copy link

I got the following errors while opening Google Calendar in Sanboxie while running Procmon.
I've included Procmon output filtered by removing successful events and anything but Chrome, Sandboxie, Explorer and the basic Windows system files.

Logfile.xlsx

Here's the errors:
SBIE2303 Could not hook CoGetObject (33, 1655)
SBIE2303 Could not hook RegisterDragDrop (33, 1655)
SBIE2318 DLL initialization failed for 'ole32.dll'
SBIE2303 Could not hook CM_Add_Driver_PackageW (33, 1655)
SBIE2318 DLL initialization failed for 'cfgmgr32.dll'
SBIE2303 Could not hook SetCurrentProcessExplicitAppUserModelID (33, 1655)

@DavidXanatos
Copy link
Member

Are you running some other security software that may interfear with sandboxie?

@jedimasterspaz
Copy link
Author

Just Windows Defender.

@DavidXanatos
Copy link
Member

Ah that may be chrome related its know that chrome sometimes causes a few error messages, if aside of the messages everything works than i would say just hide them

@jedimasterspaz
Copy link
Author

There's no other running anti-malware. I disabled Defender and excluded the Sandboxie directory.
I hid the errors.

@isaak654
Copy link
Collaborator

isaak654 commented Oct 25, 2020

@DavidXanatos Perhaps it would be better to remove those errors by default without user intervention in a future update... if you're interested, these are the required steps to reproduce them:

  1. Open a sandboxed version of Google Chrome (83+) with Sandboxie 5.43.6
  2. Disable any adblock extension/tool or custom hosts file
  3. Open this link in one tab: https://download.cnet.com/Malwarebytes/3000-8022_4-10804572.html
  4. Accept the cookie bar and press the "watch now" button in order to reproduce the video
  5. You'll see a new popup with the errors to hide

sb_chrome_hooks

@DavidXanatos DavidXanatos added the fixed in next build Fixed in the next Sandboxie version label Jan 2, 2021
@DavidXanatos
Copy link
Member

@isaak654 The issue was caused by a mitigation policy chrome has set which has interfered with the hooking mechanism, this issue will be fixed in the nextbuild

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
Projects
None yet
Development

No branches or pull requests

3 participants