mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
72 lines
2.1 KiB
YAML
72 lines
2.1 KiB
YAML
name: MacOS LOLbin
|
|
id: 58d270fb-5b39-418e-a855-4b8ac046805e
|
|
version: 1
|
|
date: '2022-03-04'
|
|
author: Patrick Bareiss, Splunk
|
|
type: TTP
|
|
datamodel:
|
|
- Endpoint
|
|
description: Detect multiple executions of Living off the Land (LOLbin) binaries in a
|
|
short period of time.
|
|
search: '`osquery` name=es_process_events columns.cmdline IN ("find*", "crontab*", "screencapture*", "openssl*", "curl*", "wget*", "killall*", "funzip*")
|
|
| rename columns.* as *
|
|
| stats min(_time) as firstTime max(_time) as lastTime values(cmdline) as cmdline, values(pid) as pid, values(parent) as parent, values(path) as path,
|
|
values(signing_id) as signing_id, dc(path) as dc_path by username host
|
|
| rename username as User, cmdline as process, path as process_path
|
|
| where dc_path > 3
|
|
| `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)`
|
|
| `macos_lolbin_filter`'
|
|
how_to_implement: This detection uses osquery and endpoint security on MacOS.
|
|
Follow the link in references, which describes how to setup process auditing in MacOS
|
|
with endpoint security and osquery.
|
|
known_false_positives: None identified.
|
|
references:
|
|
- https://osquery.readthedocs.io/en/stable/deployment/process-auditing/
|
|
tags:
|
|
analytic_story:
|
|
- Living Off The Land
|
|
asset_type: Endpoint
|
|
cis20:
|
|
- CIS 3
|
|
- CIS 5
|
|
- CIS 16
|
|
confidence: 50
|
|
context:
|
|
- Source:Endpoint
|
|
- Stage:Execution
|
|
dataset:
|
|
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.004/macos_lolbin/osquery.log
|
|
impact: 50
|
|
kill_chain_phases:
|
|
- Actions on Objectives
|
|
message: Multiplle LOLbin are executed on host $host$ by user $user$
|
|
mitre_attack_id:
|
|
- T1059.004
|
|
- T1059
|
|
nist:
|
|
- DE.CM
|
|
observable:
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: process
|
|
type: Process
|
|
role:
|
|
- Child Process
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- _time
|
|
- columns.cmdline
|
|
- columns.pid
|
|
- columns.parent
|
|
- columns.path
|
|
- columns.signing_id
|
|
- columns.username
|
|
- host
|
|
risk_score: 25
|
|
security_domain: endpoint
|