SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bagle (Back to overview)

Bagle

VTCollection    

There is no description at this point.

References
2004-10-06F-SecureEro Carrera, Gergely Erdélyi
Digital genome mapping: advanced binary malware analysis
Bagle
Yara Rules
[TLP:WHITE] win_bagle_auto (20260504 | Detects win.bagle.)
rule win_bagle_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.bagle."
        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.bagle"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 57 53 8b7508 8b7d0c 8b4d10 }
            // n = 5, score = 300
            //   57                   | push                edi
            //   53                   | push                ebx
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   8b7d0c               | mov                 edi, dword ptr [ebp + 0xc]
            //   8b4d10               | mov                 ecx, dword ptr [ebp + 0x10]

        $sequence_1 = { 7426 6880000000 68???????? e8???????? 6a00 6a00 6a00 }
            // n = 7, score = 300
            //   7426                 | je                  0x28
            //   6880000000           | push                0x80
            //   68????????           |                     
            //   e8????????           |                     
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_2 = { 6880000000 68???????? e8???????? 6a00 6a00 6a00 }
            // n = 6, score = 300
            //   6880000000           | push                0x80
            //   68????????           |                     
            //   e8????????           |                     
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_3 = { e8???????? 0bc0 7426 6880000000 }
            // n = 4, score = 300
            //   e8????????           |                     
            //   0bc0                 | or                  eax, eax
            //   7426                 | je                  0x28
            //   6880000000           | push                0x80

        $sequence_4 = { 68???????? e8???????? 0bc0 7426 6880000000 }
            // n = 5, score = 300
            //   68????????           |                     
            //   e8????????           |                     
            //   0bc0                 | or                  eax, eax
            //   7426                 | je                  0x28
            //   6880000000           | push                0x80

        $sequence_5 = { 7426 6880000000 68???????? e8???????? 6a00 6a00 }
            // n = 6, score = 300
            //   7426                 | je                  0x28
            //   6880000000           | push                0x80
            //   68????????           |                     
            //   e8????????           |                     
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_6 = { 75e2 c3 55 8bec 56 }
            // n = 5, score = 300
            //   75e2                 | jne                 0xffffffe4
            //   c3                   | ret                 
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   56                   | push                esi

        $sequence_7 = { f3aa 5b 5f 5e c9 }
            // n = 5, score = 300
            //   f3aa                 | rep stosb           byte ptr es:[edi], al
            //   5b                   | pop                 ebx
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   c9                   | leave               

        $sequence_8 = { 68???????? e8???????? 0bc0 7426 6880000000 68???????? e8???????? }
            // n = 7, score = 300
            //   68????????           |                     
            //   e8????????           |                     
            //   0bc0                 | or                  eax, eax
            //   7426                 | je                  0x28
            //   6880000000           | push                0x80
            //   68????????           |                     
            //   e8????????           |                     

        $sequence_9 = { 83e903 79c6 f7d9 2bf9 }
            // n = 4, score = 300
            //   83e903               | sub                 ecx, 3
            //   79c6                 | jns                 0xffffffc8
            //   f7d9                 | neg                 ecx
            //   2bf9                 | sub                 edi, ecx

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