Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyb3rmx/malwarehashdb
Malware hashes for open source projects.
https://github.com/cyb3rmx/malwarehashdb
antivirus archive database hash ioc malware malware-analysis malware-research md5 threat-intelligence virusshare virustotal
Last synced: about 1 month ago
JSON representation
Malware hashes for open source projects.
- Host: GitHub
- URL: https://github.com/cyb3rmx/malwarehashdb
- Owner: CYB3RMX
- License: gpl-3.0
- Created: 2020-10-14T16:22:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T15:05:23.000Z (3 months ago)
- Last Synced: 2024-09-14T06:03:50.547Z (3 months ago)
- Topics: antivirus, archive, database, hash, ioc, malware, malware-analysis, malware-research, md5, threat-intelligence, virusshare, virustotal
- Homepage:
- Size: 25.8 MB
- Stars: 75
- Watchers: 7
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MalwareHashDB
Malware hashes for open source projects.# Banner
![Screen](Screenshot.png)# Total Hashes
This database contains 366374 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
```bash
#!/bin/bashtarget_hash=$1
result=$(sqlite3 HashDB "SELECT * FROM HashDB WHERE hash='$target_hash'")
if [ -z "$result" ];then
echo "Hash not found!"
else
echo $result
fi
``````python
import sqlite3db_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")
```