New Features, Enhancements, and Changes

>Release: 10.4  

NOTE   If you are upgrading from a version of Sentinel LDK that is earlier than 10.3, be sure to review the release notes for all intervening versions. Significant enhancements and changes are introduced in each version of Sentinel LDK. Download a ZIP file that contains all Sentinel LDK release notes to see the changes.

Release: 10.4  

>Native Compilation and Script Envelope Plus for Python Applications

>Python Module and Folder Obfuscation in Script Envelope

>Improved Performance for .NET Method-Level Protection

>Windowed Decryption for Windows V3 Applications

>Support for RELR Relocation Compression in Linux Envelope

>End-of-Life: Sentinel LDK Envelope and Data Encryption Utility for macOS

Native Compilation and Script Envelope Plus for Python Applications

Sentinel LDK introduces automated Native Compilation for Sentinel LDK Script Envelope and Script Envelope Plus for machine code hardening. Script Envelope provides three protection methods for Python applications: traditional Encryption (Classic), automated Native Compilation, and advanced Machine Code Hardening (available with the Script Envelope Plus add-on).

This enhancement enables software vendors to deploy Python and typed Cython applications as natively compiled, cross-platform machine code modules (.pyd on Windows and .so on Linux) instead of encrypted bytecode. This architecture addresses the reverse-engineering risks of traditional bytecode encryption, helping protect decrypted bytecode from extraction from the memory of a running Python interpreter.

Key capabilities include:

>Automated, Self-Contained Native Compilation: Translates Python (.py) and typed Cython (.pyx) source code into optimized native binary extension modules (.pyd on Windows and .so on Linux) without requiring a local C compiler, Microsoft Visual Studio, or external runtime dependencies.

>Machine Code Hardening (Script Envelope Plus): Applies configurable instruction and control-flow obfuscation, anti-tamper binary integrity checking, and anti-trace debugger detection directly to compiled machine code, with granular tuning available through the symbols map.

>Flexible Artifact Bundling: Combines multiple modules into a single self-contained binary (bundle_mode: single), bundles modules per package directory, or generates standalone binaries per module to accelerate application loading speed and prevent structural reverse engineering.

>Cross-Platform and Cross-Version Portability: Supports multi-architecture cross-compilation (Windows x86/x64 and Linux x86_64/ARM64) from a single build machine using an auto-routing loader bridge, and targets the CPython stable Application Binary Interface (abi3) to run across Python 3.9 through 3.14+ without rebuilding.

>Data File and AI Model Protection: Secures non-Python data files and machine learning models (such as TensorFlow and PyTorch) alongside compiled code in the same project, decrypting assets into memory on demand.

The following table lists the capabilities available in Script Envelope and the capabilities that require the Script Envelope Plus module license:

Script Envelope (Standard) Script Envelope Plus (Optional add-on)

>Bytecode encryption of Python scripts and data files

>Module and package folder name obfuscation (Encryption method)

>Native compilation of .py and .pyx to .pyd and .so binaries

>Docstring stripping in natively compiled modules

>Traceback frame information stripping in natively compiled modules

>Module bundling (per_file, single, and per_package)

>Multi-architecture packaging (sntlnative/ and auto-routing loader bridge)

>Per-unit licensing via Feature ID

>Customizable runtime error messages and multi-language fallback

>Customizable startup and runtime licensing failure policies

>Instruction and control-flow obfuscation of compiled code

>Anti-tamper binary integrity checking

>Anti-trace debugger and tracer detection

>Granular protection levels via the symbols map (module or function scope)

NOTE   Encryption (Classic) and Native Compilation are included with Sentinel LDK Script Envelope. Machine code hardening passes (obfuscation, anti-tamper, and anti-trace) require the Script Envelope Plus module license.

For more details, see the Sentinel LDK Envelope for Windows Guide, the Sentinel LDK Envelope for Linux Guide, and the Sentinel LDK Software Protection and Licensing Guide.

Python Module and Folder Obfuscation in Script Envelope

Script Envelope now supports module and package folder name obfuscation for Python applications protected using the Encryption (Classic) method. By configuring global_module_obfuscation under settings or module_obfuscation in a to_be_protected section in your .sprjx project file, you can hide original Python module names and package directory structures. The files and directories are automatically replaced with randomized names during the protection phase, while internal Python import statements continue to resolve transparently at run time without modifying application code.

