Skip to content
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

YARA classification rules #27

Closed
nazywam opened this issue Aug 13, 2021 · 1 comment · Fixed by #68
Closed

YARA classification rules #27

nazywam opened this issue Aug 13, 2021 · 1 comment · Fixed by #68
Labels
enhancement New feature or request

Comments

@nazywam
Copy link
Member

nazywam commented Aug 13, 2021

Reference: #25

It could be useful to allow the user to insert their own classification rules using YARA rules.

The kind, platform, type results would be passed via meta arguments in the rule itself, e.g.:

rule pe_files
{
    meta:
        description = "classifies incoming windows executables"
        kind = "runnable"
        platform = "win32"
        type = "exe"
    strings:
        $mz = "MZ"
    condition:
        $mz at 0 and uint32(uint32(0x3C)) == 0x4550
}
@xorhex
Copy link

xorhex commented Sep 20, 2021

I like the idea of extending karton-classifier using YARA rules versus modifying the karton-classifier code directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants