YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_JS_NPM_Supplychain_Attack_Nov25
Detects malicious JavaScript worm bun_environment.js
- Autor
- Marius Benthin
- Datum
- 2025-11-24
- Geändert
- 2025-12-15
- Score / Qualität
- 80 / 85
Was diese Regel erkennt
Detects malicious JavaScript worm bun_environment.js
Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_JS_NPM_Supplychain_Attack_Nov25 : FILE
{
meta:
= "Detects malicious JavaScript worm bun_environment.js"
= "Marius Benthin"
= "11726cbe-48a7-577a-9694-8f38ffa746e1"
= "2025-11-24"
= "2025-12-15"
= "https://www.aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_npm_supply_chain_nov25.yar#L1-L23"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "62ee164b9b306250c1172583f138c9614139264f889fa99614903c12755468d0"
= "b5a8da01ecb31dfa7a3921847a0fe26021b7618b1ee7a115a366b0854a4fa0a8"
= 80
= 85
= "FILE"
strings:
$sa1 = "npm publish"
$sa2 = "NPM_TOKEN"
$sa3 = "NPM_CONFIG_TOKEN"
$sb1 = "GITHUB_"
$sb2 = "GITLAB_"
$sb3 = "TEAMCITY_"
condition:
filesize < 20MB and all of ( $sa* ) and 2 of ( $sb* )
}
Strings (6 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $sa1 | Text | "npm publish" | |
| $sa2 | Text | "NPM_TOKEN" | |
| $sa3 | Text | "NPM_CONFIG_TOKEN" | |
| $sb1 | Text | "GITHUB_" | |
| $sb2 | Text | "GITLAB_" | |
| $sb3 | Text | "TEAMCITY_" |
Bedingung
filesize < 20MB and all of ( $sa* ) and 2 of ( $sb* )In Worten (Heuristik)
- Die Datei muss kleiner als 20MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus ( $sa* ) müssen treffen.
- Mindestens 2 Muster aus ( $sb* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 62ee164b9b306250c1172583f138c9614139264f889fa99614903c12755468d0
Lizenz & Namensnennung
Autor: Marius Benthin
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 11726cbe-48a7-577a-9694-8f38ffa746e1
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-28
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-28
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31