YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Trojan_Win_REDFLARE_4
No description has been set in the source file - FireEye-RT
- Autor
- FireEye
- Fecha
- 2020-12-01
- Modificada
- 2020-12-09
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
No description has been set in the source file - FireEye-RT
Objetivos: PE de Windows.
Define 4 patrones (3 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule FIREEYE_RT_APT_Trojan_Win_REDFLARE_4 : FILE
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "6e8621b0-a0ee-5fc7-a2b8-1973a42d6e37"
= "2020-12-01"
= "2020-12-01"
= "2020-12-09"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE/production/yara/APT_Trojan_Win_REDFLARE_4.yar#L4-L19"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "a8b5dcfea5e87bf0e95176daa243943d, 9dcb6424662941d746576e62712220aa"
= "d027e98ad8fa6d03a49ceffd81fba6a621173e2dbabae652bee2f4e8489bb378"
= 75
= 75
= "FILE"
= 2
strings:
$s1 = "LogonUserW" fullword
$s2 = "ImpersonateLoggedOnUser" fullword
$s3 = "runCommand" fullword
$user_logon = { 22 02 00 00 [1-10] 02 02 00 00 [0-4] E8 [4-40] ( 09 00 00 00 [1-10] 03 00 00 00 | 6A 03 6A 09 ) [4-30] FF 15 [4] 85 C0 7? }
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "LogonUserW" | fullword |
| $s2 | texto | "ImpersonateLoggedOnUser" | fullword |
| $s3 | texto | "runCommand" | fullword |
| $user_logon | hex | { 22 02 00 00 [1-10] 02 02 00 00 [0-4] E8 [4-40] ( 09 00 00 00 [1-10] 03 00 00 00 | 6A 03 6A 09 ) [4-30] FF 15 [4] 85 C0 7? } |
Condición
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Licencia y atribución
Autor: FireEye
Repositorio de origen: Mandiant red team tool countermeasures @ 3561b71724
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright (c) 2023, MANDIANT
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: 6e8621b0-a0ee-5fc7-a2b8-1973a42d6e37
Metadatos
| rev | 2 |
|---|
Etiquetas:FILE
Reglas relacionadas
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / actorMandiant red team tool countermeasures· FireEye· 2020-11-27