Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Avaddon

Avaddon ransomware payload

MalwareAvaddonditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Avaddon ransomware payload

Associated malware family: Avaddon.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-avaddon.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Avaddon : FILE
{
	meta:
		description = "Avaddon ransomware payload"
		author = "ditekSHen"
		id = "d5618c8a-17b7-5009-9947-a6462ad2a4af"
		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#L1378-L1395"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "fc3032572d2ab2550d3dde738a3d403459da9b5b640acc814596d958b83620bf"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "\\IMAGEM~1.%d\\VISUA~1\\BIN\\%s.exe" ascii
		$s2 = "\\IMAGEM~1.%.2d-\\VISUA~1\\BIN\\%s.exe" ascii
		$s3 = "\\IMAGEM~1.%d-Q\\VISUA~1\\BIN\\%s.exe" ascii
		$s4 = "\\IMAGEM~1.%d\\%s.exe" ascii
		$s5 = "EW6]>mFXDS?YBi?W5] CY 4Z8Y BY7Y BZ8Z CY7Y AY8Z CZ8Y!Y:Z" ascii
		$s6 = "FY  AY 'Z      ;W      @Y  @Y 'Z    Y  @Y (Z" ascii
		$s7 = "\"rcid\":\"" fullword ascii
		$s8 = "\"ip\":\"" fullword ascii wide
		$s9 = ".?AUANEventIsGetExternalIP@@" fullword ascii
		$s10 = ".?AUANEventGetCpuMax@@" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and 8 of them
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$s1text"\\IMAGEM~1.%d\\VISUA~1\\BIN\\%s.exe"ascii
$s2text"\\IMAGEM~1.%.2d-\\VISUA~1\\BIN\\%s.exe"ascii
$s3text"\\IMAGEM~1.%d-Q\\VISUA~1\\BIN\\%s.exe"ascii
$s4text"\\IMAGEM~1.%d\\%s.exe"ascii
$s5text"EW6]>mFXDS?YBi?W5] CY 4Z8Y BY7Y BZ8Z CY7Y AY8Z CZ8Y!Y:Z"ascii
$s6text"FY AY 'Z ;W @Y @Y 'Z Y @Y (Z"ascii
$s7text"\"rcid\":\""fullword ascii
$s8text"\"ip\":\""fullword ascii wide
$s9text".?AUANEventIsGetExternalIP@@"fullword ascii
$s10text".?AUANEventGetCpuMax@@"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and 8 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 8 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

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

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

Rule id: d5618c8a-17b7-5009-9947-a6462ad2a4af

Tags:FILE