Skip to content
System access
ASD ISMISM-1956

ASD ISM 1956 Regularly update AD FS certificates to prevent risks

What it says

Microsoft AD FS token-signing and encryption certificates are changed twice in quick succession if they are compromised, they are suspected of being compromised or they have not been changed in the past 12 months.

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

In plain English

Change Microsoft AD FS token-signing and encryption certificates twice in quick succession if they are compromised or suspected to be, or have gone 12 months without a change.

Microsoft AD FS token-signing and encryption certificates must be changed twice in quick succession if:

  • they are compromised
  • they are suspected of being compromised
  • they have not been changed in the past 12 months.

AD FS (Active Directory Federation Services) issues sign-in tokens that other services trust. The token-signing certificate proves a token came from it; the encryption certificate, listed as token-decrypting, lets partners encrypt tokens sent to it. After one change the old certificate can stay trusted as a secondary, which is why two are needed.

Why it matters

Anyone holding the token-signing private key can forge sign-in tokens that partner services accept for any user, bypassing passwords and multi-factor authentication. Changing twice, with partners updated, ends trust in a stolen key, and the 12-month limit caps how long an unnoticed theft stays useful.

How to implement

  1. List each AD FS farm's certificates and every party that trusts them.

    Record the current token-signing and token-decrypting certificates, their thumbprints and when each took effect. For every relying party and claims provider trust, note whether it reads federation metadata automatically or needs new certificates loaded by hand, and who to contact.

  2. Agree the timing with partners who load certificates by hand.

    They will reject tokens signed with a new certificate until they load it, so tell them when both changes will happen. For a compromise, give what notice you can, and warn that sign-ins to their service will fail until they update.

  3. Change each certificate, then change it again in quick succession.

    Use AD FS urgent certificate rollover, or install new certificates and make them primary if the farm uses certificates from another issuer. In a compromise, time the changes with the rest of the remediation (ISM-1732), because an actor still on an AD FS server can take the new keys.

  4. Confirm the original certificates are gone and record the changes.

    Check the farm and its federation metadata, have each partner that reads metadata refresh it, test sign-in to each relying party, and confirm no partner still trusts the originals. Record both change times and thumbprints, and set the next due date no more than 12 months after the second change.

Keep it running

Set the next due date no more than 12 months after the second change of each pair, and keep the list of partners that load certificates by hand current. Recheck when a relying party or claims provider trust is added.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The token-signing and token-decrypting certificates in each AD FS farm, read live, with their validity start dates and the change records for each change.

    Look at

    When each certificate took effect, and whether each change made for a compromise, a suspected compromise or the 12-month limit was one of two in quick succession.

    Good evidence

    Each certificate was changed within the past 12 months, and every change made because of a compromise, a suspected compromise or the 12-month limit was one of two in quick succession.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The federation metadata the farm publishes, and the trusted certificates in a sample of relying parties, including ones that load certificates by hand.

    Look at

    Whether any of them still lists a certificate that was in use before the latest pair of changes.

    Good evidence

    Neither the metadata nor any sampled relying party lists a certificate that was in use before the latest pair of changes.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Incident records and AD FS server security alerts since the last audit involving the AD FS servers, the accounts that administer them or the domain they rely on, compared with the certificate change history.

    Look at

    Whether the remediation record of each compromise or suspected compromise of the certificates includes two changes in quick succession, rather than relying on the next scheduled pair.

    Good evidence

    Each time a compromise or suspected compromise of the certificates, an AD FS server, an account that administers it or the domain became known, the affected certificates were changed twice in quick succession as a recorded remediation action, matching the change history, not left to the next scheduled pair.

Mappings

Closest match in ISO/IEC 27001: A.5.26, Response to information security incidents, which partially overlaps with this control.

ISO 27001

ISO/IEC 27001: 1 mapping

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