SYMBOLCOMMON_NAMEaka. SYNONYMS
win.spedear (Back to overview)

Spedear

Actor(s): Thrip


There is no description at this point.

References
2018-06-19SymantecSecurity Response Attack Investigation Team
@online{team:20180619:thrip:4662184, author = {Security Response Attack Investigation Team}, title = {{Thrip: Espionage Group Hits Satellite, Telecoms, and Defense Companies}}, date = {2018-06-19}, organization = {Symantec}, url = {https://www.symantec.com/blogs/threat-intelligence/thrip-hits-satellite-telecoms-defense-targets}, language = {English}, urldate = {2020-01-09} } Thrip: Espionage Group Hits Satellite, Telecoms, and Defense Companies
Catchamas Rikamanu Spedear WMI Ghost Thrip
Yara Rules
[TLP:WHITE] win_spedear_auto (20220808 | Detects win.spedear.)
rule win_spedear_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-08-05"
        version = "1"
        description = "Detects win.spedear."
        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.spedear"
        malpedia_rule_date = "20220805"
        malpedia_hash = "6ec06c64bcfdbeda64eff021c766b4ce34542b71"
        malpedia_version = "20220808"
        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 = { 99 83e207 03c2 c1f803 83c40c }
            // n = 5, score = 600
            // 
            //   83e207               | and                 edx, 7
            //   03c2                 | add                 eax, edx
            //   c1f803               | sar                 eax, 3
            //   83c40c               | add                 esp, 0xc

        $sequence_1 = { 8b4718 8a5f06 50 894608 e8???????? }
            // n = 5, score = 500
            //   8b4718               | mov                 eax, dword ptr [edi + 0x18]
            //   8a5f06               | mov                 bl, byte ptr [edi + 6]
            //   50                   | push                eax
            //   894608               | mov                 dword ptr [esi + 8], eax
            //   e8????????           |                     

        $sequence_2 = { 50 e8???????? 8b7e0c 895e10 }
            // n = 4, score = 500
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b7e0c               | mov                 edi, dword ptr [esi + 0xc]
            //   895e10               | mov                 dword ptr [esi + 0x10], ebx

        $sequence_3 = { 7314 57 e8???????? 83c404 5f }
            // n = 5, score = 400
            //   7314                 | jae                 0x16
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   5f                   | pop                 edi

        $sequence_4 = { 338c8248080000 0fb7c3 038c82480c0000 33ce 836c241001 }
            // n = 5, score = 400
            //   338c8248080000       | xor                 ecx, dword ptr [edx + eax*4 + 0x848]
            //   0fb7c3               | movzx               eax, bx
            //   038c82480c0000       | add                 ecx, dword ptr [edx + eax*4 + 0xc48]
            //   33ce                 | xor                 ecx, esi
            //   836c241001           | sub                 dword ptr [esp + 0x10], 1

        $sequence_5 = { 0fb60c30 c1e208 40 0bca 3bc3 7c02 33c0 }
            // n = 7, score = 400
            //   0fb60c30             | movzx               ecx, byte ptr [eax + esi]
            //   c1e208               | shl                 edx, 8
            //   40                   | inc                 eax
            //   0bca                 | or                  ecx, edx
            //   3bc3                 | cmp                 eax, ebx
            //   7c02                 | jl                  4
            //   33c0                 | xor                 eax, eax

        $sequence_6 = { 0fb6c0 038c8248040000 0fb7442414 338c8248080000 0fb7c5 }
            // n = 5, score = 400
            //   0fb6c0               | movzx               eax, al
            //   038c8248040000       | add                 ecx, dword ptr [edx + eax*4 + 0x448]
            //   0fb7442414           | movzx               eax, word ptr [esp + 0x14]
            //   338c8248080000       | xor                 ecx, dword ptr [edx + eax*4 + 0x848]
            //   0fb7c5               | movzx               eax, bp

        $sequence_7 = { 837f0800 7505 32c0 c20400 }
            // n = 4, score = 400
            //   837f0800             | cmp                 dword ptr [edi + 8], 0
            //   7505                 | jne                 7
            //   32c0                 | xor                 al, al
            //   c20400               | ret                 4

        $sequence_8 = { 6a00 68???????? e8???????? 83c40c 68d0070000 }
            // n = 5, score = 400
            //   6a00                 | push                0
            //   68????????           |                     
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   68d0070000           | push                0x7d0

        $sequence_9 = { 894618 ffd7 89461c 5f }
            // n = 4, score = 400
            //   894618               | mov                 dword ptr [esi + 0x18], eax
            //   ffd7                 | call                edi
            //   89461c               | mov                 dword ptr [esi + 0x1c], eax
            //   5f                   | pop                 edi

        $sequence_10 = { 8bc7 5e 5f 5b 5d c3 6a08 }
            // n = 7, score = 300
            //   8bc7                 | mov                 eax, edi
            //   5e                   | pop                 esi
            //   5f                   | pop                 edi
            //   5b                   | pop                 ebx
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   6a08                 | push                8

        $sequence_11 = { 6a00 6a00 ff7608 ff5604 6800800000 }
            // n = 5, score = 300
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   ff7608               | push                dword ptr [esi + 8]
            //   ff5604               | call                dword ptr [esi + 4]
            //   6800800000           | push                0x8000

        $sequence_12 = { 394878 7456 39487c 7451 }
            // n = 4, score = 300
            //   394878               | cmp                 dword ptr [eax + 0x78], ecx
            //   7456                 | je                  0x58
            //   39487c               | cmp                 dword ptr [eax + 0x7c], ecx
            //   7451                 | je                  0x53

        $sequence_13 = { ff5604 6800800000 6a00 ff7608 ff15???????? }
            // n = 5, score = 300
            //   ff5604               | call                dword ptr [esi + 4]
            //   6800800000           | push                0x8000
            //   6a00                 | push                0
            //   ff7608               | push                dword ptr [esi + 8]
            //   ff15????????         |                     

        $sequence_14 = { 833e00 741a 6a00 6a00 }
            // n = 4, score = 300
            //   833e00               | cmp                 dword ptr [esi], 0
            //   741a                 | je                  0x1c
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_15 = { 668b4c4310 66890c45f4282400 40 ebe8 }
            // n = 4, score = 100
            //   668b4c4310           | mov                 cx, word ptr [ebx + eax*2 + 0x10]
            //   66890c45f4282400     | mov                 word ptr [eax*2 + 0x2428f4], cx
            //   40                   | inc                 eax
            //   ebe8                 | jmp                 0xffffffea

        $sequence_16 = { 33c0 8365fc00 bf???????? ab ab 33c0 }
            // n = 6, score = 100
            //   33c0                 | xor                 eax, eax
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   bf????????           |                     
            //   ab                   | stosd               dword ptr es:[edi], eax
            //   ab                   | stosd               dword ptr es:[edi], eax
            //   33c0                 | xor                 eax, eax

        $sequence_17 = { 8b54245c 4c8d0d0bc8ffff 41bb00020000 408a2f }
            // n = 4, score = 100
            //   8b54245c             | lea                 ecx, [0x9f0b]
            //   4c8d0d0bc8ffff       | dec                 eax
            //   41bb00020000         | lea                 edx, [0xa1fa]
            //   408a2f               | dec                 esp

        $sequence_18 = { 660f1f440000 8bf2 498beb 41bc10000000 0f1f440000 337500 4883c504 }
            // n = 7, score = 100
            //   660f1f440000         | test                eax, eax
            //   8bf2                 | dec                 eax
            //   498beb               | sub                 esp, 0x78
            //   41bc10000000         | dec                 eax
            //   0f1f440000           | xor                 eax, esp
            //   337500               | dec                 eax
            //   4883c504             | mov                 dword ptr [esp + 0x68], eax

        $sequence_19 = { 443bc0 440f4cc0 4983c128 4983c228 4883eb01 75cf 488b1c24 }
            // n = 7, score = 100
            //   443bc0               | dec                 eax
            //   440f4cc0             | mov                 eax, edx
            //   4983c128             | dec                 eax
            //   4983c228             | mov                 edi, edx
            //   4883eb01             | dec                 eax
            //   75cf                 | mov                 ebx, ecx
            //   488b1c24             | dec                 eax

        $sequence_20 = { 8bcb ff15???????? e8???????? 488d15966c0000 488d0d6f6c0000 e8???????? 85c0 }
            // n = 7, score = 100
            //   8bcb                 | lea                 eax, [0x3b83]
            //   ff15????????         |                     
            //   e8????????           |                     
            //   488d15966c0000       | mov                 edx, dword ptr [esp + 0x5c]
            //   488d0d6f6c0000       | dec                 esp
            //   e8????????           |                     
            //   85c0                 | lea                 ecx, [0xffffc80b]

        $sequence_21 = { 4883ec78 488b05???????? 4833c4 4889442468 488bc2 }
            // n = 5, score = 100
            //   4883ec78             | inc                 ecx
            //   488b05????????       |                     
            //   4833c4               | mov                 ebx, 0x200
            //   4889442468           | inc                 eax
            //   488bc2               | mov                 ch, byte ptr [edi]

        $sequence_22 = { 488bfa 488bd9 488d4c2420 488d15e8660000 41b840000000 e8???????? }
            // n = 6, score = 100
            //   488bfa               | mov                 ecx, ebx
            //   488bd9               | dec                 eax
            //   488d4c2420           | lea                 edx, [0x6c96]
            //   488d15e8660000       | dec                 eax
            //   41b840000000         | lea                 ecx, [0x6c6f]
            //   e8????????           |                     

        $sequence_23 = { 4883f83c 7646 488d0d0b9f0000 e8???????? 488d15faa10000 4c8d05833b0000 }
            // n = 6, score = 100
            //   4883f83c             | mov                 ecx, edi
            //   7646                 | dec                 eax
            //   488d0d0b9f0000       | cmp                 eax, 0x3c
            //   e8????????           |                     
            //   488d15faa10000       | jbe                 0x48
            //   4c8d05833b0000       | dec                 eax

        $sequence_24 = { e8???????? 68???????? 56 e8???????? ff7508 e8???????? 8bc8 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   68????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax

        $sequence_25 = { ff15???????? 817c2448a0450000 7410 488bcf }
            // n = 4, score = 100
            //   ff15????????         |                     
            //   817c2448a0450000     | cmp                 dword ptr [esp + 0x48], 0x45a0
            //   7410                 | je                  0x12
            //   488bcf               | dec                 eax

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