Skip to main content

SuperPEHasher is a wrapper written in Python3 for several hash algorithms dedicated to PE file.

Project description

SuperPeHasher

SuperPEHasher is a wrapper written in Python3 for several hash algorithms dedicated to PE file. It includes the following:

  • MD5, SHA2
  • SSDEEP
  • PeHash
  • Import Hash
  • Import Fuzzy
  • Rich PE Hash
  • Machoc Hash

Getting Started

if you want more information about hashing algorithms you can visit the blog I wrote on Medium.

Installing

To run this tool you can git clone and install the requirements.

pip install -r requirements.txt
pip install superpehasher

Running the tests

Once you installed the requirements you can run the file pehasher.py with a file as input.

python pehasher.py sample.exe
md5:            60b7c0fead45f2066e5b805a91f4f0fc
sha1:           9018a7d6cdbe859a430e8794e73381f77c840be0
sha256:         80c10ee5f21f92f89cbc293a59d2fd4c01c7958aacad15642558db700943fa22
sha512:         68b9f9c00fc64df946684ce81a72a2624f0fc07e07c0c8b3db2fae8c9c0415bd1b4a03ad7ffa96985af0cc5e0410f6c5e29a30200efff21ab4b01369a3c59b58
ssdeep:         6144:Jv7Wc4dyC7dXNBzn68YoC+6VoQSkgrpZHqk61peBN1L+I8pfezYeWHMzyy14pL1k:JvSbJxPRC+XQSxb6Dc7RwIWHeGL7GOK
ImpHash:        f93b5d76132f6e6068946ec238813ce1
ImpFuzzy:       192:q9AW2Rpn8RrMqkNsQYDhs4kqp1qAw5tXLXVn/zgF79KPrzJ:qcp8lUNlc11qAw5tXLXV/zm79KP5
RicHash xored:  f0eaf48df96ec9b2f3ae6d616be68b3d
RicHash clear:  e169b9c125be3598b84b8651d3f5ff91
PeHash:         fa5ad3991616af0bb9d76132db7e9d6009c55baa
Machoc Hash:    5ed7c76d41a02300e08e7177411a02300ead543fa0d346c2ed4ac25a954ac25a951a02300e1a02300e000039423f2825315453253154531a02300e253154532531545325315453[Truncated] 

Built With

Project details


Download files

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

Source Distribution

superpehasher-0.5.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

superpehasher-0.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file superpehasher-0.5.tar.gz.

File metadata

  • Download URL: superpehasher-0.5.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for superpehasher-0.5.tar.gz
Algorithm Hash digest
SHA256 8c3e06425b055b8bb609710f9e89705a9c23afc8087403df1624e8e530bd1e1d
MD5 f9f04cd6ccd70c37c700dc01a9762df8
BLAKE2b-256 10a36f62ebe978067dbc5411d6f181e100ee597b2a92082526c9023601d496e0

See more details on using hashes here.

File details

Details for the file superpehasher-0.5-py3-none-any.whl.

File metadata

  • Download URL: superpehasher-0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for superpehasher-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d2aeb7b069e93917df6c098eb3f880ba1a3fb106d573d8720621c0cb22cae7
MD5 f245077ecfb4fc918ccd360ecf51e6b1
BLAKE2b-256 38ac01fa56bf369687f2f3052099fce8a0b01dff711c606213edceed3fc915e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page