Linux_Trojan_Orbit_57c23178
Description
Linux.Trojan.Orbit
Query · yara
strings:
$loaderstrings0 = "shred"
$loaderstrings1 = "newpath" fullword
$loaderstrings2 = "shm update" fullword
$loaderstrings3 = "cp -p %s /dev/shm/ldx/.backup_ld.so" fullword
$loaderstrings4 = "/dev/shm/ldx/libdl.so\n" fullword
$loaderstrings5 = "oldpath: %s newpath: %s\n" fullword
$loaderstrings6 = "can't locate oldpath" fullword
$loaderstrings7 = "specify dir" fullword
$loaderstrings8 = "/sshpass.txt"
$loaderstrings9 = "/sshpass2.txt"
$loaderstrings10 = "/.logpam"
$loaderstrings11 = "/.boot.sh"
$tmppath = "/tmp/.orbit" fullword
$functionName0 = "tcp_port_hidden" fullword
$functionName1 = "clean_ports" fullword
$functionName2 = "remove_port" fullword
$execvStrings0 = "[%s] [%s] [BLOCKED] %s " fullword
$execvStrings1 = "[%s] [%s] %s " fullword
$execvStrings2 = "%m-%d %H:%M:%S" fullword
$pam_log_password = { 8B 45 F8 48 98 C6 84 05 F0 FE FF FF 00 48 8D 85 F0 FE FF FF B9 A4 01 00 00 BA 42 04 00 00 48 89 C6 BF 02 00 00 00 B8 00 00 00 00 E8 B6 C2 FE FF 89 45 F4 48 8B 8D E0 FE FF FF 48 8B 95 E8 FE FF FF 48 8D 85 F0 FE FF FF }
$load_hidden_ports = { 48 8B 45 ?? BE 0A 00 00 00 48 89 C7 E8 ?? ?? ?? ?? 48 89 45 ?? 48 83 7D ?? 00 75 }
$hosts_access = { 8B 45 ?? 48 98 C6 84 05 D0 EF FF FF 00 48 8B 05 ?? ?? ?? ?? 48 8B 80 ?? ?? 00 00 48 8B 95 C8 EF FF FF 48 89 D7 FF D0 89 45 ?? 48 8D 85 D0 EF FF FF 48 89 45 ?? EB }
condition:
7 of ($loaderstrings*) or (all of ($functionName*) and $tmppath and all of ($execvStrings*)) or 2 of ($pam_log_password, $load_hidden_ports, $hosts_access)