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
programexecutableanalyzer-1.1.2.tar.gz 38.7 kB Details

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

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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