For more details, see the Sentinel LDK Envelope for Windows and Sentinel LDK Envelope for Linux Guides.

Improved Performance for .NET Method-Level Protection

Sentinel LDK now includes an enhanced, high-performance method-level encryption solution for the protection of .NET applications. This new method-level encryption technology eliminates the significant performance overhead associated with traditional managed method-level encryption, which relied on reflection APIs.

Key enhancements in the Sentinel LDK Envelope GUI include:

>Aligned Protection Type Terminology: Protection types are updated to Method-Level, Only .NET Shell, and Method-Level & .NET Shell.

>Renamed .NET Shell Settings Tab: The Windows Shell Settings tab has been renamed to .NET Shell Settings.

>User Debugger Detection: Software vendors can enable the new User debugger detection setting in the Protection Settings tab to detect active user-mode debuggers and alert users with a "Debugger detected" notification dialog.

>Automatic Method Selection: The automatic method selection slider has been removed. All eligible methods are selected by default because runtime performance constraints no longer apply.

>Project Migration: Opening project files created with Sentinel LDK versions earlier than 10.4 resets legacy method-level protection selections (except for locked methods) because the performance constraints that motivated method exclusion no longer exist in the new engine.

For more details, see the Sentinel LDK Envelope for Windows Guide.

Windowed Decryption for Windows V3 Applications

Sentinel LDK introduces Windowed Decryption for native Windows applications and DLLs protected with the Sentinel LDK Envelope Windows V3 engine. Before this release, Sentinel LDK Envelope decrypted all protected binary sections simultaneously at application launch. With Windowed Decryption, protected code remains encrypted in memory throughout process execution, and memory pages are decrypted dynamically on demand in multi-page chunks only when execution reaches them.

Key capabilities and advantages include:

>Hardened Reverse-Engineering Defense: Mitigates memory-dumping attacks and automated reverse-engineering tools by restricting plaintext memory exposure to an active working window (default: 64 pages). Inactive pages are evicted and re-encrypted (overwritten with non-executable bytes) as execution progresses.

>Adaptive Hot-Chunk Promotion: Uses fault tracking to detect frequently executed code paths and loops, automatically promoting them to plaintext after crossing a fault threshold to eliminate recurring exception overhead and preserve native execution performance.

>Platform Support and Compatibility: Supported on Microsoft Windows 10 and later for 32-bit (x86) and 64-bit (x64) PE binaries. Fully compatible with AppOnChip, Envelope Plus, and Program Integrity Protection.

>Turnkey Adoption: Enabled and checked by default for Windows V3 protections in Sentinel LDK Envelope. You can toggle the feature in the Envelope GUI or configure the feature in project files (WINDOWED_DECRYPTION = 1 | 0) and envelope.com command-line builds.

For more details, see the Sentinel LDK Envelope for Windows Guide and Sentinel LDK Software Protection and Licensing Guide.

Support for RELR Relocation Compression in Linux Envelope

Sentinel LDK Linux Envelope now supports RELR (relative relocation) compression for Linux ELF executables and shared objects.

Recent versions of GCC and Clang using GNU ld or LLVM lld enable RELR compression by default to reduce binary size and optimize load times. Linux Envelope now processes binaries containing RELR relocations (including the .relr.dyn section and DT_RELR dynamic tags) across all supported Linux architectures. Software vendors can protect applications compiled with modern toolchains without adding linker flags (such as -Wl,-z,nopack-relative-relocs) to disable relocation packing.

For more details, see the Sentinel LDK Envelope for Linux Guide.

End-of-Life: Sentinel LDK Envelope and Data Encryption Utility for macOS

Starting with Sentinel LDK 10.4, Sentinel LDK Envelope for macOS and the Sentinel LDK Data Encryption utility (DataHASP) for macOS are no longer supported and have reached end-of-life (EOL) status.

As part of this change, Envelope.app, DataHASP.app, and the Envelope sample (MacBounce) are no longer included in the VendorSuite package for macOS. For more information, contact your Thales representative.