Repository navigation
Releases
5.3.4
5.3.2
中文要点
- 新增
/disable-lua、/enable-lua:写EnableLUA(0 / 1)。- 不带路径 → 修改正在运行的系统(需提权);
- 带
OFFLINE_ROOT→ 修改该卷Windows\System32\config\SOFTWARE,沿用证书库的
"旧 hive 备份 + 分块覆盖"流程;改动需重启。 - 三个 UIAccess 程序(屏幕键盘 / 讲述人 / 放大镜)正是在
EnableLUA=0时才能启动。
/image适配 9833 / 9860 的 loader 结构:plan_boot_options不再写死
mov rcx, rbp与四字节cmovs,改为按mov rcx, reg+call+movzx+test定位,
接受 3 / 4 字节两种cmovs编码(或已打补丁形式),并在后随窗口内查找
mov edx, 0x16000049;补丁仍为b1 01(+ NOP 对齐)。- 实测(逐字节对比):9833 与 9860 的 x64 版
winload.efi/.exe、winresume.efi/.exe
各 3 处(镜像哈希门、catalog/alternate 门、loader integrity option),ci.dll两处
证书日期分支。 - x86 Build支持。
English summary
/disable-luaand/enable-luawriteEnableLUA(0/1) live or in an offline
volume'sconfig\SOFTWAREhive, with the previous hive kept as a backup.plan_boot_optionsnow matches the 9833/9860 loader layout by structure rather
than fixed registers and offsets.- Verified against the supplied 9833 and 9860 x64 files.
- 32-Bit Build support.
NT Timebomb Patch 5.3.0
5.3.0 — 2026-11-12
中文要点
/cishim、/cishim-boot:只保留 BCDnointegritychecks选项这一处 loader 改动,
全部按字节码结构匹配;新增基于 RIP 相对槽位的结构化遍历,可识别 29704 的
winload.exe(0x00C047)与winload.efi(0x00ACB8)。- 未被改动的目标(
winresume.efi/winresume.exe)也会保留FILE.bak,使/restore
覆盖一次操作的全部目标。 /bcd一次写入nointegritychecks on与recoveryenabled No;/bcd-show单独打印
这两项;新增/bcd-template用于封装镜像时预置config\BCD-Template。/image、/spponly、/nt6:Build 15063 及以上直接拒绝,不做任何修改,并提示改用
/cishim(CI)与/slshim(许可)。- 清理命令面:
/wintrust*、/uac*、/uiaccess*、/wd已移除(代码保留);/mmc与
/mmc-approval标记弃用。 - 三个 UIAccess 程序(屏幕键盘 / 讲述人 / 放大镜)确认为 LUA 问题:实测四套补丁无效,
EnableLUA=0后正常,文档已改为该方案。 - 新增中文文档
README.zh-CN.md,CHANGELOG.md与英文 README 同步更新。
English summary
- Byte-code structural matching for the CI boot patch, including a slot-based walk that
recognises the 29704winload.exeandwinload.efilayouts. - Every target of
/cishimnow keeps a retainedFILE.bak, even when it is not modified. /bcdwritesnointegritychecks onandrecoveryenabled No;/bcd-templateprepares
config\BCD-Templateinside an image./image,/spponlyand/nt6refuse Build 15063 and newer without changing anything./wintrust,/uac,/uiaccessand/wdremoved from the command surface;/mmcand
/mmc-approvaldeprecated.- Chinese README added.
Assets
FlightPatch-5.3.0.zip— 三架构主程序与 mmc 助手、脚本、源码、依赖与文档。
SHA-2562b73968b03729d597a789d80d21945fcbe419e13ffcc2be1cd13a1d0d939da21
NT Timebomb Patch 5.2.1
MMC certificate-expiry repair
- After OOBE, run
nttimebomb.cmd /mmcin an elevated Command Prompt in the target Windows installation. - Shut down the target. In WinPE or from another Windows installation, run
nttimebomb.cmd /mmc-approval W:\, using the target's offline Windows drive. - Reboot and open the original MMC entry, such as Win+X > Disk Management.
The offline stage matches the AppInfo automatic-approval table and its pointer relocations without checking the build number. Unknown and ambiguous layouts are rejected. Roll back AppInfo offline with /mmc-approval-restore W:\, then use /mmc-restore in the running target.
Both stages passed in the 18247 x64 VM. The supplied 16299, 22000, and 29698 x64 AppInfo files passed offline patch and restore checks.
Other updates
/cishimnow prepares the matched CI and UEFI loader changes together. See the README for the target BCD setting.- SLShim preserves the target edition, handles 29602 licensing notifications used by Settings, and cleans up completed restore backups.
- The package includes native x86, x64, and ARM64 tools and ARM64X licensing forwarders.
Download the WinPE ZIP with all helpers and dependencies. See the README for usage, target requirements, and rollback.
NT Timebomb Patch 5.2
This is the formal 5.2 package, tagged v5.2.0. The earlier v5.2
experimental release and tag are retained. The SLShim feature remains
experimental and requires destination-system testing.
Download nt-timebomb-patch-v5.2-winpe.zip and extract the entire archive into
a new directory. GitHub's automatic source archives omit executable/DLL payloads.
NT6 preview compatibility
- Adds licensing-interface profiles for the supplied Vista 5483 BusinessN,
Windows 7 6946 Ultimate, Windows 8 8032 Ultimate, and Windows 8.1 9431 Enterprise
samples, including their x86 SysWOW64 companions. Profiles 17746 and 29698
remain available. Matching uses verified export interfaces, not a Build gate. - Detects Vista's SLSvc and SLUINotify, as well as existing sppsvc/sppuinotify,
and preserves their original start settings for restore. Vista's three client
DLLs are handled without requiring the later sppc/sppcext files. SLCC.dll is
retained as the original COM component. - Writes the profiled ProductPolicy to the selected offline control sets before
first boot. The supplied 5483 and 6946 policies contain Kernel-ExpirationDate;
that exact entry is removed while other SKU policies are preserved. Absence of
this entry in other samples does not prove absence of other expiry checks. - Makes the target runtime freestanding, with only KERNEL32/ADVAPI32 imports and
no UCRT/MSVCRT dependency. All required direct imports were present in both
supplied 5483 architectures. The servicing host remains Windows 10/WinPE 10+. - Strengthens repeat detection to catch a restored original expiry policy or
changed critical service configuration. Restore also handles recognizable
cloned control sets, preferring an exact original same-ID source and refusing
ambiguous ancestry. The service notification loop keeps one outstanding
registration across polling timeouts.
Commands
Use an elevated prompt, or SYSTEM in WinPE, on an already mounted/deployed
offline root containing Windows:
nttimebomb.cmd /slshim D:\Mount
nttimebomb.cmd /slshim-restore D:\MountFor a newer preview with a supported CI expiry structure, /cishim remains
independent:
nttimebomb.cmd /cishim D:\MountKeep OFFLINE_ROOT\NTTimebombBackup\SLShim. Before reinstalling a restored
deployment, archive the old backup rather than overwriting its originals.
Commit a DISM mount yourself after servicing. Target boot/code-integrity policies
must accept the modified binaries.
Validation and limits
All 12 combinations of six profiles and x86/x64 host executables passed offline
installation, repeat, restore and repeated restore. Validation also covered
DLL APIs/exports/ordinals, protected/read-only file metadata and timestamps,
unchanged unrelated files, stale-policy detection, new and reused control sets,
and rejection of ambiguous clone ancestry. Independent comparisons covered
3,091,958 original registry value/security records. Original supplied files were
retained; no original Windows licensing DLLs, hives, kernels or PDBs are shipped.
The actual runtime policy-refresh attempt could save/load/edit a private hive,
but RegRestoreKey returned unsupported/error statuses in this host's test
contexts, including a native ARM64 probe. This was not counted as a successful
live refresh. The cause is not established. Real service startup/kernel-policy
refresh, boot, OOBE, sign-in and post-expiry application behavior still require
testing in the destination VM. No host SYSTEM/SPP/SCM configuration was changed.
See README.md and TESTING.md for exact scope, results and limitations.
NT Timebomb Patch 5.2 (experimental)
NT Timebomb Patch 5.2 is an experimental preview with explicit CI build-expiry
servicing and an independent, reversible Windows licensing-layer replacement.
Download nt-timebomb-patch-v5.2-winpe.zip below and extract it completely.
GitHub's automatic source archives do not include the built executables, shim
payloads, or Microsoft Offline Registry Library dependencies.
/cishim OFFLINE_ROOTindependently locates the CI build-expiry callback and
makes it return a zero expiry. It has no build-number gate and does not deploy
the upstream replacement CI module or replace other CI callbacks. Original CI
bytes and file metadata are backed up beside the target./slshim OFFLINE_ROOTinstalls the experimental licensing client DLLs for the
verified interfaces, disables the target's existing Windows SPP services, and
configures a dedicated LocalSystem service with that SKU's policy cache.
Native and existing SysWOW64 DLLs are handled separately. It does not modify
Office licensing or issue a Microsoft digital license./slshim-restore OFFLINE_ROOTrestores original DLLs, metadata, service start
settings and ProductPolicy, removes the shim configuration, and preserves
unrelated registry changes. KeepOFFLINE_ROOT\NTTimebombBackup\SLShim.- Ordinary image/SPP servicing at Build 15058 or newer follows the LicensingUI
rename policy and prompts for explicit/cishim. Multi-index, per-SKU SPP
donors remain supported below that boundary. Read-only transaction cleanup
and retained failure diagnostics have also been improved.
Example commands from an elevated prompt (SYSTEM in WinPE), with an already
mounted or deployed offline image:
nttimebomb.cmd /cishim D:\Mount
nttimebomb.cmd /slshim D:\Mount
nttimebomb.cmd /slshim-restore D:\MountThese are independent operations. /slshim is never implicitly enabled by
another mode. Both explicit switches take an offline Windows root, not a WIM,
ISO or individual DLL filename. Commit a DISM mount yourself after servicing.
The modified boot/code-integrity chain must accept the resulting binaries.
Validation used the supplied 17746 and 29698 preview samples. Both host binaries
passed offline install/restore and API tests, including SysWOW64, file metadata,
protected/read-only files, repeat execution, locked-file rollback and unrelated
registry setting preservation. Destination boot, OOBE, sign-in, the running shim
service, and expired MMC/Defender behavior have not been verified here. Unknown
machine-code layouts or DLL interfaces are rejected; this release does not claim
universal build compatibility. See README.md and TESTING.md for scope and limits.
Principles credited to gailium119/cishim
and shakenetwork/slshim. The adapted
servicing and runtime implementation is independently written. No user-supplied
Windows licensing DLLs, hives, kernels, PDBs or QA helper executables are shipped.
NT Timebomb Patch 5.1
Fixes Could not uniquely match the image hash caller when servicing the supplied build 10587 Legacy Windows\Boot\PCAT\memtest.exe with /image.
- Recognizes the x86 ECX-based FlightSigned OID reference used by this sample. Matching remains structural, with no build-number or fixed-offset rule.
- Keeps the existing unique-caller and branch checks. Unrecognized structures are still rejected.
- Includes x86 and x64 command-line executables, compatibility launchers, English documentation, and source code.
- Retains the 5.0.2 NT6 tokens and automatic optional Branding replacement features.
Validation: reproduced the failure with 5.0.2, patched the 10587 sample with both executables, checked the PE checksum and repeat-run stability, and verified identical output across host architectures. Existing 10514 and 14300 sample sets pass regression checks. An invalid OID-reference instruction is rejected without exporting files. These are file-level tests; destination hardware boot testing remains separate.
Use the existing command with the new executable, for example:
nttimebomb.cmd /image D:\mount /spp D:\9600Run protected-file replacement from a TrustedInstaller or SYSTEM command prompt. The SPP directory must be a complete donor for standard SPP mode, including the native sppsvc.exe, the spp tree, and selected CatRoot catalogs/certificates. /nt6 /file DONOR /target OFFLINE_ROOT remains the tokens-only mode, with automatic optional Branding replacement.
The archive contains the tool and its source, not Windows system files.
NT Timebomb Patch 5.0.2
NT Timebomb Patch 5.0.2 adds automatic optional Branding replacement to NT6 mode.
/nt6 /file DONOR /target IMAGEdetectsDONOR\Brandingautomatically and copies it toIMAGE\Windows\Branding. Complete image donors may provideDONOR\Windows\Brandinginstead. No additional switch is required.- The target Branding tree receives NT SERVICE\TrustedInstaller Full Control. Tokens continue to receive NT SERVICE\sppsvc Full Control, with inheritable grants for new children.
- The same detection runs in every install.wim index with
/media ... /nt6 DONOR. - Matching files are replaced and target-only files remain. Tokens and Branding are staged together, with rollback of both trees when publication fails.
- Updated English help and README describe the donor layout and permissions.
The ZIP contains x86/x64 executables and source. OSCDIMG and 7-Zip remain external dependencies for media operations. End-to-end hardware boot behavior requires testing on the destination machine.
NT Timebomb Patch 5.0.1
NT Timebomb Patch 5.0.1 adds replacement-only media workflows.
/media ... /spponly DONORreplaces standard SPP in every install.wim index./media ... /nt6 DONORreplaces only System32 SPP tokens and grants SPPSVC access in every install.wim index. A donor spp directory is accepted.- Both modes preserve boot.wim, media-root boot managers, CI, loaders, kernels and LicensingUI, then rebuild the ISO with OSCDIMG.
- Expanded English instructions explain
/imagewith/spp, including mounting, committing, direct WIM output and separate boot volumes.
Validated with real DISM and OSCDIMG on temporary two-index media, followed by final ISO extraction and file comparison. Hardware boot behavior requires testing on the destination machine.
The ZIP includes x86/x64 executables and source. OSCDIMG and 7-Zip are external dependencies for the relevant media operations.
NT Timebomb Patch 5.0
NT Timebomb Patch 5.0 introduces:
/nt6 /file DONOR /target IMAGEfor tokens-only replacement and recursive SPPSVC permissions./mediafor ISO or extracted installation media, all boot.wim/install.wim indexes, root bootmgr and bootmgr.efi, and OSCDIMG rebuilding./bootfilesfor a standalone bootmgr + bootmgr.efi pair.- Detailed English help and README.
flightpatch.cmdremains a compatible launcher.
Validated on temporary media with real DISM and OSCDIMG, including final ISO extraction and all four test WIM indexes. Hardware boot testing is still required on the destination machine.
The ZIP includes x86/x64 executables and source. Full media processing requires external OSCDIMG and, for ISO input, 7-Zip.