Skip to content

v1.6.2

Choose a tag to compare

@angusdevgo angusdevgo released this 08 Nov 05:24
· 1 commit to main since this release

IDM Pro Tool v1.6.2

Release date: 2026-11-08
Previous release: v1.6.1
Full changelog: README § 0.6


English

What happened

IDM silently updated itself from 6.43 build 16.3 to 6.43 build 18.3 (build 17 was skipped entirely). After the update, two symptoms returned at once:

  • the registration dialog (resource ID 138) on startup;
  • the trial-countdown popup, with idmvers reset to v6.43b18 Trial.

This is the same CWE-602 pattern from earlier releases: the official updater silently replaces IDMan.exe, and every local entitlement decision reverts because the decision is enforced client-side.

Root cause — a reflow in the opposite direction

Build 18 re-compiled .text again, but this time code compacted backward:

Section build 16 build 18 Delta
.text raw 0x2D0600 0x2D6600 +24,576
.rdata raw 0xEB800 0xEBE00 +1,536
.data raw 0xA800 0xA800 ±0
.rsrc raw 0x22D800 0x22D800 ±0
.reloc raw 0x39E00 0x3A000 +512
File size 6,490,480 6,517,104 +26,624

All section VAs shifted by +0x6000; in-section code displaced by -0x320 … -0x9A0 (build 16 displaced forward by +0x1D0 … +0x5E0), while .data moved forward by +0x6600. Direction reversal is normally the harder case for signature matching, because drift accumulates opposite to the last calibration.

The fix — no signature changes at all

The v1.6.1 signature table matched build 18 exactly, 16 / 16 sites at Hamming distance 0. Not a single signature byte had to be regenerated.

This is the first release in the project's history absorbed with a zero-byte table change, and it is the direct pay-off of the 48-byte-per-site cap chosen during v1.6.1. The rejected "minimum-sufficient" table (142 bytes total) would almost certainly have produced false positives; the 48-byte cap keeps a 22.9 B average while carrying enough context to bridge a 2.4 KB inter-version shift.

Work actually performed:

  1. Exact-match pre-check before any Hamming search — 16/16 hit, so the regeneration pipeline was never entered.
  2. Full semantic re-verification with capstone — 15 code sites still land on instruction boundaries with unchanged mnemonics (test eax,eax, and eax,0xf, push -1, push ebp, je, jne); Site #12 remains the only operand patch (mov eax,1 at 0x995F0, patched byte at +1 → mov eax,0); the .data constant block is byte-identical.
  3. Forensics for new anti-tamper — the UTF-16 resource-string diff between build 16 and build 18 yields only 10 new strings, none license-, trial-, or update-related (6, 43, 18, 3, a sound-path template, a SOCKS dialog fragment, gnlaapi.dll, TLS13_OFF, English). No new defensive mechanism was introduced; the failure was pure reflow.

Verification

Item Result
Signature table changed No — 0 bytes
Sites matched (exact) 16 / 16, Hamming 0
Patched file size 6,506,496 bytes (= pe.ImageEnd)
Patched SHA-256 DED287E0043EF3BFA41D456BAD9E498E2B5775A3486F80C27FF5FDCAF03CE954
Patched PE checksum 0x006371AE
Differential byte audit 33 changed bytes, 0 outside whitelist + 10,608 B Authenticode truncation
Regression tests 133 / 133 PASS (was 118)
Legacy releases unchanged builds 10 / 11.2 / 11.3 / 12.3 / 15.3 / 16.3 — patched hashes byte-identical to v1.6.1

