Skip to content

Commit 0aebb51

Browse files
authored
Merge pull request #25 from Gurummang/develop
fix: add missing_certificate
2 parents 0e1cccb + 217329d commit 0aebb51

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rules/exe/executable/grum_custom_rule/suspicious_pe.yar renamed to rules/exe/executable/ransomware/suspicious_pe.yar

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ rule EntryPointZero
2424
pe.entry_point == 0x0
2525
}
2626

27+
rule missing_certificate
28+
{
29+
meta:
30+
atk_type= "missing_certificate"
31+
description = "Detects PE files that do not have a digital signature"
32+
condition:
33+
uint16(0) == 0x5A4D and
34+
pe.is_pe and
35+
pe.number_of_signatures == 0
36+
}
37+
2738
rule SectionSizeGreaterThanImageSize
2839
{
2940
meta:

0 commit comments

Comments
 (0)