我需要能够匹配转储文件中的URL,周围有特定的字节模式。为此,我写了以下YARA规则:
rule yara_rule
{
strings:
$beg = { 00 00 01 }
$domain = /http[s]?:\/\/(www\.)?[-a-zA-Z0-9]+\.[-a-zA-Z0-9]+\/[-a-zA-Z0-9%#\?=&\.\/:\+_]*/
$end = { 00 }
condition:
???
}我需要一种将这三个部分连接在一起的方法,但我想不出一个方法。你能帮上忙吗?
发布于 2020-01-15 17:00:12
您需要指定如下条件
condition:
$beg and $domain and $endhttps://stackoverflow.com/questions/59061329
复制相似问题