Overview
Thelocal command group provides comprehensive capabilities for interacting with the local SCCM client. These commands enable reconnaissance, credential extraction, log analysis, and WMI querying directly on the current workstation or server.
Local commands operate entirely on the current system and do not require network connectivity to SCCM infrastructure.
Command Categories
WMI Operations
classes
List available WMI classes in a namespace
class-instances
Query specific WMI class instances with filtering
class-properties
Get property definitions for WMI classes
query
Execute custom WQL queries on local WMI
Information Gathering
client-info
Get SCCM client version information
site-info
Get management point and site code
user-sid
Get current user SID in hex format
triage
Comprehensive log file analysis
File Operations
Common Workflows
Initial Reconnaissance
Credential Extraction
WMI Investigation
Prerequisites
Permissions Required
Permissions Required
- Standard User: Most read-only operations (classes, properties, site-info)
- Local Administrator: Required for secrets extraction and some WMI operations
- SYSTEM: Optional for enhanced secrets extraction
SCCM Client Requirements
SCCM Client Requirements
- SCCM client must be installed and configured
- Client should be assigned to a site
- WMI repository must be accessible and functional
Security Considerations
Integration with Remote Commands
Local commands often provide essential information for remote operations:Performance Notes
- WMI operations are typically fast (< 1 second)
- Log analysis (triage) can take 20+ seconds
- Secrets extraction may require elevated privileges and take several seconds
- File operations depend on file size and disk performance