Sigma rule: System Information Discovery Using sw_vers
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d8bd3e48cd20, updated 2023-12-20T00:00:00.000Z.
Rule
- Title
- System Information Discovery Using sw_vers
- Status
- test
- Level
- medium
- Author
- Joseliyo Sanchez, @Joseliyo_Jstnk
- Date
- 2023-12-20
- File
- rules/macos/process_creation/proc_creation_macos_swvers_discovery.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of "sw_vers" for system information discovery
Log source
- product
- macos
- category
- process_creation
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 (as the rule lists them)
- Legitimate administrative activities
Tags
- attack.discovery
- attack.t1082
MITRE ATT&CK ids this rule names
References
- https://www.virustotal.com/gui/file/d3fa64f63563fe958b75238742d1e473800cb5f49f5cb79d38d4aa3c93709026/behavior
- https://www.virustotal.com/gui/file/03b71eaceadea05bc0eea5cddecaa05f245126d6b16cfcd0f3ba0442ac58dab3/behavior
- https://ss64.com/osx/sw_vers.html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_swvers_discovery.yml
Sources and licences
SigmaHQ
"System Information Discovery Using sw_vers" by Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_swvers_discovery.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: System Information Discovery Using sw_vers",
entity page, dataset version ref-d8bd3e48cd20, updated 2023-12-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5de06a6f-673a-4fc0-8d48-bcfe3837b033 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5de06a6f-673a-4fc0-8d48-bcfe3837b033, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.