SCCM Abuse
SCCM (now Microsoft Configuration Manager) deploys software and patches to every machine in the domain. To do that it needs credentials with broad reach and a channel to talk to each client, and both are abusable. A compromised SCCM server usually means the domain.
Mechanism. Two abuses depend on no vulnerability at all, only on how it is configured:
- Network Access Account. This is the account clients use to read content from distribution shares. Its credential is pushed to every client and stored locally in a recoverable form, so any local administrator of any managed machine can extract it. It is usually overprivileged.
- Client push installation. If enabled, the server authenticates to the client in order to install the agent. An attacker who registers a rogue machine can trigger that connection and capture or relay the installation account's authentication, which in many deployments is a local administrator across the estate. That is the same ending as a classic NTLM relay.
Enumeration runs from any managed machine or against the directory, because SCCM publishes its management points in LDAP:
sccmhunter find -u <user> -p <pass> -d <domain> -dc-ip <dc>
SharpSCCM.exe local site-info # which server this client reports to
SharpSCCM.exe local secrets # credentials the client has storedRequirements. For the Network Access Account, being a local administrator of a managed machine. For the client push abuse, being able to create a computer account (MachineAccountQuota) and a listener for the incoming authentication.
How to detect it. Reading the client secrets leaves access to the root\ccm WMI namespace and to the SMS_* classes from a process that is not the agent, a very unusual query and easy to alert on. For client push, the indicator is a 4624 from the installation account against a freshly created machine, correlated with a recent 4741; if the authentication is NTLM and lands on a host other than the one that triggered it, that is relay. Logons by the Network Access Account outside the distribution servers are worth watching.
Defence. Remove the Network Access Account and use anonymous access to distribution shares, which is what Microsoft has recommended for years; if it must exist, make it an unprivileged account with no interactive logon. Disable client push or, if it is needed, force it to use Kerberos only. And treat SCCM servers as Tier 0: whoever administers them administers the domain.