YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Torisma
Detects Torisma
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Torisma
Associated malware family: Torisma.
Targets: Windows PE.
It defines 9 patterns (6 text, 3 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-torisma.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Torisma : FILE
{
meta:
= "Detects Torisma"
= "ditekSHen"
= "e62a0f1c-4404-5da1-9c43-4cb58e735827"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4339-L4355"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "bd3823f8a91fdfc443e20bcb299a5103b7176a694f0d5328e7986de83f677a31"
= 75
= 75
= "FILE"
strings:
$s1 = "ACTION=PREVPAGE&CODE=C%s&RES=%d" fullword ascii
$s2 = "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" fullword ascii
$s3 = "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" fullword ascii
$s4 = "Your request has been accepted. ClientID: {" ascii
$s5 = "Proxy-Connection: Keep-Alive" fullword wide
$s6 = "Content-Length: %d" fullword wide
$o0 = { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
$o1 = { 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
$o2 = { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }
condition:
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "ACTION=PREVPAGE&CODE=C%s&RES=%d" | fullword ascii |
| $s2 | text | "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" | fullword ascii |
| $s3 | text | "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" | fullword ascii |
| $s4 | text | "Your request has been accepted. ClientID: {" | ascii |
| $s5 | text | "Proxy-Connection: Keep-Alive" | fullword wide |
| $s6 | text | "Content-Length: %d" | fullword wide |
| $o0 | hex | { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c } | |
| $o1 | hex | { 48 c7 00 ff ff ff ff 48 8b 84 24 90 } | |
| $o2 | hex | { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 } |
Condition
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $o* ) must match.
- At least 4 patterns in ( $s* ) must match.
- At least 3 patterns in ( $s* ) 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.
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: e62a0f1c-4404-5da1-9c43-4cb58e735827
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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