mirror of
https://github.com/roadwy/DefenderYara
synced 2026-06-21 14:08:27 +00:00
14 lines
577 B
Plaintext
14 lines
577 B
Plaintext
|
|
rule Exploit_Linux_Awstats_A_xp{
|
|
meta:
|
|
description = "Exploit:Linux/Awstats.A!xp,SIGNATURE_TYPE_ELFHSTR_EXT,04 00 04 00 04 00 00 "
|
|
|
|
strings :
|
|
$a_01_0 = {2f 63 67 69 2d 62 69 6e 2f 61 77 73 74 61 74 73 2e 70 6c } //1 /cgi-bin/awstats.pl
|
|
$a_01_1 = {2d 64 20 3c 61 77 73 74 61 74 73 5f 64 69 72 3e } //1 -d <awstats_dir>
|
|
$a_01_2 = {2d 64 20 2f 73 74 61 74 73 2f 61 77 73 74 61 74 73 2e 70 6c } //1 -d /stats/awstats.pl
|
|
$a_01_3 = {73 68 33 6c 6c 3e } //1 sh3ll>
|
|
condition:
|
|
((#a_01_0 & 1)*1+(#a_01_1 & 1)*1+(#a_01_2 & 1)*1+(#a_01_3 & 1)*1) >=4
|
|
|
|
} |