SYMBOLCOMMON_NAMEaka. SYNONYMS
win.cadelspy (Back to overview)

CadelSpy

aka: Cadelle

There is no description at this point.

References
2015-12-07SymantecSymantec
@techreport{symantec:20151207:backdoorcadelspy:6a40e51, author = {Symantec}, title = {{Backdoor.Cadelspy and Backdoor.Remexi: indicators of compromise}}, date = {2015-12-07}, institution = {Symantec}, url = {http://www.symantec.com/content/en/us/enterprise/media/security_response/docs/CadelSpy-Remexi-IOC.pdf}, language = {English}, urldate = {2020-01-06} } Backdoor.Cadelspy and Backdoor.Remexi: indicators of compromise
CadelSpy Remexi
2015-12-07SymantecSecurity Response
@online{response:20151207:iranbased:5e7136f, author = {Security Response}, title = {{Iran-based attackers use back door threats to spy on Middle Eastern targets}}, date = {2015-12-07}, organization = {Symantec}, url = {https://web.archive.org/web/20191221064439/https://www.symantec.com/connect/blogs/iran-based-attackers-use-back-door-threats-spy-middle-eastern-targets}, language = {English}, urldate = {2020-04-21} } Iran-based attackers use back door threats to spy on Middle Eastern targets
CadelSpy Remexi Cadelle
Yara Rules
[TLP:WHITE] win_cadelspy_auto (20220411 | Detects win.cadelspy.)
rule win_cadelspy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.cadelspy."
        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.cadelspy"
        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 = { 89742430 89742434 89742438 e8???????? 83c40c 8d442408 }
            // n = 6, score = 100
            //   89742430             | mov                 dword ptr [esp + 0x30], esi
            //   89742434             | mov                 dword ptr [esp + 0x34], esi
            //   89742438             | mov                 dword ptr [esp + 0x38], esi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d442408             | lea                 eax, dword ptr [esp + 8]

        $sequence_1 = { c6458400 e8???????? ff7580 8d4584 6a01 53 50 }
            // n = 7, score = 100
            //   c6458400             | mov                 byte ptr [ebp - 0x7c], 0
            //   e8????????           |                     
            //   ff7580               | push                dword ptr [ebp - 0x80]
            //   8d4584               | lea                 eax, dword ptr [ebp - 0x7c]
            //   6a01                 | push                1
            //   53                   | push                ebx
            //   50                   | push                eax

        $sequence_2 = { 68???????? 8bd8 8d4580 57 50 e8???????? }
            // n = 6, score = 100
            //   68????????           |                     
            //   8bd8                 | mov                 ebx, eax
            //   8d4580               | lea                 eax, dword ptr [ebp - 0x80]
            //   57                   | push                edi
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_3 = { 668907 eb14 837d8c06 750e 68???????? 8bce 8bd7 }
            // n = 7, score = 100
            //   668907               | mov                 word ptr [edi], ax
            //   eb14                 | jmp                 0x16
            //   837d8c06             | cmp                 dword ptr [ebp - 0x74], 6
            //   750e                 | jne                 0x10
            //   68????????           |                     
            //   8bce                 | mov                 ecx, esi
            //   8bd7                 | mov                 edx, edi

        $sequence_4 = { 56 ff7510 6a64 59 e8???????? }
            // n = 5, score = 100
            //   56                   | push                esi
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   6a64                 | push                0x64
            //   59                   | pop                 ecx
            //   e8????????           |                     

        $sequence_5 = { 75f6 2bc1 d1f8 33f6 3bc7 }
            // n = 5, score = 100
            //   75f6                 | jne                 0xfffffff8
            //   2bc1                 | sub                 eax, ecx
            //   d1f8                 | sar                 eax, 1
            //   33f6                 | xor                 esi, esi
            //   3bc7                 | cmp                 eax, edi

        $sequence_6 = { e8???????? 8d45f0 e8???????? 8bc6 e8???????? }
            // n = 5, score = 100
            //   e8????????           |                     
            //   8d45f0               | lea                 eax, dword ptr [ebp - 0x10]
            //   e8????????           |                     
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     

        $sequence_7 = { 33c0 eb03 0fb6c0 660fb64c3d85 c1e008 6603c8 47 }
            // n = 7, score = 100
            //   33c0                 | xor                 eax, eax
            //   eb03                 | jmp                 5
            //   0fb6c0               | movzx               eax, al
            //   660fb64c3d85         | movzx               cx, byte ptr [ebp + edi - 0x7b]
            //   c1e008               | shl                 eax, 8
            //   6603c8               | add                 cx, ax
            //   47                   | inc                 edi

        $sequence_8 = { 8d86cc880000 5f 0fb6540d89 83ea30 8910 41 83c004 }
            // n = 7, score = 100
            //   8d86cc880000         | lea                 eax, dword ptr [esi + 0x88cc]
            //   5f                   | pop                 edi
            //   0fb6540d89           | movzx               edx, byte ptr [ebp + ecx - 0x77]
            //   83ea30               | sub                 edx, 0x30
            //   8910                 | mov                 dword ptr [eax], edx
            //   41                   | inc                 ecx
            //   83c004               | add                 eax, 4

        $sequence_9 = { 7507 e8???????? eb5f 57 8b7d08 85ff 750a }
            // n = 7, score = 100
            //   7507                 | jne                 9
            //   e8????????           |                     
            //   eb5f                 | jmp                 0x61
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   85ff                 | test                edi, edi
            //   750a                 | jne                 0xc

    condition:
        7 of them and filesize < 204800
}
[TLP:WHITE] win_cadelspy_w0   (20170410 | No description)
rule win_cadelspy_w0 {
    meta:
        author = "Symantec"
        source = "http://www.symantec.com/content/en/us/enterprise/media/security_response/docs/CadelSpy-Remexi-IOC.pdf"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cadelspy"
        malpedia_version = "20170410"
        malpedia_sharing = "TLP:WHITE"
        malpedia_license = ""
    strings:
        $s1 = { 
                56 57 8B F8 8B F1 33 C0 3B F0 74 22 39 44 24 0C
                74 18 0F B7 0F 66 3B C8 74 10 66 89 0A 42 42 47
                47 4E FF 4C 24 0C 3B F0 75 E2 3B F0 75 07 4A 4A
                B8 7A 00 07 80 33 C9 5F 66 89 0A 5E C2 04 00
              }
        $s2 = "ntsvc32"
        $s3 = "ntbind32"
    condition:
        $s1 and ($s2 or $s3)
}
[TLP:WHITE] win_cadelspy_w1   (20170410 | No description)
rule win_cadelspy_w1 {
    meta:
        author = "Symantec"
        source = "http://www.symantec.com/content/en/us/enterprise/media/security_response/docs/CadelSpy-Remexi-IOC.pdf"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cadelspy"
        malpedia_version = "20170410"
        malpedia_sharing = "TLP:WHITE"
        malpedia_license = ""
    strings:
        $s1  = "[EXECUTE]" wide ascii
        $s2  = "WebCamCapture" wide ascii
        $s3  = "</DAY>" wide ascii
        $s4  =
        "</DOCUMENT>" wide ascii
        $s5  = "<DOCUMENT>" wide ascii
        $s6  = "<DATETIME>" wide ascii
        $s7  = "Can't open file for reading :" wide ascii
        $s8  = "</DATETIME>" wide ascii
        $s9  = "</USERNAME>" wide ascii
        $s10 = "JpegFile :" wide ascii
        $s12 = "[SCROLL]" wide ascii
        $s13 = "<YEAR>" wide ascii
        $s14 = "CURRENT DATE" wide ascii
        $s15 = "</YEAR>" wide ascii
        $s16 = "</MONTH>" wide ascii
        $s17 = "<PRINTERNAME>" wide ascii
        $s18 = "</DRIVE>" wide ascii
        $s19 = "<DATATYPE>" wide ascii
        $s20 = "<MACADDRESS>" wide ascii
        $s21 = "FlashMemory" wide ascii
    condition:
        12 of them
}
[TLP:WHITE] win_cadelspy_w2   (20170410 | No description)
rule win_cadelspy_w2 {
    meta:
        author = "Symantec"
        source = "http://www.symantec.com/content/en/us/enterprise/media/security_response/docs/CadelSpy-Remexi-IOC.pdf"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cadelspy"
        malpedia_version = "20170410"
        malpedia_sharing = "TLP:WHITE"
        malpedia_license = ""
    strings:
        $s1  = "SOFTWARE\\ntsvc32\\HDD" wide ascii
        $s2  = "SOFTWARE\\ntsvc32\\ROU" wide ascii
        $s3  = "SOFTWARE\\ntsvc32\\HST" wide ascii
        $s4  = "SOFTWARE\\ntsvc32\\FLS" wide ascii
        $s5  = "ntsvc32" wide ascii
        $s6  = ".Win$py." wide ascii
        $s7  = "C:\\users\\" wide ascii
        $s8  = "%system32%" wide ascii
        $s9  = "\\Local Settings\\Temp" wide ascii
        $s10 = "SVWATAUAVAW" wide ascii
        $s11 = "\\AppData\\Local" wide ascii
        $s12 = "\\AppData" wide ascii
    condition:
        6 of them
}
[TLP:WHITE] win_cadelspy_w3   (20170410 | No description)
rule win_cadelspy_w3 {
    meta:
        author = "Symantec"
        source = "http://www.symantec.com/content/en/us/enterprise/media/security_response/docs/CadelSpy-Remexi-IOC.pdf"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cadelspy"
        malpedia_version = "20170410"
        malpedia_sharing = "TLP:WHITE"
        malpedia_license = ""
    strings:
        $s1 = "AppInit_DLLs" wide ascii
        $s2 = { 5C 00 62 00 61 00 63 00 6B 00 75 00 70 00 00 }
        $s3 = { 5C 00 75 00 70 00 64 00 61 00 74 00 65 00 00 }
        $s4 = "\\cmd.exe" wide ascii
    condition:
        all of them
}
Download all Yara Rules