From 4547ee37506e1a6bec7472240edf7eb6f37c636e Mon Sep 17 00:00:00 2001 From: Samirbous <64742097+Samirbous@users.noreply.github.com> Date: Tue, 17 Nov 2020 21:27:37 +0100 Subject: [PATCH] [New Rule] Suspicious Execution - Short Program Name (#536) * [New Rule] Suspicious Execution - Short Program Name * Update rules/windows/execution_suspicious_short_program_name.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> --- ...ecution_suspicious_short_program_name.toml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 rules/windows/execution_suspicious_short_program_name.toml diff --git a/rules/windows/execution_suspicious_short_program_name.toml b/rules/windows/execution_suspicious_short_program_name.toml new file mode 100644 index 000000000..76490aa77 --- /dev/null +++ b/rules/windows/execution_suspicious_short_program_name.toml @@ -0,0 +1,27 @@ +[metadata] +creation_date = "2020/11/15" +ecs_version = ["1.6.0"] +maturity = "production" +updated_date = "2020/11/15" + +[rule] +author = ["Elastic"] +description = """ +Identifies process execution with a single character process name. This is often done by adversaries while staging or +executing temporary utilities. +""" +from = "now-9m" +index = ["winlogbeat-*", "logs-endpoint.events.*"] +language = "eql" +license = "Elastic License" +name = "Suspicious Execution - Short Program Name" +risk_score = 47 +rule_id = "17c7f6a5-5bc9-4e1f-92bf-13632d24384d" +severity = "medium" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Execution"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started") and length(process.name) > 0 and + length(process.name) == 5 and host.os.name == "Windows" and length(process.pe.original_file_name) > 5 +'''