Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_KB_ID_Amadey

Detects Amadey executables with specific email addresses found in the code signing certificate

Suspicious / huntingAmadeyditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekShen
Date
2021-01-21
Modified
2024-01-23
Score / Quality
75 / 73

What this rule detects

Detects Amadey executables with specific email addresses found in the code signing certificate

Associated malware family: Amadey.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-kb-id-amadey.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_KB_ID_Amadey : FILE
{
	meta:
		description = "Detects Amadey executables with specific email addresses found in the code signing certificate"
		author = "ditekShen"
		id = "f9abbf1d-2077-52a8-bfb0-df3732649624"
		date = "2021-01-21"
		modified = "2024-01-23"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_knownbad_id.yar#L39-L47"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3df3fe67835f76e51743b1b4fa2cbc48277d82689c2fc27457b4d7d820e56e43"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$s1 = "tochka.director@gmail.com" ascii wide nocase

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

Strings (1 patterns)

IdentifierTypeValueModifiers
$s1text"tochka.director@gmail.com"ascii wide nocase

Condition

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

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least one pattern 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: f9abbf1d-2077-52a8-bfb0-df3732649624

Tags:FILE

More Amadey rules