Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Aurora

Aurora ransomware payload

MalwareAuroraditekSHen 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

Aurora ransomware payload

Associated malware family: Aurora.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-aurora.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Aurora : FILE
{
	meta:
		description = "Aurora ransomware payload"
		author = "ditekSHen"
		id = "d3eafe9c-c8d9-5744-ba5d-4eb0249cceea"
		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#L849-L869"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "056bb11e8b947ef90462503db82b2001e4a5d4847fad9c0d5d771384a80d779a"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Software\\Microsoft\\Windows\\CurrentVersion\\Run" fullword ascii wide
		$s2 = "#DECRYPT_MY_FILES#.txt" fullword ascii
		$s3 = "/gen.php?generate=" fullword ascii
		$s4 = "geoplugin.net/php.gp" ascii
		$s5 = "/end.php?id=" fullword ascii
		$s6 = "wotreplay" fullword ascii
		$s7 = "moneywell" fullword ascii
		$s8 = "{btc}" fullword ascii
		$s9 = ".?AV_Locimp@locale@std@@" ascii
		$s10 = ".?AV?$codecvt@DDU_Mbstatet@@@std@@" ascii
		$s11 = ".?AU_Crt_new_delete@std@@" ascii
		$pdb1 = "\\z0ddak\\Desktop\\source\\Release\\Ransom.pdb" ascii
		$pdb2 = "\\Desktop\\source\\Release\\Ransom.pdb" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 5 of ( $s* ) ) or ( 8 of them ) )
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$s1text"Software\\Microsoft\\Windows\\CurrentVersion\\Run"fullword ascii wide
$s2text"#DECRYPT_MY_FILES#.txt"fullword ascii
$s3text"/gen.php?generate="fullword ascii
$s4text"geoplugin.net/php.gp"ascii
$s5text"/end.php?id="fullword ascii
$s6text"wotreplay"fullword ascii
$s7text"moneywell"fullword ascii
$s8text"{btc}"fullword ascii
$s9text".?AV_Locimp@locale@std@@"ascii
$s10text".?AV?$codecvt@DDU_Mbstatet@@@std@@"ascii
$s11text".?AU_Crt_new_delete@std@@"ascii
$pdb1text"\\z0ddak\\Desktop\\source\\Release\\Ransom.pdb"ascii
$pdb2text"\\Desktop\\source\\Release\\Ransom.pdb"ascii

Condition

uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 5 of ( $s* ) ) or ( 8 of them ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $pdb* ) must match.
  • At least 5 patterns in ( $s* ) must match.
  • 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: d3eafe9c-c8d9-5744-ba5d-4eb0249cceea

Tags:FILE

More Aurora rules