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
- Auteur
- Florian Roth
- Date
- 2025-09-09
- Modifiée
- 2025-11-29
- Score / Qualité
- 85 / 85
Ce que détecte cette règle
Detects obfuscated JavaScript in NPM packages used in supply chain crypto stealer attacks in September 2025
Elle définit 4 motifs (4 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* )
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "const _0x112fa8=_0x180f;(function(_0x13c8b9" | ascii |
| $fp1 | texte | "<html" | |
| $fp2 | texte | "<xml " | |
| $fp3 | texte | "<?xml" |
Condition
filesize < 200KB and 1 of ( $x* ) and not 1 of ( $fp* )En clair (Heuristique)
- Le fichier doit faire moins de 200KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 1 motifs de ( $fp* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 16f6c756bc8ce5ef5d9aa1ded0f811ec0c9cee3d8f85cc151b8ca1df7b8a4337
Licence et attribution
Auteur : Florian Roth
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: f083233e-348a-5b7d-a128-181c543a279c
Tags:FILE
Règles liées
- 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