Skip to main content

eous

ci

eous is a fuzzy hashing tool for executables. It is an alternative to ssdeep and tlsh. You run it against a PE or ELF binary on x86 or x86-64, and it produces a 512-bit hash of the program's code.

eous works on instruction mnemonics. It disassembles every executable section and maps each mnemonic to one of 84 roots, groups of mnemonics with one meaning, so add, adc and xadd share a root. It forms the 6-grams (shingles) of the root sequence, stopping each at a control-flow instruction, then reduces the n-gram set to a 512-bit MinHash sketch. Recompilation moves bytes and rewrites addresses. The mnemonic sequence survives both, so two builds of one source still produce similar digests.

$ eous hash rg-14.0.0.exe
EO1:pe32:40045:780e1dde12b1bc2283e0bb3e4f33fb2cfe5e4a69e95ef4ef03a523b3ee...

Install

pip install eous

Python 3.12 or later. LIEF parses PE and ELF, iced-x86 disassembles in a native Rust module, numpy does the scoring arithmetic.

Usage

Hash a file, or a directory walked recursively:

$ eous hash samples/
samples/rg-12.1.0.exe  EO1:pe32:33280:c80f19ef1e7bbb6d26d3fa0e9efcff44be8a4a5e95de759...
samples/rg-12.1.1.exe  EO1:pe32:32625:d80fdbdf787bbead02e3fabedfbc6f4416c64a5ad5de75d...

Compare two inputs, each a file or a digest. Containment runs both ways and is withheld beyond a 4x size difference:

$ eous compare rg-14.0.0.exe rg-14.0.1.exe
similarity:  95.8% +/- 1.4
containment: rg-14.0.0.exe in rg-14.0.1.exe   97.8%
             rg-14.0.1.exe in rg-14.0.0.exe   97.9%

Match one input against a collection, best first:

$ eous hash samples/ > known.txt
$ eous match suspect.exe known.txt --min 80

Cross scores every pair in a collection, for triage with no query file:

$ eous cross known.txt --min 40

--json on any command. --top N and --min PERCENT bound the output of match; --min bounds cross.

Supported

Architectures x86, x86-64
Formats PE, ELF
Targets pe32, pe64, elf32, elf64

Two digests compare only when their target matches; match and cross skip mismatched entries and report the count. eous reads native code. When it declines a file, it names the reason: a .NET assembly holding only bytecode (managed), a file whose code sections are packed (packed), a container that is neither PE nor ELF (unsupported_format), an architecture it does not support (unsupported_arch), a file with no executable section (no_code).

Results

eous was tested on 31 open-source programs, 426 binaries: 246 PE and 180 ELF, against ssdeep, tlsh, file size and import-based baselines. A pair is related when both binaries build from the same program. The metrics are AUC, the area under the ROC curve, and P@1, precision at rank one. File size alone reaches AUC 0.914, so every figure is reported beside it.

PE, 246 binaries:

tool AUC P@1
imports 0.946 0.943
eous 0.947 0.927
tlsh 0.943 0.931
size 0.908 0.724
imphash 0.632 0.724
ssdeep 0.560 0.313

ELF, 180 binaries:

tool AUC P@1
telfhash 0.942 0.797
tlsh 0.935 0.992
size 0.917 0.828
imports 0.913 0.992
eous 0.897 0.922
ssdeep 0.503 0.141

On ELF, telfhash reads 96% of the binaries and imports 71%, the rest being statically linked. P@1 is measured on the 128-file set all backends cover.

The case eous is built for is cross-compiler similarity, one source built by a different compiler or against another C library. On the 31 such PE pairs eous reaches AUC 0.976, against imports 0.863, size 0.852 and tlsh 0.848.

Limits

  • eous reads native code, so it refuses anything it cannot disassemble. On 2250 malware samples from MalwareBazaar it produced 1673 digests and refused 577: 296 as .NET bytecode, 279 as packed and 2 for other reasons. A pipeline using eous alone needs a second tool for those two cases.
  • If eous accepted packed files, the packer would leave only its unpacking stub as readable code, so unrelated programs packed the same way would share one digest.
  • ELF is the weaker target. eous reaches AUC 0.897 against telfhash 0.942, and on distant versions 0.597 against telfhash 0.923.
  • Go binaries carry the Go runtime, so two unrelated Go programs reach a median similarity of 35%, measured on 10 programs. On Go, tlsh separates programs better: AUC 0.998 against 0.978 for eous.
  • Tested on 31 open-source programs. A few constants were tuned on a separate dataset so the thresholds do not fit the test set.

Output format

EO1:pe32:40045:780e1dde...
 |   |     |     the 512-bit sketch, 128 hex characters
 |   |     distinct 6-grams found
 |   target: format and word size
 the digest format version

A digest always begins EO1:, so it is greppable in a log.

Licence

MIT.

Metadata

Release files for eous 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eous 0.2.0
File Size Uploaded Provenance Actions
eous-0.2.0.tar.gz 33.1 kB With provenance Details for eous-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for eous 0.2.0
File Actions
eous-0.2.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for eous-0.2.0-cp312-abi3-win_amd64.whl
eous-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for eous-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
eous-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for eous-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
eous-0.2.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for eous-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
eous-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for eous-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 1.8 MB

Release files / eous-0.2.0.tar.gz

Download URL eous-0.2.0.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f8e7aab7a3ed68a1f699d2a72154ad9cba4178dba6d0e132f123993f8631ac08
BLAKE2b-256 checksum
How to use checksums
444b8c0013c952c9613f23ca343cd57f0fbb24e308f89950ec9cda0dd675c645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / eous-0.2.0-cp312-abi3-win_amd64.whl

Download URL eous-0.2.0-cp312-abi3-win_amd64.whl
Size 256.7 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8dc01e4b600e53a7e5a88f4d80e465e9e160501761b3cb2b9d1a3aaad62695d8
BLAKE2b-256 checksum
How to use checksums
23a8177a3a1cc2f8864b94c1f77848e42b47bf7a455bdc3dada1dc5d64581d54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / eous-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL eous-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 384.3 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9c47c92f60dd1656ef0c5d0bb422a6b76b2a620c5f4f5ff3431855dfd8c47600
BLAKE2b-256 checksum
How to use checksums
15a6111c075c6ac8e88a5b8ef434f60bb20a0bddd118d1f4248ba4931de4a2de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / eous-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL eous-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 391.1 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
472f6ffdba061824da15cb6251630726e9adc2d49fc80ce4764dce8e68cd6ce9
BLAKE2b-256 checksum
How to use checksums
d50f2e45383f305a75a02ba44a03b918247500feb156a9600b4a4b6664c89c56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / eous-0.2.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL eous-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
Size 353.8 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5b4b1e2cdd10c1117d32dc512357a4658c45de6bbb3e4a256cc55487513e2bf
BLAKE2b-256 checksum
How to use checksums
7760a4b1dece11a6792eb0ab0e9e4468d456552fdffe268b8390b0d7f456c4c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / eous-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL eous-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 363.3 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f76d607ba0bde90e7ebaf00a18ed68e7d50734a7551c6d830150a667817ad58b
BLAKE2b-256 checksum
How to use checksums
0a2f2d7cc5018876a0900f63b4d35fcefebd827050ddf511f32211ebdab7dd9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for eous 0.2.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for eous-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page