Skip to content

Commit

Permalink
add explanation to documentation about bypassing gatekeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
psifertex committed Jul 17, 2020
1 parent bd2303d commit 2a7d4e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added doc/img/approve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ We use PyInstaller to create these packages.

The capa [README](../README.md#download) also links to nightly builds of standalone binaries from the latest development branch.

### MacOS Standalone installation

By default, on MacOS Catalina or greater, Gatekeeper will block execution of the standalone binary. To resolve this, simply try to execute it once on the command-line and then go to `System Preferences` / `Security & Privacy` / `General` and approve the application:

![approve dialog](img/approve.png)

## Method 2: Using capa as a Python library
To install capa as a Python library, you'll need to install a few dependencies, and then use `pip` to fetch the capa module.
Note: this technique doesn't pull the default rule set, so you should check it out separately from [capa-rules](https://github.com/fireeye/capa-rules/) and pass the directory to the entrypoint using `-r`.
Expand Down

2 comments on commit 2a7d4e7

@darkmonk94
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does method two only works for python version 2?

@psifertex
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, this commit didn't include that information. You should file a separate issue with that question. :-)

Please sign in to comment.