YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Blankstealer
Detects BlankStealer / BlankGrabber / Blank-c Stealer
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects BlankStealer / BlankGrabber / Blank-c Stealer
Associated malware family: Blankstealer.
It defines 4 patterns (3 text, 1 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_Blankstealer : FILE
{
meta:
= "Detects BlankStealer / BlankGrabber / Blank-c Stealer"
= "ditekSHen"
= "19686781-4be8-56c1-b606-d8fe14dbdc48"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10691-L10703"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "cc0c8d3e0061d192e445ef661387360644ab428a9e9fc2480e966db96bc8264c"
= 75
= 75
= "FILE"
= "923829001"
strings:
$s1 = "Blank-c" ascii
$s2 = "Stealer License" ascii
$s3 = "UID=" ascii
$h1 = { 42 6c 61 6e 6b 2d 63 0a 53 74 65 61 6c 65 72 20 4c 69 63 65 6e 73 65 0a 55 49 44 3d }
condition:
( uint16( 0 ) == 0x4152 and 2 of them ) or ( all of ( $s* ) or 1 of ( $h* ) )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Blank-c" | ascii |
| $s2 | text | "Stealer License" | ascii |
| $s3 | text | "UID=" | ascii |
| $h1 | hex | { 42 6c 61 6e 6b 2d 63 0a 53 74 65 61 6c 65 72 20 4c 69 63 65 6e 73 65 0a 55 49 44 3d } |
Condition
( uint16( 0 ) == 0x4152 and 2 of them ) or ( all of ( $s* ) or 1 of ( $h* ) )In plain words (Heuristic)
- All patterns in ( $s* ) must match.
- At least 2 patterns in the rule must match.
- At least 1 patterns in ( $h* ) 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.
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: 19686781-4be8-56c1-b606-d8fe14dbdc48
Metadata
| snort | 923829001 |
|---|
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