Giter Site home page Giter Site logo

tenjint-flask's Introduction

Tenjint Flask API

Top Language Github Issues Github License

Flask Web API for Tenjint Project

Tenjint is a Python 3 based platform for virtual machine introspection (VMI) on x86 and ARM. It allows developers to write third-party plugins.

To know more about Tenjint visit https://github.com/bedrocksystems/tenjint

The Tenjint Flask API project provides a web API where the user can submit Malware samples to analyze inside VM in tenjint space and query for output of the tenjint run. The web API allows to scale up Malware Analysis Infrastructure. Set up the Tenjint Flask Project on a server and several user can submit the sample files and retrieve the output.

Features

  • Easy to setup Flask Project with customizable configurations.
  • User Authentication for submission of sample and output reports.
  • Multiple VMs simultaneously allows faster response time.
  • Handles waiting queue of API requests if new VM cannot be launched.
  • Users can query for the status of their submission at any point of time.
  • JSON based output of tenjint run can be retrieved whenever required post tenjint run.
  • Easy to add new guest Image category.

Documentation

Documentation Status

For openAPI based Specification and Design Architecture visit docs

Getting Started

Clone this repository.

git clone https://github.com/amanjiofficial/tenjint-flask.git

Create a virtualenv and activate.

python3 -m venv env
source env/bin/activate

Install requirement packages.

pip install -r requirements.txt

Start the Flask application on your terminal window.

python app.py

Application is started at http://localhost:5000/

Instructions For Creating Virtual Machines.

Create a new Virtual Machine and from that create a disk snapshot.

https://fabianlee.org/2018/09/24/kvm-implementing-linked-clones-with-a-backing-file/

Boot using the disk snapshot and take a memory snapshot.

virsh snapshot-create-as --domain $DOMAIN $SNAPSHOT_NAME --memspec snapshot=internal

Add the path to disk snapshot and name of memory snapshot in configuration file

Roadmap

Upcoming Features

  • Adding API Trace Plugin.
  • Support for Multiple servers in the backend.
  • Frontend UI for submission of samples and retrieval of output report.

Maintainers

Aman Ahuja - [email protected]

This project started as a part of Google Summer Of Code 2020 under the mentors Jonas Pfoh and Sebastian Vogl. To know more visit Project Description

tenjint-flask's People

Contributors

amanjiofficial avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.