SYMBOLCOMMON_NAMEaka. SYNONYMS
win.pipemagic (Back to overview)

PipeMagic

VTCollection    

There is no description at this point.

References
2025-03-11 ⋅ Twitter (@ESETresearch) ⋅ ESET Research
Twitter Thread about PipeMagic
PipeMagic
Yara Rules
[TLP:WHITE] win_pipemagic_auto (20260917 | Detects win.pipemagic.)
rule win_pipemagic_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.pipemagic."
        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.pipemagic"
        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 = { 395c2414 743f 83fe14 8b742410 753a 8b4c2418 8d442434 }
            // n = 7, score = 100
            //   395c2414             | cmp                 dword ptr [esp + 0x14], ebx
            //   743f                 | je                  0x41
            //   83fe14               | cmp                 esi, 0x14
            //   8b742410             | mov                 esi, dword ptr [esp + 0x10]
            //   753a                 | jne                 0x3c
            //   8b4c2418             | mov                 ecx, dword ptr [esp + 0x18]
            //   8d442434             | lea                 eax, [esp + 0x34]

        $sequence_1 = { e8???????? 8bf0 83feff 7504 32c0 eb3d 8365f800 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   83feff               | cmp                 esi, -1
            //   7504                 | jne                 6
            //   32c0                 | xor                 al, al
            //   eb3d                 | jmp                 0x3f
            //   8365f800             | and                 dword ptr [ebp - 8], 0

        $sequence_2 = { 8b3d???????? 85c0 7435 83caff }
            // n = 4, score = 100
            //   8b3d????????         |                     
            //   85c0                 | test                eax, eax
            //   7435                 | je                  0x37
            //   83caff               | or                  edx, 0xffffffff

        $sequence_3 = { 895dd8 50 66c745dc0005 ff15???????? }
            // n = 4, score = 100
            //   895dd8               | mov                 dword ptr [ebp - 0x28], ebx
            //   50                   | push                eax
            //   66c745dc0005         | mov                 word ptr [ebp - 0x24], 0x500
            //   ff15????????         |                     

        $sequence_4 = { e8???????? 8bf0 85f6 7427 895e08 8b5d0c 53 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi
            //   7427                 | je                  0x29
            //   895e08               | mov                 dword ptr [esi + 8], ebx
            //   8b5d0c               | mov                 ebx, dword ptr [ebp + 0xc]
            //   53                   | push                ebx

        $sequence_5 = { e8???????? 68???????? 6a02 8d4de8 8bf8 e8???????? a3???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   68????????           |                     
            //   6a02                 | push                2
            //   8d4de8               | lea                 ecx, [ebp - 0x18]
            //   8bf8                 | mov                 edi, eax
            //   e8????????           |                     
            //   a3????????           |                     

        $sequence_6 = { 8b4808 85c9 7450 83caff e8???????? 8bf0 }
            // n = 6, score = 100
            //   8b4808               | mov                 ecx, dword ptr [eax + 8]
            //   85c9                 | test                ecx, ecx
            //   7450                 | je                  0x52
            //   83caff               | or                  edx, 0xffffffff
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax

        $sequence_7 = { 85ff 746f 807f2400 7450 8b45f4 39472c 7548 }
            // n = 7, score = 100
            //   85ff                 | test                edi, edi
            //   746f                 | je                  0x71
            //   807f2400             | cmp                 byte ptr [edi + 0x24], 0
            //   7450                 | je                  0x52
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]
            //   39472c               | cmp                 dword ptr [edi + 0x2c], eax
            //   7548                 | jne                 0x4a

        $sequence_8 = { 726b 6a04 8d4dec e8???????? }
            // n = 4, score = 100
            //   726b                 | jb                  0x6d
            //   6a04                 | push                4
            //   8d4dec               | lea                 ecx, [ebp - 0x14]
            //   e8????????           |                     

        $sequence_9 = { 8b513c 03d1 8955f8 8d82f8000000 3bc3 0f870c010000 }
            // n = 6, score = 100
            //   8b513c               | mov                 edx, dword ptr [ecx + 0x3c]
            //   03d1                 | add                 edx, ecx
            //   8955f8               | mov                 dword ptr [ebp - 8], edx
            //   8d82f8000000         | lea                 eax, [edx + 0xf8]
            //   3bc3                 | cmp                 eax, ebx
            //   0f870c010000         | ja                  0x112

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