Linux_Trojan_Zerobot_185e2396


Description

Strings found in the zerobot startup / persistanse functions

Query · yara

strings:
        $startup_method_1_0 = "/usr/bin/sshf"
        $startup_method_1_1 = "start on filesystem"
        $startup_method_1_2 = "exec /usr/bin/sshf"
        $startup_method_2_0 = "Description=Hehehe"
        $startup_method_2_1 = "/lib/systemd/system/sshf.service"
        $start_service_0 = "service enable sshf"
        $start_service_1 = "systemctl enable sshf"
    condition:
        (all of ($startup_method_1_*) or all of ($startup_method_2_*)) and 1 of ($start_service_*)
Raw source Linux_Trojan_Zerobot_185e2396 · YARA
Esc
Published by elastic/protections-artifacts ↗, licensed under Elastic License 2.0 ↗. Reproduced here unmodified.
rule Linux_Trojan_Zerobot_185e2396 {
    meta:
        author = "Elastic Security"
        id = "185e2396-f9eb-42e6-b78b-f8c01dbd3fd8"
        fingerprint = "f7ce4eebd5f13af3a480dfe23d86394c7e0f85f284a7c2900ab3fad944b08752"
        creation_date = "2022-12-16"
        last_modified = "2024-02-13"
        description = "Strings found in the zerobot startup / persistanse functions"
        threat_name = "Linux.Trojan.Zerobot"
        reference_sample = "f9fc370955490bdf38fc63ca0540ce1ea6f7eca5123aa4eef730cb618da8551f"
        severity = 100
        arch_context = "x86"
        scan_context = "file, memory"
        license = "Elastic License v2"
        os = "linux"
    strings:
        $startup_method_1_0 = "/usr/bin/sshf"
        $startup_method_1_1 = "start on filesystem"
        $startup_method_1_2 = "exec /usr/bin/sshf"
        $startup_method_2_0 = "Description=Hehehe"
        $startup_method_2_1 = "/lib/systemd/system/sshf.service"
        $start_service_0 = "service enable sshf"
        $start_service_1 = "systemctl enable sshf"
    condition:
        (all of ($startup_method_1_*) or all of ($startup_method_2_*)) and 1 of ($start_service_*)
}

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.