YARA · SEKOIA.IO Community
SEKOIA_Implant_Lin_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: ELF de Linux.
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-lin-geacon.yarDetection Rule License 1.1
rule SEKOIA_Implant_Lin_Geacon : FILE
{
meta:
= "Finds Geacon samples based on specific strings"
= "Sekoia.io"
= "ad71522e-270b-47d0-9c01-081f05a2b72a"
= "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_lin_geacon.yar#L1-L35"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c6fa5815bf618eb588d511f18231042944dee20c1b13096c44910d43ca552bfa"
= 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:
uint32( 0 ) == 0x464C457F 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
uint32( 0 ) == 0x464C457F and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por la cabecera ELF: un ejecutable de Linux/Unix.
- 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: ad71522e-270b-47d0-9c01-081f05a2b72a
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