Skip to content

This repository contains Python scripts and tools for analyzing malware and performing various analysis tasks on binary files. The scripts utilize popular libraries like pefile for parsing PE files, hashlib for calculating file hashes, and OTXv2 for retrieving threat intelligence data from AlienVault OTX.

Notifications You must be signed in to change notification settings

tunalituna/Python-Malware-Analysis-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Python Malware Analysis Tools

This repository contains Python scripts and tools for analyzing malware and performing various analysis tasks on binary files. The scripts utilize popular libraries like pefile for parsing PE files, hashlib for calculating file hashes, and OTXv2 for retrieving threat intelligence data from AlienVault OTX.

Features

  • Hexadecimal Editor: View the hexadecimal representation of a binary file.
  • File Hashes: Calculate MD5, SHA-256, and SHA-1 hashes of the file.
  • Import Analysis: Analyze imported DLLs and their functions in PE files.
  • AlienVault OTX Integration: Retrieve threat intelligence data using MD5 hash from AlienVault OTX.
  • String Extraction: Extract printable strings from the binary file.

Prerequisites

  • Python 3.x
  • pefile: Install using pip install pefile
  • OTXv2: Install using pip install OTXv2

Usage

  1. Clone the repository: git clone https://github.com/your-username/PythonMalwareAnalysis.git
  2. Replace OTX_API_KEY with your valid AlienVault OTX API key in the Python scripts.
  3. Run the Python scripts using python script_name.py and provide the path to the binary file you want to analyze.

Disclaimer: The tools provided in this repository are for educational and research purposes only. Use them responsibly and only on files you trust or have the permission to analyze. The authors are not responsible for any misuse of these tools.

Contributing

Contributions to this repository are welcome! If you have improvements or new features to add, feel free to submit a pull request. Please ensure your code is well-documented and follows the established coding style.

About

This repository contains Python scripts and tools for analyzing malware and performing various analysis tasks on binary files. The scripts utilize popular libraries like pefile for parsing PE files, hashlib for calculating file hashes, and OTXv2 for retrieving threat intelligence data from AlienVault OTX.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages