SYMBOLCOMMON_NAMEaka. SYNONYMS
win.dinodas_rat (Back to overview)

DinodasRAT

aka: XDealer
VTCollection    

There is no description at this point.

References
2024-03-19 ⋅ Rewterz Information Security ⋅ Rewterz Information Security
China-Linked Earth Krahang APT Breached 70 Organizations in 23 Nations – Active IOCs
Cobalt Strike DinodasRAT Reshell Earth Krahang
2024-03-18 ⋅ Trend Micro ⋅ Daniel Lunghi, Joseph C Chen
Earth Krahang Exploits Intergovernmental Trust to Launch Cross-Government Attacks
DinodasRAT PlugX Reshell ShadowPad Earth Krahang
2023-10-05 ⋅ ESET Research ⋅ Fernando Tavella
Operation Jacana: Foundling hobbits in Guyana
DinodasRAT
Yara Rules
[TLP:WHITE] win_dinodas_rat_auto (20260917 | Detects win.dinodas_rat.)
rule win_dinodas_rat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.dinodas_rat."
        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.dinodas_rat"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { c3 8bda 2bd8 8bfe e8???????? 5f 5e }
            // n = 7, score = 100
            //   c3                   | ret                 
            //   8bda                 | mov                 ebx, edx
            //   2bd8                 | sub                 ebx, eax
            //   8bfe                 | mov                 edi, esi
            //   e8????????           |                     
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi

        $sequence_1 = { 8b542420 52 e8???????? 83c404 8b442414 83c0f0 }
            // n = 6, score = 100
            //   8b542420             | mov                 edx, dword ptr [esp + 0x20]
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b442414             | mov                 eax, dword ptr [esp + 0x14]
            //   83c0f0               | add                 eax, -0x10

        $sequence_2 = { 64a300000000 be???????? c745fc00000000 8975f0 c645fc01 a1???????? 8b08 }
            // n = 7, score = 100
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   be????????           |                     
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0
            //   8975f0               | mov                 dword ptr [ebp - 0x10], esi
            //   c645fc01             | mov                 byte ptr [ebp - 4], 1
            //   a1????????           |                     
            //   8b08                 | mov                 ecx, dword ptr [eax]

        $sequence_3 = { ff15???????? 391d???????? 7415 8b45f0 8b0d???????? }
            // n = 5, score = 100
            //   ff15????????         |                     
            //   391d????????         |                     
            //   7415                 | je                  0x17
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   8b0d????????         |                     

        $sequence_4 = { 57 51 e8???????? 83c40c 8b15???????? 52 ff15???????? }
            // n = 7, score = 100
            //   57                   | push                edi
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8b15????????         |                     
            //   52                   | push                edx
            //   ff15????????         |                     

        $sequence_5 = { c78530ffffff10000000 ffd7 8bd8 8d8530ffffff 50 8b06 8d8d34ffffff }
            // n = 7, score = 100
            //   c78530ffffff10000000     | mov    dword ptr [ebp - 0xd0], 0x10
            //   ffd7                 | call                edi
            //   8bd8                 | mov                 ebx, eax
            //   8d8530ffffff         | lea                 eax, [ebp - 0xd0]
            //   50                   | push                eax
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   8d8d34ffffff         | lea                 ecx, [ebp - 0xcc]

        $sequence_6 = { 397de8 7303 8d45d4 8d4dd0 51 68???????? 50 }
            // n = 7, score = 100
            //   397de8               | cmp                 dword ptr [ebp - 0x18], edi
            //   7303                 | jae                 5
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   8d4dd0               | lea                 ecx, [ebp - 0x30]
            //   51                   | push                ecx
            //   68????????           |                     
            //   50                   | push                eax

        $sequence_7 = { c745dc0f000000 895dd8 885dc8 39751c 720c 8b4d08 51 }
            // n = 7, score = 100
            //   c745dc0f000000       | mov                 dword ptr [ebp - 0x24], 0xf
            //   895dd8               | mov                 dword ptr [ebp - 0x28], ebx
            //   885dc8               | mov                 byte ptr [ebp - 0x38], bl
            //   39751c               | cmp                 dword ptr [ebp + 0x1c], esi
            //   720c                 | jb                  0xe
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   51                   | push                ecx

        $sequence_8 = { 894db8 8945c0 eb09 8b5db4 8b45c0 8b4db8 8d3408 }
            // n = 7, score = 100
            //   894db8               | mov                 dword ptr [ebp - 0x48], ecx
            //   8945c0               | mov                 dword ptr [ebp - 0x40], eax
            //   eb09                 | jmp                 0xb
            //   8b5db4               | mov                 ebx, dword ptr [ebp - 0x4c]
            //   8b45c0               | mov                 eax, dword ptr [ebp - 0x40]
            //   8b4db8               | mov                 ecx, dword ptr [ebp - 0x48]
            //   8d3408               | lea                 esi, [eax + ecx]

        $sequence_9 = { 8bc6 e8???????? 56 e8???????? 83c404 8b45f0 8b4df4 }
            // n = 7, score = 100
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]

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