Habr•August 17, 2026•🇷🇺Translated from Russian

Russian Ministry Certificates Enable Potential State MITM on Foreign Domains

Russian organizations under sanctions have begun switching to certificates issued under the Ministry of Digital Development and Communications root after commercial authorities revoked or declined to renew their existing certificates. Users who visit affected sites now encounter browser warnings that the authenticity of the resource cannot be verified.

The article explains that the only practical workarounds are to install the Ministry root certificates system-wide, switch to Yandex Browser which already bundles them, or maintain two separate browsers. Each option carries significant risks: loss of access to services, full system trust in a state-controlled CA, or reduced usability.

Threat Model

The author constructs a detailed threat model focused on a third party operating inside Russian jurisdiction. This actor can legally compel any Russian company to hand over data and can also deploy TLS interception appliances between users and foreign services. Once the Ministry root is trusted, the same infrastructure can silently terminate and re-sign connections to non-Russian domains, capturing session tokens and credentials.

Because the Ministry root currently carries no name constraints, it can issue certificates for any domain. The article therefore recommends re-signing the root with nameConstraints that permit only the national TLDs .ru, .su, and .рф.

Technical Implementation with OpenSSL

All steps are performed using OpenSSL on macOS and Linux. Users first download the Ministry certificate bundle from gosuslugi.ru, extract the non-GOST files, and create a new local root with appropriate basicConstraints, keyUsage, and nameConstraints extensions.

  • Generate a fresh 4096-bit local root limited to national domains.
  • Create a temporary CSR and extract the public key from the original Ministry root.
  • Cross-sign the Ministry root using the local root and a cross_ca_ext configuration that preserves CA capabilities while inheriting the name constraints.

The resulting new_root_ca.crt can then be installed in the system trust store. Verification commands confirm that sites under .ru domains continue to validate while foreign domains such as sberbank.com are rejected when only the constrained root is present.

The author stresses that users must perform these steps themselves; any party holding the private key of a trusted root can still perform interception within the certificate’s permitted scope.

Related articles

AntiMalware•Privacy & Surveillance

Hisense Smart TVs Transmit Viewing Data Fingerprints to Nexxen Every 2.7 Seconds

Hisense smart televisions have been found sending detailed viewing information to the advertising company Nexxen at intervals of just 2.7 seconds. The devices generate 72-bit digital audio fingerprints from content being played, including material delivered through HDMI connections, and forward these fingerprints along with unique device identifiers to servers operated by the Israeli firm Nexxen. This Automatic Content Recognition mechanism allows the company to identify specific movies, television programs, and advertisements watched by users without transmitting full audio recordings. The data collection activates automatically during the initial setup of the television and supports the creation of detailed user profiles for personalized advertising. Owners can disable the feature through the menu path Settings > System > Advanced Settings by turning off the option labeled Agree to Enhanced Viewing Service. Comparable tracking practices were previously identified in televisions manufactured by LG. Manufacturers of smart TVs often rely on such advertising revenue streams to offset thin profit margins on hardware sales.

Habr•Privacy & Surveillance

Biometrics in Flutter: Why local_auth Alone Fails to Protect Secrets

Using local_auth in Flutter allows quick biometric login but does not automatically secure stored tokens such as refresh tokens. The package only returns an authentication result and leaves token storage unprotected unless combined with platform-specific secure mechanisms. On iOS, developers must configure Keychain access controls with flags like biometryCurrentSet to bind access to the current biometric set. On Android, proper protection requires storing ciphertext in app storage while keeping the encryption key in Android Keystore and linking BiometricPrompt with a CryptoObject. The flutter_secure_storage package can enforce biometric checks via AndroidOptions and IOSOptions, yet default settings do not require authentication. When biometric enrollment changes or verification is canceled, applications must fall back to full re-authentication rather than relying on cached results.

Habr•Privacy & Surveillance

Hisense TV Owner Decrypts Advertising Traffic Revealing Continuous Audio Fingerprinting to Nexxen

A Hisense television owner has successfully decrypted the device's outbound advertising traffic, uncovering systematic surveillance practices. The smart TV transmits audio fingerprints of on-screen content to the advertising company Nexxen approximately every 2.7 seconds. This data collection occurs regardless of the content source, including HDMI-connected devices. The discovery follows similar reports involving LG televisions, indicating a broader industry pattern of smart TV telemetry. Audio fingerprinting enables detailed tracking of viewing habits without requiring direct access to video streams. The findings highlight ongoing privacy concerns with consumer electronics that maintain persistent network connections to third-party advertising platforms.

Habr•Privacy & Surveillance

OpenAI Codex Desktop Leaks Up to 1 MB Git Diffs Bypassing Analytics Opt-Out

Reverse engineering of OpenAI Codex on Windows and macOS revealed multiple privacy and telemetry issues. The client sends raw unified git diffs up to 1 MB in size to analytics endpoints even when users disable analytics and training. Reasoning output is hard-capped at exactly 516 tokens on flagship models, with the limit enforced server-side and confirmed via encrypted content length correlation. The application collects unhashed Windows BIOS serial numbers and UserAssist registry data while scrubbing the same information from local logs. No secure_delete pragma is used in any SQLite database, and microphone recordings remain unencrypted. Remote Statsig flags can override local analytics settings and model routing without user notification.