Skip to main content
The find module performs comprehensive LDAP enumeration to identify SCCM-related infrastructure in Active Directory environments. This is typically the first step in any SCCM assessment.
The find module uses multiple discovery techniques to build a complete picture of SCCM infrastructure without requiring elevated privileges.

Discovery Methods

The find module queries LDAP using four distinct approaches to identify SCCM assets:
DACL Analysis of System Management ContainerChecks the Discretionary Access Control List (DACL) for the ‘System Management’ container that is manually created during the AD schema extension process. This container is a key indicator of SCCM deployment.
Published Management Point DiscoveryResolves any published Management Points that clients use to query for policy and content. These are critical infrastructure components that handle client communications.
PXE-Enabled Distribution PointsIdentifies PXE-enabled Distribution Points that utilize Windows Deployment Services (WDS) for operating system deployment. These can be leveraged for network access account extraction.

Prerequisites

Requirements

  • Valid Active Directory credentials (any domain user)
  • Network access to domain controller
  • LDAP/LDAPS connectivity (ports 389/636)

Command Syntax

python3 sccmhunter.py find [OPTIONS]

Parameters

ParameterDescriptionExample
-dTarget domain nameinternal.lab
-dc-ipDomain controller IP or FQDN10.10.100.100
ParameterDescriptionExample
-uUsername for authenticationlowpriv
-pPassword for authenticationP@ssw0rd
-hashesNT:LM hash for authenticationaad3b435b51404ee:5fbc3d5fec8206a30f4b6c473d68ae76
-kUse Kerberos authentication
-no-passDon’t prompt for password (useful with -k)
-aesAES key for Kerberos (128 or 256 bits)
ParameterDescriptionExample
-tTarget domain (for cross-trust auth)external.lab
-resolveResolve nested group members
-ldapsUse LDAPS instead of LDAP
-debugEnable verbose logging
Use the -resolve flag cautiously as it can be slow and resource-intensive in large environments with deeply nested groups.

Usage Examples

Run a standard enumeration against the domain
└─# python3 sccmhunter.py find -u 'lowpriv' -p 'P@ssw0rd' -d internal.lab -dc-ip 10.10.100.100

                                                                                          (
                                    888                         d8                         \
 dP"Y  e88'888  e88'888 888 888 8e  888 ee  8888 8888 888 8e   d88    ,e e,  888,8,        )
C88b  d888  '8 d888  '8 888 888 88b 888 88b 8888 8888 888 88b d88888 d88 88b 888 "    ##-------->
 Y88D Y888   , Y888   , 888 888 888 888 888 Y888 888P 888 888  888   888   , 888           )