Runtime confirmation on real hardware: cold start of the patched build 18 yields exactly one visible window (#32770, title Internet Download Manager 6.43, no (Trial) suffix), no registration dialog, no trial-countdown popup, and IDM self-reports idmvers = v6.43b18 Full.

Supported versions

Release Status
6.43 build 10 (6.43.10.2) ✅
6.43 build 11 (6.43.11.2) ✅
6.43 build 11 (6.43.11.3) ✅
6.43 build 12 (6.43.12.3) ✅
6.43 build 15 (6.43.15.3) ✅
6.43 build 16 (6.43.16.3) ✅
6.43 build 18 (6.43.18.3) ✅ new

Upgrade instructions

  1. Close IDM completely (including IDMMsgHost.exe in the tray).
  2. Run IDM_Pro_Tool.exe and apply the patch — no reinstall needed.
  3. If you had a previously patched build 16, IDMan.exe.BAK is automatically archived as IDMan.exe.BAK.6.43.16.3 and refreshed with the build 18 stock binary.

简体中文

发生了什么

IDM 通过官方静默更新从 6.43 build 16.3 升到了 6.43 build 18.3(build 17 被整版跳过)。更新后两个症状同时回归:

  • 启动时的注册对话框(资源 ID 138);
  • 试用倒计时弹窗,idmvers 回落为 v6.43b18 Trial。

这与前几个版本是同一个 CWE-602 模式:官方更新器静默替换 IDMan.exe,而所有授权裁决都在客户端完成,因此本地特权状态全部回退。

根因 —— 方向相反的代码重排

build 18 再次重编 .text,但这次代码是负向紧凑:

节区 build 16 build 18 增量
.text 原始大小 0x2D0600 0x2D6600 +24,576
.rdata 原始大小 0xEB800 0xEBE00 +1,536
.data 原始大小 0xA800 0xA800 ±0
.rsrc 原始大小 0x22D800 0x22D800 ±0
.reloc 原始大小 0x39E00 0x3A000 +512
文件体积 6,490,480 6,517,104 +26,624

全部节区虚拟地址后移 +0x6000;段内代码位移 -0x320 … -0x9A0(build 16 是正向 +0x1D0 … +0x5E0),而 .data 正向位移 +0x6600。位移方向翻转通常是签名匹配中较难的情形 —— 漂移朝与上次标定相反的方向累积。

修复 —— 特征码一个字节都没改

v1.6.1 的特征码表在 build 18 上精确命中 16 / 16 位点,汉明距离 0。 没有任何一条签名需要重新生成。

这是本项目历史上第一次以零字节表改动吸收的新版本,也是 v1.6.1 期间选定「单条 48 字节上限」的直接回报。当时被否决的「最小充分」方案(全表 142 字节)几乎必然会产生误命中;48 字节上限在保持 22.9 B 平均长度的同时,仍携带足够上下文跨越 2.4 KB 的跨版本位移。

实际执行的工作:

  1. 优先做精确命中预检,在任何汉明搜索之前完成 —— 16/16 全中,重生成流水线未被触发。
  2. capstone 全量语义复核 —— 15 个代码位点仍落在指令边界且助记符不变(test eax,eax、and eax,0xf、push -1、push ebp、je、jne);位点 12 仍是唯一操作数补丁(0x995F0 处 mov eax,1,补丁字节位于 +1 → mov eax,0);.data 常量块逐字节相同。
  3. 针对新增反篡改的结构取证 —— build 16 与 build 18 的 UTF-16 资源字符串差分仅 10 条新增,无一与授权/试用/更新相关(6, 43, 18, 3、一条音效路径模板、一段 SOCKS 对话框片段、gnlaapi.dll、TLS13_OFF、English)。未引入任何新防御机制,失效纯粹源于二进制重排。

验证结果

项目 结果
特征码表变更 无 —— 0 字节
位点命中(精确) 16 / 16,汉明 0
修补后体积 6,506,496 字节(= pe.ImageEnd)
修补后 SHA-256 DED287E0043EF3BFA41D456BAD9E498E2B5775A3486F80C27FF5FDCAF03CE954
修补后 PE 校验和 0x006371AE
差异字节审计 33 处变更,白名单外 0 处 + 10,608 字节 Authenticode 截断
回归测试 133 / 133 全部通过(原 118 项)
旧版本零回归 build 10 / 11.2 / 11.3 / 12.3 / 15.3 / 16.3 修补哈希与 v1.6.1 逐字节一致

真机运行时确认:修补后的 build 18 冷启动仅有 1 个可见窗口(#32770,标题 Internet Download Manager 6.43,无 (Trial) 后缀),无注册对话框、无试用倒计时弹窗,IDM 自查 idmvers = v6.43b18 Full。

支持版本

版本 状态
6.43 build 10 (6.43.10.2) ✅
6.43 build 11 (6.43.11.2) ✅
6.43 build 11 (6.43.11.3) ✅
6.43 build 12 (6.43.12.3) ✅
6.43 build 15 (6.43.15.3) ✅
6.43 build 16 (6.43.16.3) ✅
6.43 build 18 (6.43.18.3) ✅ 新增

升级步骤

  1. 完全退出 IDM(含托盘中的 IDMMsgHost.exe)。
  2. 直接运行 IDM_Pro_Tool.exe 执行补丁,无需重装。
  3. 若此前已修补 build 16,IDMan.exe.BAK 会自动归档为 IDMan.exe.BAK.6.43.16.3,并刷新为 build 18 官方原版。

Methodology note / 方法论备注

The value of a version-adaptive signature table is measured not by how many releases it was built from, but by how many releases it works on without being rebuilt. Build 18 was the first such release.

一张版本自适应签名表的价值,不在于它由多少个版本构建而成,而在于它能在多少个版本上直接生效而无需重建。build 18 是第一次。