eth0izzle/shhgit

Implement YARA rules

オープン

#17 opened on 2019/10/01

 (9 件のコメント) (2 件のリアクション) (1 人の担当者)JavaScript (481 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (3,976 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

To replace the current yaml signatures. This will allow us to create mroe powerful rules. For example to find GitHub API keys we would regex on ([a-f\d]{40}), but currently that would produce a lot of false positives (it's a SHA1 hash). With a YARA rule we could do:

rule GitHubApikey
{
    strings:
        $re1 = /[a-f\d]{40}/
        $re2 = /Authorization: token/
        $re3 = /https://api.github.com/

    condition:
        $re1 and ($re2 or $re3)
}

コントリビューターガイド