kavat / anubi

IOC/Hash scanner and IDS layer 4 designed to be portable and fast
GNU General Public License v3.0
16 stars 0 forks source link

Anubi

IOC/Hash scanner and IDS layer 4 portable and fast

Anubu logo

Anubi is a tool designed and written in Python in order to be flexible and usable on different platforms.

Functions

Anubi combines 5 different engines to check your assets:

  1. IOC scanner
  2. Hash scanner
  3. IP check
  4. Filesystem modifications (Voyeur)
  5. API

These functionalities use a prepared set of rules available in my repository generated daily; even custom rules can be loaded.

IOC scanner

IOC scan is a passive monitoring on the filesystem root applying Yara rules generated in my official repo

Hash scanner

Hash scan is a passive monitoring on the filesystem root applying Hash rules generated in my official repo

IP checker

IP checker is an active monitoring of a particular ethernet interface applying IP rules generated in my official repo

Filesystem modifications (Voyeur)

Voyeur is an active monitoring on the filesystem directories specified applying Yara and Hash rules

API

Anubi helps users with its own API system used to interact. Command to connect with API system curl http://127.0.0.1:5555/api?func=help provides available references:

User is helped by a simply webui in order to interact with Anubi (as default console is reacheable at http://127.0.0.:5555)

Anubu WebUI

OS supported

Linux, MacOS and Windows

Dependencies

External dependencies are needed:

Relating to Pip modules, user can install dependecies through pip install -r pip_requirements.txt

Attention: running Anubu some errors can appear, as below yara.SyntaxError: ......./anubi/conf/anubi-signatures/yara/RANSOM_BadRabbit.yar(35): invalid field name "imphash" this happen because yara-python or yara needs to be installed after or with the compilation support of other libraries, such libssl-dev for this particular case

Run

Anubi is developed to be run on Linux and Mac, further release will provides same functions on Windows.

In order to print full options, run Anubi with --help; the following options will be returned:

Anubu help

In details, options available are the following:

Remember to run always as root user!

In order to start and control our assets, follow the flow below:

During first time start Anubi will ask for its internal set up, as:

Anubu init

In case of error during rules loading process, only the line with error will be discarded, not the entire file.

conf_anubi.py

File conf_anubi.py contains personal settings usable by user to customize Anubi, as below:

conf_anubi.py

Scan process

Periodical or on-demand scans are executed parallel and output can be visualized at screen or in specific file in path reports

Anubi scan

Whitelisting

Anubi allows to whitelist:

only adding them in conf_anubi.py in specific whitelist:

Notifications

Anubi is able to launch notifications in desktop environments, using py-notifier library. Notification is fired when:

Anubi notification