code42_server_dll_search_order_hijack


Description

Detects CVE-2019-16861 exploitation attempt License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
(($selection1.metadata.product_event_type = "11" and $selection1.target.file.full_path = "C:\\python27\\msvcr120.dll") or ($selection1.metadata.product_event_type = "7" and re.regex($selection1.target.process.file.full_path, `.*\\CrashPlanPROServer\.exe`) and $selection1.target.process.file.full_path = "C:\\python27\\msvcr120.dll"))

  condition:
    $selection1
Raw source code42_server_dll_search_order_hijack · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule code42_server_dll_search_order_hijack {
 meta:
    author = "Halil Ibrahim Cosgun"
    description = "Detects CVE-2019-16861 exploitation attempt  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/2I0t7s1CSogt"
    version = "0.01"
    created = "2021-03-09"
    product = "windows"
    service = "sysmon"
    mitre = "persistence, privilege_escalation, defense_evasion, T1038"

  events:
(($selection1.metadata.product_event_type = "11" and $selection1.target.file.full_path = "C:\\python27\\msvcr120.dll") or ($selection1.metadata.product_event_type = "7" and re.regex($selection1.target.process.file.full_path, `.*\\CrashPlanPROServer\.exe`) and $selection1.target.process.file.full_path = "C:\\python27\\msvcr120.dll"))

  condition:
    $selection1
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.