SYMBOLCOMMON_NAMEaka. SYNONYMS
win.adkoob (Back to overview)

AdKoob


There is no description at this point.

References
2018-07-29SophosFelix Weyne
@online{weyne:20180729:adkoob:92f8951, author = {Felix Weyne}, title = {{AdKoob information thief targets Facebook ad purchase info}}, date = {2018-07-29}, organization = {Sophos}, url = {https://news.sophos.com/en-us/2018/07/29/adkoob-information-thief-targets-facebook-ad-purchase-info/}, language = {English}, urldate = {2020-01-05} } AdKoob information thief targets Facebook ad purchase info
AdKoob
Yara Rules
[TLP:WHITE] win_adkoob_auto (20211008 | Detects win.adkoob.)
rule win_adkoob_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        version = "1"
        description = "Detects win.adkoob."
        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.adkoob"
        malpedia_rule_date = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        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 = { eb02 b044 8b4db8 8ad0 8845fb e8???????? 0fbec0 }
            // n = 7, score = 400
            //   eb02                 | jmp                 4
            //   b044                 | mov                 al, 0x44
            //   8b4db8               | mov                 ecx, dword ptr [ebp - 0x48]
            //   8ad0                 | mov                 dl, al
            //   8845fb               | mov                 byte ptr [ebp - 5], al
            //   e8????????           |                     
            //   0fbec0               | movsx               eax, al

        $sequence_1 = { e8???????? 85c0 0f85b6000000 3945b8 0f8406010000 8b5598 8d45a0 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   0f85b6000000         | jne                 0xbc
            //   3945b8               | cmp                 dword ptr [ebp - 0x48], eax
            //   0f8406010000         | je                  0x10c
            //   8b5598               | mov                 edx, dword ptr [ebp - 0x68]
            //   8d45a0               | lea                 eax, dword ptr [ebp - 0x60]

        $sequence_2 = { ff730c 56 ff7008 6a7d 5a e8???????? 8b4dfc }
            // n = 7, score = 400
            //   ff730c               | push                dword ptr [ebx + 0xc]
            //   56                   | push                esi
            //   ff7008               | push                dword ptr [eax + 8]
            //   6a7d                 | push                0x7d
            //   5a                   | pop                 edx
            //   e8????????           |                     
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]

        $sequence_3 = { e8???????? c703???????? 8bc3 e8???????? c20800 6a34 b8???????? }
            // n = 7, score = 400
            //   e8????????           |                     
            //   c703????????         |                     
            //   8bc3                 | mov                 eax, ebx
            //   e8????????           |                     
            //   c20800               | ret                 8
            //   6a34                 | push                0x34
            //   b8????????           |                     

        $sequence_4 = { e8???????? c645fc03 8d4318 50 8d4f18 e8???????? 8a4324 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   8d4318               | lea                 eax, dword ptr [ebx + 0x18]
            //   50                   | push                eax
            //   8d4f18               | lea                 ecx, dword ptr [edi + 0x18]
            //   e8????????           |                     
            //   8a4324               | mov                 al, byte ptr [ebx + 0x24]

        $sequence_5 = { f20f1145d0 81ff33010000 0f8e8c000000 81ff56010000 7d60 8bc7 c7450c34010000 }
            // n = 7, score = 400
            //   f20f1145d0           | movsd               qword ptr [ebp - 0x30], xmm0
            //   81ff33010000         | cmp                 edi, 0x133
            //   0f8e8c000000         | jle                 0x92
            //   81ff56010000         | cmp                 edi, 0x156
            //   7d60                 | jge                 0x62
            //   8bc7                 | mov                 eax, edi
            //   c7450c34010000       | mov                 dword ptr [ebp + 0xc], 0x134

        $sequence_6 = { ff7728 e8???????? 59 8bd7 8bcb e8???????? 83662800 }
            // n = 7, score = 400
            //   ff7728               | push                dword ptr [edi + 0x28]
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   8bd7                 | mov                 edx, edi
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     
            //   83662800             | and                 dword ptr [esi + 0x28], 0

        $sequence_7 = { eb08 8338ff 7408 83c004 3b4360 75f3 3b4360 }
            // n = 7, score = 400
            //   eb08                 | jmp                 0xa
            //   8338ff               | cmp                 dword ptr [eax], -1
            //   7408                 | je                  0xa
            //   83c004               | add                 eax, 4
            //   3b4360               | cmp                 eax, dword ptr [ebx + 0x60]
            //   75f3                 | jne                 0xfffffff5
            //   3b4360               | cmp                 eax, dword ptr [ebx + 0x60]

        $sequence_8 = { ff75e8 ff15???????? 837dd000 8b35???????? 7405 ff75d0 ffd6 }
            // n = 7, score = 400
            //   ff75e8               | push                dword ptr [ebp - 0x18]
            //   ff15????????         |                     
            //   837dd000             | cmp                 dword ptr [ebp - 0x30], 0
            //   8b35????????         |                     
            //   7405                 | je                  7
            //   ff75d0               | push                dword ptr [ebp - 0x30]
            //   ffd6                 | call                esi

        $sequence_9 = { f6462c10 7417 ff7510 33f6 68???????? 53 89742424 }
            // n = 7, score = 400
            //   f6462c10             | test                byte ptr [esi + 0x2c], 0x10
            //   7417                 | je                  0x19
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   33f6                 | xor                 esi, esi
            //   68????????           |                     
            //   53                   | push                ebx
            //   89742424             | mov                 dword ptr [esp + 0x24], esi

    condition:
        7 of them and filesize < 1867776
}
[TLP:WHITE] win_adkoob_w0   (20180606 | No description)
rule win_adkoob_w0 {
    meta:
        author = "Felix Weyne, Sophos"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.adkoob"
        malpedia_version = "20180606"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
    strings:
        $facebook_cookie_firefox = "SELECT * FROM moz_cookies WHERE moz_cookies.host LIKE \"%.facebook.com\""  nocase ascii
        $facebook_cookie_chrome = "SELECT * FROM cookies WHERE cookies.host_key LIKE \"%.facebook.com\""  nocase ascii
        $facebook_regex_ad_account_id = "<td [^>]*?data-testid=\"all_accounts_table_account_id_cell\">([^<>]*?)</td>"  nocase wide
        $self_destruction = "/C ping localhost -n 4 > nul & del" nocase wide
    condition:
        all of them
}
Download all Yara Rules