SYMBOLCOMMON_NAMEaka. SYNONYMS
win.cloud_duke (Back to overview)

Cloud Duke

Actor(s): APT 29


There is no description at this point.

References
2015-07-22F-SecureArtturi Lehtiö
@online{lehti:20150722:duke:8f54e8b, author = {Artturi Lehtiö}, title = {{Duke APT group's latest tools: cloud services and Linux support}}, date = {2015-07-22}, organization = {F-Secure}, url = {https://www.f-secure.com/weblog/archives/00002822.html}, language = {English}, urldate = {2019-10-15} } Duke APT group's latest tools: cloud services and Linux support
Cloud Duke
Yara Rules
[TLP:WHITE] win_cloud_duke_auto (20211008 | Detects win.cloud_duke.)
rule win_cloud_duke_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        version = "1"
        description = "Detects win.cloud_duke."
        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.cloud_duke"
        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 = { 56 e8???????? 83c404 8d8d98f2ffff e8???????? 8d8d38f2ffff e8???????? }
            // n = 7, score = 100
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8d8d98f2ffff         | lea                 ecx, dword ptr [ebp - 0xd68]
            //   e8????????           |                     
            //   8d8d38f2ffff         | lea                 ecx, dword ptr [ebp - 0xdc8]
            //   e8????????           |                     

        $sequence_1 = { 50 53 8d442438 50 e8???????? }
            // n = 5, score = 100
            //   50                   | push                eax
            //   53                   | push                ebx
            //   8d442438             | lea                 eax, dword ptr [esp + 0x38]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_2 = { 83c602 eba9 8b0c95986fa500 8a441904 a840 7508 0c02 }
            // n = 7, score = 100
            //   83c602               | add                 esi, 2
            //   eba9                 | jmp                 0xffffffab
            //   8b0c95986fa500       | mov                 ecx, dword ptr [edx*4 + 0xa56f98]
            //   8a441904             | mov                 al, byte ptr [ecx + ebx + 4]
            //   a840                 | test                al, 0x40
            //   7508                 | jne                 0xa
            //   0c02                 | or                  al, 2

        $sequence_3 = { 3c74 3c94 3ca0 3cc0 3cc8 3cd0 }
            // n = 6, score = 100
            //   3c74                 | cmp                 al, 0x74
            //   3c94                 | cmp                 al, 0x94
            //   3ca0                 | cmp                 al, 0xa0
            //   3cc0                 | cmp                 al, 0xc0
            //   3cc8                 | cmp                 al, 0xc8
            //   3cd0                 | cmp                 al, 0xd0

        $sequence_4 = { e8???????? 68???????? 8d8d28f3ffff e8???????? 8b3d???????? }
            // n = 5, score = 100
            //   e8????????           |                     
            //   68????????           |                     
            //   8d8d28f3ffff         | lea                 ecx, dword ptr [ebp - 0xcd8]
            //   e8????????           |                     
            //   8b3d????????         |                     

        $sequence_5 = { e8???????? 8d8d54ebffff e8???????? 83bda8f2ffff00 0f849f020000 }
            // n = 5, score = 100
            //   e8????????           |                     
            //   8d8d54ebffff         | lea                 ecx, dword ptr [ebp - 0x14ac]
            //   e8????????           |                     
            //   83bda8f2ffff00       | cmp                 dword ptr [ebp - 0xd58], 0
            //   0f849f020000         | je                  0x2a5

        $sequence_6 = { 0f8848050000 8b4508 83f806 0f8563020000 8d85f4fdffff }
            // n = 5, score = 100
            //   0f8848050000         | js                  0x54e
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   83f806               | cmp                 eax, 6
            //   0f8563020000         | jne                 0x269
            //   8d85f4fdffff         | lea                 eax, dword ptr [ebp - 0x20c]

        $sequence_7 = { 83bc248400000002 0f44ca 83bc24d000000008 51 6a00 6a00 6a00 }
            // n = 7, score = 100
            //   83bc248400000002     | cmp                 dword ptr [esp + 0x84], 2
            //   0f44ca               | cmove               ecx, edx
            //   83bc24d000000008     | cmp                 dword ptr [esp + 0xd0], 8
            //   51                   | push                ecx
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_8 = { 8b0485986fa500 80643004fd 8b45f8 8b55fc 5f 5e 8be5 }
            // n = 7, score = 100
            //   8b0485986fa500       | mov                 eax, dword ptr [eax*4 + 0xa56f98]
            //   80643004fd           | and                 byte ptr [eax + esi + 4], 0xfd
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   8be5                 | mov                 esp, ebp

        $sequence_9 = { 0f8561010000 3d01370000 0f8656010000 0500c9ffff }
            // n = 4, score = 100
            //   0f8561010000         | jne                 0x167
            //   3d01370000           | cmp                 eax, 0x3701
            //   0f8656010000         | jbe                 0x15c
            //   0500c9ffff           | add                 eax, 0xffffc900

    condition:
        7 of them and filesize < 360448
}
[TLP:WHITE] win_cloud_duke_w0   (20170521 | Detects CloudDuke Malware)
rule win_cloud_duke_w0 {
	meta:
		description = "Detects CloudDuke Malware"
		author = "Florian Roth"
		reference = "https://www.f-secure.com/weblog/archives/00002822.html"
		date = "2015-07-22"
		score = 60
		hash = "97d8725e39d263ed21856477ed09738755134b5c0d0b9ae86ebb1cdd4cdc18b7"
		hash = "88a40d5b679bccf9641009514b3d18b09e68b609ffaf414574a6eca6536e8b8f"
		hash = "1d4ac97d43fab1d464017abb5d57a6b4601f99eaa93b01443427ef25ae5127f7"
		hash = "ed7abf93963395ce9c9cba83a864acb4ed5b6e57fd9a6153f0248b8ccc4fdb46"
		hash = "ee5eb9d57c3611e91a27bb1fc2d0aaa6bbfa6c69ab16e65e7123c7c49d46f145"
		hash = "a713982d04d2048a575912a5fc37c93091619becd5b21e96f049890435940004"
		hash = "56ac764b81eb216ebed5a5ad38e703805ba3e1ca7d63501ba60a1fb52c7ebb6e"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cloud_duke"
        malpedia_version = "20170521"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
	strings:
		$s1 = "ProcDataWrap" fullword ascii
		$s2 = "imagehlp.dll" fullword ascii
		$s3 = "dnlibsh" fullword ascii
		$s4 = "%ws_out%ws" fullword wide
		$s5 = "Akernel32.dll" fullword wide

		$op0 = { 0f b6 80 68 0e 41 00 0b c8 c1 e1 08 0f b6 c2 8b } /* Opcode */
		$op1 = { 8b ce e8 f8 01 00 00 85 c0 74 41 83 7d f8 00 0f } /* Opcode */
		$op2 = { e8 2f a2 ff ff 83 20 00 83 c8 ff 5f 5e 5d c3 55 } /* Opcode */
	condition:
		filesize < 720KB and 4 of ($s*) and 1 of ($op*)
}
Download all Yara Rules