SYMBOLCOMMON_NAMEaka. SYNONYMS
win.metadatabin (Back to overview)

MetadataBin

aka: Ransomware32
VTCollection    

Ransomware.

References
2020-10-25 ⋅ ⋅ Andrew Ivanov
MetadataBin Ransomware
MetadataBin
Yara Rules
[TLP:WHITE] win_metadatabin_auto (20260917 | Detects win.metadatabin.)
rule win_metadatabin_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.metadatabin."
        info = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.6.0"
        signator_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.metadatabin"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        malpedia_license = "CC BY-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    /* DISCLAIMER
     * The strings used in this rule have been automatically selected from the
     * disassembly of memory dumps and unpacked files, using YARA-Signator.
     * The code and documentation is published here:
     * https://github.com/fxb-cocacoding/yara-signator
     * As Malpedia is used as data source, please note that for a given
     * number of families, only single samples are documented.
     * This likely impacts the degree of generalization these rules will offer.
     * Take the described generation method also into consideration when you
     * apply the rules in your use cases and assign them confidence levels.
     */


    strings:
        $sequence_0 = { 8b5588 85c9 898decfeffff 0f958510ffffff 0fb68d10ffffff 39d0 89d7 }
            // n = 7, score = 100
            //   8b5588               | mov                 edx, dword ptr [ebp - 0x78]
            //   85c9                 | test                ecx, ecx
            //   898decfeffff         | mov                 dword ptr [ebp - 0x114], ecx
            //   0f958510ffffff       | setne               byte ptr [ebp - 0xf0]
            //   0fb68d10ffffff       | movzx               ecx, byte ptr [ebp - 0xf0]
            //   39d0                 | cmp                 eax, edx
            //   89d7                 | mov                 edi, edx

        $sequence_1 = { 83780400 7471 8b760c 83780809 725a e8???????? ff76fc }
            // n = 7, score = 100
            //   83780400             | cmp                 dword ptr [eax + 4], 0
            //   7471                 | je                  0x73
            //   8b760c               | mov                 esi, dword ptr [esi + 0xc]
            //   83780809             | cmp                 dword ptr [eax + 8], 9
            //   725a                 | jb                  0x5c
            //   e8????????           |                     
            //   ff76fc               | push                dword ptr [esi - 4]

        $sequence_2 = { f765f0 01f8 8bbd74ffffff 11f2 8b7580 0375b0 134ddc }
            // n = 7, score = 100
            //   f765f0               | mul                 dword ptr [ebp - 0x10]
            //   01f8                 | add                 eax, edi
            //   8bbd74ffffff         | mov                 edi, dword ptr [ebp - 0x8c]
            //   11f2                 | adc                 edx, esi
            //   8b7580               | mov                 esi, dword ptr [ebp - 0x80]
            //   0375b0               | add                 esi, dword ptr [ebp - 0x50]
            //   134ddc               | adc                 ecx, dword ptr [ebp - 0x24]

        $sequence_3 = { 8b4608 8d0c49 8b4c8808 e8???????? eb36 8d4e28 8d542408 }
            // n = 7, score = 100
            //   8b4608               | mov                 eax, dword ptr [esi + 8]
            //   8d0c49               | lea                 ecx, [ecx + ecx*2]
            //   8b4c8808             | mov                 ecx, dword ptr [eax + ecx*4 + 8]
            //   e8????????           |                     
            //   eb36                 | jmp                 0x38
            //   8d4e28               | lea                 ecx, [esi + 0x28]
            //   8d542408             | lea                 edx, [esp + 8]

        $sequence_4 = { 8b4c2460 89c6 89d3 89f8 03742428 83d300 f7e1 }
            // n = 7, score = 100
            //   8b4c2460             | mov                 ecx, dword ptr [esp + 0x60]
            //   89c6                 | mov                 esi, eax
            //   89d3                 | mov                 ebx, edx
            //   89f8                 | mov                 eax, edi
            //   03742428             | add                 esi, dword ptr [esp + 0x28]
            //   83d300               | adc                 ebx, 0
            //   f7e1                 | mul                 ecx

        $sequence_5 = { 8b4310 c785c0feffff00000000 c785c4feffff00000000 85c0 0f844e040000 8d8520ffffff 31ff }
            // n = 7, score = 100
            //   8b4310               | mov                 eax, dword ptr [ebx + 0x10]
            //   c785c0feffff00000000     | mov    dword ptr [ebp - 0x140], 0
            //   c785c4feffff00000000     | mov    dword ptr [ebp - 0x13c], 0
            //   85c0                 | test                eax, eax
            //   0f844e040000         | je                  0x454
            //   8d8520ffffff         | lea                 eax, [ebp - 0xe0]
            //   31ff                 | xor                 edi, edi

        $sequence_6 = { f7e3 8b5c240c 01c8 898424c0010000 0fb6442420 11c2 89d8 }
            // n = 7, score = 100
            //   f7e3                 | mul                 ebx
            //   8b5c240c             | mov                 ebx, dword ptr [esp + 0xc]
            //   01c8                 | add                 eax, ecx
            //   898424c0010000       | mov                 dword ptr [esp + 0x1c0], eax
            //   0fb6442420           | movzx               eax, byte ptr [esp + 0x20]
            //   11c2                 | adc                 edx, eax
            //   89d8                 | mov                 eax, ebx

        $sequence_7 = { 894c2414 89442440 f7e7 89842494000000 8d04c9 8d0441 8b8c24ac020000 }
            // n = 7, score = 100
            //   894c2414             | mov                 dword ptr [esp + 0x14], ecx
            //   89442440             | mov                 dword ptr [esp + 0x40], eax
            //   f7e7                 | mul                 edi
            //   89842494000000       | mov                 dword ptr [esp + 0x94], eax
            //   8d04c9               | lea                 eax, [ecx + ecx*8]
            //   8d0441               | lea                 eax, [ecx + eax*2]
            //   8b8c24ac020000       | mov                 ecx, dword ptr [esp + 0x2ac]

        $sequence_8 = { ff4618 8a4e24 662e0f1f840000000000 0f1f4000 84c9 0f85b8000000 e8???????? }
            // n = 7, score = 100
            //   ff4618               | inc                 dword ptr [esi + 0x18]
            //   8a4e24               | mov                 cl, byte ptr [esi + 0x24]
            //   662e0f1f840000000000     | nop    word ptr cs:[eax + eax]
            //   0f1f4000             | nop                 dword ptr [eax]
            //   84c9                 | test                cl, cl
            //   0f85b8000000         | jne                 0xbe
            //   e8????????           |                     

        $sequence_9 = { c3 b9???????? ba23000000 68???????? eb28 b9???????? ba19000000 }
            // n = 7, score = 100
            //   c3                   | ret                 
            //   b9????????           |                     
            //   ba23000000           | mov                 edx, 0x23
            //   68????????           |                     
            //   eb28                 | jmp                 0x2a
            //   b9????????           |                     
            //   ba19000000           | mov                 edx, 0x19

    condition:
        7 of them and filesize < 1263616
}
Download all Yara Rules