Skip to content

Commit 540b237

Browse files
committed
Add macOS rule for sensitive data archived via ditto
1 parent 3c0d351 commit 540b237

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
title: Sensitive Data Archived Via Ditto - MacOS
2+
id: 7b1f4c62-9e83-4a51-bb27-6d0c3e5a8f14
3+
status: experimental
4+
description: |
5+
Detects the "ditto" utility archiving a path that holds credentials, browser secrets or cryptocurrency wallet data.
6+
"ditto" is Apple's own copy and archive tool and preserves resource forks and extended attributes, which is why macOS infostealers use it to stage collected data into a single archive before exfiltration.
7+
AMOS collects Keychain files, browser credentials and wallet data and compresses them with "ditto" into an archive in "/tmp" prior to upload.
8+
references:
9+
- https://www.loobins.io/binaries/ditto/
10+
- https://www.cyberproof.com/blog/inside-amos-stealer-how-this-threat-targets-macos-credentials-and-keychains/
11+
author: clivoa
12+
date: 2026-08-15
13+
tags:
14+
- attack.collection
15+
- attack.t1560.001
16+
- attack.t1005
17+
logsource:
18+
category: process_creation
19+
product: macos
20+
detection:
21+
selection_img:
22+
Image|endswith: '/ditto'
23+
selection_paths:
24+
CommandLine|contains:
25+
- '/Library/Keychains'
26+
- '/.ssh'
27+
- 'Login Data'
28+
- '/Cookies'
29+
- 'Extension Settings'
30+
- '/Exodus'
31+
- '/Electrum'
32+
- '/Ledger Live'
33+
condition: all of selection_*
34+
falsepositives:
35+
- Backup or migration tooling that archives the Keychain directory or SSH keys on a schedule
36+
- A user archiving their own SSH keys or browser profile before moving to another machine
37+
level: medium

0 commit comments

Comments
 (0)