Skip to content

Releases

pe-doctor 1.0.7 — standalone Windows binary, no Python needed

Choose a tag to compare

@gem3match-dev gem3match-dev released this 29 Nov 13:32

pe-doctor 1.0.7 — standalone Windows binary

No Python required. Download pe-doctor.exe, run it.

pe-doctor.exe diagnose suspect.dll
pe-doctor.exe diagnose suspect.dll --json
pe-doctor.exe compare broken.dll good.dll

Why a single binary

Most people who hit a DLL load failure are not Python developers. Telling them to pip install anything means they stop reading. A 9.5 MB executable that runs on a clean Windows install is the difference between a tool that gets used and a tool that gets admired.

Built with PyInstaller 6.22.3, --onefile, capstone bundled. Verified on a shell with PATH reduced to System32 — no Python on the machine.

Verified on this build

advapi32.dll (clean)           exit 0    0.69 s cold start
A1_xor_text.dll (XOR 0x5A)     exit 1    code-not-disassemblable
calc.exe (small EXE)           exit 0    no false positive
B2_no_dll_bit.dll              exit 1    not-dll-but-exports

What it tells you that entropy does not

XOR is a bijection. Entropy before and after is identical — measured on a real 471 KB .text section:

original   entropy 6.235   disassembly coverage 99.95%
XOR 0x5A   entropy 6.235   disassembly coverage  0.2%

A tool that only measures entropy reports a XOR-encrypted section as clean. This one measures capstone disassembly coverage instead, and when capstone is unavailable it says clean-partial rather than lying.

Also available

pip install pe-doctor

MIT licensed. Source: https://github.com/gem3match-dev/pe-doctor