Files
splunk-security_content/dev/endpoint/suspicious_plistbuddy_usage.yml
2023-01-20 13:24:15 +01:00

75 lines
2.2 KiB
YAML

name: Suspicious PlistBuddy Usage
id: c3194009-e0eb-4f84-87a9-4070f8688f00
version: 1
date: '2021-02-22'
author: Michael Haag, Splunk
status: experimental
type: TTP
description: 'The following analytic identifies the use of a native MacOS utility,
PlistBuddy, creating or modifying a properly list (.plist) file. In the instance
of Silver Sparrow, the following commands were executed:\
- PlistBuddy -c "Add :Label string init_verx" ~/Library/Launchagents/init_verx.plist
\
- PlistBuddy -c "Add :RunAtLoad bool true" ~/Library/Launchagents/init_verx.plist
\
- PlistBuddy -c "Add :StartInterval integer 3600" ~/Library/Launchagents/init_verx.plist
\
- PlistBuddy -c "Add :ProgramArguments array" ~/Library/Launchagents/init_verx.plist
\
- PlistBuddy -c "Add :ProgramArguments:0 string /bin/sh" ~/Library/Launchagents/init_verx.plist
\
- PlistBuddy -c "Add :ProgramArguments:1 string -c" ~/Library/Launchagents/init_verx.plist
\
Upon triage, capture the property list file being written to disk and review for
further indicators. Contain the endpoint and triage further.'
data_source:
- Sysmon Event ID 1
search:
selection1:
CommandLine:
- '*true*'
- '*RunAtLoad*'
- '*LaunchAgents*'
Image|endswith: PlistBuddy
condition: (selection1)
how_to_implement: To successfully implement this search you need to be ingesting information
on process that include the name of the process responsible for the changes from
your endpoints into the `Endpoint` datamodel in the `Processes` node.
known_false_positives: Some legitimate applications may use PlistBuddy to create or
modify property lists and possibly generate false positives. Review the property
list being modified or created to confirm.
references:
- https://www.marcosantadev.com/manage-plist-files-plistbuddy/
tags:
analytic_story:
- Silver Sparrow
asset_type: Endpoint
confidence: 50
impact: 50
message: tbd
mitre_attack_id:
- T1543.001
- T1543
observable:
- name: user
type: User
role:
- Victim
- name: dest
type: Hostname
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
risk_score: 25
security_domain: endpoint