Skip to main content
The smb module performs comprehensive profiling of discovered SCCM infrastructure to determine site system roles and security configurations. This module builds upon the initial discovery from the find command to provide detailed operational intelligence.
The SMB profiling module checks multiple services (SMB, HTTP/HTTPS, MSSQL) and is particularly valuable for identifying PXE boot variables files that may contain Network Access Account credentials.

Profiling Components

The SMB module conducts reconnaissance across three main areas:
Core Infrastructure Analysis
  • Connectivity verification to discovered site servers
  • MSSQL service detection for database hosting servers
  • Site server state identification (Active vs Passive configuration)
  • Central Administration Site (CAS) detection for hierarchy mapping
Active/Passive configurations indicate high availability setups. CAS servers are at the top of multi-site hierarchies and represent high-value targets.
Client Communication Endpoints
  • HTTP endpoint connectivity verification
  • Management Point accessibility for client policy requests
  • Service availability confirmation for exploitation planning
Management Points handle all client communications and are essential for HTTP-based attacks like client enrollment abuse.
Comprehensive Service Enumeration
  • Site Code association from default file shares
  • SMB signing status assessment (security configuration)
  • Site system role identification including:
    • Site Server
    • Management Point
    • Distribution Point (with PXE variables detection)
    • SMS Provider
    • MSSQL Server
    • WSUS Server
Distribution Points with variables files often contain Network Access Account credentials in cleartext. The -save flag automatically downloads these files.

Prerequisites

Requirements

  • Valid Active Directory credentials (domain user minimum)
  • Previous enumeration data from find module
  • Network connectivity to target SCCM infrastructure
  • SMB access to file shares (ports 139/445)

Command Syntax

Parameters

The -save flag automatically downloads PXE variables files that may contain sensitive credentials. Ensure you have proper authorization before using this option.

Usage Examples

Perform comprehensive profiling of discovered SCCM infrastructure
Expected Output:
The SMB profiling provides three distinct tables: Site Servers (core infrastructure), Management Points (client endpoints), and a comprehensive Computers table with all role assignments.
Automatically download PXE boot variables files containing Network Access Account credentials
Expected Output:
PXE variables files may contain Network Access Account credentials in cleartext. These credentials can be used for lateral movement and are automatically saved to the logs directory when discovered.

Analysis and Interpretation

Understanding Site System Roles

The SMB profiling reveals the distributed nature of SCCM infrastructure:
  • Site Servers: Core SCCM infrastructure hosting the site database
  • Management Points: Client communication gateways for policy and software distribution
  • Distribution Points: Content storage and PXE boot services
  • SMS Providers: WMI providers for SCCM administration
  • WSUS Integration: Windows Update Services integration points

Security Assessment Focus

Key Security Indicators:
  • SMB signing disabled (attack opportunities)
  • Active vs Passive configurations
  • Central Administration Sites (highest privileges)
  • Servers with multiple roles (broader attack surface)

Credential Discovery

PXE Variables Content:
  • Network Access Account credentials
  • Task sequence variables
  • Domain join credentials
  • Custom deployment secrets

Target Prioritization

  1. Central Administration Sites (CAS) - Top of hierarchy
  2. Active Site Servers with MSSQL - Database access
  3. Distribution Points with PXE - Credential exposure
  4. SMS Providers - Administrative access
  • SMB Signing Disabled: NTLM relay opportunities
  • Distribution Points: Network Access Account credential extraction
  • Management Points: Client enrollment abuse for credential theft
  • Site Servers: Database queries and privilege escalation

Next Steps

Display Results

Review and export profiling data for analysis

HTTP Exploitation

Abuse Management Points for credential extraction

MSSQL Attacks

Target SQL servers for privilege escalation