Skip to content

Commit 5077e43

Browse files
committed
Add YARA rules for PEPack and SoftwareCompress packers
Introduced two new rules: Packer__PEPack and Packer__SoftwareCompress. These rules detect PE files packed with PEPack and SoftwareCompress by checking for specific section names in the PE headers.
1 parent 9ab65bb commit 5077e43

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

yara_rules/DiE_InterestingThings_by_DosX.yar

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,26 @@ rule Packer__XPack {
103103
pe.sections[0].name == ".XPack0"
104104
}
105105

106+
rule Packer__PEPack {
107+
condition:
108+
IsPE and
109+
IsNative and (
110+
for any i in (0..pe.number_of_sections - 1) : (
111+
pe.sections[i].name == "PEPACK!!"
112+
)
113+
)
114+
}
115+
116+
rule Packer__SoftwareCompress {
117+
condition:
118+
IsPE and
119+
IsNative and (
120+
for any i in (0..pe.number_of_sections - 1) : (
121+
pe.sections[i].name == "SoftComp"
122+
)
123+
)
124+
}
125+
106126
rule Protection__obfus_h {
107127
condition:
108128
IsPE and

0 commit comments

Comments
 (0)