-
Notifications
You must be signed in to change notification settings - Fork 413
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
[Feature Request] CAPE Extractor Output Standardization #1716
Comments
leaving this to @kevoreilly as i don't use/care about public extractors :) |
@kevoreilly any spare time to discuss this?? |
I am planning to implement MACO output in addition to 'raw' output. I plan to achieve this by the addition of a conversion function that can be called from a distinct entrypoint than the current The idea is for the conversion to internally call |
That sounds great! Is there anything I can do on my side to help further along the implementation? Maybe add this new entrypoint to the existing parsers that you have? |
someone need to review all the parsers and make standard naming of things like: cnc, cncs, c2, c2s, and being strings and lists etc. that would be first step, second step is easy wrapper that transforms that |
As an aside, not super important, what do you guys think about putting the extractors in a separate repository and submoduling it into this repository. Similar to what you guys do with the test data? Only reason why I ask is because we currently have to clone the whole repository just to get the extractors, which is a bit much but isn't the end of world if we have to. |
We can start doing a review on our side and try to start creating a standard for naming for things. Once we have that settled, we'll reach out to you guys to see what you guys think. If everyone is happy with the naming, then we can start implementing the MACO conversion entrypoint in each parser and PR it. How does that sound? |
About review sound good, about side repo I don't care, that's Kevin's bit
El vie, 8 sept 2023, 16:47, cccs-rs ***@***.***> escribió:
… someone need to review all the parsers and make standard naming of things
like: cnc, cncs, c2, c2s, and being strings and lists etc. that would be
first step, second step is easy wrapper that transforms that
We can start doing a review on our side and try to start creating a
standard for naming for things. Once we have that settled, we'll reach out
to you guys to see what you guys think.
If everyone is happy with the naming, then we can start implementing the
MACO conversion entrypoint in each parser and PR it.
How does that sound?
—
Reply to this email directly, view it on GitHub
<#1716 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOFH366K3EJJUFYDB7LP4LXZMVXNANCNFSM6AAAAAA362LNQA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The review and MACO stuff sounds good to me too, happy to help with some conversion functions to get it going. The idea of putting the extractors separate to the main repo doesn't sound unreasonable, the only problem with that is the parsers that depend on dynamic config extraction - obviously they won't be any good to anyone outside of cape! While there may only be a couple of these currently (Ursnif and AgentTesla off the top of my head) I am hoping to make many more like this in the near future! |
Here's something we've whipped up. The idea would be that the extractors would be written following MACO, and would probably go into a Example 1 - RedLineStealer:
Our thoughts we were to keep as much detail as possible while condensing the output. Example 2 - AgentTesla
Example 3 - Qakbot
Would love to hear your thoughts and would appreciate any feedback you can provide 😀 |
hello, well i have suggestion, we had the same problem few years ago at $dayjob. And our own solution was different.
just my 2 cents :) |
Yep that is my preferred way too as I am a stickler for the 'raw' config output in addition to a normalised one. |
moved to internal chat |
Hey guys! Long time no see 🤓
Expected Behavior
When running a CAPE extractor located in
./modules/processing/parsers/CAPE/
, we'd like to know what format to expect certain information in a deterministic manner. Similar to other extractor frameworks like MWCP and MACO.Current Behavior
Currently there's no way to tell the output format of the extractor without examining the source code which is inconvenient if trying to run multiple extractors in an automated system like Assemblyline.
Possible Solutions?
capesandbox.com
Context
Old PR: #1037
I look forward to picking up on our discussion!
The text was updated successfully, but these errors were encountered: