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
- Fecha
- 2025-09-09
- Modificada
- 2025-11-29
- Puntuación / Calidad
- 85 / 85
Qué detecta esta regla
Detects obfuscated JavaScript in NPM packages used in supply chain crypto stealer attacks in September 2025
Define 4 patrones (4 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* )
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "const _0x112fa8=_0x180f;(function(_0x13c8b9" | ascii |
| $fp1 | texto | "<html" | |
| $fp2 | texto | "<xml " | |
| $fp3 | texto | "<?xml" |
Condición
filesize < 200KB and 1 of ( $x* ) and not 1 of ( $fp* )En palabras sencillas (Heurística)
- El archivo debe ocupar menos de 200KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 1 patrones de ( $fp* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 16f6c756bc8ce5ef5d9aa1ded0f811ec0c9cee3d8f85cc151b8ca1df7b8a4337
Licencia y atribución
Autor: Florian Roth
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: f083233e-348a-5b7d-a128-181c543a279c
Etiquetas:FILE
Reglas relacionadas
- 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