Detect multiple executions of Living off the Land (LOLbin) binaries in a short period of time.
- Type: TTP
Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Last Updated: 2022-03-04
- Author: Patrick Bareiss, Splunk
- ID: 58d270fb-5b39-418e-a855-4b8ac046805e
Kill Chain Phase
- CIS 10
1 2 3 4 5 6 7 8 `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`
The SPL above uses the following Macros:
macos_lolbin_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
List of fields required to use this analytic.
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
Associated Analytic Story
|25.0||50||50||Multiplle LOLbin are executed on host $host$ by user $user$|
The Risk Score is calculated by the following formula: Risk Score = (Impact * Confidence/100). Initial Confidence and Impact is set by the analytic author.
source | version: 1