Coder Social home page Coder Social logo

av_1's Introduction

AV_1

System Requirements

OS: Any (Tested in Ubuntu 20.04.2 LTS)
Software: Python 3
Storage: 550 mb

Set-Up

git clone https://github.com/Llanyro/AV_1
cd AV_1
git submodule init
git submodule update
sudo apt install python3
pip3 install -r requirements.txt or python3 -m pip3 install -r requirements.txt

Usage

$ python3 main.py -h
usage: main.py [-h] [-f FILE] [-d DIR] [-c] [-s SCANNERS] [-r] [-o OUTPUT] [-n]

Analizador de binarios maliciosos

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Fichero a escanear
  -d DIR, --dir DIR     Directorio a escanear
  -c, --capa            Muestra las capabilities del escaneo
  -s SCANNERS, --scanners SCANNERS
                        Scanners a usar(ai_1, virustotal, magic_ext, local, all)
  -r, --re_scan         Reinicia el scan ignorando el resultado anterior del mismo binario(Si ya existia)
  -o OUTPUT, --output OUTPUT
                        Genera un fichero output que contiene el resultado del analisis en (json o plain)
  -n, --no_save         Fuerza a no guardar los resultados en la base de datos local

Analize file or files in directory

python3 main.py -f '/path/file'
python3 main.py -d '/path'

Select scanners

Scanners used are:

  • Virustotal: Virustotal api
  • MagicSimpleAnalysis: Analysis of magic numbers and file extensions
  • AI_1: Static analysis with Logistic Regression model

Only local scanners

python3 main.py -f '/path/file' -s local

All scanners

python3 main.py -f '/path/file' -s all

Specific scanner

python3 main.py -f '/path/file' -s ai_1
python3 main.py -f '/path/file' -s virustotal
python3 main.py -f '/path/file' -s magic_ext

Export result as plain text or json

python3 main.py -f '/path/file' -o plain
python3 main.py -f '/path/file' -o json

Analize file and don't save result in database

python3 main.py -s local -f '/path/file' -n

Show capabilities of file or files in directory

Uses binary capa

python3 main.py -f '/path/file' -c
python3 main.py -d '/path' -c

Rescan

Ignore data in database about the file to scan and use scanners again as new file

python3 main.py -f '/path/file' -r

av_1's People

Contributors

llanyro avatar

Watchers

 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.