Repository navigation
Comprehensive Security Hardening, Credential Provider Isolation, and Protocol Remediations #33
tirthsaraiya29
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
Tether version 1.1.4 delivers critical architectural, security, and usability remediations across the entire Tether ecosystem, encompassing the Windows background service, native Credential Provider DLL, Session Helper, Desktop UI, Android companion application, and Inno Setup installer.
Key highlights include strict per-instance tile isolation in Windows LogonUI, DPAPI machine-level vault encryption, named pipe access control hardening with Network SID rejection, unique lock session tracking on Android, sequential touch input queues, and enhanced pairing rate limiting with real-time feedback.
Key Changes & Improvements
1. Windows Credential Provider & Logon UI Isolation
_fInstancePhoneAppTriggered,_fInstanceAutoLogonReady) inCTetherCredential, preventing tile starvation and race conditions in multi-account login environments.TargetUserSidin registry secrets. SID validation performs account lookups viaLookupAccountNameWandConvertSidToStringSidWwith fallbacks for domain-joined accounts.ICredentialProviderregistration entries under the WindowsCredential Provider Filtersregistry key in bothregister.regandTether.iss, preventing potentialLogonUI.exestability issues.2. Inter-Process Communication & Secrets Hardening
NetworkSidDENY access rules on\\.\pipe\TetherIPCto prevent remote or cross-network named pipe exploitation. Client process credentials and session contexts are verified viaRunAsClient.PHONE_UNLOCKED,AUTH_SUCCESS) over IPC pipes, enforcing an allowlist restricted to authorized client actions (PANIC_TRIGGERED,HARDWARE_SYNC_REQUESTED,FORGET_PHONE,VAULT_UPDATE).TrustStoreto use Windows Data Protection API (ProtectedData.ProtectunderDataProtectionScope.LocalMachine). Writes are performed atomically using temporary files with inheritance-stripped DACLs restricted toSYSTEMandAdministrators.Tether.DesktopUI. Vault updates are now securely piped across redirected standard input via--commit-vault-stdin.3. Session Management & Input Injection
PROCESS_QUERY_LIMITED_INFORMATIONinTether.SessionHelper, allowing standard user processes to reliably locate the Session 0 service.InputInjectorto verify workstation lock status and suppress virtual mouse and keyboard injection while the console is locked.4. Pairing Protocol & Rate Limiting
PAIRING_INVALID_PINwith the count of remaining attempts.WTSSendMessage.SemaphoreSlimsynchronization to the Desktop UI pairing handler to eliminate concurrent dialog collisions.{hostname}.localSubject Alternative Name (SAN) records in generated self-signed TLS certificates to ensure smooth local host resolution.5. Android Companion Application
lockSessionId(UUID) per lock event. Clearing dismissals onWTS_SESSION_UNLOCKensures future lock events prompt the user reliably.sendInputFramefrom unbounded parallel coroutines to a sequential coroutineChannel<ByteArray>, preventing out-of-order mouse and touch packet delivery over Wi-Fi.TetherDiscoveryManagerto iterate over all active network interfaces and broadcast discovery packets to subnet-directed broadcast addresses alongside255.255.255.255.PairingConfirmationActivityto display live remaining PIN attempts without dismissing the dialog on invalid entries.LaptopScreenCard.6. Packaging & Build Automation
Tether.iss) to v1.1.4. Removed obsolete 32-bit Visual C++ redistributable requirements.%ProgramData%\Tether\logs..gitignoreto prevent tracking of local build scripts, binary artifacts, and signing keys.Commit Summary
dd28a67- chore: add binaries, build scripts to .gitignore and bump installer versionfa6e1d2- fix(core): comprehensive architectural, security, and usability remediationsFile Change Statistics
This discussion was created from the release Comprehensive Security Hardening, Credential Provider Isolation, and Protocol Remediations.
All reactions