Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_Encoded_Discord_Attachment_Oct21_1

Detects suspicious encoded URL to a Discord attachment (often used for malware hosting on a legitimate FQDN)

Sospechoso / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth (Nextron Systems)
Fecha
2021-10-12
Modificada
2025-03-21
Puntuación / Calidad
70 / 85

Qué detecta esta regla

Detects suspicious encoded URL to a Discord attachment (often used for malware hosting on a legitimate FQDN)

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

susp-encoded-discord-attachment-oct21-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Encoded_Discord_Attachment_Oct21_1 : FILE
{
	meta:
		description = "Detects suspicious encoded URL to a Discord attachment (often used for malware hosting on a legitimate FQDN)"
		author = "Florian Roth (Nextron Systems)"
		id = "06c086f4-8b79-5506-9e3f-b5d099106157"
		date = "2021-10-12"
		modified = "2025-03-21"
		reference = "Internal Research"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_suspicious_strings.yar#L431-L456"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "1ea5a83e91b5c5b4b8a1d507c365bc1583394c97a28b7d7a576f085854676769"
		score = 70
		quality = 85
		tags = "FILE"

	strings:
		$enc_b01 = "Y2RuLmRpc2NvcmRhcHAuY29tL2F0dGFjaG1lbnRz" ascii wide
		$enc_b02 = "Nkbi5kaXNjb3JkYXBwLmNvbS9hdHRhY2htZW50c" ascii wide
		$enc_b03 = "jZG4uZGlzY29yZGFwcC5jb20vYXR0YWNobWVudH" ascii wide
		$enc_b04 = "AGMAZABuAC4AZABpAHMAYwBvAHIAZABhAHAAcAAuAGMAbwBtAC8AYQB0AHQAYQBjAGgAbQBlAG4AdABz" ascii wide
		$enc_b05 = "BjAGQAbgAuAGQAaQBzAGMAbwByAGQAYQBwAHAALgBjAG8AbQAvAGEAdAB0AGEAYwBoAG0AZQBuAHQAc" ascii wide
		$enc_b06 = "AYwBkAG4ALgBkAGkAcwBjAG8AcgBkAGEAcABwAC4AYwBvAG0ALwBhAHQAdABhAGMAaABtAGUAbgB0AH" ascii wide
		$enc_h01 = "63646E2E646973636F72646170702E636F6D2F6174746163686D656E7473" ascii wide
		$enc_h02 = "63646e2e646973636f72646170702e636f6d2f6174746163686d656e7473" ascii wide
		$enc_r01 = "stnemhcatta/moc.ppadrocsid.ndc" ascii wide

	condition:
		filesize < 5000KB and 1 of them
}

Cadenas (9 patrones)

IdentificadorTipoValorModificadores
$enc_b01texto"Y2RuLmRpc2NvcmRhcHAuY29tL2F0dGFjaG1lbnRz"ascii wide
$enc_b02texto"Nkbi5kaXNjb3JkYXBwLmNvbS9hdHRhY2htZW50c"ascii wide
$enc_b03texto"jZG4uZGlzY29yZGFwcC5jb20vYXR0YWNobWVudH"ascii wide
$enc_b04texto"AGMAZABuAC4AZABpAHMAYwBvAHIAZABhAHAAcAAuAGMAbwBtAC8AYQB0AHQAYQBjAGgAbQBlAG4AdABz"ascii wide
$enc_b05texto"BjAGQAbgAuAGQAaQBzAGMAbwByAGQAYQBwAHAALgBjAG8AbQAvAGEAdAB0AGEAYwBoAG0AZQBuAHQAc"ascii wide
$enc_b06texto"AYwBkAG4ALgBkAGkAcwBjAG8AcgBkAGEAcABwAC4AYwBvAG0ALwBhAHQAdABhAGMAaABtAGUAbgB0AH"ascii wide
$enc_h01texto"63646E2E646973636F72646170702E636F6D2F6174746163686D656E7473"ascii wide
$enc_h02texto"63646e2e646973636f72646170702e636f6d2f6174746163686d656e7473"ascii wide
$enc_r01texto"stnemhcatta/moc.ppadrocsid.ndc"ascii wide

Condición

filesize < 5000KB and 1 of them

En palabras sencillas (Heurística)

  • El archivo debe ocupar menos de 5000KB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 1 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

Licencia y atribución

Autor: Florian Roth (Nextron Systems)

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 06c086f4-8b79-5506-9e3f-b5d099106157

Etiquetas:FILE