CYB3RMX / MalwareHashDB

Malware hashes for open source projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MalwareHashDB

Malware hashes for open source projects.

Banner

Screen

Total Hashes

This database contains 359892 malware hashes(MD5) for now.

Database Usage Guides

MalwareHashDB structure is very simple. It has only 1 table and 2 columns.

hash name
f4c3fa43b5bdfaa0205990d25ce51c5a Trojan.Win32.Emotet.471040.A

Examples

#!/bin/bash

target_hash=$1

result=$(sqlite3 HashDB "SELECT * FROM HashDB WHERE hash='$target_hash'")
if [ -z "$result" ];then
   echo "Hash not found!"
else
   echo $result
fi
import sqlite3

db_file = "./HashDB"
hashes = sqlite3.connect(db_file)
db_cursor = hashes.cursor()

def check_exist(target_hash):
    exist = db_cursor.execute("SELECT hash FROM HashDB where hash='{target_hash}'").fetchall()
    if exist != []:
        print("Hash found!!")

check_exist("f4c3fa43b5bdfaa0205990d25ce51c5a")

About

Malware hashes for open source projects.

License:GNU General Public License v3.0