Powering Quark-Engine with Yara. #321
Replies: 2 comments 6 replies
-
Hi @PaulNicolasHunter. Could you give us more details on why it helps us achieve that idea? |
Beta Was this translation helpful? Give feedback.
-
Hi @PaulNicolasHunter, The benefit of your idea and your implementation plan is very important in the GSoC proposal. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions