mirror of
https://github.com/roadwy/DefenderYara
synced 2026-06-21 14:08:27 +00:00
15 lines
631 B
Plaintext
15 lines
631 B
Plaintext
|
|
rule Exploit_Linux_OpenSSL_A_xp{
|
|
meta:
|
|
description = "Exploit:Linux/OpenSSL.A!xp,SIGNATURE_TYPE_ELFHSTR_EXT,04 00 04 00 05 00 00 "
|
|
|
|
strings :
|
|
$a_00_0 = {73 68 65 6c 6c 63 6f 64 65 } //1 shellcode
|
|
$a_00_1 = {65 63 68 6f 20 2d 65 6e } //1 echo -en
|
|
$a_00_2 = {63 72 65 61 74 65 5f 6d 61 6c 69 63 69 6f 75 73 5f 73 74 72 69 6e 67 } //1 create_malicious_string
|
|
$a_00_3 = {67 65 74 68 6f 73 74 6e 61 6d 65 } //1 gethostname
|
|
$a_00_4 = {74 65 6c 6e 65 74 20 25 73 20 31 35 32 34 } //1 telnet %s 1524
|
|
condition:
|
|
((#a_00_0 & 1)*1+(#a_00_1 & 1)*1+(#a_00_2 & 1)*1+(#a_00_3 & 1)*1+(#a_00_4 & 1)*1) >=4
|
|
|
|
} |