SYMBOLCOMMON_NAMEaka. SYNONYMS
win.comlook (Back to overview)

ComLook

Actor(s): Turla


ComLook is a malicious plugin for the mail client "The Bat!", written in C++ and compiled with MSVC 10.0. It implements malicious commands like PutFile, GetFile, SetConfig, GetConfig, and Command. It contains hard-coded email addresses and other information, indicating a target in Azerbaijan. It was first uploaded to VirusTotal on January 12, 2022, and is associated with the APT group Turla. It appears to be a targeted deployment.

References
2022-01-25Möbius Strip Reverse EngineeringRolf Rolles
@online{rolles:20220125:exhaustively:bbe8a55, author = {Rolf Rolles}, title = {{An Exhaustively Analyzed IDB for ComLook}}, date = {2022-01-25}, organization = {Möbius Strip Reverse Engineering}, url = {https://www.msreverseengineering.com/blog/2022/1/25/an-exhaustively-analyzed-idb-for-comlook}, language = {English}, urldate = {2022-01-28} } An Exhaustively Analyzed IDB for ComLook
ComLook
2022-01-20Twitter (@ClearskySec)ClearSky Cybersecurity
@online{cybersecurity:20220120:comlook:ca9c0aa, author = {ClearSky Cybersecurity}, title = {{Tweet on ComLook backdoor used by Turla}}, date = {2022-01-20}, organization = {Twitter (@ClearskySec)}, url = {https://twitter.com/ClearskySec/status/1484211242474561540}, language = {English}, urldate = {2022-01-25} } Tweet on ComLook backdoor used by Turla
ComLook
Yara Rules
[TLP:WHITE] win_comlook_auto (20230715 | Detects win.comlook.)
rule win_comlook_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.comlook."
        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.comlook"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { b807010000 6685044a 0f95c0 84c0 7507 8a4656 3c5f }
            // n = 7, score = 100
            //   b807010000           | mov                 eax, 0x107
            //   6685044a             | test                word ptr [edx + ecx*2], ax
            //   0f95c0               | setne               al
            //   84c0                 | test                al, al
            //   7507                 | jne                 9
            //   8a4656               | mov                 al, byte ptr [esi + 0x56]
            //   3c5f                 | cmp                 al, 0x5f

        $sequence_1 = { e8???????? 8b08 894d20 8b5004 8b8d7cffffff 895524 8b01 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   894d20               | mov                 dword ptr [ebp + 0x20], ecx
            //   8b5004               | mov                 edx, dword ptr [eax + 4]
            //   8b8d7cffffff         | mov                 ecx, dword ptr [ebp - 0x84]
            //   895524               | mov                 dword ptr [ebp + 0x24], edx
            //   8b01                 | mov                 eax, dword ptr [ecx]

        $sequence_2 = { ebc2 e9???????? 8b450c 0fbe08 83f92f 7524 8b550c }
            // n = 7, score = 100
            //   ebc2                 | jmp                 0xffffffc4
            //   e9????????           |                     
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   0fbe08               | movsx               ecx, byte ptr [eax]
            //   83f92f               | cmp                 ecx, 0x2f
            //   7524                 | jne                 0x26
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]

        $sequence_3 = { ff15???????? 83c404 3bf4 e8???????? b81b000000 e9???????? 8d9554ffffff }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   83c404               | add                 esp, 4
            //   3bf4                 | cmp                 esi, esp
            //   e8????????           |                     
            //   b81b000000           | mov                 eax, 0x1b
            //   e9????????           |                     
            //   8d9554ffffff         | lea                 edx, [ebp - 0xac]

        $sequence_4 = { e9???????? 6a38 6a00 8b550c 52 e8???????? 83c40c }
            // n = 7, score = 100
            //   e9????????           |                     
            //   6a38                 | push                0x38
            //   6a00                 | push                0
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc

        $sequence_5 = { 8b55f8 52 e8???????? 8945f0 8955f4 817df49bc42000 7f27 }
            // n = 7, score = 100
            //   8b55f8               | mov                 edx, dword ptr [ebp - 8]
            //   52                   | push                edx
            //   e8????????           |                     
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   8955f4               | mov                 dword ptr [ebp - 0xc], edx
            //   817df49bc42000       | cmp                 dword ptr [ebp - 0xc], 0x20c49b
            //   7f27                 | jg                  0x29

        $sequence_6 = { e8???????? 8b7510 8b4d08 83c414 3b751c 0f8403010000 3bcb }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8b7510               | mov                 esi, dword ptr [ebp + 0x10]
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   83c414               | add                 esp, 0x14
            //   3b751c               | cmp                 esi, dword ptr [ebp + 0x1c]
            //   0f8403010000         | je                  0x109
            //   3bcb                 | cmp                 ecx, ebx

        $sequence_7 = { e8???????? c745fcffffffff e8???????? 83c40c 83c71c 8bcc 8965ec }
            // n = 7, score = 100
            //   e8????????           |                     
            //   c745fcffffffff       | mov                 dword ptr [ebp - 4], 0xffffffff
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   83c71c               | add                 edi, 0x1c
            //   8bcc                 | mov                 ecx, esp
            //   8965ec               | mov                 dword ptr [ebp - 0x14], esp

        $sequence_8 = { e9???????? 8b8df0fdffff e9???????? 8db56cffffff e9???????? 8d75cc e9???????? }
            // n = 7, score = 100
            //   e9????????           |                     
            //   8b8df0fdffff         | mov                 ecx, dword ptr [ebp - 0x210]
            //   e9????????           |                     
            //   8db56cffffff         | lea                 esi, [ebp - 0x94]
            //   e9????????           |                     
            //   8d75cc               | lea                 esi, [ebp - 0x34]
            //   e9????????           |                     

        $sequence_9 = { e9???????? 8b45ac 83e004 0f840c000000 8365acfb 8d75d0 e9???????? }
            // n = 7, score = 100
            //   e9????????           |                     
            //   8b45ac               | mov                 eax, dword ptr [ebp - 0x54]
            //   83e004               | and                 eax, 4
            //   0f840c000000         | je                  0x12
            //   8365acfb             | and                 dword ptr [ebp - 0x54], 0xfffffffb
            //   8d75d0               | lea                 esi, [ebp - 0x30]
            //   e9????????           |                     

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