← Voltar ao feed
medium

Huntress: stolen AD RMS SLC key lets forged RACs cross Trusted User Domains and decrypt documents in a second deployment

2 fonte(s) · 2 atualização(ões) · publicado 02/12/2026 11:00 · coletado há 2 dias

Matéria consolidada. Reúne 2 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 2 fontes trouxeram em 04/12/2026 12:08; os links antigos trazem para cá.

Fontes: gbhackers.com ↗ huntress.com ↗

Huntress researcher Andrew Schwartz (gbhackers.com) published Part 3 of the AD RMS series on December 2, 2026. It shows that an attacker holding one Microsoft AD RMS deployment's Server Licensor Certificate (SLC) private key can compromise a second deployment that trusts it through a Trusted User Domain (TUD) (huntress.com). In a two-forest lab, a low-privilege New Jersey account forged a Rights Account Certificate (RAC) for a New York user, signed with New Jersey's stolen key. New York issued a use license for a document sealed to its own key, and the attacker decrypted it offline (huntress.com). The attack still worked with the Trusted Publishing Domain (TPD) removed and SID trust disabled, because the default TUD configuration was enough (gbhackers.com). This is lab research and an architectural trust risk, not a new software vulnerability. It presumes the key is already stolen. No CVE, vendor fix or in-the-wild exploitation is reported (huntress.com, gbhackers.com).

Entenda a falha

A vulnerabilidade

This is not a CVE or a new software bug. Huntress (Andrew Schwartz) describes an architectural trust risk in Microsoft AD RMS. An attacker who already holds one deployment's Server Licensor Certificate (SLC) private key needs a low-privilege authenticated account in that forest and network reach, over a forest trust, to a second deployment's licensing endpoint. With those, the attacker can forge Rights Account Certificates (RACs). If the second deployment imported the first one's Trusted User Domain (TUD), it issues use licenses for its own protected documents, and the attacker decrypts them offline. By default an imported TUD accepts identities from all email domains. No privileges in the second deployment are needed. No affected or fixed versions, vendor fix or in-the-wild exploitation are reported.

Como funciona

A deployment's SLC private key signs the certificates it issues. In the lab, the attacker re-signed a genuine RAC template with the stolen key, writing in the identity of a user of the second deployment. The second deployment had imported only the first one's public SLC as a TUD, so it checked that the RAC chained to that SLC and accepted the identity it named. It binds identity from the certificate, not from the account that authenticated, and licenses a request when the email or the SID matches a document grantee. It then issued a use license for a document sealed to its own key, and the attacker opened the file offline.

Por que é vulnerável

The root cause is a trust model working as designed rather than a coding error. A TUD makes the importer honor any RAC signed by the other deployment's SLC, and it relies on that deployment to vouch for identities, including email domains it should not speak for. The default import accepts all email domains, and identity comes from the certificate rather than the authenticating account, so the stolen key carries across the boundary while the target's own key never moves. Recovery is costly: SLC certificates can stay valid for more than 250 years, and replacing a compromised key can invalidate previously protected documents. No vendor fix is cited.

Onde está

No code location is named; the articles point to the AD RMS web services interface (key export), the licensing endpoint and AcquireLicense events, and to the DRMS_TrustedIdentityDomain and DRMS_LicensorPrivateKey database tables as forensic traces of trust imports.

Como foi descoberta

Huntress researcher Andrew Schwartz published the work on December 2, 2026, as Part 3 of an AD RMS series, built in a purpose-built two-forest lab. Earlier research in the series showed that members of the AD RMS Service Group can export the SLC private key through the web services interface without an interactive server login. gbhackers.com covered it afterwards. The articles mention no CVE, vendor advisory, coordinated disclosure or in-the-wild exploitation.

PoC pública

The researcher demonstrated the attack end to end in a two-forest lab with his SharpRMS tool: its goldenrac command re-signs a genuine RAC template with a chosen identity and requests a use license, and a separate decrypt command opens the file. A New Jersey-signed RAC was honored by New York for a document never shared with New Jersey, even with the TPD removed and SID trust disabled. The Huntress write-up documents these working lab results; the articles do not say explicitly whether the SharpRMS code is released. It presumes the key is already stolen, so urgency depends on SLC key exposure and TUD configuration.

Publicada em: www.huntress.com/blog/ad-rms-the-forgery-crosses-the-trust ↗

Explicação gerada por IA a partir da matéria e dos artigos, em 04/12/2026 12:23.

