BloodHoundAD / BloodHound

Six Degrees of Domain Admin
GNU General Public License v3.0
9.62k stars 1.7k forks source link

bloodhound 4.2.0 Darwin arm64 release not working #639

Open chadministratorwastaken opened 1 year ago

chadministratorwastaken commented 1 year ago

Describe the bug App does not run. Error message: "BloodHound.app” is damaged and can’t be opened.

To Reproduce Steps to reproduce the behavior:

  1. Download and unzip latest release
  2. Click on BloodHound.app
  3. See error

Expected behavior Expect BloodHound application to launch to login screen

Screenshots image

Additional context Darwin HOSTNAME.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64

A similar issue (#504) was closed for v4.1.0.

Tw1sm commented 1 year ago

Same issue, app works fine once compiled manually with the commands in the v4.1.0 issue

NotMedic commented 1 year ago

Check whether the file is quarantined by GateKeeper. This can be done with

ls -l@ ./BloodHound.app

if you see the Extended Attribute of 'com.apple.quarantine', you can remove it with:

xattr -d com.apple.quarantine ./BloodHound.app

Try that and report back?

chadministratorwastaken commented 1 year ago

Great success! Thank you for the solution.

NotMedic commented 1 year ago

Hey @chadministratorwastaken, This is an OK workaround, but I wouldn't consider the issue fixed. I'm not sure why GateKeeper just says "is damaged" instead of popping the traditional "developer cannot be verified" message, so this should still be looked into. We should probably re-open so it can be tracked and fixed so BloodHound works as designed with minimal friction.

chadministratorwastaken commented 1 year ago

Agreed. I'm suddenly remembering that this was the solution for the same problem in 4.1.0 and that the reason I opened this was to track the recurring issue. Thanks for the reminder.

JonasBK commented 1 year ago

Is this still an issue with the 4.3 release?

chadministratorwastaken commented 1 year ago

@JonasBK Yes

pr0b3r7 commented 1 year ago

Great success! Thank you for the solution.

ditto - Great success!!! xattr -d com.apple.quarantine ./BloodHound.app for the win

njmulsqb commented 1 year ago
image

Not working on M2, workaround is to build locally using npm ci & npm run build