Skip to main content

PyPackerDetect Tweet

Detect packers on PE files using heuristics and signatures.

PyPi Python Versions Build Status DOI License

A complete refactoring of this project to a Python package with a console script to detect whether an executable is packed.

pefile is used for PE parsing. peid is used as implementation of PEiD.

$ pip install pypackerdetect
$ pypackerdetect --help
[...]
usage examples:
- pypackerdetect program.exe
- pypackerdetect program.exe -b
- pypackerdetect program.exe --low-imports --unknown-sections   # disable these two checks
- pypackerdetect program.exe --imports-threshold 5 --bad-sections-threshold 5
- pypackerdetect program.exe --peid-db-path user_db.txt --sections-json sections.json

Detection Mechanisms

  • PEID signatures
  • Known packer section names
  • Entrypoint in non-standard section
  • Threshold of non-standard sections reached
  • Low number of imports
  • Overlapping entrypoint sections

You may also like these:

Metadata

Release files for pypackerdetect 1.2.1

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

Source distribution (sdist)

Source distribution for pypackerdetect 1.2.1
File Size Uploaded Provenance Actions
pypackerdetect-1.2.1.tar.gz 361.2 kB With provenance Details for pypackerdetect-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pypackerdetect 1.2.1
File Interpreter ABI Platform Actions
pypackerdetect-1.2.1-py3-none-any.whl Python 3 none any Details for pypackerdetect-1.2.1-py3-none-any.whl

Total release size: 673.8 kB

Release files / pypackerdetect-1.2.1.tar.gz

Download URL pypackerdetect-1.2.1.tar.gz
Size 361.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a80e11801f06d99959dcd09e1f2aa5de9ff51ecd16b45d80c927893cbef39845
BLAKE2b-256 checksum
How to use checksums
b521ee16cfac29c77850b1a56ad2f68c7497d7bdbdd60d72b39d1ff28f76366a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / pypackerdetect-1.2.1-py3-none-any.whl

Download URL pypackerdetect-1.2.1-py3-none-any.whl
Size 312.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bebabbf596a07c11a13d2b6a0c8930bfc957e2b15f4f09739e264f67a6649c5
BLAKE2b-256 checksum
How to use checksums
fc659ca6a7f43750b7e59216a35ed924d214560b70355cc09ee952c451dac5ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for pypackerdetect 1.2.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pypackerdetect-1.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

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