<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq" -->

---
title: AD Rights Management Service (Part 2): Extraction,...
description: A deep technical walkthrough of attacking Active Directory Rights Management Services (AD RMS) at the root key level. An AD RMS Service Group member can export...
canonical: https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key | daily.dev
og:description: A deep technical walkthrough of attacking Active Directory Rights Management Services (AD RMS) at the root key level. An AD RMS Service Group member can export...
og:url: https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq
og:image: https://api.daily.dev/og/posts/mgP68uZYQ.png
og:image:alt: AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key

**[Huntress Blog](https://daily.dev/sources/huntress-blog)** · 33 min read · 0 upvotes · 0 comments

## Summary

A deep technical walkthrough of attacking Active Directory Rights Management Services (AD RMS) at the root key level. An AD RMS Service Group member can export the Server Licensor Certificate (SLC) private key via a single authenticated SOAP call to the admin surface. That 1172-byte key decrypts every document the deployment ever protected — offline, with no server contact — and cannot be rotated out: rebuilding the cluster issues a new SLC but leaves all previously protected documents permanently decryptable with the old key. The post demonstrates three attack paths using SharpRMS: offline decryption of any protected document, XrML forgery to mint trusted Rights Account Certificates for arbitrary identities, and a 'Golden RAC' that makes the live server issue use licenses to attacker-controlled keypairs. The SLC's ~255-year validity is a fixed Microsoft design, not a misconfiguration. Remediation guidance covers governing the Service Group as a highly-privileged group, treating TPD export files as raw key material, enabling TLS with EPA, and using an HSM. HYOK deployments of Azure Information Protection are also exposed since they rely on on-premises AD RMS.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.huntress.com/blog/ad-rms-slc-encryption-key>

## Questions this post answers

### Can the AD RMS Server Licensor Certificate private key be rotated or revoked after it is compromised?

No. The SLC private key has no rotation mechanism. Rebuilding the AD RMS cluster issues a new SLC, but every document sealed to the old key remains permanently decryptable with the extracted key. No operation re-seals existing content to a new key, and the old key must stay archived in a Trusted Publishing Domain to keep existing documents readable. Once extracted, the key cannot be taken back.

_Teams managing AD RMS deployments track this kind of permanent-exposure research on daily.dev._

### What Windows event or log entry is created when an AD RMS Trusted Publishing Domain export is performed?

No Windows Event ID fires on a TPD export by default, and the AD RMS logging database does not record the ExportTrustedPublishingDomain operation. The only log entry is an IIS W3SVC POST to /_wmcs/admin/, which includes the authenticated user, source IP, and user agent — but the specific operation name is in the SOAP body, not the URL, so it is rarely parsed. The only durable artifact is the exported key file on the attacker's machine.

_Security engineers auditing AD RMS environments find detection gap research like this on daily.dev._

### How does a forged AD RMS Rights Account Certificate differ from a Kerberos Golden Ticket?

A forged RAC forges identity only — the SID, email, and a public key — but carries no rights or group memberships. The AD RMS cluster resolves authorization independently by checking the document's rights policy and querying Active Directory for real group memberships. A Golden Ticket, by contrast, embeds authorization (PAC with group SIDs) inside the ticket itself, so the KDC trusts it without a lookup. Forging Silvio grants access; forging Paulie, who has no rights, returns NoRightsForRequestedPrincipal.

_Red teamers comparing AD RMS and Kerberos attack paths follow this kind of nuanced breakdown on daily.dev._

## Similar posts on daily.dev

- [AD Rights Management Service \(Part 1\): Architecture, Deprecation, and Reconnaissance](https://daily.dev/posts/ad-rights-management-service-part-1-architecture-deprecation-and-reconnaissance-r7zmca1u8) · Huntress Blog · 0 upvotes · 0 comments
- [Modern Active Directory and Linux Non-Human Identity \(NHI\) Security: Debunking the RC4 Myth and Building Autonomous Wire-Level Defense](https://daily.dev/posts/modern-active-directory-and-linux-non-human-identity-nhi-security-debunking-the-rc4-myth-and-buil-5sufyjvnw) · Medium · 1 upvotes · 0 comments
- [Certified AD Red Team Specialist \(AD-RTS\): Full Exam Write-Up](https://daily.dev/posts/certified-ad-red-team-specialist-ad-rts-full-exam-write-up-u1jrnwefy) · InfoSec Write-ups · 1 upvotes · 0 comments
- [Inside AD CS Escalation: Unpacking Advanced Misuse Techniques and Tools](https://daily.dev/posts/inside-ad-cs-escalation-unpacking-advanced-misuse-techniques-and-tools-qejabt669) · Unit 42 · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cryptography](https://daily.dev/tags/cryptography), [#active-directory](https://daily.dev/tags/active-directory)

[View this post on daily.dev](https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key","url":"https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq"},"datePublished":"2026-09-11T16:27:00.504Z","dateModified":"2026-10-15T02:22:23.953Z","description":"A deep technical walkthrough of attacking Active Directory Rights Management Services (AD RMS) at the root key level. An AD RMS Service Group member can export...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9a3c5460e061d9cf62861a1cfe055a28?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9a3c5460e061d9cf62861a1cfe055a28?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Huntress Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Huntress Blog","logo":"https://media.daily.dev/image/upload/s--kDC1MDsj--/f_auto,q_auto/v1780213277/logos/huntress-blog?_a=BAMAMiWQ0","url":"https://daily.dev/sources/huntress-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,cryptography,active-directory","timeRequired":"PT33M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Huntress Blog","item":"https://daily.dev/sources/huntress-blog"},{"@type":"ListItem","position":3,"name":"AD Rights Management Service (Part 2): Extraction, Offline Decryption, and the Unrotatable Key"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ad-rights-management-service-part-2-extraction-offline-decryption-and-the-unrotatable-key-mgp68uzyq#faq","mainEntity":[{"@type":"Question","name":"Can the AD RMS Server Licensor Certificate private key be rotated or revoked after it is compromised?","acceptedAnswer":{"@type":"Answer","text":"No. The SLC private key has no rotation mechanism. Rebuilding the AD RMS cluster issues a new SLC, but every document sealed to the old key remains permanently decryptable with the extracted key. No operation re-seals existing content to a new key, and the old key must stay archived in a Trusted Publishing Domain to keep existing documents readable. Once extracted, the key cannot be taken back. Teams managing AD RMS deployments track this kind of permanent-exposure research on daily.dev."}},{"@type":"Question","name":"What Windows event or log entry is created when an AD RMS Trusted Publishing Domain export is performed?","acceptedAnswer":{"@type":"Answer","text":"No Windows Event ID fires on a TPD export by default, and the AD RMS logging database does not record the ExportTrustedPublishingDomain operation. The only log entry is an IIS W3SVC POST to /_wmcs/admin/, which includes the authenticated user, source IP, and user agent — but the specific operation name is in the SOAP body, not the URL, so it is rarely parsed. The only durable artifact is the exported key file on the attacker's machine. Security engineers auditing AD RMS environments find detection gap research like this on daily.dev."}},{"@type":"Question","name":"How does a forged AD RMS Rights Account Certificate differ from a Kerberos Golden Ticket?","acceptedAnswer":{"@type":"Answer","text":"A forged RAC forges identity only — the SID, email, and a public key — but carries no rights or group memberships. The AD RMS cluster resolves authorization independently by checking the document's rights policy and querying Active Directory for real group memberships. A Golden Ticket, by contrast, embeds authorization (PAC with group SIDs) inside the ticket itself, so the KDC trusts it without a lookup. Forging Silvio grants access; forging Paulie, who has no rights, returns NoRightsForRequestedPrincipal. Red teamers comparing AD RMS and Kerberos attack paths follow this kind of nuanced breakdown on daily.dev."}}]}
```

