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 (20220411 | Detects win.koobface.)
rule win_koobface_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        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 = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { 59 897dfc 897dd8 83ff40 0f8d3b010000 8b34bda0534200 85f6 }
            // n = 7, score = 100
            //   59                   | pop                 ecx
            //   897dfc               | mov                 dword ptr [ebp - 4], edi
            //   897dd8               | mov                 dword ptr [ebp - 0x28], edi
            //   83ff40               | cmp                 edi, 0x40
            //   0f8d3b010000         | jge                 0x141
            //   8b34bda0534200       | mov                 esi, dword ptr [edi*4 + 0x4253a0]
            //   85f6                 | test                esi, esi

        $sequence_1 = { bb90010000 f7fb 85d2 740d 8bc6 c1e002 8bb0b03b4200 }
            // n = 7, score = 100
            //   bb90010000           | mov                 ebx, 0x190
            //   f7fb                 | idiv                ebx
            //   85d2                 | test                edx, edx
            //   740d                 | je                  0xf
            //   8bc6                 | mov                 eax, esi
            //   c1e002               | shl                 eax, 2
            //   8bb0b03b4200         | mov                 esi, dword ptr [eax + 0x423bb0]

        $sequence_2 = { 8d8548a2ffff 50 8d8514fcffff 50 e8???????? 83c410 84c0 }
            // n = 7, score = 100
            //   8d8548a2ffff         | lea                 eax, dword ptr [ebp - 0x5db8]
            //   50                   | push                eax
            //   8d8514fcffff         | lea                 eax, dword ptr [ebp - 0x3ec]
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   84c0                 | test                al, al

        $sequence_3 = { 68???????? ffb608040000 e8???????? 895d08 53 53 53 }
            // n = 7, score = 100
            //   68????????           |                     
            //   ffb608040000         | push                dword ptr [esi + 0x408]
            //   e8????????           |                     
            //   895d08               | mov                 dword ptr [ebp + 8], ebx
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   53                   | push                ebx

        $sequence_4 = { 68???????? 8d4dd4 e8???????? 8b4dac 8d45d4 50 c645fc17 }
            // n = 7, score = 100
            //   68????????           |                     
            //   8d4dd4               | lea                 ecx, dword ptr [ebp - 0x2c]
            //   e8????????           |                     
            //   8b4dac               | mov                 ecx, dword ptr [ebp - 0x54]
            //   8d45d4               | lea                 eax, dword ptr [ebp - 0x2c]
            //   50                   | push                eax
            //   c645fc17             | mov                 byte ptr [ebp - 4], 0x17

        $sequence_5 = { 8d8560ccffff 53 50 4f e8???????? ffb50057ffff 8d8558f7ffff }
            // n = 7, score = 100
            //   8d8560ccffff         | lea                 eax, dword ptr [ebp - 0x33a0]
            //   53                   | push                ebx
            //   50                   | push                eax
            //   4f                   | dec                 edi
            //   e8????????           |                     
            //   ffb50057ffff         | push                dword ptr [ebp - 0xa900]
            //   8d8558f7ffff         | lea                 eax, dword ptr [ebp - 0x8a8]

        $sequence_6 = { 8bff 55 8bec 33c0 8b4d08 3b0cc548e04100 740a }
            // n = 7, score = 100
            //   8bff                 | mov                 edi, edi
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   33c0                 | xor                 eax, eax
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   3b0cc548e04100       | cmp                 ecx, dword ptr [eax*8 + 0x41e048]
            //   740a                 | je                  0xc

        $sequence_7 = { ff5108 eb12 68???????? eb05 68???????? e8???????? 59 }
            // n = 7, score = 100
            //   ff5108               | call                dword ptr [ecx + 8]
            //   eb12                 | jmp                 0x14
            //   68????????           |                     
            //   eb05                 | jmp                 7
            //   68????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_8 = { ff15???????? 68???????? c6861801000001 e8???????? 8b3d???????? 59 889e70010000 }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   68????????           |                     
            //   c6861801000001       | mov                 byte ptr [esi + 0x118], 1
            //   e8????????           |                     
            //   8b3d????????         |                     
            //   59                   | pop                 ecx
            //   889e70010000         | mov                 byte ptr [esi + 0x170], bl

        $sequence_9 = { 56 8d85fcf7ffff 50 6a00 }
            // n = 4, score = 100
            //   56                   | push                esi
            //   8d85fcf7ffff         | lea                 eax, dword ptr [ebp - 0x804]
            //   50                   | push                eax
            //   6a00                 | push                0

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