YARA · ESET malware-ioc
ESET_Ebury_V1_7_Crypto
This rule detects the strings decryption routine in Ebury v1.7 and v1.8
- Author
- ESET, spol. s r.o.
- Date
- 2023-08-01
- Modified
- 2024-04-29
- Score / Quality
- 75 / 80
What this rule detects
This rule detects the strings decryption routine in Ebury v1.7 and v1.8
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule ESET_Ebury_V1_7_Crypto
{
meta:
= "This rule detects the strings decryption routine in Ebury v1.7 and v1.8"
= "ESET, spol. s r.o."
= "93dadf5f-b572-5217-8c82-4957c6d24955"
= "2023-08-01"
= "2024-04-29"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/windigo/ebury.yar#L56-L97"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "e7debd6e453192ad8376db5bab03ed0d87566591"
= "41908951069a472d7528f2f228f3681f008d16a0436e341d339909efc4933e66"
= 75
= 80
= ""
= "BSD 2-Clause"
= 1
strings:
$64 = {
48 69 ( 9C 24 ?? ?? ?? ?? | 5C 24 ?? | D2) 6D 4E C6 41 // imul rbx, [rsp+_buf], 41C64E6Dh
8B (0C 16 | 34 07) // mov ecx, [rsi+rdx]
48 81 C? 39 30 00 00 // add rbx, 12345
( 31 D? | // xor ecx, ebx
31 D? 48 89 9C 24 ?? ?? ?? ?? | // mov [rsp+_buf], rbx
31 D? 48 89 5C 24 ?? ) // ^ optional
89 (0C 10 | 34 01) // mov [rax+rdx], ecx
48 83 C? 04 // add rdx, 4
48 (81 FA | 3D ) ?? ?? ?? ?? // cmp rdx, _size
75 D? // jnz short _begin
}
$32 = {
69 C9 6D 4E C6 41 // imul ecx, 41C64E6Dh
8B B4 1A ?? ?? ?? ?? // mov esi, [edx+ebx+_data]
81 C1 39 30 00 00 // add ecx, 12345
31 CE // xor esi, ecx
89 34 10 // mov [eax+edx], esi
83 C2 04 // add edx, 4
81 FA ?? ?? ?? ?? // cmp edx, _size
75 DD // jnz short loc_69A5
}
condition:
any of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $64 | hex | { 48 69 ( 9C 24 ?? ?? ?? ?? | 5C 24 ?? | D2) 6D 4E C6 41 // imul rbx, [rsp+_buf], 41C64E6Dh 8B (0C 16 | 34 07) … | |
| $32 | hex | { 69 C9 6D 4E C6 41 // imul ecx, 41C64E6Dh 8B B4 1A ?? ?? ?? ?? // mov esi, [edx+ebx+_data] 81 C1 39 30 00 00 … |
Condition
any of themIn plain words (Heuristic)
- At least one pattern in the rule 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- e7debd6e453192ad8376db5bab03ed0d87566591
Licence & attribution
Author: ESET, spol. s r.o.
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: 93dadf5f-b572-5217-8c82-4957c6d24955
Metadata
| version | 1 |
|---|