macOS Process Execution of system_profiler for System Discovery via Specific Data Types

Flags macOS system_profiler runs that request application, hardware, network, and USB data via command-line data types.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Stephen Lincoln `@slincoln_aiq` (AttackIQ) (SigmaHQ), DRL 1.1
Published
2024-01-02
Updated
2026-07-31
title: macOS Process Execution of system_profiler for System Discovery via Specific Data Types
id: 4beac4d1-fd70-4421-9a89-9d61752d9fcd
status: test
description: This rule identifies macOS process execution where system_profiler is launched and its command line includes specific data types tied to system discovery. Attackers commonly use system information collection to understand the environment before staging or tailoring follow-on activity, including potential checks relevant to virtualization. Detection relies on process creation telemetry capturing the executed image path and command line contents.
references:
  - https://www.trendmicro.com/en_za/research/20/k/new-macos-backdoor-connected-to-oceanlotus-surfaces.html
  - https://www.sentinelone.com/wp-content/uploads/pdf-gen/1630910064/20-common-tools-techniques-used-by-macos-threat-actors-malware.pdf
  - https://ss64.com/mac/system_profiler.html
  - https://objective-see.org/blog/blog_0x62.html
  - https://www.welivesecurity.com/2019/04/09/oceanlotus-macos-malware-update/
  - https://gist.github.com/nasbench/9a1ba4bc7094ea1b47bc42bf172961af
  - https://github.com/SigmaHQ/sigma/blob/master/rules/macos/process_creation/proc_creation_macos_system_profiler_discovery.yml
author: Stephen Lincoln `@slincoln_aiq` (AttackIQ), Huntrule Team
date: 2024-01-02
tags:
  - attack.discovery
  - attack.stealth
  - attack.t1082
  - attack.t1497.001
logsource:
  product: macos
  category: process_creation
detection:
  selection_img:
    - Image|endswith: /system_profiler
    - CommandLine|contains: system_profiler
  selection_cmd:
    CommandLine|contains:
      - SPApplicationsDataType
      - SPHardwareDataType
      - SPNetworkDataType
      - SPUSBDataType
  condition: all of selection_*
falsepositives:
  - Legitimate administrative activities
level: medium
license: DRL-1.1
related:
  - id: 4809c683-059b-4935-879d-36835986f8cf
    type: derived