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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        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 = "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 = { ff75e4 8bce 8818 e8???????? 8bf3 8d4de4 e8???????? }
            // n = 7, score = 400
            //   ff75e4               | push                dword ptr [ebp - 0x1c]
            //   8bce                 | mov                 ecx, esi
            //   8818                 | mov                 byte ptr [eax], bl
            //   e8????????           |                     
            //   8bf3                 | mov                 esi, ebx
            //   8d4de4               | lea                 ecx, dword ptr [ebp - 0x1c]
            //   e8????????           |                     

        $sequence_1 = { e8???????? 8b8c24e4000000 5f 5e 5b 33cc e8???????? }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8b8c24e4000000       | mov                 ecx, dword ptr [esp + 0xe4]
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   33cc                 | xor                 ecx, esp
            //   e8????????           |                     

        $sequence_2 = { e8???????? 8bf8 897dc0 85ff 0f849b0c0000 807b1200 7507 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   897dc0               | mov                 dword ptr [ebp - 0x40], edi
            //   85ff                 | test                edi, edi
            //   0f849b0c0000         | je                  0xca1
            //   807b1200             | cmp                 byte ptr [ebx + 0x12], 0
            //   7507                 | jne                 9

        $sequence_3 = { ff75f8 e8???????? e9???????? 8b16 85d2 0f8431ffffff 8b4608 }
            // n = 7, score = 400
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   e8????????           |                     
            //   e9????????           |                     
            //   8b16                 | mov                 edx, dword ptr [esi]
            //   85d2                 | test                edx, edx
            //   0f8431ffffff         | je                  0xffffff37
            //   8b4608               | mov                 eax, dword ptr [esi + 8]

        $sequence_4 = { e8???????? 8bd6 8d4d80 e8???????? 83c41c 50 8bcb }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8bd6                 | mov                 edx, esi
            //   8d4d80               | lea                 ecx, dword ptr [ebp - 0x80]
            //   e8????????           |                     
            //   83c41c               | add                 esp, 0x1c
            //   50                   | push                eax
            //   8bcb                 | mov                 ecx, ebx

        $sequence_5 = { e8???????? 8b55b0 e8???????? 8b8f88000000 894808 8a45ff 8845ff }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8b55b0               | mov                 edx, dword ptr [ebp - 0x50]
            //   e8????????           |                     
            //   8b8f88000000         | mov                 ecx, dword ptr [edi + 0x88]
            //   894808               | mov                 dword ptr [eax + 8], ecx
            //   8a45ff               | mov                 al, byte ptr [ebp - 1]
            //   8845ff               | mov                 byte ptr [ebp - 1], al

        $sequence_6 = { ff742428 0fb64520 8bcb 8b5508 50 ff742428 56 }
            // n = 7, score = 400
            //   ff742428             | push                dword ptr [esp + 0x28]
            //   0fb64520             | movzx               eax, byte ptr [ebp + 0x20]
            //   8bcb                 | mov                 ecx, ebx
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   50                   | push                eax
            //   ff742428             | push                dword ptr [esp + 0x28]
            //   56                   | push                esi

        $sequence_7 = { e8???????? e9???????? 8b431c e9???????? 33c0 be80000000 83fa1d }
            // n = 7, score = 400
            //   e8????????           |                     
            //   e9????????           |                     
            //   8b431c               | mov                 eax, dword ptr [ebx + 0x1c]
            //   e9????????           |                     
            //   33c0                 | xor                 eax, eax
            //   be80000000           | mov                 esi, 0x80
            //   83fa1d               | cmp                 edx, 0x1d

        $sequence_8 = { e9???????? 85ff 7e5e 85d2 7e29 81fecccccc0c 7f4f }
            // n = 7, score = 400
            //   e9????????           |                     
            //   85ff                 | test                edi, edi
            //   7e5e                 | jle                 0x60
            //   85d2                 | test                edx, edx
            //   7e29                 | jle                 0x2b
            //   81fecccccc0c         | cmp                 esi, 0xccccccc
            //   7f4f                 | jg                  0x51

        $sequence_9 = { 8b3b 897c2418 752c 50 8bd6 8bcb e8???????? }
            // n = 7, score = 400
            //   8b3b                 | mov                 edi, dword ptr [ebx]
            //   897c2418             | mov                 dword ptr [esp + 0x18], edi
            //   752c                 | jne                 0x2e
            //   50                   | push                eax
            //   8bd6                 | mov                 edx, esi
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     

    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