Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt37_Chinotto_Powershell_Variant

Detects APT37 Chinotto Powershell Variant

APT / actorChinottoSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2023-03-06
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects APT37 Chinotto Powershell Variant

Familia de malware asociada: Chinotto.

Define 6 patrones (6 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-apt37-chinotto-powershell-variant.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt37_Chinotto_Powershell_Variant
{
	meta:
		description = "Detects APT37 Chinotto Powershell Variant"
		author = "Sekoia.io"
		id = "fa42b225-58fe-4e00-b84b-df37491d8fdd"
		date = "2023-03-06"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt37_chinotto_powershell_variant.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "b4d17467f15d52bd615e335fa8bc31381ec273b67dabb74655f47179f04f631f"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "$env:COMPUTERNAME + '-' + $env:USERNAME;" ascii wide
		$ = "while($true -eq $true)" ascii wide
		$ = "Start-Sleep -Seconds" ascii wide
		$ = " -ne 'null' -and $" ascii wide
		$ = "= 'R=' + [System.Convert]::" ascii wide
		$ = "[string]$([char]0x0D) + [string]$([char]0x0A);" ascii wide

	condition:
		4 of them
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$texto"$env:COMPUTERNAME + '-' + $env:USERNAME;"ascii wide
$texto"while($true -eq $true)"ascii wide
$texto"Start-Sleep -Seconds"ascii wide
$texto" -ne 'null' -and $"ascii wide
$texto"= 'R=' + [System.Convert]::"ascii wide
$texto"[string]$([char]0x0D) + [string]$([char]0x0A);"ascii wide

Condición

4 of them

En palabras sencillas (Heurística)

  • Deben coincidir al menos 4 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.

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

Licencia y atribución

Autor: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

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: fa42b225-58fe-4e00-b84b-df37491d8fdd

Metadatos

version1.0
classificationTLP:CLEAR

Más reglas de Chinotto