Skip to content
 
 

Repository files navigation

PyPackerDetect Tweet

Detect packers on PE files using heuristics and signatures.

PyPi Python Versions Read The Docs Build Status Security 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

⭐ Related Projects

You may also like these:

Back to top