We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure if this problem is for Yara or Yara-python.
When you compile several rules from a dictionary, it produce a seg.fault. Bellow you can follow a python code to reproduce it.
import yara rules_dict = dict() content = 'import "androguard"\r\nimport "file"\r\nimport "cuckoo"\r\n\r\n\r\nrule koodous : official\r\n{\r\n\tmeta:\r\n\t\tdescription = "This rule detects the koodous application, used to show all Yara rules potential"\r\n\t\tsample = "e6ef34577a75fc0dc0a1f473304de1fc3a0d7d330bf58448db5f3108ed92741b"\r\n\r\n\tstrings:\r\n\t\t$a = {63 6F 6D 24 6B 6F 6F 64 6F 75 73 24 61 6E 64 72 6F 69 64}\r\n\r\n\tcondition:\r\n\t\tandroguard.package_name("com.koodous.android") and\r\n\t\tandroguard.app_name("Koodous") and\r\n\t\tandroguard.activity(/Details_Activity/i) and\r\n\t\tandroguard.permission(/android.permission.INTERNET/) and\r\n\t\tandroguard.certificate.sha1("8399A145C14393A55AC4FCEEFB7AB4522A905139") and\r\n\t\tandroguard.url(/koodous\\.com/) and\r\n\t\tnot file.md5("d367fd26b52353c2cce72af2435bd0d5") and \r\n\t\t$a and\r\n\t\tcuckoo.network.dns_lookup(/settings.crashlytics.com/) //Yes, we use crashlytics to debug our app!\r\n\t\t\r\n}\r\n' for i in range(1000): rules_dict['rule_%d'%i] = content yara.compile(sources=rules_dict)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm not sure if this problem is for Yara or Yara-python.
When you compile several rules from a dictionary, it produce a seg.fault. Bellow you can follow a python code to reproduce it.
The text was updated successfully, but these errors were encountered: