Skip to content

v1.6.3

Latest

Choose a tag to compare

@angusdevgo angusdevgo released this 30 Nov 03:14

IDM Pro Tool v1.6.3

Release date: 2026-11-09
Previous release: v1.6.2
Full changelog: README § 0.7


English

What happened

IDM silently updated from 6.43 build 18.3 to 6.43 build 19.3. After the update the trial-expired termination dialog ("IDM has been used for 30 days but is still not registered... IDM is exiting") and the registration dialog both came back, with idmvers reset to v6.43b19 Trial.

Unlike build 18, this was not a zero-drift update — the trial had genuinely elapsed, so the forced-exit branch was actually taken.

Root cause — one site's signature crossed a relative-address field

The pre-check found 15 of 16 sites still matching exactly at Hamming distance 0. Only Site #11 (expiration termination logic) failed — zero hits in both the original and the patched state.

The old 62-byte signature was:

85 80 1B 02 00 | 8D 50 01 | 8D 64 24 00 | 8A 08 | 40 | 84 C9 | 75 F9 |
2B C2 | 83 F8 02 | 0F 85 D2 01 00 00 | E8 | 39 72 FB FF | 85 C0 | 0F 85 A7 D3 FF FF | ...
                                    ^^ patch site                ^^^^^^^^^^^ call rel32

Everything up to and including the E8 opcode is stable across all eight releases. But the bytes after it are relative addresses that shift whenever the surrounding code moves:

b18 @0x916FC b19 @0x9184C
after the patch site E8 39 72 FB FF E8 A9 75 FB FF
downstream lea 8D 8D 74 FE 01 00 8D 8D C4 FE 01 00

Three bytes across two fields were enough to kill the whole match. Because Site #11 is a required site, the fail-closed engine aborted with zero bytes written — hence a completely stock binary plus both dialogs.

Fix — rebuild the signature inside the proven-invariant window

A maximal common-invariant run containing the patch offset was computed across all eight releases:

  • left-identical: 22 bytes
  • right-identical after the 2-byte patch: 5 bytes
  • longest possible signature: 29 bytes, patchOffsetInSig moved 24 → 22
1B02008D50018D6424008A084084C975F92BC283F802 0F85 D2010000E8
                                              ^^^^ patch site (offset 22)

Verified dual-state uniqueness in all eight releases (original = 1 hit, patched = 0 hits), deliberately excluding the call rel32 and lea disp32. Only this one site changed — the other 15 signatures are untouched.

Verification

