@@ -5,6 +5,7 @@ rule http_url_with_exe: high {
55 strings :
66 $ exe_url = /https * : \/\/ [ \w \. ] {0,160 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. exe /
77 $ not_mongodb_404 = " https://docs.mongodb.com/manual/reference/method/Bulk.exe "
8+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
89
910 condition :
1011 any of ($ exe * ) and none of ($ not * )
@@ -17,8 +18,10 @@ rule http_ip_url_with_exe: critical {
1718 strings :
1819 $ exe_url = /https * : \/\/ [ \d \.\:\[\] ] {8,64 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. exe /
1920
21+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
22+
2023 condition :
21- any of ($ exe * )
24+ any of ($ exe * ) and none of ( $ not * )
2225 }
2326
2427rule http_url_with_msi : high {
@@ -28,8 +31,10 @@ rule http_url_with_msi: high {
2831 strings :
2932 $ exe_url = /https * : \/\/ [ \w \. ] {0,160 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. msi /
3033
34+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
35+
3136 condition :
32- any of ($ exe * )
37+ any of ($ exe * ) and none of ( $ not * )
3338 }
3439
3540rule http_ip_url_with_msi : critical {
@@ -39,8 +44,10 @@ rule http_ip_url_with_msi: critical {
3944 strings :
4045 $ exe_url = /https * : \/\/ [ \d \.\:\[\] ] {8,64 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. msi /
4146
47+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
48+
4249 condition :
43- any of ($ exe * )
50+ any of ($ exe * ) and none of ( $ not * )
4451 }
4552
4653rule http_url_with_powershell : high {
@@ -50,8 +57,10 @@ rule http_url_with_powershell: high {
5057 strings :
5158 $ exe_url = /https * : \/\/ [ \w \. ] {0,160 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. ps1 /
5259
60+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
61+
5362 condition :
54- any of ($ exe * )
63+ any of ($ exe * ) and none of ( $ not * )
5564 }
5665
5766rule http_ip_url_with_powershell : critical {
@@ -61,6 +70,8 @@ rule http_ip_url_with_powershell: critical {
6170 strings :
6271 $ exe_url = /https * : \/\/ [ \d \.\:\[\] ] {8,64 } [ : \/ \w \_\-\?\@ = ] {6,160 } \. ps1 /
6372
73+ $ not_elastic = " \" license \" : \" Elastic License v2 \" "
74+
6475 condition :
65- any of ($ exe * )
76+ any of ($ exe * ) and none of ( $ not * )
6677 }
0 commit comments