File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
rules/exe/executable/grum_custom_rule Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -24,36 +24,6 @@ rule EntryPointZero
24
24
pe .entry_point == 0x0
25
25
}
26
26
27
- rule SectionSizeGreaterThanImageSize
28
- {
29
- meta :
30
- atk_type = " suspicious_section "
31
- description = " Detects if any section size is greater than image size "
32
-
33
- condition :
34
- uint16 (0 ) == 0x5A4D and
35
- pe .is_pe and
36
- for any i in (0 .. pe .number_of_sections - 1 ) : (
37
- pe .sections [i ].raw_data_size > pe .size_of_image
38
- )
39
- }
40
-
41
- rule TextSectionLargerThanHalfImageSize
42
- {
43
- meta :
44
- atk_type = " suspicious_section "
45
- description = " Detects if .text section is larger than half of the image size "
46
-
47
- condition :
48
- uint16 (0 ) == 0x5A4D and
49
- pe .is_pe and
50
- (pe .characteristics & 0x2000 == 0 ) and // .dll 파일이 아닌지 확인
51
- (pe .characteristics & 0x0002 != 0 ) and // .exe 파일인지 확인
52
- for any i in (0 .. pe .number_of_sections - 1 ) : (
53
- pe .sections [i ].name == " .text " and pe .sections [i ].raw_data_size > pe .size_of_image * 0.5
54
- )
55
- }
56
-
57
27
rule MissingDigitalSignature
58
28
{
59
29
meta :
You can’t perform that action at this time.
0 commit comments