Item Result
Sites changed 1 (Site #11 only)
Patched file size 6,724,096 bytes (= pe.ImageEnd)
Patched SHA-256 2C01E7D89E7E4B98A0AC19B1A4A2A61D37655C784DF36DE90DA99FAC2B75571E
Patched PE checksum 0x0066DF63
Differential byte audit 33 changed bytes, 0 outside whitelist + 10,608 B Authenticode truncation
Regression tests 148 / 148 PASS (was 133)
Legacy releases unchanged builds 10 / 11.2 / 11.3 / 12.3 / 15.3 / 16.3 / 18.3 — byte-identical

Runtime confirmation: cold start yields exactly one visible window (#32770, title Internet Download Manager 6.43, no (Trial)), no trial-expired dialog, no registration dialog, and IDM self-reports idmvers = v6.43b19 Full. The stale b18 backup was archived as IDMan.exe.BAK.6.43.18.3 and refreshed with the build 19 stock binary.

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) ✅
6.43 build 19 (6.43.19.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 your previous IDMan.exe.BAK is from an older build, it is archived automatically as IDMan.exe.BAK.<oldVersion> and refreshed with the build 19 stock binary.

简体中文

发生了什么

IDM 通过官方静默更新从 6.43 build 18.3 升到 6.43 build 19.3。更新后试用期已满强制退出对话框(「IDM 被用了 30 天,但仍未注册……IDM 正在退出」)与注册对话框同时回归,idmvers 回落 v6.43b19 Trial。

与 build 18 不同,这次不是零漂移更新 —— 试用期确实已经走完,强制退出分支是真的被执行到了。

根因 —— 某一位点的签名跨越了相对地址字段

预检发现 16 个位点里有 15 个仍然精确命中,汉明距离 0。只有位点 11(过期强退逻辑)失配 —— 原始态与已补丁态双双 0 命中。

旧的 62 字节签名:

85 80 1B 02 00 | 8D 50 01 | 8D 64 24 00 | 8A 08 | 40 | 84 C9 | 75 F9 |
2B C2 | 83 F8 02 | 0F 85 D2 01 00 00 | E8 | 39 72 FB FF | 85 C0 | 0F 85 A7 D3 FF FF | …
                                    ^^补丁位点                   ^^^^^^^^^^^^ call rel32

到 E8 操作码为止,全部字节在八个版本中一致。但它之后的字节是相对地址,周边代码一移动就变:

b18 @0x916FC b19 @0x9184C
补丁位点之后 E8 39 72 FB FF E8 A9 75 FB FF
下游 lea 8D 8D 74 FE 01 00 8D 8D C4 FE 01 00

两个字段里共 3 个字节,就足以让整条匹配失效。而位点 11 是必需位点,一个失配即触发 fail-closed 零字节中止 —— 所以您看到的是「完全原版二进制 + 两个弹窗」。

修复 —— 在已被证明的不变窗口内重建签名

跨全部八个版本计算「包含补丁偏移的最大字节一致段」:

  • 左向一致:22 字节
  • 补丁 2 字节之后右向一致:5 字节
  • 最长可用签名:29 字节,patchOffsetInSig 由 24 改为 22
1B02008D50018D6424008A084084C975F92BC283F802 0F85 D2010000E8
                                              ^^^^ 补丁位点(偏移 22)

已在八个版本中验证双态唯一性(原始态 1 命中 / 已补丁态 0 命中),并刻意排除 call rel32 与 lea disp32。仅改动这一个位点,其余 15 条签名原封不动。

验证结果

项目 结果
特征码变更 1 处(仅位点 11)
修补后体积 6,724,096 字节(= pe.ImageEnd)
修补后 SHA-256 2C01E7D89E7E4B98A0AC19B1A4A2A61D37655C784DF36DE90DA99FAC2B75571E
修补后 PE 校验和 0x0066DF63
差异字节审计 33 处变更,白名单外 0 + 10,608 字节 Authenticode 截断
回归测试 148 / 148 全部通过(原 133)
旧版本零回归 build 10 / 11.2 / 11.3 / 12.3 / 15.3 / 16.3 / 18.3 逐字节一致

真机确认:冷启动仅 1 个可见窗口(#32770,标题 Internet Download Manager 6.43,无 (Trial)),无试用过期对话框、无注册对话框,IDM 自查 idmvers = v6.43b19 Full。陈旧 b18 备份自动归档为 IDMan.exe.BAK.6.43.18.3 并刷新为 build 19 原版。

支持版本

版本 状态
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) ✅
6.43 build 19 (6.43.19.3) ✅ 新增

升级步骤

  1. 完全退出 IDM(含托盘中的 IDMMsgHost.exe)。
  2. 直接运行 IDM_Pro_Tool.exe 执行补丁,无需重装。
  3. 若 IDMan.exe.BAK 仍是旧版本,会自动归档为 IDMan.exe.BAK.<旧版本> 并刷新为 build 19 官方原版。

Methodology note / 方法论备注

The signature-boundary lesson. A signature should stop at a byte that is provably invariant, never merely at the first byte that happens to differ today. The old 62-byte signature "worked" across six releases not because it was correct, but because that call target and lea displacement had not yet moved. Relative-address fields are time bombs: stable until the surrounding code shifts, then they break silently. Whenever a signature spans call rel32, jmp rel32, lea [reg+disp32], or any absolute/relative address, cut before that field and extend in the other direction instead.

签名边界的教训。 签名终点应停在可证明不变的字节上,而不是停在「今天恰好还没变的第一个差异点」。旧的 62 字节签名能跨六个版本生效,不是因为它是正确的,而是因为那个 call 目标与 lea 位移还没轮到移动。相对地址字段是定时炸弹:周边代码位移之前始终稳定,一旦位移就静默失效。只要签名跨过 call rel32、jmp rel32、lea [reg+disp32] 或任何绝对/相对地址,就应在该字段前截断,改向另一侧扩展。