Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Umbralstealer

Detects Umbral infostealer

MalwareUmbralstealerditekSHen 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

Detects Umbral infostealer

Associated malware family: Umbralstealer.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-umbralstealer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Umbralstealer : FILE
{
	meta:
		description = "Detects Umbral infostealer"
		author = "ditekShen"
		id = "695a350b-3d8e-5244-a275-a60202a8e956"
		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#L11377-L11398"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "1686e4626e4d6335f028d6cb6471c32dac747a77fc95d97b4c9dfd043ba975e9"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "Umbral Stealer" wide
		$x2 = "Umbral.payload." ascii
		$s1 = "U2V0LU1wUHJlZmVyZW5jZ" wide
		$s2 = "{{ Key = {0}, Value = {1} }}" wide
		$s3 = "csproduct get uuid" wide
		$s4 = "0.0.0.0 www."
		$s5 = /(set|get)_Take(Screen|WebcamSnap)shot/ fullword ascii
		$s6 = "still_pin" fullword ascii
		$c1 = "kaspersky.com" wide
		$c2 = "bitdefender.com" wide
		$c3 = "virustotal.com" wide
		$c4 = "malwarebytes.com" wide
		$c5 = "clamav.net" wide
		$c6 = "trendmicro.com" wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 4 of ( $c* ) ) )
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$x1text"Umbral Stealer"wide
$x2text"Umbral.payload."ascii
$s1text"U2V0LU1wUHJlZmVyZW5jZ"wide
$s2text"{{ Key = {0}, Value = {1} }}"wide
$s3text"csproduct get uuid"wide
$s4text"0.0.0.0 www."
$s5regex/(set|get)_Take(Screen|WebcamSnap)shot/fullword ascii
$s6text"still_pin"fullword ascii
$c1text"kaspersky.com"wide
$c2text"bitdefender.com"wide
$c3text"virustotal.com"wide
$c4text"malwarebytes.com"wide
$c5text"clamav.net"wide
$c6text"trendmicro.com"wide

Condition

uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 4 of ( $c* ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $x* ) must match.
  • At least 5 patterns in ( $s* ) must match.
  • At least 3 patterns in ( $s* ) must match.
  • At least 4 patterns in ( $c* ) 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: 695a350b-3d8e-5244-a275-a60202a8e956

Tags:FILE