Detections · What MacVigil reads to decide
Machine reconnaissance: how Mac malware profiles a Mac before acting
Before it takes anything, malware often looks around: which macOS version is running, what the Mac’s serial number is, who the user is, whether security tools are installed, whether it runs inside a virtual machine. That inventory decides what it deploys next, or whether it stays quiet.
Updated November 25, 2026 · 48 detections in this category
In short
Reading facts about this Mac: hardware, system version, user, running processes, installed security tools.
MacVigil has 48 detections in this category. It reads the file to find them and never runs it.
What it is
Reconnaissance is reading facts about the machine. Much of it is harmless and common: an app checks the macOS version or finds the home folder before saving a file. For an attacker, though, the same facts serve other purposes. A hardware identifier recognizes the victim from one session to the next. A profile of the Mac sent to a server helps choose the payload. The language, the locale or the public location can spare some countries. And a check of the hardware model or the boot time can reveal a researcher’s virtual machine.
How Mac malware does it
- Reading the serial number or the hardware UUID through
IOPlatformSerialNumberorIOPlatformUUID, which identify the Mac precisely - Reading the macOS version with
sw_vers, the machine type withsysctl hw.machine, the chip generation or how long the Mac has been running - Checking whether System Integrity Protection is on with
csrutil status, or whether the process runs under Rosetta - Asking a public geolocation service for the Mac’s public address and country
- Reading the locale or preferred languages, a common way to avoid some countries or spot an analysis environment
- Listing network ports and services with
networksetup, user accounts withdscl, and code-signing identities - Walking folders and mounted disks, for example with
find /Volumes, to see which files are worth taking - Looking for security product names, the other extensions installed in the browser, or other browsers’ settings
What MacVigil looks for
MacVigil reads the file and never runs it. It notes the commands and functions that read facts about the Mac, the system calls that walk folders or look up user accounts, and the security product names a file mentions. Most of these are recorded for information, and a few, such as reading the serial number or naming a geolocation service, are rated low. None of them makes a file dangerous by itself: the mention of a command does not show that it runs, what its answer is compared with, or where it is sent.
Their value is in context. When the same component inspects its environment, reaches the network and refers to automatic startup, the report shows these pieces together, while stating that no link between them is established.
When it is normal
Apps check the macOS version and chip to pick the right features, installers read the hardware model, backup and search tools walk entire folder trees, and licensing software reads a hardware identifier to tie a license to one Mac. Security tools, system utilities and device management software read nearly everything in this category. Reconnaissance becomes suspicious when the facts collected are sent out, or when a program changes its behavior because it found a security tool or a virtual machine.
How to check your Mac
- Review System Settings > Privacy & Security > Full Disk Access: that access lets a program read files across your whole Mac, so only apps that need it should be listed.
- In System Settings > Privacy & Security > Files and Folders, see which apps can read your Desktop, Documents, Downloads and external disks.
- Keep System Integrity Protection on: in Terminal,
csrutil statusshould report that it is enabled. - In Activity Monitor, look for unknown processes that appear right after login and use the network.
- Remove apps you did not install on purpose, and check System Settings > General > Login Items & Extensions (Login Items on older macOS) for programs you do not recognize.
Related categories
- Analysis resistance: What makes a program harder to examine: packing, obfuscation, debugger and virtual-machine checks, erased traces.
- Data exfiltration: Data leaving this Mac for a remote server: files, archives or collected values handed to an upload.
- Network access: The addresses, domains and networking functions found in the file. Most software has some.
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