-
Notifications
You must be signed in to change notification settings - Fork 20
/
INFO_Executable_HTML_Equities.yar
64 lines (56 loc) · 1.54 KB
/
INFO_Executable_HTML_Equities.yar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
rule INFO_PE_Contains_404_Title
{
meta:
author = "Greg Lesnewich"
date = "2024-01-16"
version = "1.0"
description = "track executable files with equities related to a 404 response page"
DaysofYARA = "16/100"
strings:
$ = "<title>404" ascii wide
condition:
uint16be(0) == 0x4d5a and all of them
}
rule INFO_PE_Contains_HTML_Page
{
meta:
author = "Greg Lesnewich"
date = "2024-01-16"
version = "1.0"
description = "track executable files with equities related to HTML"
DaysofYARA = "16/100"
strings:
$ = "<!DOCTYPE" ascii wide
$ = "<html>" ascii wide
$ = "<title>" ascii wide
condition:
uint16be(0) == 0x4d5a and all of them
}
rule INFO_ELF_Contains_404_Title
{
meta:
author = "Greg Lesnewich"
date = "2024-01-16"
version = "1.0"
description = "track executable files with equities related to a 404 response page"
DaysofYARA = "16/100"
strings:
$ = "<title>404" ascii wide
condition:
uint32be(0) == 0x7F454C46 and all of them
}
rule INFO_ELF_Contains_HTML_Page
{
meta:
author = "Greg Lesnewich"
date = "2024-01-16"
version = "1.0"
description = "track executable files with equities related to HTML"
DaysofYARA = "16/100"
strings:
$ = "<!DOCTYPE" ascii wide
$ = "<html>" ascii wide
$ = "<title>" ascii wide
condition:
uint32be(0) == 0x7F454C46 and all of them
}