2020-06-29 22:57:00 -06:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/02/18"
|
2020-08-27 08:54:49 -08:00
|
|
|
ecs_version = ["1.6.0"]
|
2020-06-29 22:57:00 -06:00
|
|
|
maturity = "production"
|
2020-11-03 19:51:53 +01:00
|
|
|
updated_date = "2020/11/03"
|
2020-06-29 22:57:00 -06:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = "Identifies processes running in a temporary folder. This is sometimes done by adversaries to hide malware."
|
|
|
|
|
false_positives = [
|
|
|
|
|
"""
|
|
|
|
|
Build systems, like Jenkins, may start processes in the `/tmp` directory. These can be exempted by name or by
|
|
|
|
|
username.
|
|
|
|
|
""",
|
|
|
|
|
]
|
2020-08-21 12:23:43 -05:00
|
|
|
from = "now-9m"
|
2020-08-03 15:46:57 -04:00
|
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
2020-06-29 22:57:00 -06:00
|
|
|
language = "kuery"
|
|
|
|
|
license = "Elastic License"
|
|
|
|
|
name = "Unusual Process Execution - Temp"
|
|
|
|
|
risk_score = 47
|
|
|
|
|
rule_id = "df959768-b0c9-4d45-988c-5606a2be8e5a"
|
|
|
|
|
severity = "medium"
|
2020-10-26 13:50:45 -05:00
|
|
|
tags = ["Elastic", "Host", "Linux", "Threat Detection"]
|
2020-06-29 22:57:00 -06:00
|
|
|
type = "query"
|
|
|
|
|
|
|
|
|
|
query = '''
|
2020-07-07 13:43:33 -05:00
|
|
|
event.category:process and event.type:(start or process_started) and process.working_directory:/tmp
|
2020-06-29 22:57:00 -06:00
|
|
|
'''
|
|
|
|
|
|