Steal the master key from one company's Windows document protection system, and you may be able to open a partner company's protected files too, even though that partner never shared its key with anyone. That is the result of the third part of Huntress's research series on Active Directory Rights Management Services (AD RMS), published on 2 December by researcher Andrew Schwartz.
AD RMS is the Microsoft technology that encrypts documents and email so only named people can open them. Each deployment signs everything it issues with the private key behind its Server Licensor Certificate. In part two of the series, Huntress showed that a member of the highly privileged AD RMS Service Group could export that key remotely and then read any protected document as anyone. Part three asks how far that stolen key reaches once deployments are connected, as they routinely are after a merger, with a partner, or between business units.
A public certificate is all the attacker needs
AD RMS offers two ways for one deployment to trust another. A Trusted User Domain shares only the other side's public certificate, so the importing deployment will accept user identities the other side vouches for. A Trusted Publishing Domain hands over the other side's private key, typically during a migration. Intuition says the second is the dangerous one. Huntress found that, once a key is already stolen, the opposite holds.
In a lab with two separate Active Directory forests, Schwartz used the key stolen from the first deployment to forge a Rights Account Certificate (the credential that tells AD RMS who a user is) naming a document owner in the second deployment. The second deployment, which trusted the first only through a Trusted User Domain, issued a license for one of its own documents, sealed with its own key and never shared with the first organization. The request was signed by an ordinary low-privilege account from the first forest. Huntress says the attack works out of the box, and reproduced it with Security Identifier (SID) trust switched off and no Trusted Publishing Domain in place.
Two details make this possible. A default Trusted User Domain import trusts all email domains, so a certificate signed by the first deployment can claim an email address belonging to the second. And locally, Huntress found that AD RMS grants access if either the email address or the SID on a certificate matches a permitted user, so either path is enough.
Why the damage cannot simply be rotated away
The licensor certificate issued in Huntress's lab runs from December 2002 to March 2258, and Huntress states plainly that the key cannot be rotated: rotating it would break every document it already protects. That makes a stolen key a long-lived problem, and every trust that honors it widens the exposure.
Scope each trust to the partner's email domains, and alert on mismatches
Huntress's advice is to keep trusts few and reviewed, removing any Trusted User or Publishing Domain that is no longer needed. Where a Trusted User Domain must stay, restrict it to the partner's own email domains and keep SID trust off, its default, since the research tested each path separately. For detection, Huntress recommends alerting when the account requesting a license differs from the identity on the certificate it presents, the exact mismatch its lab attack produced. Administrators can also tell which kind of trust a deployment holds from its configuration database: a Trusted User Domain adds a row to DRMS_TrustedIdentityDomain, while a Trusted Publishing Domain adds one to DRMS_LicensorPrivateKey.
The research describes the trust model working as designed rather than a bug with a patch, and it assumes an attacker who has already stolen a deployment's key. Its lesson is about blast radius: in AD RMS, the trust that looks harmless is the one that carries a compromise across the boundary.
This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.