Skip to content
Access control Write-up Advanced

SCCM Hierarchy Takeover with High Availability

SCCM sites configured with high availability (HA) introduce a passive site server whose machine account must be a local administrator on the active site server. An attacker with valid domain credentials could coerce authentication from the passive site server and relay it to the active site server's SMB service, then use the compromised machine account to access the SMS Provider and gain full administrative control over the SCCM hierarchy.

Garrett Foster Follow

Published on posts.specterops.io

I previouslywrote about how targeting site systems hosting the SMS Provider role can be used to compromise a SCCM hierarchy. In that blog, I discussed high availability (HA) for the SMS Provider which is designed to support multiple configuration manager console sessions or to support managing SCCM if the SMS provider…

Garrett Foster, on posts.specterops.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the HA design requires the passive site server's machine account to be a local administrator on the active site server, and SMB signing is not enforced by default, enabling NTLM relay.

Impact

An attacker could compromise the entire SCCM hierarchy, gaining full administrative control over all managed systems, if SMB signing is not required (the default).

What the attacker needed

Valid domain credentials; SCCM HA with passive site server; SMB signing not required (default)

The fix

Require SMB signing on all site systems, require Extended Protection for Authentication on the site database, and block unnecessary connections to site systems.

How it was found

  1. Use valid domain credentials to coerce authentication from the passive site server to the attacker host.
  2. Relay the coerced authentication from the passive site server to the active site server's SMB service.
  3. Use the relayed session to dump the active site server's machine account hash.
  4. Authenticate to the active site server's AdminService API using the recovered machine account hash.
  5. Add an arbitrary user as a full administrator in SCCM.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

SCCM is Microsoft's tool for managing large numbers of Windows computers. When set up for high availability, a second 'passive' server is added, and its computer account is given administrator rights on the main server. An attacker who can trick the passive server into authenticating to them can forward that authentication to the main server and take it over, because the passive server's account is already trusted there.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Garrett Foster

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.