YARA · Volexity threat-intel
VOLEXITY_Apt_Ico_Uta0040_B64_C2
Detection of malicious ICO files used in 3CX compromise.
- Autor
- threatintel@volexity.com
- Fecha
- 2023-03-30
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detection of malicious ICO files used in 3CX compromise.
Define 2 patrones (0 de texto, 2 hex, 0 regex).
YARA-X dice: warning[potentially_slow_loop]: potentially slow loop
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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 ) ) )
}
Cadenas (2 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $IEND_dollar | hex | {49 45 4e 44 ae 42 60 82 24} | |
| $IEND_nodollar | hex | {49 45 4e 44 ae 42 60 82 } |
Condición
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 palabras sencillas (Heurística)
- El archivo debe ocupar menos de 120KB (un límite barato que descarta archivos grandes).
- El patrón $IEND_dollar debe estar en el rango filesize -500 .. filesize.
- El patrón $IEND_nodollar debe estar en el rango filesize -20 .. filesize.
- Un bucle for comprueba una propiedad sobre varias coincidencias o elementos.
- El patrón $IEND_nodollar NO debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
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).
- a541e5fc421c358e0a2b07bf4771e897fb5a617998aa4876e0e1baa5fbb8e25c
Licencia y atribución
Autor: threatintel@volexity.com
Repositorio de origen: Volexity threat-intel @ 3a9d0b5245
Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Aviso de copyright: Copyright 2022 by Volexity, Inc.
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: 1efb6376-a362-5f03-b4d3-08cd7d634de6
Metadatos
| memory_suitable | 0 |
|---|
Reglas relacionadas
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02