SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ziyangrat (Back to overview)

ZiyangRAT


There is no description at this point.

References
2014-02-14SecureworksCounter Threat Unit ResearchTeam
@online{researchteam:20140214:analysis:0417082, author = {Counter Threat Unit ResearchTeam}, title = {{Analysis of DHS NCCIC Indicators}}, date = {2014-02-14}, organization = {Secureworks}, url = {https://www.secureworks.com/research/analysis-of-dhs-nccic-indicators}, language = {English}, urldate = {2020-05-26} } Analysis of DHS NCCIC Indicators
jspRAT BeepService DDKeylogger LinseningSvr ONHAT SimpleFileMover ZiyangRAT
Yara Rules
[TLP:WHITE] win_ziyangrat_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_ziyangrat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.ziyangrat"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 8d7c243c f3a5 7537 b90b000000 be???????? 8d7c240c 33c0 }
            // n = 7, score = 200
            //   8d7c243c             | lea                 edi, [esp + 0x3c]
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   7537                 | jne                 0x39
            //   b90b000000           | mov                 ecx, 0xb
            //   be????????           |                     
            //   8d7c240c             | lea                 edi, [esp + 0xc]
            //   33c0                 | xor                 eax, eax

        $sequence_1 = { 8d7c2405 c644240400 f3ab 66ab aa 8b842408040000 }
            // n = 6, score = 200
            //   8d7c2405             | lea                 edi, [esp + 5]
            //   c644240400           | mov                 byte ptr [esp + 4], 0
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   8b842408040000       | mov                 eax, dword ptr [esp + 0x408]

        $sequence_2 = { ffd7 8b0d???????? 891d???????? 51 891d???????? ffd7 8b15???????? }
            // n = 7, score = 200
            //   ffd7                 | call                edi
            //   8b0d????????         |                     
            //   891d????????         |                     
            //   51                   | push                ecx
            //   891d????????         |                     
            //   ffd7                 | call                edi
            //   8b15????????         |                     

        $sequence_3 = { 752b 8b15???????? 8d44242c 53 50 }
            // n = 5, score = 200
            //   752b                 | jne                 0x2d
            //   8b15????????         |                     
            //   8d44242c             | lea                 eax, [esp + 0x2c]
            //   53                   | push                ebx
            //   50                   | push                eax

        $sequence_4 = { 51 52 6689442446 89742448 e8???????? 5e 83f8ff }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   52                   | push                edx
            //   6689442446           | mov                 word ptr [esp + 0x46], ax
            //   89742448             | mov                 dword ptr [esp + 0x48], esi
            //   e8????????           |                     
            //   5e                   | pop                 esi
            //   83f8ff               | cmp                 eax, -1

        $sequence_5 = { 50 51 8d943480010000 68???????? 52 ffd3 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   51                   | push                ecx
            //   8d943480010000       | lea                 edx, [esp + esi + 0x180]
            //   68????????           |                     
            //   52                   | push                edx
            //   ffd3                 | call                ebx

        $sequence_6 = { 51 eb2a 8d542420 8d442410 52 }
            // n = 5, score = 200
            //   51                   | push                ecx
            //   eb2a                 | jmp                 0x2c
            //   8d542420             | lea                 edx, [esp + 0x20]
            //   8d442410             | lea                 eax, [esp + 0x10]
            //   52                   | push                edx

        $sequence_7 = { 891d???????? 891d???????? 6a14 ff15???????? }
            // n = 4, score = 200
            //   891d????????         |                     
            //   891d????????         |                     
            //   6a14                 | push                0x14
            //   ff15????????         |                     

        $sequence_8 = { e8???????? 83c408 5f 5e 5b 81c458080000 c3 }
            // n = 7, score = 200
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   81c458080000         | add                 esp, 0x858
            //   c3                   | ret                 

        $sequence_9 = { c644242b3a c644242e20 c644242f48 885c2430 885c2431 c644243250 }
            // n = 6, score = 200
            //   c644242b3a           | mov                 byte ptr [esp + 0x2b], 0x3a
            //   c644242e20           | mov                 byte ptr [esp + 0x2e], 0x20
            //   c644242f48           | mov                 byte ptr [esp + 0x2f], 0x48
            //   885c2430             | mov                 byte ptr [esp + 0x30], bl
            //   885c2431             | mov                 byte ptr [esp + 0x31], bl
            //   c644243250           | mov                 byte ptr [esp + 0x32], 0x50

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