Detection rules › Sigma
macOS Encryption Tool Usage
Detects execution of encryption tools (openssl, gpg, diskutil) which may indicate ransomware activity or data encryption for impact. Adversaries encrypt data to deny availability and extort victims. Also monitors disk encryption operations.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Impact | T1486 Data Encrypted for Impact, T1565.001 Data Manipulation: Stored Data Manipulation |
Rule body yaml
title: macOS Encryption Tool Usage
id: f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c
status: experimental
description: 'Detects execution of encryption tools (openssl, gpg, diskutil) which
may indicate
ransomware activity or data encryption for impact. Adversaries encrypt data to
deny availability and extort victims. Also monitors disk encryption operations.
'
author: Eric Brown - Nebulock, Inc.
date: 2025/10/31
modified: 2025/10/31
references:
- https://attack.mitre.org/techniques/T1486/
- https://attack.mitre.org/techniques/T1565/001/
logsource:
product: macos
service: endpointsecurity
detection:
selection_event:
esf.event_type: 9
event.action: exec
selection_process:
Image|endswith:
- /openssl
- /gpg
- /gpg2
- /diskutil
selection_encryption:
CommandLine|contains:
- 'enc '
- encrypt
- aes
- --cipher
- apfs encryptVolume
- coreStorage convert
condition: selection_event and selection_process and selection_encryption
falsepositives:
- Legitimate data encryption for security
- FileVault and disk encryption setup
- Secure file transfer preparations
- Development and testing of encryption features
fields:
- Image
- CommandLine
- ProcessId
- ParentProcessId
- User
tags:
- attack.impact
- attack.t1486
- attack.t1565.001
level: medium
Stages and Predicates
Stage 0: condition
selection_event and selection_process and selection_encryptionStage 1: selection_event
selection_event:
esf.event_type: 9
event.action: exec
Stage 2: selection_process
selection_process:
Image|endswith:
- /openssl
- /gpg
- /gpg2
- /diskutil
Stage 3: selection_encryption
selection_encryption:
CommandLine|contains:
- 'enc '
- encrypt
- aes
- --cipher
- apfs encryptVolume
- coreStorage convert
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
esf.event_type | eq |
|
event.action | eq |
|