Yara Ecosysyem - Python
https://github.com/VirusTotal/yara-python
1
pip3 install yara-python
1
2
3
4
import yara
rule = yara.compile(source='rule foo: bar {strings: $a = "lmn" condition: $a}')
matches = rule.match(data='abcdefgjiklmnoprstuvwxyz')
print(matches)
This post is licensed under CC BY 4.0 by the author.