YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Taurus
Taurus infostealer payload
- 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:
= "Taurus infostealer payload"
= "ditekSHen"
= "c02114c1-9c97-5d0c-b7ce-1bd6a00a9e9a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1483-L1519"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "6039c27e69b47dfcc1327c34306627d2d9bd57f6bd365bb80b47ad21f892ae8a"
= 75
= 73
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "t.me/taurus_se" | ascii |
| $s2 | text | "rus_seller@explo" | ascii |
| $s3 | text | "/c timeout /t 3 & del /f /q" | ascii |
| $s4 | text | "MyAwesomePrefix" | ascii |
| $txt1 | text | "LogInfo.txt" | fullword ascii |
| $txt2 | text | "Information.txt" | fullword ascii |
| $txt3 | text | "General\\passwords.txt" | fullword ascii |
| $txt4 | text | "General\\forms.txt" | fullword ascii |
| $txt5 | text | "General\\cards.txt" | fullword ascii |
| $txt6 | text | "Installed Software.txt" | fullword ascii |
| $txt7 | text | "Crypto Wallets\\WalletInfo.txt" | fullword ascii |
| $txt8 | text | "cookies.txt" | fullword ascii |
| $url1 | text | "/cfg/" | wide |
| $url2 | text | "/loader/complete/" | wide |
| $url3 | text | "/log/" | wide |
| $url4 | text | "/dlls/" | wide |
| $upat | regex | /\.exe;;;\d;\d;\d\]\|\[http/ | |
| $x1 | text | "Vaultcli.dll" | fullword ascii |
| $x2 | text | "Bcrypt.dll" | fullword ascii |
| $x3 | text | "*.localstor" | ascii |
| $x4 | text | "operator<=>" | fullword ascii |
| $x5 | text | ".data$rs" | fullword ascii |
| $x6 | text | "https_discordap" | ascii |
| $o1 | hex | { 53 56 8b 75 08 8d 85 64 ff ff ff 57 6a ff 6a 01 } | |
| $o2 | hex | { 6a 00 68 00 04 00 00 ff b5 a8 fe ff ff ff b5 ac } | |
| $o3 | hex | { ff 75 0c 8d 85 44 ff ff ff 50 e8 aa f7 ff ff 8b } | |
| $o4 | hex | { 8b 47 04 c6 40 19 01 8d 85 6c ff ff ff 8b 0f 50 } | |
| $o5 | hex | { 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.
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).
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
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06