Detection rules › Elastic
Binary Proxy Execution via TTDInject
Identifies the execution of a binary via the Time Traver Debugging Application Injector utility. Adversaries may bypass process and signature-based defenses by proxying execution of malicious content with signed, or otherwise trusted, binaries.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Rule body
[rule]
description = """
Identifies the execution of a binary via the Time Traver Debugging Application Injector utility. Adversaries may bypass
process and signature-based defenses by proxying execution of malicious content with signed, or otherwise trusted,
binaries.
"""
id = "658efff4-b1b7-4ab7-ba1f-7ce295d3df05"
license = "Elastic License v2"
name = "Binary Proxy Execution via TTDInject"
os_list = ["windows"]
reference = ["https://lolbas-project.github.io/lolbas/Binaries/Ttdinject/"]
version = "1.0.5"
query = '''
process where event.action == "start" and
(
(process.parent.name : "TTDInject.EXE" and process.parent.args : "/Launch") or
(process.pe.original_file_name : "TTDInject.EXE" and process.args : "/Launch" and
not process.executable : "?:\\Windows\\Sys*\\ttdinject.exe")
)
'''
min_endpoint_version = "7.15.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1218"
name = "System Binary Proxy Execution"
reference = "https://attack.mitre.org/techniques/T1218/"
[threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
[internal]
min_endpoint_version = "7.15.0"
Stages and Predicates
Stage 1: process
process where event.action == "start" and
(
(process.parent.name : "TTDInject.EXE" and process.parent.args : "/Launch") or
(process.pe.original_file_name : "TTDInject.EXE" and process.args : "/Launch" and
not process.executable : "?:\\Windows\\Sys*\\ttdinject.exe")
)
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
event.action | eq |
| field:"EventType" kind:eq value:"start" |
process.args | wildcard |
| field:"process.args" kind:wildcard value:"/Launch" |
process.parent.args | wildcard |
| field:"process.parent.args" kind:wildcard value:"/Launch" |
process.parent.name | wildcard |
| field:"parent_process_name" kind:wildcard value:"TTDInject.EXE" |
process.pe.original_file_name | wildcard |
| field:"OriginalFileName" kind:wildcard value:"TTDInject.EXE" |