This repository has been archived on 2025-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Novel/signatures/common.yara

56 lines
1.3 KiB
Plaintext
Raw Normal View History

2025-03-24 20:07:14 +00:00
rule CHINESE_NEZHA_ARGO {
strings:
$a1 = "TkVaSEE=" // Base64 for "NEZHA"
$a2 = "tunnel.json"
$a3 = "vless"
$a4 = "dmxlc3M=" // Base64 for "vless"
$a5 = "/vmess"
$a6 = "L3ZtZXNz" // Base64 for "/vmess"
$a7 = "V0FSUA==" // Base64 for "WARP"
$a8 = "/eooce/"
$a9 = "ARGO_AUTH"
$a10 = "--edge-ip-version"
$a11 = "LS1lZGdlLWlwLXZlcnNpb24=" // Base64 for "--edge-ip-version"
$a12 = "sub.txt"
$a13 = "Server\x20is\x20running\x20on\x20port\x20"
$a14 = "nysteria2"
$a15 = "openssl req"
2025-03-23 19:04:04 +01:00
condition:
2025-03-24 20:07:14 +00:00
2 of ($a*)
2025-03-24 18:03:56 +00:00
}
2025-03-24 20:07:14 +00:00
rule OBFUSCATED_CODE {
2025-03-24 18:03:56 +00:00
meta:
description = "Detects an obfuscated script"
strings:
2025-03-24 20:07:14 +00:00
$f1 = "0x" nocase
$f2 = "x20" nocase
$f3 = "x0a" nocase
2025-03-24 18:03:56 +00:00
condition:
2025-03-24 20:07:14 +00:00
2 of ($f1, $f2, $f3)
2025-03-23 19:04:04 +01:00
}
2025-03-24 20:07:14 +00:00
rule OVERLOAD_CRYPTO_MINER {
meta:
2025-03-23 19:04:04 +01:00
ref = "https://gist.github.com/GelosSnake/c2d4d6ef6f93ccb7d3afb5b1e26c7b4e"
2025-03-24 20:07:14 +00:00
strings:
$a1 = "stratum+tcp"
$a2 = "xmrig"
$a3 = "crypto"
2025-03-23 19:04:04 +01:00
condition:
2025-03-24 20:07:14 +00:00
any of them
2025-03-23 19:04:04 +01:00
}
2025-03-24 20:07:14 +00:00
rule REVERSE_SHELL {
strings:
$a1 = "0>&1"
$a2 = "sh"
$a3 = "-i"
$a4 = "0<&196"
$a5 = "<>/dev/tcp"
$a6 = "socket.socket"
condition:
2 of them
}