Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
All notable changes to OffsetScan are documented in this file.
The project follows semantic versioning.

## [0.1.3] - 2026-07-20

### Fixed

- **imphash now resolves ordinal imports from `ws2_32`/`wsock32`/`oleaut32` to their real
function names, matching pefile and VirusTotal.** Previously these rendered as `ord<N>`,
so any binary importing those libraries by ordinal — a common malware networking
pattern — produced an imphash that did not match the value on VirusTotal, defeating the
imphash's purpose of correlating a sample against threat intel. Verified against pefile
across a 150-file corpus (44 exercising the special-ordinal path): 0 mismatches, and 15
binaries that previously diverged now agree. Other ordinal imports still render `ord<N>`,
exactly as pefile does.

### Added

- `src/ordinals.rs`: pefile's `ws2_32`/`wsock32`/`oleaut32` ordinal->name tables (696
entries), generated verbatim from pefile 2024.8.26, with unit tests. Kept in lockstep
with OffsetInspect's `Core.PE.Ordinals.ps1`.

## [0.1.2] - 2026-07-20

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "offsetscan"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = ["DreadHost Research"]
description = "Standalone native corpus-scale engine for PE parsing, entropy, string extraction, and IOC panels — schema-compatible with OffsetInspect.Result/ThreatScanResult JSON output."
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod entropy;
mod ioc;
mod ordinals;
mod pe;
mod schema;
mod strings;
Expand Down
Loading