Detections · Harmful behavior
Data exfiltration on a Mac: how stolen files leave your computer
Exfiltration is the moment stolen data actually leaves your Mac. Collecting passwords or documents does no harm until they reach someone else, so the upload is the step every stealer and spy tool has to get right. Seeing it in a file tells you what the program is really for.
Updated November 25, 2026 · 92 detections in this category
In short
Data leaving this Mac for a remote server: files, archives or collected values handed to an upload.
MacVigil has 92 detections in this category. It reads the file to find them and never runs it.
What exfiltration means
A program that exfiltrates data reads something private on your Mac, often packs it into an archive, and hands it to a network transfer: an HTTP upload, a mail message, a chat bot, a cloud storage tool or a raw connection. The attacker gains a copy of your data on their side, where it can be sold, used to sign in as you, or used for blackmail. Nothing on screen has to change for this to happen.
How Mac malware does it
- Copying a credential store or a set of files into a staging folder, often in
/tmpor a hidden folder, archiving it, then uploading that archive withcurl. - Protecting the archive with a password or
openssl encso its contents cannot be read on the way out. - Sending the data to a Telegram bot or a Discord webhook instead of a server of its own.
- Taking chat and app data: Messages
chat.db, Notes, Signal, WhatsApp, Telegram, Slack, Discord and Teams stores, Safari cookies and history, the user-activity database. - Wallets and vaults: browser wallet extension storage, desktop wallet files, password manager vaults.
- Cloud and developer keys: AWS, Azure, gcloud, Kubernetes and Docker configuration files.
- Quieter channels: data encoded into DNS lookups, split into small chunks, queued while offline, routed through a SOCKS proxy, or disguised as a crash report; archives deleted once delivery is confirmed.
- Browser extensions that report every page you visit, and AI assistant instruction files that tell the assistant to send a credential store to an outside address.
What MacVigil looks for
MacVigil reads the file and never runs it. The strongest findings follow one piece of data from where it is read to where it is sent: a credential folder walked into an archive whose bytes become the body of an HTTP request; a credential database backed up to a file, that file archived, and that same archive uploaded; a file mapped into memory and that exact memory passed to a network send.
Commands in a script are tied by the path they share: one command copies a store into /tmp, another sends that same path. A command that uploads one local file, a bot address or a hard-coded upload header on its own is recorded as a clue, not a verdict, and when the pieces are only separate mentions, MacVigil says so and does not claim they ran.
When it is normal
Backup, sync and indexing software, crash reporters, migration assistants and forensic tools all copy private files and send them somewhere. Full-featured apps compress and upload data, and reliable transfer over a weak network splits it into chunks. The question is whether you asked for it, where the data goes, and whether the program says what it is.
How to check your Mac
- If you suspect a stealer ran, change your passwords from another device and sign out of active sessions in your important accounts.
- Look for leftover staging folders and archives in
/tmpand in your home folder: in Finder press Command-Shift-Period to show hidden items. - In Activity Monitor, open the Network tab and sort by Sent Bytes to spot a process uploading more than it should.
- Check System Settings > Privacy & Security > Full Disk Access and remove apps that do not need it, since it is what opens Messages, Mail and Safari data to a program.
- Review your browser extensions and remove any you did not install on purpose.
Related categories
- Credential theft: What touches the places where passwords, keys and sessions are kept: keychains, browser profiles, wallets, SSH and cloud credentials.
- Network access: The addresses, domains and networking functions found in the file. Most software has some.
- Screen or keyboard capture: Recording what happens on this Mac: the screen, the keyboard, the microphone or the camera.
- Sign-in and session tokens: How the program signs in to its own services: account fields, sign-in routes, OAuth codes, session and refresh tokens. Most connected software has some; other programs' stored secrets are under credential theft.
On the blog
Know what a file does before you open it
MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.
Free for 7 days, then $29.95 a year for 2 Macs, a launch price: the regular price will be $59 a year. Requires macOS 15 Sequoia or later on a Mac with Apple silicon.
More: all detection categories · what MacVigil detects · the blog