YARA · ESET malware-ioc
ESET_Apt_Windows_Invisimole
InvisiMole magic values, keys and strings
- Author
- ESET Research
- Date
- 2021-05-17
- Score / Quality
- 75 / 80
What this rule detects
InvisiMole magic values, keys and strings
Associated malware family: Invisimole.
Targets: Windows PE.
It defines 9 patterns (4 text, 5 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports and 1 rule(s) it depends on needed to compile it on its own.
private rule ESET_Invisimole_Blob_PRIVATE
{
meta:
= "Detects InvisiMole blobs by magic values"
= "ESET Research"
= "6a179d91-50f1-5400-b141-0f162efd2431"
= "2021-05-17"
= "2021-05-17"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L34-L52"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "8bddaf874da58fbe6362498f8979b511f39531fe2b98d4be8c099bdafb6d0067"
= 75
= 80
= ""
= "BSD 2-Clause"
= "1"
strings:
$magic_old_32 = {F9 FF D0 DE}
$magic_old_64 = {64 FF D0 DE}
$magic_new_32 = {86 DA 11 CE}
$magic_new_64 = {64 DA 11 CE}
condition:
($magic_old_32 at 0 ) or ( $magic_old_64 at 0 ) or ( $magic_new_32 at 0 ) or ( $magic_new_64 at 0 )
}
rule ESET_Apt_Windows_Invisimole : FILE
{
meta:
= "InvisiMole magic values, keys and strings"
= "ESET Research"
= "4d48996b-9792-57ba-a302-349220323712"
= "2021-05-17"
= "2021-05-17"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L215-L255"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "7a2cff9febe77d718089ba4e1a33f3487594588892e418cec685bf22b156fa2b"
= 75
= 80
= "FILE"
= "BSD 2-Clause"
= "1"
strings:
$s1 = "CryptProtectData"
$s2 = "CryptUnprotectData"
$s3 = {9E 01 3A AD}
$s4 = "GET /getversion2a/%d%.2X%.2X/U%sN HTTP/1.1"
$s5 = "PULSAR_LOADER.dll"
$check_magic_old_32 = {3? F9 FF D0 DE}
$check_magic_old_64 = {3? 64 FF D0 DE}
$check_magic_new_32 = {81 3? 86 DA 11 CE}
$check_magic_new_64 = {81 3? 64 DA 11 CE}
condition:
(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and ( any of ( $check_magic* ) ) and ( 2 of ( $s* ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "CryptProtectData" | |
| $s2 | text | "CryptUnprotectData" | |
| $s3 | hex | {9E 01 3A AD} | |
| $s4 | text | "GET /getversion2a/%d%.2X%.2X/U%sN HTTP/1.1" | |
| $s5 | text | "PULSAR_LOADER.dll" | |
| $check_magic_old_32 | hex | {3? F9 FF D0 DE} | |
| $check_magic_old_64 | hex | {3? 64 FF D0 DE} | |
| $check_magic_new_32 | hex | {81 3? 86 DA 11 CE} | |
| $check_magic_new_64 | hex | {81 3? 64 DA 11 CE} |
Condition
(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and ( any of ( $check_magic* ) ) and ( 2 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least one pattern in ( $check_magic* ) must match.
- At least 2 patterns in ( $s* ) must match.
- Depends on the rule ESET_Invisimole_Blob_PRIVATE.
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: ESET Research
Source repository: ESET malware-ioc @ 17baf44964
Licence: BSD 2-Clause License (stated in the rule's own meta)
“BSD 2-Clause”
Copyright notice: Copyright (c) 2014-2018 ESET spol. s r.o.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 4d48996b-9792-57ba-a302-349220323712
Metadata
| version | 1 |
|---|
Tags:FILE
Related rules
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- APT / threat actorESET malware-ioc· ESET Research· 2021-05-17
- MalwareESET malware-ioc· ESET Research· 2021-05-17