mirror of
https://github.com/roadwy/DefenderYara
synced 2026-06-21 14:08:27 +00:00
15 lines
735 B
Plaintext
15 lines
735 B
Plaintext
|
|
rule Exploit_Linux_looter_SB_xp{
|
|
meta:
|
|
description = "Exploit:Linux/looter.SB!xp,SIGNATURE_TYPE_ELFHSTR_EXT,08 00 08 00 05 00 00 "
|
|
|
|
strings :
|
|
$a_01_0 = {67 63 63 20 2f 74 6d 70 2f 2e 65 78 70 2e 63 20 2d 6f 20 2f 74 6d 70 2f 2e 65 78 70 } //2 gcc /tmp/.exp.c -o /tmp/.exp
|
|
$a_01_1 = {57 61 69 74 69 6e 67 20 66 6f 72 20 72 6f 6f 74 2e 2e 2e } //2 Waiting for root...
|
|
$a_01_2 = {72 6d 20 2f 74 6d 70 2f 2e 65 78 70 2e 63 } //2 rm /tmp/.exp.c
|
|
$a_01_3 = {63 68 6d 6f 64 20 2b 73 20 2f 74 6d 70 2f 2e 65 78 70 } //2 chmod +s /tmp/.exp
|
|
$a_01_4 = {6e 6f 20 72 30 30 74 20 68 65 72 65 } //2 no r00t here
|
|
condition:
|
|
((#a_01_0 & 1)*2+(#a_01_1 & 1)*2+(#a_01_2 & 1)*2+(#a_01_3 & 1)*2+(#a_01_4 & 1)*2) >=8
|
|
|
|
} |