mirror of
https://github.com/valitydev/signature-base.git
synced 2024-11-07 02:25:19 +00:00
Suspicious XORed URL in EXE
This commit is contained in:
parent
e17da8158e
commit
760a3865bf
21
yara/gen_susp_xor.yar
Normal file
21
yara/gen_susp_xor.yar
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/* requires YARA 3.8 or higher */
|
||||||
|
|
||||||
|
rule SUSP_XORed_URL_in_EXE {
|
||||||
|
meta:
|
||||||
|
description = "Detects an XORed URL in an executable"
|
||||||
|
author = "Steve Miller, Florian Roth"
|
||||||
|
reference = "https://twitter.com/stvemillertime/status/1237035794973560834"
|
||||||
|
date = "2020-03-09"
|
||||||
|
score = 50
|
||||||
|
strings:
|
||||||
|
$s1 = "http://" xor
|
||||||
|
$s2 = "https://" xor
|
||||||
|
$f1 = "http://" ascii
|
||||||
|
$f2 = "https://" ascii
|
||||||
|
condition:
|
||||||
|
uint16(0) == 0x5a4d and
|
||||||
|
filesize < 2000KB and (
|
||||||
|
( $s1 and #s1 > #f1 ) or
|
||||||
|
( $s2 and #s2 > #f2 )
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user