Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Taurus

Taurus infostealer payload

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

What this rule detects

Taurus infostealer payload

Associated malware family: Taurus.

Targets: Windows PE.

It defines 28 patterns (22 text, 5 hex, 1 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-taurus.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Taurus : FILE
{
	meta:
		description = "Taurus infostealer payload"
		author = "ditekSHen"
		id = "c02114c1-9c97-5d0c-b7ce-1bd6a00a9e9a"
		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#L1483-L1519"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "6039c27e69b47dfcc1327c34306627d2d9bd57f6bd365bb80b47ad21f892ae8a"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$s1 = "t.me/taurus_se" ascii
		$s2 = "rus_seller@explo" ascii
		$s3 = "/c timeout /t 3  & del /f /q" ascii
		$s4 = "MyAwesomePrefix" ascii
		$txt1 = "LogInfo.txt" fullword ascii
		$txt2 = "Information.txt" fullword ascii
		$txt3 = "General\\passwords.txt" fullword ascii
		$txt4 = "General\\forms.txt" fullword ascii
		$txt5 = "General\\cards.txt" fullword ascii
		$txt6 = "Installed Software.txt" fullword ascii
		$txt7 = "Crypto Wallets\\WalletInfo.txt" fullword ascii
		$txt8 = "cookies.txt" fullword ascii
		$url1 = "/cfg/" wide
		$url2 = "/loader/complete/" wide
		$url3 = "/log/" wide
		$url4 = "/dlls/" wide
		$upat = /\.exe;;;\d;\d;\d\]\|\[http/
		$x1 = "Vaultcli.dll" fullword ascii
		$x2 = "Bcrypt.dll" fullword ascii
		$x3 = "*.localstor" ascii
		$x4 = "operator<=>" fullword ascii
		$x5 = ".data$rs" fullword ascii
		$x6 = "https_discordap" ascii
		$o1 = { 53 56 8b 75 08 8d 85 64 ff ff ff 57 6a ff 6a 01 }
		$o2 = { 6a 00 68 00 04 00 00 ff b5 a8 fe ff ff ff b5 ac }
		$o3 = { ff 75 0c 8d 85 44 ff ff ff 50 e8 aa f7 ff ff 8b }
		$o4 = { 8b 47 04 c6 40 19 01 8d 85 6c ff ff ff 8b 0f 50 }
		$o5 = { 8d 8d ?? ff ff ff e8 5b }

	condition:
		(( 3 of ( $s* ) or ( 6 of ( $txt* ) and 2 of ( $s* ) ) or ( $upat and 1 of ( $s* ) and 2 of ( $txt* ) ) or ( all of ( $url* ) and ( 2 of ( $txt* ) or 1 of ( $s* ) ) ) ) or ( uint16( 0 ) == 0x5a4d and all of ( $x* ) or ( all of ( $o* ) and 3 of ( $x* ) ) ) )
}

Strings (28 patterns)

IdentifierTypeValueModifiers
$s1text"t.me/taurus_se"ascii
$s2text"rus_seller@explo"ascii
$s3text"/c timeout /t 3 & del /f /q"ascii
$s4text"MyAwesomePrefix"ascii
$txt1text"LogInfo.txt"fullword ascii
$txt2text"Information.txt"fullword ascii
$txt3text"General\\passwords.txt"fullword ascii
$txt4text"General\\forms.txt"fullword ascii
$txt5text"General\\cards.txt"fullword ascii
$txt6text"Installed Software.txt"fullword ascii
$txt7text"Crypto Wallets\\WalletInfo.txt"fullword ascii
$txt8text"cookies.txt"fullword ascii
$url1text"/cfg/"wide
$url2text"/loader/complete/"wide
$url3text"/log/"wide
$url4text"/dlls/"wide
$upatregex/\.exe;;;\d;\d;\d\]\|\[http/
$x1text"Vaultcli.dll"fullword ascii
$x2text"Bcrypt.dll"fullword ascii
$x3text"*.localstor"ascii
$x4text"operator<=>"fullword ascii
$x5text".data$rs"fullword ascii
$x6text"https_discordap"ascii
$o1hex{ 53 56 8b 75 08 8d 85 64 ff ff ff 57 6a ff 6a 01 }
$o2hex{ 6a 00 68 00 04 00 00 ff b5 a8 fe ff ff ff b5 ac }
$o3hex{ ff 75 0c 8d 85 44 ff ff ff 50 e8 aa f7 ff ff 8b }
$o4hex{ 8b 47 04 c6 40 19 01 8d 85 6c ff ff ff 8b 0f 50 }
$o5hex{ 8d 8d ?? ff ff ff e8 5b }

Condition

(( 3 of ( $s* ) or ( 6 of ( $txt* ) and 2 of ( $s* ) ) or ( $upat and 1 of ( $s* ) and 2 of ( $txt* ) ) or ( all of ( $url* ) and ( 2 of ( $txt* ) or 1 of ( $s* ) ) ) ) or ( uint16( 0 ) == 0x5a4d and all of ( $x* ) or ( all of ( $o* ) and 3 of ( $x* ) ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $url* ) must match.
  • All patterns in ( $x* ) must match.
  • All patterns in ( $o* ) must match.
  • At least 3 patterns in ( $s* ) must match.
  • At least 6 patterns in ( $txt* ) must match.
  • At least 2 patterns in ( $s* ) must match.
  • At least 1 patterns in ( $s* ) must match.
  • At least 2 patterns in ( $txt* ) must match.
  • At least 3 patterns in ( $x* ) must match.
  • Pattern $upat must be present.

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: c02114c1-9c97-5d0c-b7ce-1bd6a00a9e9a

Tags:FILE