Skip to content

Commit 57429a9

Browse files
authored
Address false positives with knative and new x86 third-party rule (#1008)
* Address false positives with knative and new x86 third-party rule Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Remove strings in favor of specific file hash Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent f8c05df commit 57429a9

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

pkg/compile/compile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ var badRules = map[string]bool{
3737
"SIGNATURE_BASE_SUSP_ELF_LNX_UPX_Compressed_File": true,
3838
"DELIVRTO_SUSP_SVG_Foreignobject_Nov24": true,
3939
"CAPE_Eternalromance": true,
40+
"CAPE_Formhookb": true,
4041
// ThreatHunting Keywords (some duplicates)
4142
"Adobe_XMP_Identifier": true,
4243
"Antivirus_Signature_signature_keyword": true,

rules/false_positives/knative.yara

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import "hash"
2+
3+
rule kobalos_override: override {
4+
meta:
5+
description = "webhook"
6+
ESET_Kobalos = "harmless"
7+
SIGNATURE_BASE_APT_MAL_LNX_Kobalos = "harmless"
8+
9+
condition:
10+
(hash.sha256(0, filesize) == "572235f7943a8bab5377ed94c9dbdd8c2471e08e19ff6bc1edd0f1f3680ab25d")
11+
}

0 commit comments

Comments
 (0)