SYMBOLCOMMON_NAMEaka. SYNONYMS
win.zenar (Back to overview)

zenar

VTCollection    

There is no description at this point.

References
Yara Rules
[TLP:WHITE] win_zenar_auto (20260917 | Detects win.zenar.)
rule win_zenar_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.zenar."
        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.zenar"
        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 = { c785bcf7ffff0f000000 c685a8f7ffff00 e8???????? c645fc06 8d8d90f7ffff 8bbda4f7ffff 83ff10 }
            // n = 7, score = 100
            //   c785bcf7ffff0f000000     | mov    dword ptr [ebp - 0x844], 0xf
            //   c685a8f7ffff00       | mov                 byte ptr [ebp - 0x858], 0
            //   e8????????           |                     
            //   c645fc06             | mov                 byte ptr [ebp - 4], 6
            //   8d8d90f7ffff         | lea                 ecx, [ebp - 0x870]
            //   8bbda4f7ffff         | mov                 edi, dword ptr [ebp - 0x85c]
            //   83ff10               | cmp                 edi, 0x10

        $sequence_1 = { e8???????? eb52 8d4e4c e8???????? 8945d8 8d4dc8 8d45d8 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   eb52                 | jmp                 0x54
            //   8d4e4c               | lea                 ecx, [esi + 0x4c]
            //   e8????????           |                     
            //   8945d8               | mov                 dword ptr [ebp - 0x28], eax
            //   8d4dc8               | lea                 ecx, [ebp - 0x38]
            //   8d45d8               | lea                 eax, [ebp - 0x28]

        $sequence_2 = { 8365fc00 8b049d98ae4300 8b4de0 f644012801 7515 e8???????? c70009000000 }
            // n = 7, score = 100
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   8b049d98ae4300       | mov                 eax, dword ptr [ebx*4 + 0x43ae98]
            //   8b4de0               | mov                 ecx, dword ptr [ebp - 0x20]
            //   f644012801           | test                byte ptr [ecx + eax + 0x28], 1
            //   7515                 | jne                 0x17
            //   e8????????           |                     
            //   c70009000000         | mov                 dword ptr [eax], 9

        $sequence_3 = { 8b9dd4f6ffff 660f1f440000 660fbe07 0fb7f0 3bca 7326 }
            // n = 6, score = 100
            //   8b9dd4f6ffff         | mov                 ebx, dword ptr [ebp - 0x92c]
            //   660f1f440000         | nop                 word ptr [eax + eax]
            //   660fbe07             | movsx               ax, byte ptr [edi]
            //   0fb7f0               | movzx               esi, ax
            //   3bca                 | cmp                 ecx, edx
            //   7326                 | jae                 0x28

        $sequence_4 = { ff15???????? ff15???????? ffb5f0fdffff ffd7 ffb5f4fdffff eb01 50 }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   ff15????????         |                     
            //   ffb5f0fdffff         | push                dword ptr [ebp - 0x210]
            //   ffd7                 | call                edi
            //   ffb5f4fdffff         | push                dword ptr [ebp - 0x20c]
            //   eb01                 | jmp                 3
            //   50                   | push                eax

        $sequence_5 = { 2bc2 8b55e4 8bcb d1f8 2bca 3bc1 7734 }
            // n = 7, score = 100
            //   2bc2                 | sub                 eax, edx
            //   8b55e4               | mov                 edx, dword ptr [ebp - 0x1c]
            //   8bcb                 | mov                 ecx, ebx
            //   d1f8                 | sar                 eax, 1
            //   2bca                 | sub                 ecx, edx
            //   3bc1                 | cmp                 eax, ecx
            //   7734                 | ja                  0x36

        $sequence_6 = { 83c001 25fe030000 f20f592c85e0154300 f20f591485e0154300 660f5834c5f01d4300 660f54c5 f20f5ce8 }
            // n = 7, score = 100
            //   83c001               | add                 eax, 1
            //   25fe030000           | and                 eax, 0x3fe
            //   f20f592c85e0154300     | mulsd    xmm5, qword ptr [eax*4 + 0x4315e0]
            //   f20f591485e0154300     | mulsd    xmm2, qword ptr [eax*4 + 0x4315e0]
            //   660f5834c5f01d4300     | addpd    xmm6, xmmword ptr [eax*8 + 0x431df0]
            //   660f54c5             | andpd               xmm0, xmm5
            //   f20f5ce8             | subsd               xmm5, xmm0

        $sequence_7 = { e8???????? 8b404c 83b8a800000000 750e 8b04bd98ae4300 807c302900 741d }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8b404c               | mov                 eax, dword ptr [eax + 0x4c]
            //   83b8a800000000       | cmp                 dword ptr [eax + 0xa8], 0
            //   750e                 | jne                 0x10
            //   8b04bd98ae4300       | mov                 eax, dword ptr [edi*4 + 0x43ae98]
            //   807c302900           | cmp                 byte ptr [eax + esi + 0x29], 0
            //   741d                 | je                  0x1f

        $sequence_8 = { ff7510 8365fc00 8bc8 ff750c ff7508 56 }
            // n = 6, score = 100
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   8bc8                 | mov                 ecx, eax
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   56                   | push                esi

        $sequence_9 = { 7418 83f83f 7413 8d047e 50 e8???????? }
            // n = 6, score = 100
            //   7418                 | je                  0x1a
            //   83f83f               | cmp                 eax, 0x3f
            //   7413                 | je                  0x15
            //   8d047e               | lea                 eax, [esi + edi*2]
            //   50                   | push                eax
            //   e8????????           |                     

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