Files
roadwy-DefenderYara/Exploit/Linux/Local/Exploit_Linux_Local_gen_C.yar
2025-04-26 22:42:45 +08:00

13 lines
737 B
Plaintext

rule Exploit_Linux_Local_gen_C{
meta:
description = "Exploit:Linux/Local.gen!C,SIGNATURE_TYPE_ELFHSTR_EXT,07 00 07 00 03 00 00 "
strings :
$a_01_0 = {7c 2d 20 73 6f 6d 65 74 68 69 6e 67 20 77 65 6e 74 20 77 30 72 6e 67 20 28 69 6e 76 61 6c 69 64 20 76 61 6c 75 65 29 } //3 |- something went w0rng (invalid value)
$a_01_1 = {7c 20 75 73 61 67 65 3a 20 25 73 20 3c 6e 65 67 61 74 69 76 65 20 76 61 6c 75 65 3e 20 } //2 | usage: %s <negative value>
$a_01_2 = {7c 2d 20 74 68 65 20 74 69 6d 65 20 68 61 73 20 63 6f 6d 65 20 74 6f 20 70 75 73 68 20 74 68 65 20 62 75 74 74 6f 6e 2e 2e 2e 20 } //2 |- the time has come to push the button...
condition:
((#a_01_0 & 1)*3+(#a_01_1 & 1)*2+(#a_01_2 & 1)*2) >=7
}