Encrypted Traffic Analysis (ETA)

Threat-detection techniques that examine encrypted network traffic without decryption — using TLS metadata, fingerprinting (JA3/JA4), packet sizes and timing, and machine learning.

Encrypted Traffic Analysis (ETA) is a set of techniques that detect threats and identify the type of network traffic without decrypting connections. Instead of reading packet payloads, ETA looks at what is visible from the outside anyway: the unencrypted parts of the TLS handshake (such as the ClientHello message), packet sizes and order, the timing between packets, certificate details, DNS queries, and address/port pairs. It is a bit like judging a parcel by its shape, weight, and label without opening the box. From these features, statistical methods and machine learning (ML, models that learn from data) identify malware, communication with attacker-controlled servers (command-and-control, or C2), data exfiltration, and unusual behavior — while the contents of the connection stay private.

Why has analyzing encrypted traffic become necessary?

Today almost all enterprise and internet traffic is encrypted with TLS (the protocol behind HTTPS, and also behind DoH and QUIC). Encryption protects privacy, but it also creates a blind spot for older tools that detected threats by reading content (DPI, IDS signatures). Attackers know this and deliberately hide malicious traffic inside TLS, because defenders cannot read the encrypted payload anyway.

You could decrypt everything at a network gateway, but that is costly, breaks application protections (certificate pinning), harms privacy, and may conflict with regulations. ETA solves the problem differently: it restores visibility without looking at the content.

How does Encrypted Traffic Analysis work?

ETA uses connection features that remain visible despite encryption. The most common are:

  • TLS handshake data — the ClientHello and ServerHello messages are sent in the clear, before encryption starts. They carry the protocol version, the list of supported encryption algorithms (cipher suites), extensions, and other settings. That combination is characteristic of a specific application or library.
  • Connection fingerprint (JA3/JA4)JA3 takes selected ClientHello fields, puts them in a fixed order, and turns them into a short code (an MD5 hash). The result is a compact client identifier; its server-side counterpart is JA3S. The newer JA4+ family is human-readable, harder to forge, copes better with browsers randomizing their settings, and also covers QUIC and DTLS.
  • SPLT, the sequence of packet lengths and times — the sizes of consecutive packets and the gaps between them form a characteristic rhythm for a session, often unique to a given application or malware family.
  • Byte distribution and the first data packet — the statistics of byte values and the connection’s initial data packet carry a signal useful for classification, again without decryption.
  • Certificate details — who issued it and to whom, how long it is valid, whether it is self-signed, whether the domain matches, and whether it was issued moments ago. Such signals can be a lead toward attacker infrastructure.
  • Network contextDNS queries (including their abuse for covert transmission, known as DNS tunneling), the SNI server name, address/port pairs, session duration and direction, and beaconing, meaning connecting at regular intervals.

These features feed machine learning models. Some are trained on labeled examples (malicious vs. normal traffic), while others learn the typical behavior of a host, user, or application and flag deviations from that baseline.

How does ETA differ from decryption (TLS inspection)?

Decryption (TLS/SSL inspection) works differently: a proxy terminates the connection, decrypts the content, inspects it, and re-encrypts it. It gives full visibility into the payload, but it requires installing a custom certificate on devices, puts heavy load on hardware, conflicts with application protections (certificate pinning), and raises privacy and compliance risks.

ETA does the opposite: it decrypts nothing and infers from metadata and behavior. In practice the two approaches complement each other well. Decryption is worth using at selected, sanctioned points, while ETA covers all traffic — including flows that may not or cannot be decrypted.

What threats does ETA detect?

  • Malware connecting over TLS — by the characteristic fingerprint of the libraries and tools it uses.
  • Communication with attacker-controlled servers (C2) — beaconing, unusual timing, and connections to newly registered or suspicious infrastructure.
  • Data exfiltration — unusual volume and direction of traffic, such as long outbound sessions with an odd distribution of packet sizes.
  • DNS tunneling — using DNS queries as a covert channel to move data.
  • Unauthorized applications (shadow IT) — identifying which application is running, despite encryption.
  • Unusual IoT/OT device behavior — deviations from their usually predictable, narrow communication patterns.

What role does ETA play in NDR and network monitoring?

ETA is a cornerstone of Network Detection and Response (NDR), that is, detecting and responding to threats at the network level. Since encrypted traffic dominates, without metadata analysis NDR would only see part of what is happening.

ETA supplies the data and detections that are then combined with other sources: flow records (NetFlow/IPFIX), logs, SIEM data, and IDS/IPS alerts. The results reach analysts in the security operations center (SOC) and can trigger an automated response, such as isolating an infected host, in SOAR tooling. The data is usually collected from network sensors, mirror ports and taps (TAPs), or from firewalls and proxy servers that export metadata to a central platform.

What are the limitations of ETA?

ETA is not a magic cure. Behavioral and ML detection produces false alarms, needs good training data, and loses accuracy as the network changes. Fingerprints age: TLS setting randomization in modern browsers has greatly weakened the uniqueness of JA3 and was one reason JA4+ was created. Attackers can also deliberately make their traffic look like ordinary applications. So ETA is best treated as a complementary layer — strongest when combined with address reputation, threat intelligence, identity context, and correlation in NDR/SIEM, rather than as a standalone mechanism.

Learn more