[metadata] creation_date = "2023/07/14" integration = ["endpoint"] maturity = "production" min_stack_comments = "New fields added: required_fields, related_integrations, setup" min_stack_version = "8.3.0" updated_date = "2023/07/14" [rule] author = ["Elastic"] description = """ This rule identifies the execution of unsigned executables via service control manager (SCM). Adversaries may abuse SCM to execute malware or escalate privileges. """ from = "now-119m" interval = "60m" index = ["logs-endpoint.events.*"] language = "eql" license = "Elastic License v2" name = "Execution of an Unsigned Service" risk_score = 21 rule_id = "56fdfcf1-ca7c-4fd9-951d-e215ee26e404" severity = "low" tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Execution", "Rule Type: BBR", "Data Source: Elastic Defend"] timestamp_override = "event.ingested" building_block_type = "default" type = "eql" query = ''' process where host.os.type == "windows" 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) ) ) ''' [[rule.threat]] framework = "MITRE ATT&CK" [[rule.threat.technique]] id = "T1569" name = "System Services" reference = "https://attack.mitre.org/techniques/T1569/" [[rule.threat.technique.subtechnique]] id = "T1569.002" name = "Service Execution" reference = "https://attack.mitre.org/techniques/T1569/002/" [rule.threat.tactic] id = "TA0002" name = "Execution" reference = "https://attack.mitre.org/tactics/TA0002/"