YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Trojan_Win_REDFLARE_5
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 5 patrones (4 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_5 : FILE
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "892981d6-f310-5ee8-95b5-dd4bd720a86c"
= "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_5.yar#L4-L20"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "dfbb1b988c239ade4c23856e42d4127b, 3322fba40c4de7e3de0fda1123b0bf5d"
= "ab38e5ebded026829672941709797b40f8e13fb244b6a8ed3545de4358f727b8"
= 75
= 75
= "FILE"
= 3
strings:
$s1 = "AdjustTokenPrivileges" fullword
$s2 = "LookupPrivilegeValueW" fullword
$s3 = "ImpersonateLoggedOnUser" fullword
$s4 = "runCommand" fullword
$steal_token = { FF 15 [4] 85 C0 [1-40] C7 44 24 ?? 01 00 00 00 [0-20] C7 44 24 ?? 02 00 00 00 [0-20] FF 15 [4] FF [1-5] 85 C0 [4-40] 00 04 00 00 FF 15 [4-5] 85 C0 [2-20] ( BA 0F 00 00 00 | 6A 0F ) [1-4] FF 15 [4] 85 C0 74 [1-20] FF 15 [4] 85 C0 74 [1-20] ( 6A 0B | B9 0B 00 00 00 ) E8 }
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "AdjustTokenPrivileges" | fullword |
| $s2 | texto | "LookupPrivilegeValueW" | fullword |
| $s3 | texto | "ImpersonateLoggedOnUser" | fullword |
| $s4 | texto | "runCommand" | fullword |
| $steal_token | hex | { FF 15 [4] 85 C0 [1-40] C7 44 24 ?? 01 00 00 00 [0-20] C7 44 24 ?? 02 00 00 00 [0-20] FF 15 [4] FF [1-5] 85 C0 [4-40] 00 04 00 00 FF 15 [4-5] 85 C0 [2-20] ( BA … |
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: 892981d6-f310-5ee8-95b5-dd4bd720a86c
Metadatos
| rev | 3 |
|---|
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