GithubHelp home page GithubHelp logo

gavz / ektotal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nao-sec/ektotal

0.0 0.0 0.0 1.23 MB

[BHUSA 2018 Arsenal] Integrated tool to analyze Drive-by Download attack

Home Page: https://www.blackhat.com/us-18/arsenal/schedule/index.html#ektotal-11949

License: MIT License

PHP 74.26% JavaScript 4.98% Vue 19.45% Dockerfile 1.32%

ektotal's Introduction

EKTotal

EKTotal is an integrated analysis tool that can automatically analyze the traffic of Drive-by Download attacks. The proposed software package can identify four types of Exploit Kits such as RIG and Magnitude, and more than ten types of attack campaigns such as Seamless and Fobos. EKTotal can also extract exploit codes and malware. The proposed heuristic analysis engine is based on Exploit Kit tracking research conducted since 2017, and is known as team "nao_sec". EKTotal provides a user-friendly web interface and powerful automated analysis functions. Thus, EKTotal can assist SOC operators and CSIRT members and researchers.

Features

  • Identification of malicious traffic
    • Extract over 10 types of attack campaigns out of enormous traffic data
  • Automatic analysis of Exploit Kit
    • Automatically analyzes 4 types of exploit kits, de-obfuscates the exploit codes, and decrypts the malware
  • User-friendly Web-UI
    • You can know the result at a glance
  • Lazy Gate Estimation
    • Estimate where the redirect was from EK. This feature makes it very easy to reproduce traffic

Requirements

  • PHP 7
  • Web Server (e.g. nginx + php-fpm)
  • hidd3ncod3s/pcap2saz
  • Environment that can run .NET binaries (e.g. .NET Framework, Mono)

Installation

Docker

  1. Git clone this repository
  2. Git clone hidd3ncod3s/pcap2saz and build it
  3. Put FiddlerCore.dll, Ionic.Zip.dll and pcap2saz.exe under ektotal/bin
  4. If you want to submit malwares to VirusTotal, set the API key to post_vt.php
  5. Run docker-compose up -d

Build

  1. Git clone this repository
  2. Git clone hidd3ncod3s/pcap2saz and build it
  3. Put FiddlerCore.dll, Ionic.Zip.dll and pcap2saz.exe under ektotal/bin
  4. If you want to submit malwares to VirusTotal, set the API key to post_vt.php
  5. Configure & run Web Server
    document_root is /frontend/dist and document_root of the URL containing /api is /
    For example, when using nginx + php-fpm
server {
  listen 80;
  server_name _;
  client_max_body_size 30M;

  location / {
      root   /path/to/directory/frontend/dist;
      index  index.html;
      try_files $uri $uri/ /index.html;
  }

  location /api {
      root   /path/to/directory;
      index  index.html index.htm index.php;
      try_files $uri /index.php?$query_string;
  }

  location ~ \.php$ {
      root           /path/to/directory;
      fastcgi_pass   127.0.0.1:9000;
      fastcgi_index  index.php;
      fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
      include        fastcgi_params;
  }
}

Usage

Just submit pcap or saz file

Sample Traffic Data




License

EKTotal is open-sourced software licensed under the MIT License

Change Log

  • 2018/05/04 - 1.0.0 - First Release
  • 2018/09/30 - 1.1.0 - Bugfix (gzdecode)
  • 2018/10/09 - 1.2.0 - Add Fallout analyzer
  • 2019/07/01 - 2.0.0 - Add Lazy Gate Estimation

TODO

  • Add function to resolve domain name
  • Add function to create traffic chain

Thanks

ektotal's People

Contributors

koike avatar nomuken avatar yuzuhara 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.