chainguard-dev / bincapz

detect malicious program behaviors
Apache License 2.0
380 stars 24 forks source link

Add YARA-CI GitHub App as part of CI Checks #183

Closed egibs closed 2 months ago

egibs commented 2 months ago

The YARA-CI app can be used to scan all of the Yara rules in a given repository and provide feedback on any issues as well as false positive and negative reports.

Initially this should be non-blocking since there are current warnings/failures.

Here's an example from my fork:

Checks: CleanShot 2024-05-04 at 13 03 36@2x

Configuration docs:

tstromberg commented 2 months ago

FWIW, we're always going to want to turn off false-positives, as our rules are designed to match any program. From https://yara-ci.cloud.virustotal.com/configuration/false_negatives/

false_positives:
  disabled: true

As far as the false negatives, go ahead and leave them for now. I'll probably just end up removing them and resetting the hashes. I had initially populated most of them with https://github.com/chainguard-dev/yato - a PoC which later inspired bincapz.

tstromberg commented 2 months ago

I've enabled it - sending out a cleanup PR imminently. Thanks for opening this!