YARA · Volexity threat-intel
VOLEXITY_Apt_Ico_Uta0040_B64_C2
Detection of malicious ICO files used in 3CX compromise.
- Auteur
- threatintel@volexity.com
- Date
- 2023-03-30
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detection of malicious ICO files used in 3CX compromise.
Elle définit 2 motifs (0 texte, 2 hex, 0 regex).
YARA-X indique : warning[potentially_slow_loop]: potentially slow loop
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule VOLEXITY_Apt_Ico_Uta0040_B64_C2 : UTA0040 FILE
{
meta:
= "Detection of malicious ICO files used in 3CX compromise."
= "threatintel@volexity.com"
= "1efb6376-a362-5f03-b4d3-08cd7d634de6"
= "2023-03-30"
= "2023-03-30"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-03-30 3CX/indicators/rules.yar#L1-L31"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "a541e5fc421c358e0a2b07bf4771e897fb5a617998aa4876e0e1baa5fbb8e25c"
= "2667a36ce151c6e964f9ce9a6f587eedbffdd6ec76e451a23c5cfdd08248d15e"
= 75
= 80
= "UTA0040, FILE"
= 0
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
strings:
$IEND_dollar = {49 45 4e 44 ae 42 60 82 24}
$IEND_nodollar = {49 45 4e 44 ae 42 60 82 }
condition:
uint16be( 0 ) == 0x0000 and filesize < 120KB and ( $IEND_dollar in ( filesize -500 .. filesize ) and not $IEND_nodollar in ( filesize -20 .. filesize ) and for any k in ( 1 .. #IEND_dollar ) : ( for all i in ( 1 .. 4 ) : ( uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) < 123 and uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) > 47 ) ) )
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $IEND_dollar | hex | {49 45 4e 44 ae 42 60 82 24} | |
| $IEND_nodollar | hex | {49 45 4e 44 ae 42 60 82 } |
Condition
uint16be( 0 ) == 0x0000 and filesize < 120KB and ( $IEND_dollar in ( filesize -500 .. filesize ) and not $IEND_nodollar in ( filesize -20 .. filesize ) and for any k in ( 1 .. #IEND_dollar ) : ( for all i in ( 1 .. 4 ) : ( uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) < 123 and uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) > 47 ) ) )En clair (Heuristique)
- Le fichier doit faire moins de 120KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le motif $IEND_dollar doit se trouver dans la plage filesize -500 .. filesize.
- Le motif $IEND_nodollar doit se trouver dans la plage filesize -20 .. filesize.
- Une boucle for vérifie une propriété sur plusieurs occurrences ou éléments.
- Le motif $IEND_nodollar ne doit PAS être présent.
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é.
Références
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).
- a541e5fc421c358e0a2b07bf4771e897fb5a617998aa4876e0e1baa5fbb8e25c
Licence et attribution
Auteur : threatintel@volexity.com
Dépôt source : Volexity threat-intel @ 3a9d0b5245
Licence : BSD 2-Clause License (indiquée dans les métadonnées de la règle)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Mention de copyright : Copyright 2022 by Volexity, Inc.
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: 1efb6376-a362-5f03-b4d3-08cd7d634de6
Métadonnées
| memory_suitable | 0 |
|---|
Règles liées
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2022-11-02