YARA · SEKOIA.IO Community
SEKOIA_Implant_Win_Geacon
Finds Geacon samples based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2024-01-11
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds Geacon samples based on specific strings
Objetivos: PE de Windows.
Define 18 patrones (18 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
implant-win-geacon.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Geacon : FILE
{
meta:
= "Finds Geacon samples based on specific strings"
= "Sekoia.io"
= "064eabe0-aee5-4e5e-9f5e-69b32b1ba0da"
= "2024-01-11"
= "2024-12-19"
= "https://www.sentinelone.com/blog/geacon-brings-cobalt-strike-capabilities-to-macos-threat-actors/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_geacon.yar#L1-L35"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "74b0d2fbb8b7f6666543ba4fdfd9f9d2064d3a89d21c90d794b57f0009199fea"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$gea01 = "geacon/config.init" ascii
$gea02 = "geacon_pro-master/config/config.go" ascii
$gea03 = "geacon_plus-main/config/config.go" ascii
$gea04 = "command type %d is not support by geacon now" ascii
$gea05 = "main/sysinfo.GeaconID" ascii
$str01 = "command.StealToken" ascii
$str02 = "command.MakeToken" ascii
$str03 = "command/misc.go" ascii
$str04 = "config/c2profile.go" ascii
$str05 = "crypt.AesCBCDecrypt" ascii
$str06 = "packet.File_Browse" ascii
$str07 = "packet.FirstBlood" ascii
$str08 = "packet.ParseCommandShell" ascii
$str09 = "packet.ParseCommandUpload" ascii
$str10 = "packet.PushResult" ascii
$str11 = "sysinfo.GetComputerName" ascii
$str12 = "sysinfo.IsOSX64" ascii
$str13 = "util..inittask" ascii
condition:
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )
}
Cadenas (18 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $gea01 | texto | "geacon/config.init" | ascii |
| $gea02 | texto | "geacon_pro-master/config/config.go" | ascii |
| $gea03 | texto | "geacon_plus-main/config/config.go" | ascii |
| $gea04 | texto | "command type %d is not support by geacon now" | ascii |
| $gea05 | texto | "main/sysinfo.GeaconID" | ascii |
| $str01 | texto | "command.StealToken" | ascii |
| $str02 | texto | "command.MakeToken" | ascii |
| $str03 | texto | "command/misc.go" | ascii |
| $str04 | texto | "config/c2profile.go" | ascii |
| $str05 | texto | "crypt.AesCBCDecrypt" | ascii |
| $str06 | texto | "packet.File_Browse" | ascii |
| $str07 | texto | "packet.FirstBlood" | ascii |
| $str08 | texto | "packet.ParseCommandShell" | ascii |
| $str09 | texto | "packet.ParseCommandUpload" | ascii |
| $str10 | texto | "packet.PushResult" | ascii |
| $str11 | texto | "sysinfo.GetComputerName" | ascii |
| $str12 | texto | "sysinfo.IsOSX64" | ascii |
| $str13 | texto | "util..inittask" | ascii |
Condición
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 1 patrones de ( $gea* ).
- Deben coincidir al menos 2 patrones de ( $str* ).
- Deben coincidir al menos 8 patrones de ( $str* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: 064eabe0-aee5-4e5e-9f5e-69b32b1ba0da
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20