From 1a1334e3f34d7ab9302711cb02952443e129b036 Mon Sep 17 00:00:00 2001 From: JingMatrix Date: Sat, 6 Dec 2025 16:59:28 +0100 Subject: [PATCH] Release TEESimulator 3.0 --- app/build.gradle.kts | 2 +- module/changelog.md | 25 ++++++++++++++++--------- module/update.json | 6 +++--- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index fd7c00b..2d83d92 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -29,7 +29,7 @@ val gitExecutor = objects.newInstance(GitExecutor::class.java) val gitCommitCount = gitExecutor.execute("git rev-list HEAD --count", rootDir).toInt() val gitCommitHash = gitExecutor.execute("git rev-parse --verify --short HEAD", rootDir) -val verName = "v2.1" +val verName = "v3.0" android { namespace = "org.matrix.TEESimulator" diff --git a/module/changelog.md b/module/changelog.md index e58aa33..a888783 100644 --- a/module/changelog.md +++ b/module/changelog.md @@ -1,14 +1,21 @@ -🚀 **TEESimulator v2.1 Hotfix Release is Live!** 🚀 +TEESimulator 3.0 is a significant update focused on powerful new configuration options, major improvements to stealth, and enhanced stability. -This urgent hotfix addresses several critical issues identified in the previous v2.0 release. +#### ✨ **Highlights & New Features** -The v2.0 update, a significant refactoring effort, unfortunately introduced a few unexpected behaviors and bugs that we are now rectifying. +* **🎯 Per-App Security Patch Configuration**: Gain ultimate control by setting security patch levels on a per-package basis. Define a global default in `security_patch.txt` and override it for specific apps like `[com.google.android.gms]`. Moreover, your configuration is now alive! Use the `today` keyword to always report the current date, or create rolling dates with templates like `YYYY-MM-05`. Be sure to check README for more details. +* **🕰️ Full Software Emulation on Android 11**: We've implemented a complete, software-based key generation and attestation flow for the legacy `IKeystoreService` API, bringing full emulation capabilities to older devices. -**Key fixes in this release include:** -1. **Google Play Integrity:** Resolved an issue preventing the attainment of STRONG integrity for Google Play verdicts, caused by an incorrect vendor patch level format. ✅ -2. **Application Stability:** Fixed a critical crash related to an incorrect signature for the `SystemProperties.set` stub method. 🐛 -3. **Stealth Enhancement:** Implemented a fix to bypass detection by the `Android Native Detector`. 👻 +#### 🛡️ **Stealth & Evasion Upgrades** -🔬 We are actively investigating a recent detection method to further enhance stealth capabilities. +* **⛓️ Consistent Certificate Signatures**: Say goodbye to a major detection vector in `icu.nullptr.nativetest`. Patched certificates are now cached, ensuring that every request for a key returns a byte-for-byte identical certificate, just like a real TEE. +* **🔑 Authentic Device Properties**: To appear more genuine, the simulator now sources and uses your device's real `verifiedBootHash` and `moduleHash`, moving away from placeholder values. +* **📜 Structurally Sound Certificates**: The patching logic has been rewritten to be less intrusive. It now modifies the attestation extension in-place, preserving the original order of other extensions and preventing duplicates to avoid suspicion. -🙏 Support for TEE-broken devices and Android 10/11 remains an area of ongoing improvement. We highly encourage you to submit any issues you encounter to help us refine these aspects! 🤝 +#### 🐛 **Bug Fixes & Reliability** + +* ✅ **Robust Crypto Engine**: Fixed critical crashes related to cryptographic provider conflicts. The signing logic is now more explicit and the KeyBox parser is more resilient against malformed files. +* ➡️ **Improved Compatibility**: Resolved a native crash on Android 11 devices. + +#### 🚀 **The Road Ahead** + +Our work to fix detection vectors and provide full support for TEE-broken devices and Android 10/11 is ongoing. We welcome your feedback! Please **report any issues** or **contribute a pull request** on our GitHub. diff --git a/module/update.json b/module/update.json index d1c6b26..475ae2d 100644 --- a/module/update.json +++ b/module/update.json @@ -1,6 +1,6 @@ { - "version": "v2.1", - "versionCode": 20, - "zipUrl": "https://github.com/JingMatrix/TEESimulator/releases/download/v2.1/TEESimulator-v2.1-20-release.zip", + "version": "v3.0", + "versionCode": 38, + "zipUrl": "https://github.com/JingMatrix/TEESimulator/releases/download/v3.0/TEESimulator-v3.0-38-Release.zip", "changelog": "https://raw.githubusercontent.com/JingMatrix/TEESimulator/main/module/changelog.md" }