mirror of
https://github.com/valitydev/signature-base.git
synced 2024-11-06 18:15:20 +00:00
24 lines
672 B
Plaintext
24 lines
672 B
Plaintext
/*
|
|
Yara Rule Set
|
|
Author: Florian Roth
|
|
Date: 2016-04-26
|
|
Identifier: regsvr32 issue
|
|
*/
|
|
|
|
/* Rule Set ----------------------------------------------------------------- */
|
|
|
|
rule SCT_Scriptlet_in_Temp_Inet_Files {
|
|
meta:
|
|
description = "Detects a scriptlet file in the temporary Internet files (see regsvr32 AppLocker bypass)"
|
|
author = "Florian Roth"
|
|
reference = "http://goo.gl/KAB8Jw"
|
|
date = "2016-04-26"
|
|
strings:
|
|
$s1 = "<scriptlet>" fullword ascii nocase
|
|
$s2 = "ActiveXObject(\"WScript.Shell\")" ascii
|
|
condition:
|
|
( uint32(0) == 0x4D583F3C or uint32(0) == 0x6D78F3C ) /* <?XM or <?xm */
|
|
and $s1 and $s2
|
|
and filepath contains "Temporary Internet Files"
|
|
}
|