d,dP   "88,e8'  "88,e8' 888 888 888 888 888  "88 88"  888 888  888    "YeeP" 888          /
                                                                                         (
                                                                 v0.0.2                   
                                                                 @garrfoster                    
    
    
    
[21:15:03] INFO     [*] Checking for System Management Container.                                                                                                                                     
[21:15:03] INFO     [+] Found System Management Container. Parsing DACL.                                                                                                                              
[21:15:03] INFO     [+] Found 3 computers with Full Control ACE                                                                                                                                       
[21:15:03] INFO     [*] Querying LDAP for published Sites and Management Points                                                                                                                       
[21:15:03] INFO     [+] Found 3 Management Points in LDAP.                                                                                                                                            
[21:15:03] INFO     [*] Searching LDAP for anything containing the strings 'SCCM' or 'MECM'                                                                                                           
[21:15:03] INFO     [+] Found 5 principals that contain the string 'SCCM' or 'MECM'.                                                                                                                  
                                                                                     
The basic query provides a quick overview of SCCM infrastructure without detailed information. Use the debug flag for comprehensive details.
Run enumeration with detailed debug output for comprehensive analysis
python3 sccmhunter.py find -u 'lowpriv' -p 'P@ssw0rd' -d internal.lab -dc-ip 10.10.100.100 -debug

                                                                                          (
                                    888                         d8                         \
 dP"Y  e88'888  e88'888 888 888 8e  888 ee  8888 8888 888 8e   d88    ,e e,  888,8,        )
C88b  d888  '8 d888  '8 888 888 88b 888 88b 8888 8888 888 88b d88888 d88 88b 888 "    ##-------->
 Y88D Y888   , Y888   , 888 888 888 888 888 Y888 888P 888 888  888   888   , 888           )
d,dP   "88,e8'  "88,e8' 888 888 888 888 888  "88 88"  888 888  888    "YeeP" 888          /
                                                                                         (
                                                                 v0.0.2                   
                                                                 @garrfoster                    
    
    
    
[21:22:46] DEBUG    [*] Database ready.                                                                                                                                                               
[21:22:46] DEBUG    [+] Bind successful ldap://10.10.100.100:389 - cleartext                                                                                                                          
[21:22:46] INFO     [*] Checking for System Management Container.                                                                                                                                     
[21:22:46] INFO     [+] Found System Management Container. Parsing DACL.                                                                                                                              
[21:22:46] INFO     [+] Found 3 computers with Full Control ACE                                                                                                                                       
[21:22:46] INFO     [*] Querying LDAP for published Sites and Management Points                                                                                                                       
[21:22:46] INFO     [+] Found 3 Management Points in LDAP.                                                                                                                                            
[21:22:46] INFO     [*] Searching LDAP for anything containing the strings 'SCCM' or 'MECM'                                                                                                           
[21:22:46] INFO     [+] Found 5 principals that contain the string 'SCCM' or 'MECM'.                                                                                                                  
[21:22:46] INFO     Site Servers Table                                                                                                                                                                
[21:22:46] INFO     +---------------------+------------+-------+-----------------+--------------+---------------+----------+---------+                                                                
                    | Hostname            | SiteCode   | CAS   | SigningStatus   | SiteServer   | SMSProvider   | Config   | MSSQL   |                                                                
                    +=====================+============+=======+=================+==============+===============+==========+=========+                                                                
                    | active.internal.lab |            |       |                 | True         |               |          |         |                                                                
                    +---------------------+------------+-------+-----------------+--------------+---------------+----------+---------+                                                                
                    | sccm.internal.lab   |            |       |                 | True         |               |          |         |                                                                
                    +---------------------+------------+-------+-----------------+--------------+---------------+----------+---------+                                                                
                    | sccm.internal.lab   |            |       |                 | True         |               |          |         |                                                                
                    +---------------------+------------+-------+-----------------+--------------+---------------+----------+---------+                                                                
[21:22:46] INFO     Management Points Table                                                                                                                                                           
[21:22:46] INFO     +---------------------+------------+-----------------+                                                                                                                            
                    | Hostname            | SiteCode   | SigningStatus   |                                                                                                                            
                    +=====================+============+=================+                                                                                                                            
                    | active.internal.lab | ACT        |                 |                                                                                                                            
                    +---------------------+------------+-----------------+                                                                                                                            
                    | mp.internal.lab     | LAB        |                 |                                                                                                                            
                    +---------------------+------------+-----------------+                                                                                                                            
                    | sccm.internal.lab   | LAB        |                 |                                                                                                                            
                    +---------------------+------------+-----------------+                                                                                                                            
[21:22:46] INFO     Computers Table                                                                                                                                                                   
[21:22:46] INFO     +-------------------+------------+-----------------+--------------+-------------------+---------------------+---------------+--------+---------+                                  
                    | Hostname          | SiteCode   | SigningStatus   | SiteServer   | ManagementPoint   | DistributionPoint   | SMSProvider   | WSUS   | MSSQL   |                                  
                    +===================+============+=================+==============+===================+=====================+===============+========+=========+                                  
                    | sccm.internal.lab |            |                 |              |                   |                     |               |        |         |                                  
                    +-------------------+------------+-----------------+--------------+-------------------+---------------------+---------------+--------+---------+                                  
[21:22:46] INFO     Users Table                                                                                                                                                                       
[21:22:46] INFO     +------+--------+------------------+------------------------+---------------+                                                                                                     
                    | cn   | name   | sAMAAccontName   | servicePrincipalName   | description   |                                                                                                     
                    +======+========+==================+========================+===============+                                                                                                     
                    +------+--------+------------------+------------------------+---------------+                                                                                                     
[21:22:46] INFO     Groups Table                                                                                                                                                                      
[21:22:46] INFO     +------------------+------------------+------------------+-------------------------------------------+---------------+
                    | cn               | name             | sAMAAccontName   | member                                    | description   |
                    +==================+==================+==================+===========================================+===============+
                    | SCCM_SiteServers | SCCM_SiteServers | SCCM_SiteServers | CN=ACTIVE,CN=Computers,DC=internal,DC=lab |               |
                    |                  |                  |                  | CN=SCCM,CN=Computers,DC=internal,DC=lab   |               |
                    +------------------+------------------+------------------+-------------------------------------------+---------------+
Debug mode provides detailed tables with comprehensive information about discovered SCCM infrastructure including site servers, management points, computers, users, and groups.

Interpretation of Results

Understanding Output Tables

The find command returns structured data in several categories:
  • Site Servers Table: Core SCCM infrastructure servers with their roles
  • Management Points Table: Client-facing communication endpoints
  • Computers Table: All discovered SCCM-related systems
  • Users Table: Service accounts and SCCM-related users
  • Groups Table: Security groups used by SCCM, especially helpful for privilege escalation

Next Steps