Post

DTSP - Decentralized Threat Sharing Platform 🌐

DTSP is an open source project available on GitHub, developed by Me (Carlo Colizzi)

DTSP stands for Decentralized Threat Sharing Platform. It aims to create an independent space for sharing global threats and avoiding national censorship through blockchain technology. DTSP merges the VirusTotal Malware Analysis Engine with Ethereum Blockchain technology. Users can access this platform through a browser and Web3. A web page allows users to upload files, analyze them for threats, and record the analysis results on the blockchain.

Why is a DTSP necessary?

A Decentralized Threat Sharing Platform lets to obtain several goals that are impossible to reach with the actual centralized technologies:

  • Neutrality and Independence
  • Transparency
  • International Collaboration
  • Resilience Against Censorship
  • Improving Global Security

Main Page DTSP

Main_page

Malware Analysis Example

Analysis_example

DTSP Architecture

DTSP_architecture

Installation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# DTSP and dependences
git clone https://github.com/Carlo-Colizzi/DTSP
cd NetGun
pip install -r requirements.txt

# Node.js
sudo apt update
sudo apt install nodejs

# npm
sudo apt install npm

# Truffle 
npm install -g truffle

# Ganahce
# Install it from the official site
# https://archive.trufflesuite.com/ganache/

Configure

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Start Ganache
./Ganache.AppImage

# Load the Solidity Smart Contract on the Ganache Blockchain
cd ./DTSP/SmartContract
truffle migrate

# Setup DTSP Webserver
#[1] Open with an editor ./DTSP/WebServer/virustotalScan.py
#[2] Add your Virustotal API KEY in the API_KEY variable
#[3] Open with an editor ./DTSP/WebServer/templates/template.html
#[4] Add the URL of Ganache Instance (row 110)
#[5] Add the contract address given to the Smart Contract after the loading (row 111)
#[6] Start the WebServer
Python3 ./DTSP/WebServer/DTSP.py

# Setup your browser
#[1] Add MetaMask Extension to your browser
#[2] Login
#[3] Add an account present in Ganache 

# Now you can use DTSP!!
# Connect to the Web Server and start to use it
This post is licensed under CC BY 4.0 by the author.