Sneed-Reactivity/yara-mikesxrs/symantec/remsec_packer_A.yar

26 lines
607 B
Text
Raw Normal View History

rule remsec_packer_A
{
meta:
copyright = "Symantec"
strings:
$code =
/*
69 ?? AB 00 00 00 imul r0, 0ABh
81 C? CD 2B 00 00 add r0, 2BCDh
F7 E? mul r0
C1 E? 0D shr r1, 0Dh
69 ?? 85 CF 00 00 imul r1, 0CF85h
2B sub r0, r1
*/
{
69 ( C? | D? | E? | F? ) AB 00 00 00
( 81 | 41 81 ) C? CD 2B 00 00
( F7 | 41
F7 ) E?
( C1 | 41 C1 ) E? 0D
( 69 | 45 69 ) ( C? | D? | E? | F? ) 85 CF 00 00
( 29 | 41 29 | 44 29 | 45 29 | 2B | 41 2B | 44 2B | 45 2B )
}
condition:
all of them
}