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)
}

贡献者指南