Habr•September 10, 2026•🇷🇺Translated from Russian

Data Masking: 8 Critical Questions Businesses and Developers Ask About Protecting Sensitive Data

Garda expert Dmitry Larin shares insights from the webinar 'Data Masking: Battle of Opinions', answering frequent questions about protecting sensitive information in test and development environments.

Many organizations secure production databases rigorously while leaving test environments exposed. Developers, contractors, and analysts often access real customer names, payment details, and transaction records because test segments receive only basic network controls. Masking addresses this internal threat that encryption cannot fully mitigate once legitimate access is granted.

Encryption of entire databases can severely degrade performance, as seen in one client case where query speeds dropped dramatically. Masking offers a lighter alternative that keeps data in readable text format, enabling deduplication and compression during backups. The two technologies complement each other: encryption protects against external theft while masking controls what internal users see.

Improper masking can break applications if data loses semantic structure. Effective solutions replace real values with synthetic equivalents that preserve formats, indexes, and relationships, allowing applications to function normally. Organizations can also reduce database size for testing while maintaining required scenarios.

Static masking creates fully detached copies for developers or contractors. Dynamic masking intercepts queries in production to return masked results based on user rights. Selective masking targets specific records such as data of former employees, and streaming masking processes high-volume transfers to analytics platforms without latency requirements of dynamic methods.

Regular expressions outperform ML models on structured fields like passport numbers, while machine learning excels at extracting personal data from unstructured text such as call-center comments. Garda Data Masking combines both approaches with manual verification options.

Processing 5 TB of PostgreSQL data can take 14 hours, and copying 5 TB over a gigabit link requires 11-12 hours. Incremental masking, compressed copies, and careful scheduling outside business hours help balance speed and system load. Resource planning is critical, as demonstrated by a 30 TB pilot that failed because the target VM had only 10 TB capacity.

Custom scripts struggle with multiple database types including PostgreSQL and Oracle, schema changes, and custom data formats. Specialized tools allow reusable rules and proper access-right management that scripts cannot provide.

Related articles

Habr•Privacy & Surveillance

MTS Mobile Exit Selectively Drops TLS Connections to Hetzner, Apple, Microsoft and Other Providers

Measurements from two separate runs on 29 and 30 November show that a single MTS mobile exit belonging to AS30881 (TENSOR) silently drops connections after large ClientHello messages to 18 out of 144 tested addresses. The affected destinations include Hetzner, OVH, DigitalOcean, Vultr, Contabo, Akamai-hosted Apple and Microsoft addresses, plus several other major clouds and CDNs. The same addresses remain reachable from a second MTS segment (AS48176), from MegaFon, and from a Frankfurt control point. The pattern matches an address-list filter rather than congestion, because neighboring prefixes from the same providers stay unaffected and the drop occurs at a consistent byte threshold of roughly 34-36 KB. Tests with plain HTTP on one Cloudflare address produced identical behavior, confirming that TLS is not required. Researchers emphasize that the measurements cover only one specific MTS exit and do not prove nationwide deployment or involvement of TSPU equipment.

AntiMalware•Privacy & Surveillance

Russian Networks Exhibit HTTPS and VPN Disruptions After 16KB of Data Transfer

Developers from Red Atlas have documented a traffic restriction affecting connections from certain Russian networks to foreign hosting providers. TCP connections establish normally and TLS handshakes complete successfully, yet data flow stops after the first 16,384 bytes of decrypted content. The issue was observed consistently across all tested addresses of Hetzner, Vultr, DigitalOcean, Contabo, and OVH when routed through MTS AS30881. Standard connectivity checks such as port scanning may still return positive results, masking the limitation from basic diagnostics. Researchers note that the 16KB threshold aligns with the maximum size of a single TLS record, suggesting a content-filtering mechanism that inspects decrypted traffic. A comparable filtering approach was previously reported by Cloudflare in June 2025. Red Atlas introduced a specialized test using oversized TLS ClientHello messages to distinguish this behavior from server-side failures.

Habr•Privacy & Surveillance

Russian ISP MTS Blocks TLS Data Transfers to Foreign Hosts After 16KB

A new network filtering mechanism has been detected on MTS network AS30881 that interrupts TLS connections to overseas hosting providers once roughly 16,384 bytes of application data have been received. The interference allows the TCP handshake and TLS handshake to complete normally, after which the connection simply stalls without RST or FIN packets. Red Atlas researchers confirmed the behavior on all tested addresses belonging to Hetzner, Vultr, DigitalOcean, Contabo and OVH when accessed through this specific network. The same test produced no interruptions from other Russian mobile and datacenter networks including MTS AS48176, MegaFon and Timeweb. The effect matches earlier observations reported by Cloudflare in June 2025 and appears to be implemented via deep packet inspection that drops or ignores subsequent packets after a volume threshold. A lightweight Python probe using oversized ClientHello messages with padding extension has been released to allow independent verification of the filtering boundary.

Habr•Privacy & Surveillance

Replacing Names with [PERSON_1] Before Sending Contracts to External LLMs: Does This Qualify as Anonymization Under Russian Law?

Russian organizations frequently need to analyze multi-page contracts containing personal data such as full names, passport details, INN, and phone numbers using external large language models. Simply replacing names with placeholders like [PERSON_1] may not meet the legal threshold for anonymization if the remaining context still allows identification of individuals. Roskomnadzor Order No. 140, effective since September 1 2025, outlines specific methods including identifier introduction, semantic modification, decomposition, shuffling, and array transformation that must be evaluated together. Companies must assess whether the processed query alone or combined with other data available to the provider could lead to re-identification. The correspondence table linking labels to original values must remain strictly inside the organization and separate from the processed data. Additional checks are required for repeated mentions in appendices, job titles, company names, exact amounts, and dates that could link back to public procurement records or court cases.