win.darkcomet (Back to overview)

DarkComet

aka: Fynloski, klovbot

Actor(s): APT33, Lazarus Group, Operation C-Major

URLhaus        

There is no description at this point.

References
http://contagiodump.blogspot.com/2012/06/rat-samples-from-syrian-targeted.html
https://blog.malwarebytes.com/threat-analysis/2012/06/you-dirty-rat-part-1-darkcomet/
https://blog.malwarebytes.com/threat-analysis/2012/10/dark-comet-2-electric-boogaloo/
https://content.fireeye.com/apt/rpt-apt38
https://darkcomet.net
https://github.com/threatland/TL-TROJAN/tree/master/TL.RAT/RAT.Win.DarkComet
https://www.fireeye.com/blog/threat-research/2016/06/apt_group_sends_spea.html
https://www.symantec.com/blogs/threat-intelligence/elfin-apt33-espionage
Yara Rules
[TLP:WHITE] win_darkcomet_auto (20190620 | autogenerated rule brought to you by yara-signator)
rule win_darkcomet_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-07-05"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.2a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.darkcomet"
        malpedia_version = "20190620"
        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 / approach 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 = { 6a00 53 6868344800 6a00 6a00 e8???????? 50 }
            // n = 7, score = 200
            //   6a00                 | push                0
            //   53                   | push                ebx
            //   6868344800           | push                0x483468
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   e8????????           |                     
            //   50                   | push                eax

        $sequence_1 = { 6846964100 64ff30 648920 33db 3b35???????? 74?? 8b4508 }
            // n = 7, score = 200
            //   6846964100           | push                0x419646
            //   64ff30               | push                dword ptr fs:[eax]
            //   648920               | mov                 dword ptr fs:[eax], esp
            //   33db                 | xor                 ebx, ebx
            //   3b35????????         |                     
            //   74??                 |                     
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]

        $sequence_2 = { 8d95e8dfffff b900200000 8b45ec 8b30 ff560c 8bf0 85f6 }
            // n = 7, score = 200
            //   8d95e8dfffff         | lea                 edx, [ebp - 0x2018]
            //   b900200000           | mov                 ecx, 0x2000
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   8b30                 | mov                 esi, dword ptr [eax]
            //   ff560c               | call                dword ptr [esi + 0xc]
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi

        $sequence_3 = { e9???????? 33ed 837b3000 74?? 8b4b20 ba01000000 d3e2 }
            // n = 7, score = 200
            //   e9????????           |                     
            //   33ed                 | xor                 ebp, ebp
            //   837b3000             | cmp                 dword ptr [ebx + 0x30], 0
            //   74??                 |                     
            //   8b4b20               | mov                 ecx, dword ptr [ebx + 0x20]
            //   ba01000000           | mov                 edx, 1
            //   d3e2                 | shl                 edx, cl

        $sequence_4 = { 75?? c645ef01 eb?? 46 4b 0f8????????? 33c0 }
            // n = 7, score = 200
            //   75??                 |                     
            //   c645ef01             | mov                 byte ptr [ebp - 0x11], 1
            //   eb??                 |                     
            //   46                   | inc                 esi
            //   4b                   | dec                 ebx
            //   0f8?????????         |                     
            //   33c0                 | xor                 eax, eax

        $sequence_5 = { 8d45f8 ba01000000 e8???????? 8d45e8 8b55f8 e8???????? b101 }
            // n = 7, score = 200
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   ba01000000           | mov                 edx, 1
            //   e8????????           |                     
            //   8d45e8               | lea                 eax, [ebp - 0x18]
            //   8b55f8               | mov                 edx, dword ptr [ebp - 8]
            //   e8????????           |                     
            //   b101                 | mov                 cl, 1

        $sequence_6 = { 8d45e4 50 8b55ec b8fc754600 e8???????? 8bc8 49 }
            // n = 7, score = 200
            //   8d45e4               | lea                 eax, [ebp - 0x1c]
            //   50                   | push                eax
            //   8b55ec               | mov                 edx, dword ptr [ebp - 0x14]
            //   b8fc754600           | mov                 eax, 0x4675fc
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax
            //   49                   | dec                 ecx

        $sequence_7 = { 55 68551d4700 64ff30 648920 b201 a1???????? e8???????? }
            // n = 7, score = 200
            //   55                   | push                ebp
            //   68551d4700           | push                0x471d55
            //   64ff30               | push                dword ptr fs:[eax]
            //   648920               | mov                 dword ptr fs:[eax], esp
            //   b201                 | mov                 dl, 1
            //   a1????????           |                     
            //   e8????????           |                     

        $sequence_8 = { 33c0 5a 59 59 648910 6801f74500 8b45f4 }
            // n = 7, score = 200
            //   33c0                 | xor                 eax, eax
            //   5a                   | pop                 edx
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   648910               | mov                 dword ptr fs:[eax], edx
            //   6801f74500           | push                0x45f701
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]

        $sequence_9 = { 64ff30 648920 8bc7 e8???????? 8bd3 b808000000 e8???????? }
            // n = 7, score = 200
            //   64ff30               | push                dword ptr fs:[eax]
            //   648920               | mov                 dword ptr fs:[eax], esp
            //   8bc7                 | mov                 eax, edi
            //   e8????????           |                     
            //   8bd3                 | mov                 edx, ebx
            //   b808000000           | mov                 eax, 8
            //   e8????????           |                     

    condition:
        7 of them
}
Download all Yara Rules