Detalhes técnicos

  • Key theft (earlier research): members of the AD RMS Service Group could export the SLC private key through the web services interface without an interactive server login (gbhackers.com, huntress.com).
  • Trust types: a TUD hands over only the public SLC, so the importer honors RACs issued by the other deployment. A TPD hands over the SLC plus its private key. With the key already stolen, the TUD multiplies the blast radius because the key material never moves (huntress.com).
  • Default behavior: imported TUDs accept identities from all email domains by default. This let a New Jersey-signed RAC claim a New York-domain email even with SID trust disabled (huntress.com, gbhackers.com).
  • Tooling: the researcher's SharpRMS goldenrac command re-signs a genuine RAC template, copying its issuer block and chain verbatim. It writes in a chosen identity (/target, /sid) and requests a use license from the licensing endpoint. A separate decrypt command opens the file (huntress.com).
  • Identity matching: the deployment licensed a request when either the email or the SID matched a grantee. It binds identity from the certificate, not from the authenticating account. In the lab, paulie.gualtieri authenticated but the licensed identity was tony.soprano, and the article calls this mismatch the attack's tell (huntress.com).
  • Cross-forest result: New York honored a New Jersey-signed RAC naming its own owner, johnny.sack. The target document was never shared with New Jersey and its content key was sealed to New York's SLC. A TPD copy of New Jersey's key could not have opened it (huntress.com).
  • Prerequisites: the SLC private key, a low-privilege authenticated account in the trusted forest, and an AD forest trust giving network reach to New York's licensing endpoint. No privileges in New York are needed (huntress.com).
  • Weaker variant: with the TPD imported, New York opened New Jersey-sealed content because it held a copy of the key. This adds nothing the stolen key did not already provide (huntress.com).
  • Persistence of impact: SLC certificates can stay valid for more than 250 years, and replacing a compromised key can invalidate previously protected documents (gbhackers.com).
  • Forensics: a TUD import adds a row to DRMS_TrustedIdentityDomain, and a TPD import adds a row to DRMS_LicensorPrivateKey. RMS-protected Office files begin with the OLE signature D0-CF-11-E0, which an attacker can use to sweep shares for protected files (huntress.com; the source text is truncated at this point).

Remediação

  • Restrict TUDs to explicitly authorized partner email domains (gbhackers.com).
  • Keep SID trust disabled (gbhackers.com).
  • Minimize trust relationships (gbhackers.com).
  • Closely monitor AD RMS Service Group membership (gbhackers.com).
  • Monitor AcquireLicense events for mismatches between the authenticated requesting account and the certificate identity (gbhackers.com, huntress.com).
  • Review new rows in DRMS_TrustedIdentityDomain and DRMS_LicensorPrivateKey for unexpected trust imports (huntress.com).
  • No vendor fix is cited (gbhackers.com).

