2026-03-19 15:27:07 +03:00
2025-10-26 10:59:50 +03:00
2026-02-03 07:33:37 +03:00
2025-10-27 14:48:56 +03:00
2025-10-23 18:16:02 +03:00
2026-02-03 07:32:44 +03:00
2025-10-27 14:41:38 +03:00
2026-02-03 07:34:34 +03:00
2026-02-03 07:35:00 +03:00
2025-10-27 14:45:54 +03:00
2026-03-19 15:27:07 +03:00

PE-XRay

A lightweight, heuristic-based PE file analyzer for Windows

screenshot-dark


What is this?

PE-XRay is a tool for static analysis of Windows executables (.exe, .dll).
Instead of relying on traditional signature databases, it uses heuristics to identify anomalies, suspicious patterns, and structures commonly found in malware, packers, and protectors.

Think of it as a “threat investigator” rather than an antivirus —
it shows you the evidence, and you make the call.


Features

  • x86/x64 Support: Works flawlessly with both 32-bit and 64-bit executables.
  • Heuristic Engine: Multi-layered scoring based on risk factors.
  • Entropy Analysis: Detects packed/encrypted code using overall and sliding-window entropy scanning.
  • Import-Table Analysis: Flags suspicious APIs (CreateRemoteThread, SetWindowsHookExW, etc.) and anomalous import tables.
  • Structural Anomaly Detection: Finds malformed PE headers, suspicious section flags (Write+Execute), and abnormal entry points.
  • String Intelligence: Scans for embedded strings (e.g. cmd.exe, powershell, URLs).

Tech Stack

Component Description
Language C (C11)
Platform Windows (WinAPI)
GUI IUP
Compiler G++ (MinGW-w64)

How to Use

  • Launch PE-XRay.exe

  • Click "Select file..." to select an .exe or .dll.

  • Click "Analyze".

Review the results:

Summary report: Final verdict, heuristic score, and detected anomalies.

Sections: Detailed view of PE sections with suspicious ones highlighted.

Imports: Tree view of all imported DLLs and functions (with risky ones marked).

Building from Source

Prerequisites

  • MSYS2 with mingw-w64-x86_64-toolchain
  • IUP and CD libraries

Build Steps

Build GUI version

make gui 

Build CLI version

make cli

Build all versions

make all
S
Description
Automated archival mirror of github.com/haunted-zeroday/PE-XRay-EDR
Readme 7.3 MiB
Languages
C 66.4%
C++ 33.5%