One file sitting on an AD RMS server can decide who reads a company’s board minutes until the year 2258. In research published on 2 December 2026, Huntress showed that the same file, once stolen, can also open documents in a completely different Active Directory forest that merely trusts the first one.
The AD RMS attack works like this: an attacker who has extracted one deployment’s Server Licensor Certificate (SLC) private key forges user certificates, and a partner deployment linked by a trusted user domain accepts them and licenses protected documents. Huntress researcher Andrew Schwartz demonstrated it in a two-forest lab using his own tool, SharpRMS. The forgery still worked with SID trust disabled and the trusted publishing domain removed. Huntress calls it an architectural trust issue, not a new vulnerability, and no CVE or Microsoft response has been reported. Cyber Press and GBHackers covered the research on 3 December.
- What is AD RMS, and why does it matter now?
- How the research unfolded: three parts in three months
- How does the AD RMS attack work across forests?
- What can an attacker read, and what can they not?
- How the AD RMS SLC compares to other unrotatable secrets
- Who is affected and how to check your exposure
- How to detect the AD RMS attack
- How to mitigate the AD RMS attack
- Open questions
- The bottom line
- Sources
What is AD RMS, and why does it matter now?
Active Directory Rights Management Services (AD RMS) is Microsoft’s on-premises digital rights management server. It encrypts Office documents and email and attaches permissions, such as view-only or no-print, that travel with the file wherever it is copied.
Huntress points out that the permissions are enforced by the client application, while the encryption depends on one server key. Every protected document’s content key is encrypted to the public half of the Server Licensor Certificate, the root certificate of an AD RMS cluster.
Is AD RMS deprecated?
Partly. According to Huntress, Microsoft’s migration guidance says AD RMS is no longer in active development and recommends Azure Information Protection, yet the role still ships in Windows Server 2025 for backward compatibility. Microsoft’s current list of removed and deprecated Windows Server features does not list AD RMS itself, but it names AD RMS among the roles that use Windows Internal Database, which Microsoft says will be removed in a future release.
That combination is why the research matters. Organisations that kept AD RMS typically use it for the files they consider most sensitive, and a role that is no longer developed is easy to stop reviewing.
How the research unfolded: three parts in three months
The December post is the third in a series. The first two, published on 8 and 10 September 2026, covered reconnaissance and key theft inside one forest. Part 3 extends the theft across a trust.
| Date | Publication | What it showed |
|---|---|---|
| 2016 | DisARMS paper, USENIX WOOT (Ruhr University Bochum) | Client-side attacks on RMS-protected documents |
| 8 Sep 2026 | Huntress Part 1 | Any domain user can map AD RMS clusters, templates and protected files |
| 10 Sep 2026 | Huntress Part 2 | A Service Group member can export the SLC key and decrypt documents offline |
| 2 Dec 2026 | Huntress Part 3 | The stolen key forges identities a partner forest accepts |
| 3 Dec 2026 | Cyber Press, GBHackers | Security press coverage of Part 3 |
What Part 1 and Part 2 established
Part 1 showed that an ordinary domain user can discover an AD RMS cluster through Active Directory and the registry, find its web service endpoints, recognise protected files by their format, and read rights templates. None of this needs special rights.
Part 2 is where the key leaves the building. Huntress found that any member of the AD RMS Service Group can request a trusted publishing domain export through the administrative web service, which hands over the SLC private key blob. With that blob, protected documents can be decrypted offline, without contacting the server again. Schwartz stresses that this is not a DCSync equivalent: it does not compromise the domain, but it permanently compromises everything AD RMS protects.
How does the AD RMS attack work across forests?
The cross-forest step depends on the difference between the two kinds of trust AD RMS supports.
Trusted user domain vs trusted publishing domain
A trusted user domain (TUD) lets one AD RMS cluster accept Rights Account Certificates issued by another cluster. A Rights Account Certificate (RAC) is the certificate that proves a user’s identity to AD RMS. Microsoft’s documentation says a TUD is added by importing the other cluster’s server licensor certificate and that no private key is transferred.
A trusted publishing domain (TPD) goes further: it imports the other cluster’s certificate and private key, so the receiving cluster can license content the other one protected. Huntress treats importing a TPD as a key custody event in its own right.
The forgery, step by step
In the lab, a New Jersey forest and a New York forest each ran their own AD RMS cluster, and New York trusted New Jersey through a TUD. At a conceptual level, the chain looked like this:
- The attacker holds the New Jersey SLC private key, extracted earlier as a Service Group member.
- From a low-privilege New Jersey account, the attacker uses SharpRMS to take a legitimate RAC, rewrite the identity to a New York user, and sign it again with the stolen key.
- New York’s AD RMS checks the signature against the New Jersey public certificate it imported with the TUD. It matches.
- New York issues a use license for content sealed to its own SLC, for a document that was never shared with the attacker.
Huntress says the attack needs no privileges in New York. The impersonated New York user happened to be a domain admin in the lab, but an AD RMS identity carries no Active Directory rights, so the choice was incidental.
Why removing SID trust and the TPD did not help
Schwartz tested the obvious fixes. According to Huntress, the forgery still worked with SID trust switched off and with the trusted publishing domain removed, so the user trust alone was enough.
Huntress and Cyber Press both report that a default TUD trusts all email domains. Microsoft’s archived TUD documentation offers both “trust all” and “trust only specified” options but does not state which is the default, so check your own configuration rather than relying on either. Restricting a TUD to the partner’s email domains narrows the reach, but Huntress notes the attacker can still forge any identity inside those domains. Cyber Press adds that when SID trust was on, a forged in-domain certificate carrying the victim’s SID was also accepted.
What can an attacker read, and what can they not?
A forged identity gets exactly the rights the real user holds, no more. Cyber Press compares it to a Silver Ticket rather than a Golden Ticket: it forges access to one service, not to the whole domain. Schwartz puts it as forging an identity not being the same as forging authorisation.
In practice that limit is small comfort. The attacker can pick any user in the trusted domains, so they can pick the one person who was granted access to the merger file or the board minutes.
Why the key cannot simply be rotated
Huntress found that the lab SLC is valid from December 2002 to March 2258, about 255 years; it notes Microsoft documents a 250-year validity. More important, the SLC has no rotation mechanism that helps old content. A new SLC changes only what is issued from then on, because every existing document’s content key is still encrypted to the old public key.
How the AD RMS SLC compares to other unrotatable secrets
Part 2 places the SLC next to two better-known Active Directory secrets. The comparison explains why defenders should treat it as tier 0 material, even though it grants no domain rights.
| Secret | What theft gives | Can it be rotated? |
|---|---|---|
| KRBTGT account key | Golden Tickets for the whole domain | Yes: two resets invalidate forged tickets |
| DPAPI domain backup key | Decryption of users’ DPAPI secrets | No Microsoft-supported rotation |
| AD RMS SLC private key | Offline decryption of all protected content, and forged identities in trusting forests | A new SLC does not protect content already sealed |
Readers who follow Huntress work will recognise the pattern from the device code phishing campaign that planted rogue Entra ID devices, which Schwartz co-authored: a credential reset does not end access when the attacker holds a different, longer-lived secret.
Who is affected and how to check your exposure
You are in scope if you run on-premises AD RMS and any of these apply:
- Your cluster has imported a trusted user domain from another AD RMS deployment, for example after a merger or for a partner.
- Your SLC key is protected in software rather than a hardware security module (HSM). Huntress says software protection is the common default, and an HSM-backed key is out of reach of the software extraction paths.
- You run a hold-your-own-key (HYOK) setup alongside Microsoft Purview. Huntress says cloud-only Azure Information Protection and Purview deployments are not exposed by default.
To check, open the AD RMS console and look under Trust Policies for trusted user domains and trusted publishing domains. Note for each TUD whether it trusts all email domains and whether SID trust is enabled. Huntress also notes the two imports leave different rows in the configuration database: a TUD import adds a row to DRMS_TrustedIdentityDomain, and a TPD import adds a row to DRMS_LicensorPrivateKey.
How to detect the AD RMS attack
There is no Windows event log entry for most of this activity. According to Huntress, no default Windows event fires on a trusted publishing domain export. Detection has to come from AD RMS’s own data and the web server in front of it.
Log sources and behaviours to watch
- Caller and certificate mismatch. Huntress recommends joining dbo.ServiceRequestView, which records the user name, domain and source address of each request, to the certificate tables (Certificate.IssuedPrincipalObjectId and XrmlObject). Alert when the authenticated caller differs from the identity on the issued license. In the lab, every forgery showed a low-privilege New Jersey caller receiving a license for someone else.
- IIS logs for the admin web service. Part 2 says IIS logs record POSTs to the /_wmcs/admin/ path with user, source IP and user agent. The operation name sits in the SOAP body, so you need request body capture to tell a key export from routine administration.
- Service Group membership changes. Huntress notes that privileged group monitoring usually covers Domain Admins but not the AD RMS Service Group. Add it.
- New trust imports. New rows in DRMS_TrustedIdentityDomain or DRMS_LicensorPrivateKey should be rare and tied to a change ticket.
MITRE ATT&CK mapping
Huntress does not map its steps to ATT&CK. ZeroHour’s summary of the research tags it as T1649 (Steal or Forge Authentication Certificates) and T1552.004 (Unsecured Credentials: Private Keys), which fit the key theft and the certificate forgery. If you already hunt for forged certificates in Active Directory Certificate Services, the same mindset applies here.
How to mitigate the AD RMS attack
Huntress’s recommendations from Part 2 and Part 3, in priority order:
- Inventory and cut trusts. Remove every trusted user domain and trusted publishing domain you cannot justify, and review the rest on a schedule.
- Scope the trusts you keep. Set each TUD to trust only the partner’s named email domains, and keep SID trust off unless it is required.
- Treat the AD RMS Service Group as tier 0. Review membership and alert on every change.
- Guard TPD export files like private keys. Store them encrypted with restricted access. Part 3 says the export password is derived with a single unsalted SHA-256, so a weak password can be cracked offline.
- Protect the admin surface. Require TLS and Extended Protection for Authentication on the AD RMS web services.
- Move the SLC key to an HSM. This blocks the software extraction paths for the future, but Huntress warns it does nothing for a key that has already been exposed.
- If a key was exposed, re-protect content. Because the SLC cannot be rotated in place, recovery means migrating sensitive documents to a new deployment. Exclusion policies do not help, since each forgery uses a fresh key pair.
For red teams, AD RMS is a reminder that tier 0 is bigger than the domain controllers, the same lesson as the OutsideIn Windows 11 anti-tamper bypass and PPLhost: the services that hold long-lived keys deserve the same scrutiny as admin groups.
Open questions
- Microsoft’s position. None of the coverage reports a Microsoft statement or a security update, and no CVE has been assigned.
- Defaults. Huntress and Cyber Press say a default TUD trusts all email domains. Microsoft’s archived documentation does not state the default either way.
- Logging coverage. Part 2 notes that the AD RMS logging database does not record every request type, while Part 3 builds its detection on that database. Test that your version logs the license requests you plan to alert on before relying on it.
- Tool availability. The posts describe SharpRMS in detail, but none of the pages reviewed for this article linked a public repository for it.
- Real-world use. The technique has only been shown in a lab. There are no reports of it being used in an intrusion.
The bottom line
The AD RMS attack is not a bug, which is exactly why it is hard to fix: a trusted user domain checks a signature, and whoever holds the signing key can be anyone. If you still run AD RMS, treat its server key and Service Group as tier 0, trust partners by named email domain only, and alert when the caller and the certificate disagree.
Sources
- Huntress: AD Rights Management Service (Part 3): The Forgery Crosses the Trust
- Huntress: AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key
- Huntress: AD Rights Management Service (Part 1): Architecture, Deprecation, and Reconnaissance
- Cyber Press: Microsoft AD RMS Trust Flaw Could Let Hackers Forge User Identities
- ZeroHour: AD RMS trust lets forged certificates unlock documents across forests
- Microsoft Learn: Understanding AD RMS Trust Policies
- Microsoft Learn: Add a Trusted User Domain
- Microsoft Learn: Removed and deprecated features in Windows Server
- USENIX WOOT 2016: How to Break Microsoft Rights Management Services
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.