Skip to content
Cryptography
ASD ISMISM-1553

ASD ISM 1553 Disable TLS compression for security

What it says

TLS compression is disabled for TLS connections.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

TLS compression must be turned off for every TLS connection, so data is never compressed inside TLS before it is encrypted.

TLS compression must be disabled for every TLS connection. TLS compression is an optional feature of TLS 1.2 and earlier, agreed during the handshake, that compresses data just before TLS encrypts it. Disabled means the connection always uses the null (no compression) method: servers the organisation controls select only null, and its clients offer only null. It is separate from HTTP compression, where a web server compresses page content, which this control does not cover. TLS 1.3 removed compression altogether, so connections using it already meet this requirement.

Why it matters

When data is compressed before encryption, each encrypted record's size depends on its content, so an attacker who can add guesses to a victim's requests and watch record sizes can work out secrets such as session cookies (the CRIME attack). Disabling compression removes that leak.

How to implement

  1. Check every endpoint for TLS compression.

    Use a TLS scanning tool, which reports whether a server accepts compression, on each server and appliance still allowing TLS 1.2 or older; endpoints accepting only TLS 1.3 cannot compress. Also check the TLS settings of clients you control.

  2. Turn compression off wherever it is enabled.

    Set the server, appliance or library option that disables TLS compression, so only the null method is offered and accepted. Where an old library offers no such option, upgrade it.

  3. Move remaining endpoints to TLS 1.3, which has no compression.

    ISM-1139 requires TLS 1.3 anyway. For a bought service, confirm by scan that compression is refused, and ask the provider to disable it if not; until then the connection falls short of this control.

Keep it running

Rescan after software updates, library changes and appliance replacements, because compression support can return with a rebuilt or older library. Check each new endpoint before it goes live.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A TLS scan of every endpoint, including any found by a network scan but missing from the organisation's list.

    Look at

    Whether any endpoint accepts a compression method other than null.

    Good evidence

    No endpoint accepts TLS compression: each either accepts only TLS 1.3 or selects only the null method.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A test connection to a sample of endpoints still accepting TLS 1.2, from a client that offers DEFLATE compression.

    Look at

    Which compression method each server selects.

    Good evidence

    Each sampled server selects the null method, so the connection is not compressed.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The TLS settings of a sample of clients the organisation controls.

    Look at

    Whether any client offers a compression method.

    Good evidence

    No sampled client offers a compression method other than null.

Mappings

Closest match in ISO/IEC 27001: A.8.20, Networks security, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.20Networks securityPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.