Detectionhightest

Potential Persistence Via PlistBuddy

Detects potential persistence activity using LaunchAgents or LaunchDaemons via the PlistBuddy utility

Open in Detection LabConvert ruleBuild Package
Sohan G (D4rkCiph3r)Created 2023-02-1865d506d3-fcfe-4071-b4b2-bcefe721bbbbmacos
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith: '/PlistBuddy'
        CommandLine|contains|all:
            - 'RunAtLoad'
            - 'true'
        CommandLine|contains:
            - 'LaunchAgents'
            - 'LaunchDaemons'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
65d506d3-fcfe-4071-b4b2-bcefe721bbbb
Status
test
Level
high
Type
Detection
Created
2023-02-18
Path
rules/macos/process_creation/proc_creation_macos_persistence_via_plistbuddy.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.t1543.001attack.t1543.004
View on GitHub