Skip to content

Commit cdb5210

Browse files
committed
Add more yara git repositories data sources
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent de080eb commit cdb5210

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

vulnerabilities/pipelines/v2_improvers/yara_rules.py

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ class YaraRulesImproverPipeline(VulnerableCodePipeline):
3535
"git+https://github.com/mikesxrs/Open-Source-YARA-rules",
3636
"git+https://github.com/fboldewin/YARA-rules",
3737
"git+https://github.com/h3x2b/yara-rules",
38+
"git+https://github.com/roadwy/DefenderYara",
39+
"git+https://github.com/mthcht/ThreatHunting-Keywords-yara-rules",
40+
"git+https://github.com/Neo23x0/signature-base",
41+
"git+https://github.com/malpedia/signator-rules",
42+
"git+https://github.com/baderj/yara",
43+
"git+https://github.com/deadbits/yara-rules", # archived
44+
"git+https://github.com/pmelson/yara_rules",
45+
"git+https://github.com/sbousseaden/YaraHunts",
46+
"git+https://github.com/embee-research/Yara-detection-rules",
47+
"git+https://github.com/RussianPanda95/Yara-Rules",
48+
"git+https://github.com/ail-project/ail-yara-rules",
49+
"git+https://github.com/MalGamy/YARA_Rules",
50+
"git+https://github.com/elceef/yara-rulz",
51+
"git+https://github.com/tenable/yara-rules",
52+
"git+https://github.com/dr4k0nia/yara-rules",
53+
"git+https://github.com/umair9747/yara-rules",
3854
]
3955

4056
license_urls = """
@@ -49,10 +65,25 @@ class YaraRulesImproverPipeline(VulnerableCodePipeline):
4965
https://github.com/jeFF0Falltrades/YARA-Signatures/blob/master/LICENSE.md
5066
https://github.com/tjnel/yara_repo/blob/master/LICENSE
5167
https://github.com/JPCERTCC/jpcert-yara/blob/main/LICENSE
52-
68+
https://github.com/mthcht/ThreatHunting-Keywords-yara-rules/blob/main/LICENSE
69+
https://github.com/malpedia/signator-rules -> https://creativecommons.org/licenses/by-sa/4.0/
70+
https://github.com/baderj/yara/blob/main/LICENSE
71+
https://github.com/deadbits/yara-rules/blob/master/UNLICENSE
72+
https://github.com/embee-research/Yara-detection-rules/tree/main?tab=readme-ov-file#detection-rule-license-drl-11
73+
https://github.com/ail-project/ail-yara-rules?tab=AGPL-3.0-1-ov-file
74+
https://github.com/MalGamy/YARA_Rules/blob/main/LICENSE.md
75+
https://github.com/elceef/yara-rulz/tree/main?tab=MIT-1-ov-file
76+
https://github.com/tenable/yara-rules/tree/master?tab=BSD-3-Clause-1-ov-file
77+
https://github.com/dr4k0nia/yara-rules/blob/main/LICENSE.md
78+
https://github.com/umair9747/yara-rules?tab=GPL-3.0-1-ov-file
79+
5380
NO-LICENSE: https://github.com/mikesxrs/Open-Source-YARA-rules/
5481
NO-LICENSE: https://github.com/fboldewin/YARA-rules
5582
NO-LICENSE: https://github.com/h3x2b/yara-rules
83+
NO-LICENSE: https://github.com/roadwy/DefenderYara
84+
NO-LICENSE: https://github.com/pmelson/yara_rules
85+
NO-LICENSE: https://github.com/sbousseaden/YaraHunts
86+
NO-LICENSE: https://github.com/RussianPanda95/Yara-Rules
5687
"""
5788

5889
def __init__(self, *args, **kwargs):
@@ -109,7 +140,6 @@ def collect_and_store_rules(self):
109140
base_path=base_directory,
110141
url=f"{repo_url}/blob/master/",
111142
)
112-
print(rule_url)
113143

114144
DetectionRule.objects.update_or_create(
115145
rule_text=raw_text,

0 commit comments

Comments
 (0)