Skip to content

Commit 8be53bb

Browse files
authored
Merge pull request #1220 from avast/LZ_MicrosoftCabinet
Added detection of MS-cabinet SFX
2 parents aa05f39 + b3c4ad8 commit 8be53bb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

support/yara_patterns/tools/pe/x86/installers.yara

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2328,6 +2328,24 @@ rule inno_unicode_600
23282328
all of ($s1*)
23292329
}
23302330

2331+
rule ms_cabinet_sfx
2332+
{
2333+
meta:
2334+
tool = "I"
2335+
name = "Microsoft Cabinet SFX"
2336+
version = "1.0.x - 11.00.x"
2337+
source = "Made by Retdec Team"
2338+
strings:
2339+
$s01 = { 4D 53 43 46 00 00 00 00 } // 'MSCF\x00\x00\x00\x00'
2340+
$s02 = { 52 49 46 46 12 2E 00 00 41 56 49 20 4C 49 53 54 } // AVI header
2341+
$s03 = "wextract_cleanup%d"
2342+
$s04 = "CABINET" wide
2343+
condition:
2344+
pe.version_info["InternalName"] == "Wextract " and
2345+
pe.pdb_path == "wextract.pdb" and
2346+
all of them
2347+
}
2348+
23312349
rule sevenzip_sfx_3xx_01
23322350
{
23332351
meta:

0 commit comments

Comments
 (0)