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
Metadata
Release files for superpehasher 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superpehasher-0.6.tar.gz | 5.7 kB | Without provenance | Details for superpehasher-0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superpehasher-0.6-py3-none-any.whl | Python 3 | none | any | Details for superpehasher-0.6-py3-none-any.whl |
Total release size: 11.4 kB
Release files / superpehasher-0.6.tar.gz
| Download URL | superpehasher-0.6.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8175526ce391eb33b54102e52aaa8b3b20b10c9a3030d6ec8c3b52293be9a83
|
|
BLAKE2b-256 checksum How to use checksums |
c81a7b258497ecf8d58a987dede0cd5e60262071fc1234ce366d5fcf52a37fc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / superpehasher-0.6-py3-none-any.whl
| Download URL | superpehasher-0.6-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6af31baaa6202ad3e6b467a48d01597e81bb49cff5f4be98882a6c495f771f60
|
|
BLAKE2b-256 checksum How to use checksums |
bd6dd5cd00be95bb814150dd858a4ede3a0caa5bcc903f7f3902252eb4f1afa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for superpehasher 0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.