Skip to content

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)

Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth (Nextron Systems)
Date
2021-10-12
Modified
2025-03-21
Score / Quality
70 / 85

What this rule detects

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

It defines 9 patterns (9 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

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
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$enc_b01text"Y2RuLmRpc2NvcmRhcHAuY29tL2F0dGFjaG1lbnRz"ascii wide
$enc_b02text"Nkbi5kaXNjb3JkYXBwLmNvbS9hdHRhY2htZW50c"ascii wide
$enc_b03text"jZG4uZGlzY29yZGFwcC5jb20vYXR0YWNobWVudH"ascii wide
$enc_b04text"AGMAZABuAC4AZABpAHMAYwBvAHIAZABhAHAAcAAuAGMAbwBtAC8AYQB0AHQAYQBjAGgAbQBlAG4AdABz"ascii wide
$enc_b05text"BjAGQAbgAuAGQAaQBzAGMAbwByAGQAYQBwAHAALgBjAG8AbQAvAGEAdAB0AGEAYwBoAG0AZQBuAHQAc"ascii wide
$enc_b06text"AYwBkAG4ALgBkAGkAcwBjAG8AcgBkAGEAcABwAC4AYwBvAG0ALwBhAHQAdABhAGMAaABtAGUAbgB0AH"ascii wide
$enc_h01text"63646E2E646973636F72646170702E636F6D2F6174746163686D656E7473"ascii wide
$enc_h02text"63646e2e646973636f72646170702e636f6d2f6174746163686d656e7473"ascii wide
$enc_r01text"stnemhcatta/moc.ppadrocsid.ndc"ascii wide

Condition

filesize < 5000KB and 1 of them

In plain words (Heuristic)

  • The file must be smaller than 5000KB (a cheap guard that skips large files).
  • At least 1 patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

Licence & attribution

Author: Florian Roth (Nextron Systems)

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 06c086f4-8b79-5506-9e3f-b5d099106157

Tags:FILE