Linha do tempo

  1. gbhackers.com ↗ · pub. 03/12/2026 10:00 · coletado 03/12 12:00

    Huntress: stolen AD RMS SLC key lets attackers cross Trusted User Domains and decrypt documents in other deployments

    The gbhackers.com coverage dates the Huntress research to December 2, 2026 and credits Andrew Schwartz. It confirms the final test that the earlier record lacked: the attack still works with the TPD removed and SID trust disabled, since the default TUD configuration is sufficient. It also characterizes the finding as an architectural trust risk rather than a software vulnerability, and it adds hardening guidance and AcquireLicense monitoring.

    ler a análise desta fonte

    The gbhackers.com coverage dates the Huntress research to December 2, 2026 and credits Andrew Schwartz. It confirms the final test that the earlier record lacked: the attack still works with the TPD removed and SID trust disabled, since the default TUD configuration is sufficient. It also characterizes the finding as an architectural trust risk rather than a software vulnerability, and it adds hardening guidance and AcquireLicense monitoring.

    Huntress researcher Andrew Schwartz published research on December 2, 2026 showing how a stolen Server Licensor Certificate (SLC) private key from one Microsoft AD RMS deployment can be used against a separate, trusting deployment. Through Trusted User Domains (TUDs), the attacker forges Rights Account Certificates (RACs) to impersonate legitimate recipients and decrypt documents that were never shared with the compromised organization. The attack still worked after the Trusted Publishing Domain (TPD) was removed and SID trust was disabled, because the default TUD configuration was enough. The work was done in a two-forest lab and is described as an architectural trust risk, not a new software vulnerability. It presumes the key is already stolen, and no CVE or in-the-wild exploitation is reported (gbhackers.com).

    Technical Details

    • Earlier research showed that members of the AD RMS Service Group could export the SLC private key through the web services interface without an interactive server login.
    • TUDs rely on public certificates only, while TPDs transfer private key material. The receiving deployment can therefore accept forged identities without ever holding the compromised key.
    • By default, imported TUDs accept identities from all email domains.
    • SLC certificates can stay valid for more than 250 years, and replacing a compromised key can invalidate previously protected documents.

    Remediation

    • Restrict TUDs to explicitly authorized partner email domains.
    • Keep SID trust disabled.
    • Minimize trust relationships.
    • Closely monitor AD RMS Service Group membership.
    • Monitor AcquireLicense events for mismatches between the authenticated requesting account and the certificate identity.
    • The article cites no vendor fix (gbhackers.com).
  2. huntress.com ↗ · pub. 02/12/2026 11:00 · coletado 02/12 20:00 primeiro registro

    Huntress research: stolen AD RMS SLC key lets forged certificates cross a Trusted User Domain and open documents in a second deployment

    ler a análise desta fonte

    Part 3 of Huntress's AD RMS series shows that an attacker holding one deployment's Server Licensor Certificate (SLC) private key can extend the compromise to a second deployment that trusts it. The key was extracted in Part 2 by a member of the AD RMS Service Group. In a purpose-built two-forest lab, a low-privilege New Jersey account forged a Rights Account Certificate (RAC) for a New York user, signed with New Jersey's stolen key. New York had imported only New Jersey's Trusted User Domain (TUD), which is the public certificate, and it issued a use license for a document sealed to New York's own key. The attacker then decrypted that document offline. This is lab research that presumes the SLC key is already stolen. No CVE, vendor advisory or in-the-wild exploitation is mentioned, and the article is truncated before the final test with the Trusted Publishing Domain (TPD) removed.

    Technical Details

    • Trust types: a TUD hands over only the public SLC, so the importer honors RACs the other deployment issued. A TPD hands over the SLC plus its private key. In the already-stolen-key scenario, the TUD is the blast-radius multiplier, because the key material never moves.
    • Tooling: the researcher's SharpRMS goldenrac command re-signs a genuine RAC template, copying its issuer block and chain verbatim. It writes in a chosen identity (/target, /sid), requests a use license from the licensing endpoint, and a separate decrypt command opens the file.
    • Identity matching: in the New Jersey test, the deployment licensed a request when either the email or the SID matched a grantee. An identity matching neither was refused. The deployment binds identity from the certificate, not from the account that authenticated, so the authenticating account (paulie.gualtieri) differs from the licensed identity (tony.soprano). The article calls this mismatch the attack's tell.
    • Cross-forest result: New York honored a New Jersey-signed RAC naming its own owner, johnny.sack. The target document was never shared with New Jersey. Its content key was sealed to New York's SLC, so a TPD copy of New Jersey's key could not have opened it. In this lab, the default TUD import trusted all email domains, which allowed an A-signed RAC to claim a B-domain email even with SID trust disabled.
    • Prerequisites: the SLC private key, a low-privilege authenticated account in the trusted forest, and an AD forest trust that gives network reach to New York's licensing endpoint. The attacker needs no privileges in New York.
    • Weaker variant: with the TPD imported, New York opened New Jersey-sealed content because it held a copy of the key. This adds nothing the stolen key did not already provide.
    • Detection and forensics: a TUD import adds a row to DRMS_TrustedIdentityDomain, and a TPD import adds a row to DRMS_LicensorPrivateKey. RMS-protected Office files begin with the OLE signature D0-CF-11-E0, which is how an attacker sweeps shares for targets. The trust policy is readable only by the AD RMS Service Group, and a plain user gets HTTP 401 on /admin. The AD forest trust is visible to any user via nltest /domain_trusts.
    • Key lifetime: the SLC validity runs roughly 255 years (December 2002 to March 2258). The key cannot be rotated without invalidating every protected document.

    Remediation

    The excerpt gives no vendor fix or formal remediation. Implied defensive points are to restrict and monitor AD RMS Service Group membership, protect SLC private key export, review imported TUD and TPD entries in the configuration database, and watch for use licenses where the authenticating account differs from the licensed identity. These are inferences from the article, not vendor guidance. Huntress's own site was the only source read for this record.