GitHub: https://github.com/ultra-supara/MachStealer
BlackHat: https://blackhat.com/us-26/arsenal/schedule/index.html#machstealerone-pipeline-behind-every-macos-infostealer-52134
video: https://youtu.be/mzyQ9-8qsFg
macOS infostealers are the fastest-growing malware category on Apple platforms, with a 400% year-over-year increase in detections. AMOS, Poseidon, Banshee, Cthulhu, and Cuckoo all follow the same credential harvesting pipeline, Keychain extraction, PBKDF2 key derivation, SQLite database copy, and AES decryption. Understanding one family's harvesting stage reveals the mechanics of them all.
MachStealer is an open-source PoC tool for macOS Apple Silicon that reproduces this shared pipeline for security research. It implements the complete Chrome credential extraction chain with parameters matching Chromium's source code exactly.
Feature Overview
- Cookies: session tokens and auth cookies, AES-128-CBC encrypted
- Login Data: saved usernames and passwords, AES-128-CBC encrypted
- Credit Cards: card numbers, expiration dates, and cardholder names, AES-128-CBC encrypted
- History: URLs, titles, and visit frequency, unencrypted
- Extensions: installed extensions with version and store metadata, unencrypted
MachStealer deliberately omits the exfiltration layer: no C2, no network upload, no persistence, no anti-analysis evasion. By isolating the local harvesting stage, the tool serves as a safe, transparent model for defenders to validate EDR detection, develop behavioral signatures, and assess credential exposure risk. MachStealer also enumerates all Chrome profiles on the system with display names and associated email addresses, reproducing the profile iteration behavior of real infostealers.