Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_PWSH_CUMII

Detects multi-dropper PowerShell

MalwarePWSHditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects multi-dropper PowerShell

Familia de malware asociada: PWSH.

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

malware-pwsh-cumii.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_PWSH_CUMII
{
	meta:
		description = "Detects multi-dropper PowerShell"
		author = "ditekSHen"
		id = "07b77251-1d79-5521-8c05-ecfc662f45cb"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11070-L11086"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "ab9e59b0552718928d170a988d129b38352700076847f2f409976016858864eb"
		score = 75
		quality = 75
		tags = ""
		clamav = "ditekSHen.MALWARE.PWSH.CUMII"

	strings:
		$s1 = ".('{1}{$}'.replace('$','0')" ascii nocase
		$s2 = ",'I').replace('!','ex')" ascii nocase
		$s3 = "'.replace('*','0001')" ascii nocase
		$s4 = "Remove-Item $" ascii nocase
		$s5 = "the File will start cumiing" ascii nocase
		$b1 = "011001100111010101101110011*" ascii
		$b2 = "0101001000*1110110*010011111" ascii
		$b3 = "01001101010110101001*11*0000" ascii

	condition:
		(3 of ( $s* ) and 1 of ( $b* ) )
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$s1texto".('{1}{$}'.replace('$','0')"ascii nocase
$s2texto",'I').replace('!','ex')"ascii nocase
$s3texto"'.replace('*','0001')"ascii nocase
$s4texto"Remove-Item $"ascii nocase
$s5texto"the File will start cumiing"ascii nocase
$b1texto"011001100111010101101110011*"ascii
$b2texto"0101001000*1110110*010011111"ascii
$b3texto"01001101010110101001*11*0000"ascii

Condición

(3 of ( $s* ) and 1 of ( $b* ) )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 3 patrones de ( $s* ).
  • Deben coincidir al menos 1 patrones de ( $b* ).

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: ditekSHen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 07b77251-1d79-5521-8c05-ecfc662f45cb

Metadatos

clamavditekSHen.MALWARE.PWSH.CUMII

Más reglas de PWSH