Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
swf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •