Replies: 2 comments 2 replies
|
we only support utf-8/utf-16le because we don't have a robust way to detect other character encodings. if you have a lot of experience in this area, we're happy to entertain ideas. |
1 reply
|
i suppose we could support byte matching at file scope as a scan for those bytes. we could use yara, or regex/aho-corasick, to do this somewhat efficiently. in the past we haven't done this, since yara is usually better for scanning file bytes, but perhaps to keep things in the ecosystem we could consider it. however, we'd want to discourage people from trying to do more yara-like things with capa file byte scanning (like looking for mnemonics or whatever). |
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.
I'm currently looking to create an additional rule that matches against executable compiled with Easy Programming Language; however, capa does not appear to support matching non-UTF8/UTF16 codepage, and the anchors that most reliably match against EPL is with its 936-codepage strings - this means I would have to fallback to using
bytes, which would then have to reduce the broad scope offiledown to either unsupported or function: neither of which is ideal. Any idea what would be the best approach around this issue?Current draft
All reactions