-
Notifications
You must be signed in to change notification settings - Fork 163
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
Invalid rule in recent debugger-detection commit #551
Comments
There is also an issue with:
|
And:
|
And:
|
And:
This leads to
And other related ones... For reference |
Running this version: https://github.com/mandiant/capa-rules/tree/82308c4109c97688e8a2e3f346520b064fb868e7 |
Yep, that's expected although a little confusing. The commit you reference is what's supported by the latest release. Besides using the rules at that point you could use the capa source from master. We'll also do a new release in the next few weeks. Does that work for you? |
Ah I see. I may have missed it but it feels like there is some missing documentation on how to download the Capa rules repo then. From the guides in the capa IDA repo it just says to
And when I got to that repo I didn't see any links for "release" versions or documentation in the readme that says the master branch is not the one to download... |
Yeah, this is our fault in 1) not really documenting exactly what to download, and 2) not making it easy to download the ruleset associated with each capa release. In the short term, you'll want to download the rules from tag v3.2.0, like here: https://github.com/mandiant/capa-rules/tree/v3.2.0 Some things I think we should consider @mr-tz @mike-hunhoff @Ana06:
I wonder if we should also add a utility/mode to capa that can download the most up-to-date rules for a given release. It might autodetect when rules are not present locally and prompt the user to fetch the ruleset. Maybe also to update the rules? It's quite a bit more code, but the installation and configuration is rather confusion. |
@adamprescott91 if you're ok with it, as we make these changes, we'll ask you to review to get your input and feedback. Obviously we have a poor perspective on what its like to get up and running the first time. |
I think all of the mentioned points are good ideas. Not sure, we really need an auto-update feature, but adding more details on failing to load rules and some common gotchas, like the one here, would be helpful. |
two issues about this in two days: perhaps we should revert main and put our changes in a develop branch until our documentation is straightened out. |
or do a beta release, whatever is easier? |
happy to test, but I may be infrequently available so I wouldn't wait on me for anything 😬 |
i've reverted the breaking changes in master and the rules now work with capa v3.2.0: i've reverted the reverts in https://github.com/mandiant/capa-rules/tree/v4-dev. we should merge this branch into |
thanks for your patience @adamprescott91 and for reporting the issue! |
When downloading and running capa explorer on todays ruleset the following error is generated:
The text was updated successfully, but these errors were encountered: