Detectionmediumtest
System Information Discovery Using sw_vers
Detects the use of "sw_vers" for system information discovery
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
# VT Query: 'behavior_processes:"sw_vers" and (behavior_processes:"-productVersion" or behavior_processes:"-productName" or behavior_processes:"-buildVersion") tag:dmg p:5+'
selection_image:
Image|endswith: '/sw_vers'
selection_options:
CommandLine|contains:
- '-buildVersion'
- '-productName'
- '-productVersion'
condition: all of selection_*False Positives
Legitimate administrative activities
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
5de06a6f-673a-4fc0-8d48-bcfe3837b033
Status
test
Level
medium
Type
Detection
Created
Wed Dec 20
Author
Path
rules/macos/process_creation/proc_creation_macos_swvers_discovery.yml
Raw Tags
attack.discoveryattack.t1082