Repository navigation
Tether v1.1.9 — Security Hardening, Remote Control Reliability & Core Infrastructure Improvements
Tether v1.1.9
This release focuses on strengthening Tether's security architecture, resolving critical vulnerabilities discovered during security audits, improving remote-control reliability, and hardening the underlying Windows and Android communication infrastructure.
Across 10 commits, this release introduces substantial changes to the Windows Communication Service, SessionHelper, Credential Provider, Android Companion, file-transfer subsystem, and automatic updater.
New feature additions
-
Remote Input Forwarding: Introduced a dedicated input-forwarding infrastructure for handling remote input events through the Windows SessionHelper, improving the separation between communication handling and interactive session execution.
-
Restricted Remote Terminal Execution: Added stronger process-isolation mechanisms for remote terminal sessions, allowing shells to execute under restricted user tokens rather than inheriting elevated helper privileges.
-
Authenticode Verification: Introduced shared Authenticode verification infrastructure for validating Windows executable signatures before trusting installer binaries.
-
Security Regression Test Suite: Added extensive security-focused tests covering authentication boundaries, capability enforcement, filesystem access, named-pipe authentication, terminal isolation, and file-transfer security.
-
StrongBox Key Protection: Added hardware-backed Android Keystore support for device identity and AES-256 storage keys, with automatic fallback to the standard Android Keystore when StrongBox is unavailable.
Existing feature enhancements
-
File Transfer Improvements: Significantly reworked the Windows file-transfer server, strengthening authentication, path validation, resumable uploads, and atomic file promotion.
-
Cross-User Filesystem Isolation: File-transfer operations are now restricted to the active console user's profile, preventing access to other Windows users' private directories.
-
Resumable Upload Protection: Improved validation of
.tether_partfiles, including protection against path traversal, reparse-point manipulation, and destination substitution during upload completion. -
Remote Desktop Improvements: Fixed MJPEG stream boundary and header parsing issues, improved continuous stream handling, and restored hardware cursor visibility in captured desktop frames.
-
Session Management: Improved terminal session lifecycle management, session ownership, concurrency handling, and isolation between connected devices.
-
Automatic Updates: Reworked significant portions of the differential updater, introducing stricter manifest validation, staged-file integrity verification, protected staging directories, and safer installation procedures.
-
Update Installation: Improved installer verification and eliminated unsafe execution of unverified updater binaries from temporary directories.
-
Capability Management: Improved command-to-capability mapping and authorization enforcement, ensuring that paired devices cannot automatically access capabilities they have not been granted.
-
Android Connectivity: Improved the Android companion's connection handling, authentication state management, and certificate verification integration.
-
Certificate Pinning: Fixed an Android certificate-chain cleaner compatibility issue that prevented OkHttp from correctly invoking the custom pinned trust manager through Android's
X509TrustManagerExtensions. -
Unlock Reliability: Improved biometric unlock state handling, Credential Provider notifications, and synchronization-event lifetime management.
-
Windows SessionHelper: Strengthened process authentication and session validation before accepting named-pipe connections.
-
Power and Hardware Operations: Improved capability enforcement and execution boundaries for sensitive Windows operations.
Security enhancements
-
TETH-2026-001 — Remote Terminal Isolation: Prevented remote terminal processes from inheriting elevated helper privileges. Added restricted-token execution, medium-integrity isolation, session ownership enforcement, and safer process lifecycle management.
-
TETH-2026-002 — Updater Security: Hardened the elevated updater against malicious staging contents, path traversal, alternate data streams, invalid manifests, and time-of-check/time-of-use vulnerabilities. Added SHA-256 and file-size verification before applying updates.
-
TETH-2026-003 — Named Event Security: Strengthened Windows kernel synchronization-event security by validating object ownership and enforcing restrictive DACLs, preventing unauthorized pre-creation and manipulation of global unlock events.
-
TETH-2026-004 — Capability Authorization: Removed implicit authorization shortcuts for paired devices and enforced granular capability verification at sensitive command boundaries.
-
TETH-2026-005 — Local UI Token Restrictions: Restricted loopback
LOCAL_UIbearer tokens from accessing privileged filesystem mutation endpoints, limiting their use to explicitly permitted remote-proxy and preview operations. -
TETH-2026-006 — SessionHelper Authentication: Added Windows named-pipe client authentication using process identification, executable-path verification, and active-console session identity checks.
-
TETH-2026-007 — Resumable Upload Security: Strengthened temporary upload-file validation and destination revalidation, protecting against traversal, reparse-point attacks, and unsafe file promotion.
-
Android Cryptographic Storage: Improved hardware-backed key generation and added fallback handling for devices without StrongBox support.
-
TLS Certificate Validation: Fixed the Android trust-manager extension compatibility issue without weakening public-key identity pinning.
What was deleted?
-
Removed the unsafe updater fallback that allowed unverified executables from temporary directories to be launched with elevated privileges.
-
Removed implicit capability authorization paths that could grant paired devices access to restricted operations.
-
Removed permissive terminal-session input fallback behaviour that could route input to an unrelated active session.
-
Removed obsolete standalone pipe-test project files and integrated the relevant test infrastructure into the main solution.
Development and testing improvements
-
Added comprehensive security-remediation regression tests.
-
Added end-to-end tests covering filesystem isolation, upload security, authentication boundaries, and terminal-session behaviour.
-
Added dedicated Android certificate-pinning tests covering successful verification and mismatched public-key rejection.
-
Integrated the file-transfer security test project into
Tether.slnx. -
Improved security-audit automation through updated GitHub Actions workflows.
-
Added project architecture, testing infrastructure, and test-readiness documentation.
-
Integrated Ponytail and Antislop development skills into the repository to support more consistent engineering, security reviews, and implementation quality.
Development statistics
| Metric | Result |
|---|---|
| Commits included | 10 |
| Security audit findings addressed | 7 |
| Major subsystems modified | Windows, Android, Updater, File Transfer |
| New security test suites | Multiple |
| New shared security infrastructure | Authenticode verification |
| Android cryptographic enhancement | StrongBox support |
Tether v1.1.9 represents a substantial security and reliability improvement over v1.1.8. Rather than focusing primarily on adding new user-facing functionality, this release concentrates on strengthening the trust boundaries behind existing features, eliminating unsafe execution paths, and improving the reliability of remote desktop, terminal, authentication, and file-transfer operations.