SYMBOLCOMMON_NAMEaka. SYNONYMS
win.koobface (Back to overview)

KoobFace


There is no description at this point.

References
2010MandiantEro Carrera, Peter Silberman
@techreport{carrera:2010:state:687e608, author = {Ero Carrera and Peter Silberman}, title = {{State of Malware: Family Ties}}, date = {2010}, institution = {Mandiant}, url = {https://web.archive.org/web/20160616170611/https://media.blackhat.com/bh-eu-10/presentations/Carrera_Silberman/BlackHat-EU-2010-Carrera-Silberman-State-of-Malware-slides.pdf}, language = {English}, urldate = {2022-01-28} } State of Malware: Family Ties
Bredolab Conficker Cutwail KoobFace Oderoor Poison Ivy Rustock Sinowal Szribi Zeus
Yara Rules
[TLP:WHITE] win_koobface_auto (20230125 | Detects win.koobface.)
rule win_koobface_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.koobface."
        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.koobface"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 50 c745fc0b000000 e8???????? 56 8985d4fdffff e8???????? 59 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   c745fc0b000000       | mov                 dword ptr [ebp - 4], 0xb
            //   e8????????           |                     
            //   56                   | push                esi
            //   8985d4fdffff         | mov                 dword ptr [ebp - 0x22c], eax
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_1 = { 50 56 8d8f8c000000 e8???????? 56 e8???????? }
            // n = 6, score = 100
            //   50                   | push                eax
            //   56                   | push                esi
            //   8d8f8c000000         | lea                 ecx, [edi + 0x8c]
            //   e8????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     

        $sequence_2 = { 8d4dd4 e8???????? 8b4db0 8d45d4 50 c645fc10 }
            // n = 6, score = 100
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]
            //   e8????????           |                     
            //   8b4db0               | mov                 ecx, dword ptr [ebp - 0x50]
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   50                   | push                eax
            //   c645fc10             | mov                 byte ptr [ebp - 4], 0x10

        $sequence_3 = { 68???????? 57 8d8504fcffff 68???????? 50 e8???????? 8d8504fcffff }
            // n = 7, score = 100
            //   68????????           |                     
            //   57                   | push                edi
            //   8d8504fcffff         | lea                 eax, [ebp - 0x3fc]
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   8d8504fcffff         | lea                 eax, [ebp - 0x3fc]

        $sequence_4 = { ffd7 68???????? e8???????? 59 53 899d10fcffff ffd7 }
            // n = 7, score = 100
            //   ffd7                 | call                edi
            //   68????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   53                   | push                ebx
            //   899d10fcffff         | mov                 dword ptr [ebp - 0x3f0], ebx
            //   ffd7                 | call                edi

        $sequence_5 = { 8d4598 68???????? 50 899d68feffff e8???????? 68???????? }
            // n = 6, score = 100
            //   8d4598               | lea                 eax, [ebp - 0x68]
            //   68????????           |                     
            //   50                   | push                eax
            //   899d68feffff         | mov                 dword ptr [ebp - 0x198], ebx
            //   e8????????           |                     
            //   68????????           |                     

        $sequence_6 = { 8d85fcfbffff 68???????? 50 e8???????? ff8df4f7ffff 59 59 }
            // n = 7, score = 100
            //   8d85fcfbffff         | lea                 eax, [ebp - 0x404]
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   ff8df4f7ffff         | dec                 dword ptr [ebp - 0x80c]
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx

        $sequence_7 = { 8b8af0fbffff 33c8 e8???????? 8b4af8 33c8 e8???????? b8???????? }
            // n = 7, score = 100
            //   8b8af0fbffff         | mov                 ecx, dword ptr [edx - 0x410]
            //   33c8                 | xor                 ecx, eax
            //   e8????????           |                     
            //   8b4af8               | mov                 ecx, dword ptr [edx - 8]
            //   33c8                 | xor                 ecx, eax
            //   e8????????           |                     
            //   b8????????           |                     

        $sequence_8 = { ffb568a2ffff 8d85fca7ffff 50 83ec1c 8bcc 89a56ca2ffff }
            // n = 6, score = 100
            //   ffb568a2ffff         | push                dword ptr [ebp - 0x5d98]
            //   8d85fca7ffff         | lea                 eax, [ebp - 0x5804]
            //   50                   | push                eax
            //   83ec1c               | sub                 esp, 0x1c
            //   8bcc                 | mov                 ecx, esp
            //   89a56ca2ffff         | mov                 dword ptr [ebp - 0x5d94], esp

        $sequence_9 = { 3bdf 72e7 33c0 eb04 83650800 }
            // n = 5, score = 100
            //   3bdf                 | cmp                 ebx, edi
            //   72e7                 | jb                  0xffffffe9
            //   33c0                 | xor                 eax, eax
            //   eb04                 | jmp                 6
            //   83650800             | and                 dword ptr [ebp + 8], 0

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