Skip to content
New issue

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

allow to specify the file location as a rule condition #19

Closed
plusvic opened this issue Nov 24, 2013 · 1 comment
Closed

allow to specify the file location as a rule condition #19

plusvic opened this issue Nov 24, 2013 · 1 comment

Comments

@plusvic
Copy link
Member

plusvic commented Nov 24, 2013

From asafd...@gmail.com on May 28, 2011 17:42:03

I'd like to be able to specify the file location (either an absolute folder such as C:\Windows\System32 or folders subtree such as C:\Windows\System32**) as a condition to a rule.
rule will match only if the the condition satisfies and the file is in the specified location

thanks

Original issue: http://code.google.com/p/yara-project/issues/detail?id=19

@plusvic
Copy link
Member Author

plusvic commented Nov 24, 2013

From plus...@gmail.com on May 28, 2011 14:52:07

YARA rules are agnostic about the file path they are analyzing, and should be kept that way because rules can be applied not only to files, but to data buffers and proceses as well. However you can do what you want by writing your own Python script usingthe yara-python extension.

Status: WontFix
Labels: -Type-Defect Type-Enhancement

@plusvic plusvic closed this as completed Nov 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant