Detection rules › Elastic
Suspicious ImageLoad via Windows CertOC
Identifies abuse of the Microsoft CertOC utility to load an arbitrary DLL. This behavior is used as a defense evasion technique to blend-in malicious activity with legitimate Windows software.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Rule body
[rule]
description = """
Identifies abuse of the Microsoft CertOC utility to load an arbitrary DLL. This behavior is used as a defense evasion
technique to blend-in malicious activity with legitimate Windows software.
"""
id = "6fcbf73f-4413-4689-be33-61b0d6bd0ffc"
license = "Elastic License v2"
name = "Suspicious ImageLoad via Windows CertOC"
os_list = ["windows"]
reference = ["https://lolbas-project.github.io/lolbas/Binaries/Certoc/"]
version = "1.0.24"
query = '''
process where event.action == "start" and
(process.pe.original_file_name == "CertOC.exe" or process.name : "certoc.exe") and process.args : "-LoadDLL"
'''
min_endpoint_version = "7.15.0"
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
[[optional_actions]]
action = "rollback"
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.pe.original_file_name == "CertOC.exe" or process.name : "certoc.exe") and process.args : "-LoadDLL"
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:"-LoadDLL" |
process.name | wildcard |
| field:"process_name" kind:wildcard value:"certoc.exe" |
process.pe.original_file_name | eq |
| field:"OriginalFileName" kind:eq value:"CertOC.exe" |