Try in Splunk Security Cloud

Description

This detection is to identify a creation of "user mode service" where the service file path is located in non-common service folder in windows.

  • Type: TTP
  • Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
  • Datamodel: Endpoint
  • Last Updated: 2021-03-12
  • Author: Teoderick Contreras
  • ID: 429141be-8311-11eb-adb6-acde48001122

ATT&CK

ID Technique Tactic
T1569 System Services Execution
T1569.002 Service Execution Execution
 `wineventlog_system` EventCode=7045  Service_File_Name = "*\.exe" NOT (Service_File_Name IN ("C:\\Windows\\*", "C:\\Program File*", "C:\\Programdata\\*", "%systemroot%\\*")) Service_Type = "user mode service" 
| stats count min(_time) as firstTime max(_time) as lastTime by EventCode Service_File_Name Service_Name Service_Start_Type Service_Type 
| `security_content_ctime(firstTime)` 
| `security_content_ctime(lastTime)` 
| `create_service_in_suspicious_file_path_filter`

Associated Analytic Story

How To Implement

To successfully implement this search, you need to be ingesting logs with the Service name, Service File Name Service Start type, and Service Type from your endpoints.

Required field

  • EventCode
  • Service_File_Name
  • Service_Type
  • _time
  • Service_Name
  • Service_Start_Type

Kill Chain Phase

  • Privilege Escalation

Known False Positives

unknown

RBA

Risk Score Impact Confidence Message
56.0 70 80 A service $Service_File_Name$ was created from a non-standard path using $Service_Name$, potentially leading to a privilege escalation.

Reference

Test Dataset

Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range

source | version: 1