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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        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 = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { eb04 8b5c2428 8b4e08 85c9 7415 837e2400 7e0f }
            // n = 7, score = 400
            //   eb04                 | jmp                 6
            //   8b5c2428             | mov                 ebx, dword ptr [esp + 0x28]
            //   8b4e08               | mov                 ecx, dword ptr [esi + 8]
            //   85c9                 | test                ecx, ecx
            //   7415                 | je                  0x17
            //   837e2400             | cmp                 dword ptr [esi + 0x24], 0
            //   7e0f                 | jle                 0x11

        $sequence_1 = { e8???????? 8b55c8 8bcf 8d52ff e8???????? 8b8f88000000 894808 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8b55c8               | mov                 edx, dword ptr [ebp - 0x38]
            //   8bcf                 | mov                 ecx, edi
            //   8d52ff               | lea                 edx, [edx - 1]
            //   e8????????           |                     
            //   8b8f88000000         | mov                 ecx, dword ptr [edi + 0x88]
            //   894808               | mov                 dword ptr [eax + 8], ecx

        $sequence_2 = { ff7598 e8???????? 8b957cffffff 83c40c 33c0 8bce 40 }
            // n = 7, score = 400
            //   ff7598               | push                dword ptr [ebp - 0x68]
            //   e8????????           |                     
            //   8b957cffffff         | mov                 edx, dword ptr [ebp - 0x84]
            //   83c40c               | add                 esp, 0xc
            //   33c0                 | xor                 eax, eax
            //   8bce                 | mov                 ecx, esi
            //   40                   | inc                 eax

        $sequence_3 = { ff75cc 8d4de8 897de8 e8???????? c645fc06 8b45e8 85c0 }
            // n = 7, score = 400
            //   ff75cc               | push                dword ptr [ebp - 0x34]
            //   8d4de8               | lea                 ecx, [ebp - 0x18]
            //   897de8               | mov                 dword ptr [ebp - 0x18], edi
            //   e8????????           |                     
            //   c645fc06             | mov                 byte ptr [ebp - 4], 6
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]
            //   85c0                 | test                eax, eax

        $sequence_4 = { ff7508 50 e8???????? 6a00 6a01 8d4ddc 8ad8 }
            // n = 7, score = 400
            //   ff7508               | push                dword ptr [ebp + 8]
            //   50                   | push                eax
            //   e8????????           |                     
            //   6a00                 | push                0
            //   6a01                 | push                1
            //   8d4ddc               | lea                 ecx, [ebp - 0x24]
            //   8ad8                 | mov                 bl, al

        $sequence_5 = { 8b450c 85c0 7503 8b4114 56 8b7508 832600 }
            // n = 7, score = 400
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   85c0                 | test                eax, eax
            //   7503                 | jne                 5
            //   8b4114               | mov                 eax, dword ptr [ecx + 0x14]
            //   56                   | push                esi
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   832600               | and                 dword ptr [esi], 0

        $sequence_6 = { e8???????? ffb55cfeffff 8bf8 8b07 8b4004 c644384030 51 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   ffb55cfeffff         | push                dword ptr [ebp - 0x1a4]
            //   8bf8                 | mov                 edi, eax
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   8b4004               | mov                 eax, dword ptr [eax + 4]
            //   c644384030           | mov                 byte ptr [eax + edi + 0x40], 0x30
            //   51                   | push                ecx

        $sequence_7 = { e8???????? 8bd8 85db 7441 6a00 8d4604 50 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8bd8                 | mov                 ebx, eax
            //   85db                 | test                ebx, ebx
            //   7441                 | je                  0x43
            //   6a00                 | push                0
            //   8d4604               | lea                 eax, [esi + 4]
            //   50                   | push                eax

        $sequence_8 = { 8bf9 8945b4 8955a8 897dac 0fb74f42 8bc1 81e100fe0000 }
            // n = 7, score = 400
            //   8bf9                 | mov                 edi, ecx
            //   8945b4               | mov                 dword ptr [ebp - 0x4c], eax
            //   8955a8               | mov                 dword ptr [ebp - 0x58], edx
            //   897dac               | mov                 dword ptr [ebp - 0x54], edi
            //   0fb74f42             | movzx               ecx, word ptr [edi + 0x42]
            //   8bc1                 | mov                 eax, ecx
            //   81e100fe0000         | and                 ecx, 0xfe00

        $sequence_9 = { eb02 33c0 33c9 8d5f4c 41 894dfc 8903 }
            // n = 7, score = 400
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax
            //   33c9                 | xor                 ecx, ecx
            //   8d5f4c               | lea                 ebx, [edi + 0x4c]
            //   41                   | inc                 ecx
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   8903                 | mov                 dword ptr [ebx], eax

    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