Skip to main content

ProgramExecutableAnalyzer Logo

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. Verify signature and print informations about signature and trust
  2. Analyze DLLs and imported functions name
  3. Analyze exported functions name
  4. Get executable filename at the compiled time
  5. Get encodings and languages used for compilation
  6. Print informations about rich headers
  7. Get timestamps saved in executable
  8. Print informations about sections and characteristics (permissions, ect...)
  9. Print the entry point position and section
  10. Get architecture, system version, resources (Version file, Manifest)
  11. Get company name, product name, product version, copyright
  12. Sections names, sizes, addresses and characteristics
  13. Analyze MS-DOS and NT headers
  14. When matplotlib is installed, generate charts to compare sections on the disk and in the memory
  15. When matplotlib and EntropyAnalysis are installed, generate charts for entropy analysis (with sections)
  16. Extract overlay

TODO: analyze results to detect language and score the risk.

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 PE Signature Informations PE Entropy Analysis PE Compare Section Size Charts

Links

Licence

Licensed under the GPL, version 3.

Metadata

Release files for ProgramExecutableAnalyzer 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ProgramExecutableAnalyzer 1.1.2
File Size Uploaded Provenance Actions
programexecutableanalyzer-1.1.2.tar.gz 38.7 kB Without provenance Details for programexecutableanalyzer-1.1.2.tar.gz

Release files / programexecutableanalyzer-1.1.2.tar.gz

Download URL programexecutableanalyzer-1.1.2.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1fcbc50c5a971291e686879cf50ab4baad79d76c8da80b08597afb43aa3f72b3
BLAKE2b-256 checksum
How to use checksums
d1d9db0f4e701f732bb3aada290d13eff548fabbe8c477ab80f77255bb03f803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.8

Security for ProgramExecutableAnalyzer 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page