Skip to content

Commit dec79a8

Browse files
committed
Tweak tokenizer strings
Signed-off-by: egibs <[email protected]>
1 parent 4963a62 commit dec79a8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

rules/anti-behavior/blocklist/user.yara

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ rule common_username_block_list: critical {
4848
$not_wireshark = "wireshark.org"
4949
$gpt_tokenizer1 = "GPTTokenizer"
5050
$gpt_tokenizer2 = "GPT-4"
51+
$gpt_tokenizer3 = "const bpe = c0.concat();"
52+
$gpt_tokenizer4 = "const bpe = c0.concat(c1);"
53+
$gpt_tokenizer5 = "export default bpe;"
5154
5255
condition:
53-
8 of them and none of ($not*) and (#gpt_tokenizer1 < 3 and #gpt_tokenizer2 < 65)
56+
8 of them and none of ($not*) and none of ($gpt_tokenizer*)
5457
}

rules/exfil/stealer/wallet.yara

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ rule crypto_stealer_names: critical {
3535
$not_geth_site = "https://geth.ethereum.org"
3636
$gpt_tokenizer1 = "GPTTokenizer"
3737
$gpt_tokenizer2 = "GPT-4"
38+
$gpt_tokenizer3 = "const bpe = c0.concat();"
39+
$gpt_tokenizer4 = "const bpe = c0.concat(c1);"
40+
$gpt_tokenizer5 = "export default bpe;"
3841
3942
condition:
40-
filesize < 100MB and $http and 2 of ($w*) and none of ($not*) and (#gpt_tokenizer1 < 3 and #gpt_tokenizer2 < 65)
43+
filesize < 100MB and $http and 2 of ($w*) and none of ($not*) and none of ($gpt_tokenizer*)
4144
}
4245

4346
rule crypto_extension_stealer: critical {

0 commit comments

Comments
 (0)