Skip to content

yarinschiller/hamato-yoshi

Repository files navigation

Hamato-Yoshi

Hamato-Yoshi is a malware detection system for linux.
It runs as a daemon process and monitors /proc for suspicious activity.

Hamato Yoshi

Installation

Clone the repository from Bitbucket:

$ git clone https://mrs-magenta:7990/scm/turtles/hamato-yoshi.git

Create a local virtual environment:

$ virtualenv -p /usr/bin/python3 venv

Activate the virtual environment with:

$ source venv/bin/activate
(venv)$

Install requirements.txt using pip:

(venv)$ pip install -r requirements.txt

Usage

(venv)$ python main.py

Structure

  • Hamato-Yoshi continuously takes snapshots of files in /proc/* and analyzes their changes.
  • When it detects a snapshot has changed, Hamato-Yoshi follows a set of rules defined in rules.csv and proc_rules.
  • Each rule defines actions to perform if the detected changes meet certain conditions.
  • In order to analyze these changes, Hamato-Yoshi is equipped with tailor-made parsers for each of the (currently partial list of) files in /proc/*.
  • These parsers yield a comparable structured data (usually a dict) from the contents of the file they parse.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages