Skip to main content

This script analyzes MZ-PE (MS-DOS) executable.

Project description

Program Executable Analyzer

Description

This script analyzes MZ-PE (MS-DOS) executable file.

This tool is useful for malware analysis or debug/understand compiled dependencies.

  1. Analyze DLLs and imported functions name
  2. Analyze exported functions name
  3. Get executable filename at the compiled time
  4. Get encodings and languages used for compilation
  5. Get timestamps saved in executable
  6. Get architecture, system version, resources (Version file, Manifest)
  7. Get company name, product name, product version, copyright
  8. Sections names, sizes, addresses and characteristics
  9. When matplotlib and EntropyAnalysis are installed, generate charts for entropy analysis (with sections)

Requirements

  • python3
  • Python 3 Standard library

Optional

  • matplotlib
  • EntropyAnalysis

Matplotlib and EntropyAnalysis are not installed by ProgramExecutableAnalyzer because this package can be installed on server without GUI. You can install optinal required packages with the following command: python3 -m pip install matplotlib EntropyAnalysis

Installation

pip install ProgramExecutableAnalyzer

Usages

python3 ProgramExecutableAnalyzer.py -h
python3 ProgramExecutableAnalyzer.py executable.exe
python3 ProgramExecutableAnalyzer.py -c executable.exe  # No color
python3 ProgramExecutableAnalyzer.py -v executable.exe  # Verbose mode

Screenshots

PE Headers Analysis PE Headers Analysis PE Imports Analysis

Links

Licence

Licensed under the GPL, version 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ProgramExecutableAnalyzer-0.0.11.tar.gz (30.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page