YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_JS_NPM_Supplychain_Attack_Sep25
Detects obfuscated JavaScript in NPM packages used in supply chain crypto stealer attacks in September 2025
- Autor
- Florian Roth
- Datum
- 2025-09-09
- Geändert
- 2025-11-29
- Score / Qualität
- 85 / 85
Was diese Regel erkennt
Detects obfuscated JavaScript in NPM packages used in supply chain crypto stealer attacks in September 2025
Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_JS_NPM_Supplychain_Attack_Sep25 : FILE
{
meta:
= "Detects obfuscated JavaScript in NPM packages used in supply chain crypto stealer attacks in September 2025"
= "Florian Roth"
= "f083233e-348a-5b7d-a128-181c543a279c"
= "2025-09-09"
= "2025-11-29"
= "https://www.linkedin.com/feed/update/urn:li:activity:7370889385992437760/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_npm_supply_chain_sep25.yar#L1-L21"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "16f6c756bc8ce5ef5d9aa1ded0f811ec0c9cee3d8f85cc151b8ca1df7b8a4337"
= "1b83d1bd79cdff02ed2fff7bf1feb57801ff9a933de1bd4f7ceecf738213ab4c"
= 85
= 85
= "FILE"
strings:
$x1 = "const _0x112fa8=_0x180f;(function(_0x13c8b9" ascii
$fp1 = "<html"
$fp2 = "<xml "
$fp3 = "<?xml"
condition:
filesize < 200KB and 1 of ( $x* ) and not 1 of ( $fp* )
}
Strings (4 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "const _0x112fa8=_0x180f;(function(_0x13c8b9" | ascii |
| $fp1 | Text | "<html" | |
| $fp2 | Text | "<xml " | |
| $fp3 | Text | "<?xml" |
Bedingung
filesize < 200KB and 1 of ( $x* ) and not 1 of ( $fp* )In Worten (Heuristik)
- Die Datei muss kleiner als 200KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 1 Muster aus ( $fp* ) 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).
- 16f6c756bc8ce5ef5d9aa1ded0f811ec0c9cee3d8f85cc151b8ca1df7b8a4337
Lizenz & Namensnennung
Autor: Florian Roth
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: f083233e-348a-5b7d-a128-181c543a279c
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-01