Skip to content

malwareuniverse/malwarebazaar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Caution

Caution, this program downloads real malware samples. Always use this in a secure and isolated environment.

🐍 MalwareBazaar Lib

A minimal Python wrapper for the MalwareBazaar API πŸ§ͺ, designed to simplify interaction with the malware sample repository provided by abuse.ch.

✨ Features

  • πŸ” Search for malware samples by:
    • 🏷️ Tag
    • File Type
    • Hash (SHA256)
  • πŸ“₯ Download malware samples

πŸ“¦ Installation

The lib need 7z Command Line tool:

sudo apt install 7zip

Install the lib via pip:

pip install 

πŸ› οΈ Usage

Create a new bazaar Instance:

from mawarebazaar import Bazaar

bazaar = Bazaar(api_key='your-api-key')

Use functions like query_tag:

bazaar.query_tag('mirai', 100)

βœ… API Coverage

Feature Supported
Submission Policy ❌
Submit (upload) a malware sample ❌
Retrieve (download) a malware sample βœ…
Query a malware sample (hash) βœ… (Only SHA256)
Query tag βœ…
Query signature ❌
Query filetype βœ…
Query ClamAV signature ❌
Query imphash ❌
Query TLSH ❌
Query telfhash ❌
Query gimphash ❌
Query icon dhash ❌
Query YARA rule ❌
Query Code Signing Certificates (by Issuer CN) ❌
Query Code Signing Certificates (by Subject CN) ❌
Query Code Signing Certificates (by Serial Number) ❌
Update an entry ❌
Add a comment ❌
Query latest malware samples (recent additions) ❌
Query Code Signing Certificate Blocklist (CSCB) ❌

🀝 Contributing

Contributions are very welcome! πŸŽ‰ Whether it's fixing a bug 🐞, improving the docs πŸ“, or adding a new feature πŸš€ β€” feel free to submit a pull request.

About

🦠 A minimal Python wrapper for the MalwareBazaar API, designed to simplify interaction with the malware sample repository provided by abuse.ch.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages