YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Backdoor_Win_C3_1
Detection to identify the Custom Command and Control (C3) binaries.
- Autor
- FireEye
- Fecha
- 2021-05-11
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 79
Qué detecta esta regla
Detection to identify the Custom Command and Control (C3) binaries.
Objetivos: PE de Windows.
Define 8 patrones (5 de texto, 3 hex, 0 regex).
YARA-X dice: warning[text_as_hex]: hex pattern could be written as text literal
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_MAL_Backdoor_Win_C3_1 : FILE
{
meta:
= "Detection to identify the Custom Command and Control (C3) binaries."
= "FireEye"
= "60eb022e-6f4e-5c7d-9ddf-b458a593071e"
= "2021-05-11"
= "2023-12-05"
= "https://www.fireeye.com/blog/threat-research/2021/05/shining-a-light-on-darkside-ransomware-operations.html"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_ransom_darkside.yar#L58-L77"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "7cdac4b82a7573ae825e5edb48f80be5"
= "369c54b9426edb449004466d30e1010ecefe8cfbea106306eb8eb90b27610dbf"
= 75
= 79
= "FILE"
strings:
$dropboxAPI = "Dropbox-API-Arg"
$knownDLLs1 = "WINHTTP.dll" fullword
$knownDLLs2 = "SHLWAPI.dll" fullword
$knownDLLs3 = "NETAPI32.dll" fullword
$knownDLLs4 = "ODBC32.dll" fullword
$tokenString1 = { 5B 78 5D 20 65 72 72 6F 72 20 73 65 74 74 69 6E 67 20 74 6F 6B 65 6E }
$tokenString2 = { 5B 78 5D 20 65 72 72 6F 72 20 63 72 65 61 74 69 6E 67 20 54 6F 6B 65 6E }
$tokenString3 = { 5B 78 5D 20 65 72 72 6F 72 20 64 75 70 6C 69 63 61 74 69 6E 67 20 74 6F 6B 65 6E }
condition:
filesize < 5MB and uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and ( ( ( all of ( $knownDLLs* ) ) and ( $dropboxAPI or ( 1 of ( $tokenString* ) ) ) ) or ( all of ( $tokenString* ) ) )
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $dropboxAPI | texto | "Dropbox-API-Arg" | |
| $knownDLLs1 | texto | "WINHTTP.dll" | fullword |
| $knownDLLs2 | texto | "SHLWAPI.dll" | fullword |
| $knownDLLs3 | texto | "NETAPI32.dll" | fullword |
| $knownDLLs4 | texto | "ODBC32.dll" | fullword |
| $tokenString1 | hex | { 5B 78 5D 20 65 72 72 6F 72 20 73 65 74 74 69 6E 67 20 74 6F 6B 65 6E } | |
| $tokenString2 | hex | { 5B 78 5D 20 65 72 72 6F 72 20 63 72 65 61 74 69 6E 67 20 54 6F 6B 65 6E } | |
| $tokenString3 | hex | { 5B 78 5D 20 65 72 72 6F 72 20 64 75 70 6C 69 63 61 74 69 6E 67 20 74 6F 6B 65 6E } |
Condición
filesize < 5MB and uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and ( ( ( all of ( $knownDLLs* ) ) and ( $dropboxAPI or ( 1 of ( $tokenString* ) ) ) ) or ( all of ( $tokenString* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 5MB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de ( $knownDLLs* ).
- Deben coincidir todos los patrones de ( $tokenString* ).
- Deben coincidir al menos 1 patrones de ( $tokenString* ).
- El patrón $dropboxAPI 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.
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).
- 7cdac4b82a7573ae825e5edb48f80be5
Licencia y atribución
Autor: FireEye
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
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: 60eb022e-6f4e-5c7d-9ddf-b458a593071e
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· FireEye· 2021-03-22
- MalwareSignature Base (Florian Roth / Nextron)· FireEye· 2021-05-11
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-14
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-14
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-14
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-14
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-08
- APT / actorSignature Base (Florian Roth / Nextron)· FireEye· 2020-12-01