2024-02-05 06:12:47 -08:00
|
|
|
|
|
|
|
rule HackTool_Linux_SuspUnixReShellCmd_A{
|
|
|
|
meta:
|
|
|
|
description = "HackTool:Linux/SuspUnixReShellCmd.A,SIGNATURE_TYPE_CMDHSTR_EXT,0c 00 0c 00 05 00 00 01 00 "
|
|
|
|
|
|
|
|
strings :
|
2024-02-07 06:09:14 -08:00
|
|
|
$a_00_0 = {77 00 68 00 69 00 6c 00 65 00 } //01 00 while
|
|
|
|
$a_00_1 = {65 00 78 00 70 00 6f 00 72 00 74 00 } //0a 00 export
|
2024-02-05 06:12:47 -08:00
|
|
|
$a_02_2 = {65 00 76 00 61 00 6c 00 20 00 24 00 28 00 77 00 68 00 6f 00 69 00 73 00 20 00 2d 00 68 00 20 00 90 02 20 20 00 2d 00 70 00 90 00 } //ce ff
|
2024-02-07 06:09:14 -08:00
|
|
|
$a_00_3 = {31 00 32 00 37 00 2e 00 30 00 2e 00 30 00 2e 00 31 00 } //ce ff 127.0.0.1
|
|
|
|
$a_00_4 = {30 00 2e 00 30 00 2e 00 30 00 2e 00 30 00 } //00 00 0.0.0.0
|
2024-02-05 06:12:47 -08:00
|
|
|
condition:
|
|
|
|
any of ($a_*)
|
|
|
|
|
|
|
|
}
|