Files
roadwy-DefenderYara/Exploit/Linux/2011-4089/Exploit_Linux_2011-4089_A_xp.yar
2025-04-26 22:42:45 +08:00

14 lines
665 B
Plaintext

rule Exploit_Linux_2011-4089_A_xp{
meta:
description = "Exploit:Linux/2011-4089.A!xp,SIGNATURE_TYPE_ELFHSTR_EXT,05 00 05 00 04 00 00 "
strings :
$a_01_0 = {63 72 65 61 74 65 5f 6e 61 73 74 79 5f 73 68 65 6c 6c } //2 create_nasty_shell
$a_01_1 = {6c 61 75 6e 63 68 69 6e 67 20 61 74 74 61 63 6b 20 61 67 61 69 6e 73 74 } //1 launching attack against
$a_01_2 = {72 6d 20 2d 66 72 20 2f 74 6d 70 2f 74 72 61 73 68 } //1 rm -fr /tmp/trash
$a_01_3 = {65 76 69 6c 20 73 63 72 69 70 74 20 28 2f 74 6d 70 2f 65 76 69 6c 29 } //1 evil script (/tmp/evil)
condition:
((#a_01_0 & 1)*2+(#a_01_1 & 1)*1+(#a_01_2 & 1)*1+(#a_01_3 & 1)*1) >=5
}