Files
2025-04-26 22:42:45 +08:00

15 lines
691 B
Plaintext

rule Exploit_Linux_IntFour_A_xp{
meta:
description = "Exploit:Linux/IntFour.A!xp,SIGNATURE_TYPE_ELFHSTR_EXT,04 00 04 00 05 00 00 "
strings :
$a_01_0 = {73 64 40 66 75 63 6b 73 68 65 65 70 } //2 sd@fucksheep
$a_01_1 = {73 65 6d 74 65 78 2e 63 } //1 semtex.c
$a_01_2 = {32 2e 36 2e 33 37 2d 33 2e 78 20 78 38 36 5f 36 34 } //1 2.6.37-3.x x86_64
$a_01_3 = {73 65 74 75 69 64 28 30 29 } //1 setuid(0)
$a_01_4 = {70 20 3d 20 6d 65 6d 6d 65 6d 28 63 6f 64 65 2c 20 31 30 32 34 2c 20 26 6e 65 65 64 6c 65 2c 20 38 29 } //1 p = memmem(code, 1024, &needle, 8)
condition:
((#a_01_0 & 1)*2+(#a_01_1 & 1)*1+(#a_01_2 & 1)*1+(#a_01_3 & 1)*1+(#a_01_4 & 1)*1) >=4
}