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