PersistenceTactic: Persistence (TA0003)6 Verified Binaries

Persistence LOLBins & Scheduled Execution Mechanisms

Adversaries abuse native system utilities to maintain uninterrupted access across system restarts, user logoffs, and credential updates by configuring autostarts, scheduled tasks, and service registrations.

Detection Engineering Context

Adversaries abuse tools like schtasks.exe, sc.exe, at.exe, and systemd to establish resilient foothold mechanisms masquerading as legitimate administrative maintenance.

Key Log Telemetry: Windows Security Event 4698 (Scheduled task created), Sysmon Event ID 1 (schtasks process creation), and System Event 7045 (New service installed).
Total Capable Binaries: 6
Windows: 0
Linux: 2
macOS: 4

Catalog of Persistence LOLBins

Displaying 6 items
Linux1 weaponized tactics

tee

Tee reads from standard input and writes to standard output and files. Attackers abuse SUID or sudo tee to append unauthorized credentials to /etc/passwd or overwrite system configuration.

Sample Vector:
echo "backdoor:x:0:0::/root:/bin/bash" | tee -a /etc/passwd
T1565.001T1136.001
Linux1 weaponized tactics

systemctl

Systemctl controls the systemd system and service manager. Sudo privileges on systemctl allow linking or creating transient unit files that execute root commands upon service start.

Sample Vector:
systemctl link /tmp/malicious.service && systemctl start malicious
T1543.002
macOS1 weaponized tactics

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
T1087T1548
macOS1 weaponized tactics

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
T1547.001
macOS1 weaponized tactics

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
T1543.001T1543.004
macOS1 weaponized tactics

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
T1543.001T1543.004
Sharon Ben Moshe
Curated & Verified by
Sharon Ben Moshe
Cybersecurity Researcher & Detection EngineerCheck Point