Re-implementation and packaging of PyPackerDetect
Project description
PyPackerDetect
Detect packers on PE files using heuristics and signatures.
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:
- Awesome Executable Packing: A curated list of awesome resources related to executable packing.
- Bintropy: Analysis tool for estimating the likelihood that a binary contains compressed or encrypted bytes (inspired from this paper).
- Dataset of packed ELF files: Dataset of ELF samples packed with many different packers.
- Dataset of packed PE files: Dataset of PE samples packed with many different packers (fork of this repository).
- Docker Packing Box: Docker image gathering packers and tools for making datasets of packed executables.
- DSFF: Library implementing the DataSet File Format (DSFF).
- PEiD: Python implementation of the well-known Packed Executable iDentifier (PEiD).
- REMINDer: Packing detector using a simple heuristic (inspired from this paper).
Project details
Release history Release notifications | RSS feed
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.1.2.tar.gz
(340.2 kB
view details)
Built Distribution
File details
Details for the file pypackerdetect-1.1.2.tar.gz
.
File metadata
- Download URL: pypackerdetect-1.1.2.tar.gz
- Upload date:
- Size: 340.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62847f7b8a40f464736920c74e60286a10c9a87d5b33920eaadc6fd0b5f4d07f |
|
MD5 | 024a5b3350b64dcb9fa2181ae9f69dbb |
|
BLAKE2b-256 | 09fbc5cbd2370c39a357fe22e18d56abe07d00e430c536ef58b0de6de7523069 |
File details
Details for the file pypackerdetect-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: pypackerdetect-1.1.2-py3-none-any.whl
- Upload date:
- Size: 310.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f71d7e967c3dc7ad07eabb352f8530860ed6e7f105a58374b36fe8c80b809d |
|
MD5 | 5a49ea49f1af2bbaf4b4f37864780ed9 |
|
BLAKE2b-256 | 11b1211ba9b4db732f7e1edef14311545f1fceb51260b7aae70dfbeaa7aa0859 |