Execution of an Unsigned Service

Last updated 13 days ago on 2026-02-19
Created 3 years ago on 2023-07-14

About

This rule identifies the execution of unsigned executables via service control manager (SCM). Adversaries may abuse SCM to execute malware or escalate privileges.
Tags
Domain: EndpointOS: WindowsUse Case: Threat DetectionTactic: ExecutionTactic: Defense EvasionRule Type: BBRData Source: Elastic DefendLanguage: kuery
Severity
low
Risk Score
21
MITRE ATT&CK™

Execution (TA0002)(external, opens in a new tab or window)

Defense Evasion (TA0005)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.process-*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
host.os.type:windows and event.category:process and event.type:start and process.parent.executable:"C:\\Windows\\System32\\services.exe" and (process.code_signature.exists:false or process.code_signature.trusted:false) and not process.code_signature.status : (errorCode_endpoint* or "errorChaining")

Install detection rules in Elastic Security

Detect Execution of an Unsigned Service in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).