Skip to content

Commit fbe28d9

Browse files
authored
chore(rules): 2026/04/15 FPR (#1470)
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent 09738f6 commit fbe28d9

17 files changed

Lines changed: 279 additions & 110 deletions

File tree

rules/anti-static/obfuscation/padding.yara

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ rule msxml2_http: critical {
1414
$not_yui3 = "version: 2.6.0"
1515
$not_yui4 = "YAHOO.util.Connect={_msxml_progid:[\"Microsoft.XMLHTTP\",\"MSXML2.XMLHTTP.3.0\",\"MSXML2.XMLHTTP\"]"
1616
$not_yui5 = "if(typeof YAHOO==\"undefined\"||!YAHOO){var YAHOO={};}YAHOO.namespace=function()"
17+
$not_dojo1 = "dojotoolkit.org"
18+
$not_dojo2 = "dojo.xd.js"
1719
1820
condition:
1921
filesize < 128KB and $a and !a > 32 and none of ($not*)

rules/evasion/mimicry/fake-process.yara

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rule fake_kworker: critical linux {
77
$kworker2 = "[kworker"
88
99
$not_bpftrace_comment1 = " * 03:14:49 496 kworker/1:0H md0"
10+
$not_bpftrace_script = "bpftrace" fullword
1011
$not_dockworker = "dockworker/MS"
1112
$not_f2fs_h1 = "* fs/f2fs/f2fs.h"
1213
$not_f2fs_h2 = "#ifndef _LINUX_F2FS_H"

rules/exfil/stealer/wallet.yara

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ rule crypto_stealer_names: critical {
3838
$gpt_tokenizer3 = "const bpe = c0.concat();"
3939
$gpt_tokenizer4 = "const bpe = c0.concat(c1);"
4040
$gpt_tokenizer5 = "export default bpe;"
41+
$bpe_tokenizer1 = "cl100k_base"
42+
$bpe_tokenizer2 = "o200k_base"
43+
$bpe_tokenizer3 = "p50k_base"
4144
4245
condition:
43-
filesize < 100MB and $http and 2 of ($w*) and none of ($not*) and none of ($gpt_tokenizer*)
46+
filesize < 100MB and $http and 2 of ($w*) and none of ($not*) and none of ($gpt_tokenizer*) and none of ($bpe_tokenizer*)
4447
}
4548

4649
rule crypto_extension_stealer: critical {

rules/false_positives/adminer.yara

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
rule adminer_php: override {
2+
meta:
3+
description = "adminer.php - legitimate database management tool"
4+
webshell_adminer_4_7 = "harmless"
5+
6+
strings:
7+
$adminer_header = "Adminer - Compact database management"
8+
$adminer_org = "https://www.adminer.org/"
9+
$adminer_author = "Jakub Vrana"
10+
11+
condition:
12+
filesize < 1MB and all of them
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
rule crossplane_aws_provider: override {
2+
meta:
3+
description = "provider-aws-* crossplane-contrib/provider-upjet-aws Go binary"
4+
RUSSIANPANDA_Mintsloader = "harmless"
5+
6+
strings:
7+
$upjet_build = "crossplane-contrib/provider-upjet-aws/internal/version"
8+
$upbound = "github.com/upbound/provider-aws/v2"
9+
10+
condition:
11+
filesize > 100MB and filesize < 1500MB and all of them
12+
}

rules/false_positives/datadog.yara

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,21 @@ rule default_policy: override {
1212
condition:
1313
filesize < 256KB and all of them
1414
}
15+
16+
rule datadog_agent_binary: override {
17+
meta:
18+
description = "datadog-agent binary"
19+
binary_url_with_question = "medium"
20+
iplookup_website = "medium"
21+
etc_ld_preload_not_ld = "medium"
22+
ipinfo_and_bash = "medium"
23+
linux_network_filter_exec = "medium"
24+
go_memfd_create = "medium"
25+
26+
strings:
27+
$datadog_module = "github.com/DataDog/datadog-agent"
28+
$datadoghq = "datadoghq.com"
29+
30+
condition:
31+
filesize < 500MB and all of them
32+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
rule gemini_cli_third_party: override {
2+
meta:
3+
description = "gemini-cli bundled third-party npm dependencies"
4+
exotic_tld = "low"
5+
iplookup_website = "low"
6+
browser_extension_installer = "low"
7+
obfuscated_payload = "low"
8+
bash_persist = "low"
9+
bash_persist_persistent = "low"
10+
11+
strings:
12+
$gemini_module = "@google/gemini-cli"
13+
$gemini_core = "gemini-cli-core"
14+
15+
condition:
16+
filesize < 100MB and all of them
17+
}

rules/false_positives/grub.yara

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
rule grub_boot_images: override {
2+
meta:
3+
description = "GRUB i386-pc boot images"
4+
single_load_rwe = "medium"
5+
6+
strings:
7+
$grub = "GRUB"
8+
9+
condition:
10+
filesize < 64KB and $grub
11+
}

rules/false_positives/kuma.yara

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
rule kuma_cp: override {
2+
meta:
3+
description = "kuma-cp - Kuma service mesh control plane"
4+
ESET_Kobalos = "harmless"
5+
6+
strings:
7+
$kuma_module = "github.com/kumahq/kuma"
8+
$kuma_io = "kuma.io"
9+
10+
condition:
11+
filesize < 250MB and all of them
12+
}

rules/false_positives/nltk.yara

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
rule nltk_test_pathsec: override {
2+
meta:
3+
description = "nltk/test/unit/test_pathsec.py"
4+
ELCEEF_Obfuscated_IP_Address_In_URL = "harmless"
5+
6+
strings:
7+
$test_pathsec = "test_pathsec"
8+
$nltk_pathsec = "nltk.pathsec"
9+
$nltk_downloader = "nltk.downloader"
10+
11+
condition:
12+
filesize < 64KB and all of them
13+
}

0 commit comments

Comments
 (0)