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
- pypackerdetect program.exe --imports-threshold 5 --bad-sections-threshold 5

Detection Mechanisms

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

Related Projects

You may also like these:

Download files

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

Source Distribution

pypackerdetect-1.2.0.tar.gz (341.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypackerdetect-1.2.0-py3-none-any.whl (312.1 kB view details)

Uploaded Python 3

File details

Details for the file pypackerdetect-1.2.0.tar.gz.

File metadata

  • Download URL: pypackerdetect-1.2.0.tar.gz
  • Upload date:
  • Size: 341.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pypackerdetect-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a1047a0c7a924d3be2a2dbd1143ec93cae2e6201206bf4c602939708e7be7756
MD5 20ae65cb882388154627b6a27086a8f9
BLAKE2b-256 6505c2717340518430da822aae0d4e706df093f454a8db85b465096b074fc31b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypackerdetect-1.2.0.tar.gz:

Publisher: python-package.yml on packing-box/pypackerdetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypackerdetect-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pypackerdetect-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 312.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pypackerdetect-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 744649b3dc20beb0b03f9dfa76c2b00f54e564cfc686b88f99a7dba2a532f893
MD5 eef89504b295158e9724a2d41d275bfe
BLAKE2b-256 00aa79ebcdc92024f841b761c64d3042ebaa2e750eb8a6e3a1c25dbfcdab15af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypackerdetect-1.2.0-py3-none-any.whl:

Publisher: python-package.yml on packing-box/pypackerdetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page