eth0izzle/shhgit

Implement YARA rules

開放

#17 建立於 2019年10月1日

 (9 則留言) (2 個反應) (1 位負責人)JavaScript (481 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (3,976 顆星)
PR 合併指標
 (30 天內沒有已合併 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)
}

貢獻者指南