Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_M00Nd3V

M00nD3v keylogger payload

MalwareM00Nd3VditekSHen 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

M00nD3v keylogger payload

Associated malware family: M00Nd3V.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-m00nd3v.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_M00Nd3V : FILE
{
	meta:
		description = "M00nD3v keylogger payload"
		author = "ditekSHen"
		id = "4000f55d-e072-50b6-b6ee-72cefc0ec53f"
		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#L694-L715"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "68a0888da3b114dc895fe18a3d03b2b88d140fbf82b888f7a031b9364d01aabf"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "M00nD3v Stub" ascii wide
		$s2 = "M00nD3v{0}{1} Logs{0}{2} \\ {3}{0}{0}{4}" fullword wide
		$s3 = "Anti-Keylogger Elite" wide
		$s4 = "/C TASKKILL /F /IM" wide
		$s5 = "echo.>{0}:Zone.Identifier" fullword wide
		$s6 = "> Nul & Del \"{0}\" & start \"\" \"{1}.exe\"" wide
		$s7 = "> Nul & start \"\" \"{1}.exe\"" wide
		$s8 = "Stealer" fullword wide
		$s9 = "{0}{0}++++++++++++{1} {2}++++++++++++{0}{0}" wide
		$s10 = "{4}Application: {3}{4}URL: {0}{4}Username: {1}{4}Password: {2}{4}" wide
		$s11 = "encrypted_key\":\"(?<Key>.+?)\"" wide
		$s12 = "Botkiller" fullword ascii
		$s13 = "AVKiller" fullword ascii
		$s14 = "get_pnlPawns" fullword ascii

	condition:
		( uint16( 0 ) == 0x5a4d and 6 of them ) or ( 9 of them )
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$s1text"M00nD3v Stub"ascii wide
$s2text"M00nD3v{0}{1} Logs{0}{2} \\ {3}{0}{0}{4}"fullword wide
$s3text"Anti-Keylogger Elite"wide
$s4text"/C TASKKILL /F /IM"wide
$s5text"echo.>{0}:Zone.Identifier"fullword wide
$s6text"> Nul & Del \"{0}\" & start \"\" \"{1}.exe\""wide
$s7text"> Nul & start \"\" \"{1}.exe\""wide
$s8text"Stealer"fullword wide
$s9text"{0}{0}++++++++++++{1} {2}++++++++++++{0}{0}"wide
$s10text"{4}Application: {3}{4}URL: {0}{4}Username: {1}{4}Password: {2}{4}"wide
$s11text"encrypted_key\":\"(?<Key>.+?)\""wide
$s12text"Botkiller"fullword ascii
$s13text"AVKiller"fullword ascii
$s14text"get_pnlPawns"fullword ascii

Condition

( uint16( 0 ) == 0x5a4d and 6 of them ) or ( 9 of them )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 6 patterns in the rule must match.
  • At least 9 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: 4000f55d-e072-50b6-b6ee-72cefc0ec53f

Tags:FILE