Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Win_Powerstar

Custom PowerShell backdoor used by Charming Kitten.

APT / actorVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2021-10-13
Modificada
2023-09-20
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Custom PowerShell backdoor used by Charming Kitten.

Define 8 patrones (8 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

apt-win-powerstar.yarBSD 2-Clause License
rule VOLEXITY_Apt_Win_Powerstar : CHARMINGKITTEN
{
	meta:
		description = "Custom PowerShell backdoor used by Charming Kitten."
		author = "threatintel@volexity.com"
		id = "febcd23b-6545-571b-905d-18dffe8e913f"
		date = "2021-10-13"
		modified = "2023-09-20"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L122-L150"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "de99c4fa14d99af791826a170b57a70b8265fee61c6b6278d3fe0aad98e85460"
		logic_hash = "2cbf59eaee60a8f84b1ac35cec3b01592a2a0f56c92a2db218bb26a15be24bf3"
		score = 75
		quality = 80
		tags = "CHARMINGKITTEN"
		memory_suitable = 1
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"

	strings:
		$appname = "[AppProject.Program]::Main()" ascii wide
		$langfilters1 = "*shar*" ascii wide
		$langfilters2 = "*owers*" ascii wide
		$definitions1 = "[string]$language" ascii wide
		$definitions2 = "[string]$Command" ascii wide
		$definitions3 = "[string]$ThreadName" ascii wide
		$definitions4 = "[string]$StartStop" ascii wide
		$sess = "$session = $v + \";;\" + $env:COMPUTERNAME + $mac;" ascii wide

	condition:
		$appname or all of ( $langfilters* ) or all of ( $definitions* ) or $sess
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$appnametexto"[AppProject.Program]::Main()"ascii wide
$langfilters1texto"*shar*"ascii wide
$langfilters2texto"*owers*"ascii wide
$definitions1texto"[string]$language"ascii wide
$definitions2texto"[string]$Command"ascii wide
$definitions3texto"[string]$ThreadName"ascii wide
$definitions4texto"[string]$StartStop"ascii wide
$sesstexto"$session = $v + \";;\" + $env:COMPUTERNAME + $mac;"ascii wide

Condición

$appname or all of ( $langfilters* ) or all of ( $definitions* ) or $sess

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $langfilters* ).
  • Deben coincidir todos los patrones de ( $definitions* ).
  • El patrón $appname debe estar presente.
  • El patrón $sess 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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

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).

  • de99c4fa14d99af791826a170b57a70b8265fee61c6b6278d3fe0aad98e85460

Licencia y atribución

Autor: threatintel@volexity.com

Repositorio de origen: Volexity threat-intel @ 3a9d0b5245

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Aviso de copyright: Copyright 2022 by Volexity, Inc.

Regla original

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: febcd23b-6545-571b-905d-18dffe8e913f

Metadatos

memory_suitable1

Etiquetas:CHARMINGKITTEN