Repository navigation
Powering Quark-Engine with Yara. #321
VivekChoudhary128
started this conversation in
Ideas
Replies: 2 comments 6 replies
|
Hi @PaulNicolasHunter. Could you give us more details on why it helps us achieve that idea? |
5 replies
|
Hi @PaulNicolasHunter, The benefit of your idea and your implementation plan is very important in the GSoC proposal. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Continuing the issue #313 here.
I've been looking into the idea of powering Quark with Yara, and after doing some RnD here and there my first thought was, "Since Quark does more than just string matching, how are we planning to do the logical flow using Yara? "
Here were the couple of ideas that I had -
1) Yara file as a string variable file: in this case we read .yar file as a normal file, extracting the string and passing them to the already written Quark logic, something like below -
PROS -
CONS -
2) Keeping the format of Quark Rules and Yara rules similar: In this case we just do the permission check logic (Step 1 of Quark flow) in Yara compiling and and send the rest of the strings variables which define the native classes to already written Quark Logic (something like first point).
PROS and CONS are quite similar to first idea.
3) Writing the whole logic of Quark in Yara Rules: Doing everything, from matching permissions to finding the functions and their order of calling in Yara rules.
4) Porting the whole logic of Quark-Engine as a Yara module: Prividing Quark as an Yara module, re-writing the whole logic in C by using using Yara APIs to integrate the logic.
PROS -
more RnD needed on rest of pros..
CONS -
what are your thoughts on this? @18z @haeter525 @pulorsok
All reactions