Added domain and URL rules

This commit is contained in:
Antonio S
2016-12-02 08:01:23 +01:00
parent 0d30145434
commit b42bbf6d8f
2 changed files with 26 additions and 0 deletions
+13
View File
@@ -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
}
+13
View File
@@ -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
}