Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matteyeux/binjahub

Binary Ninja plugin + HTTP api to store BNDBs on a remote server
https://github.com/matteyeux/binjahub

Last synced: 4 days ago
JSON representation

Binary Ninja plugin + HTTP api to store BNDBs on a remote server

Awesome Lists containing this project

README

        

# binjahub

Manage Binary Ninja databases (Poor man's Binary Ninja Enterprise).

This repository is split in two parts:
- binjahub : the server.
- plugin : the plugin, acting as a client.

### Server

Start the binjahub server with poetry : `cd binjahub && poetry install`

Then start the server:

```
» poetry run binjahub/main.py
INFO: Started server process [5939]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:5555 (Press CTRL+C to quit)
```

#### Using LDAP Authentication

To use LDAP authentication, create a bind user that can see the target base DN of your users. Then, connect using the following syntax, replacing the bind user credentals and base DN with your own:

```bash
» poetry run binjahub/main.py -s 'ldap://my-ldap-server:389' -b 'ou=users,dc=my-domain,dc=com' -u '[email protected]' -P 'binjahub-passw0rd'
INFO: Started server process [5939]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:5555 (Press CTRL+C to quit)
```

Optionally, you can leave out the `-P` argument and enter the password into stdin.

### Plugin

Copy the plugin to `~/.binaryninja/plugins` (support for Windows : ETA SON).

Configure the settings for the plugin :

![sc1](https://github.com/matteyeux/binjahub/assets/8758978/ad8391a4-dbf5-4aac-9f6b-cefa91a158bf)

You can now open a new binary, then from the command palette you can "Push to Binjahub".

In a new Binary Ninja window, you should have a new button "Open from Binjahub":

![sc2](https://github.com/matteyeux/binjahub/assets/8758978/c2d7edc5-dab0-4396-86e4-612fb8028639)

Double-click on the target BNDB and it will be opened in a new BinaryView.