mirror of
https://github.com/Yara-Rules/rules
synced 2026-06-08 12:58:40 +00:00
Added domain and URL rules
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as
|
||||
long as you use it under this license.
|
||||
*/
|
||||
|
||||
rule domain {
|
||||
meta:
|
||||
author = "Antonio S. <asanchez@plutec.net>"
|
||||
strings:
|
||||
$domain_regex = /([\w\.-]+)/ wide ascii
|
||||
condition:
|
||||
$domain_regex
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as
|
||||
long as you use it under this license.
|
||||
*/
|
||||
|
||||
rule url {
|
||||
meta:
|
||||
author = "Antonio S. <asanchez@plutec.net>"
|
||||
strings:
|
||||
$url_regex = /https?:\/\/([\w\.-]+)([\/\w \.-]*)/ wide ascii
|
||||
condition:
|
||||
$url_regex
|
||||
}
|
||||
Reference in New Issue
Block a user