macos community v1.0.0

system_profiler

Reports system hardware and software configuration.

📋 Live Preview
system_profiler
system_profiler

Sandbox: execFile · Timeout: 30s

Capabilities

discovery.enumerate

Examples

Listing the available datatypes: List all available sub-systems to get information from.

system_profiler -listDataTypes

Print hardware information: Prints an overview of the hardware of the current machine, including its model name and serial number.

system_profiler SPHardwareDataType

Print software information: Prints an overview of the software of the current machine, including the exact macOS version number.

system_profiler SPSoftwareDataType

Print the information of developer tools: Prints the currently active version of the Xcode developer tools and SDK.

system_profiler SPDeveloperToolsDataType

Print power and battery information: Prints power and battery information, including the current AC wattage and battery cycle count.

system_profiler SPPowerDataType

Detection

TypeRule / Indicator
other https://github.com/SigmaHQ/sigma/blob/master/rules/macos/process_creation/proc_creation_macos_system_profiler_discovery.yml System Information Discovery Using System_Profiler
other https://github.com/jamf/jamfprotect/blob/main/custom_analytic_detections/system_profiler_activity Jamf Protect: Detect system_profiler activity that gathers system information

Documentation

system_profiler reports on the hardware and software configuration of the system. It can generate plain text reports or XML reports which can be opened with System Information.app

References