SYMBOLCOMMON_NAMEaka. SYNONYMS
win.shujin (Back to overview)

Shujin


There is no description at this point.

References
2016-05-12Trend MicroJasen Sumalapao, Lion Gu
@online{sumalapao:20160512:chineselanguage:f968de7, author = {Jasen Sumalapao and Lion Gu}, title = {{Chinese-language Ransomware ‘SHUJIN’ Makes An Appearance}}, date = {2016-05-12}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/chinese-language-ransomware-makes-appearance/}, language = {English}, urldate = {2020-01-09} } Chinese-language Ransomware ‘SHUJIN’ Makes An Appearance
Shujin
Yara Rules
[TLP:WHITE] win_shujin_auto (20230125 | Detects win.shujin.)
rule win_shujin_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.shujin."
        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.shujin"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 9c 8d642410 e8???????? 60 68895c4304 52 68f9950296 }
            // n = 7, score = 100
            //   9c                   | pushfd              
            //   8d642410             | lea                 esp, [esp + 0x10]
            //   e8????????           |                     
            //   60                   | pushal              
            //   68895c4304           | push                0x4435c89
            //   52                   | push                edx
            //   68f9950296           | push                0x960295f9

        $sequence_1 = { 9c 9c 8d642434 e8???????? 9c 66f7d6 8db524fbffff }
            // n = 7, score = 100
            //   9c                   | pushfd              
            //   9c                   | pushfd              
            //   8d642434             | lea                 esp, [esp + 0x34]
            //   e8????????           |                     
            //   9c                   | pushfd              
            //   66f7d6               | not                 si
            //   8db524fbffff         | lea                 esi, [ebp - 0x4dc]

        $sequence_2 = { 8d858cfeffff 50 8d45bc 50 e8???????? 6a48 }
            // n = 6, score = 100
            //   8d858cfeffff         | lea                 eax, [ebp - 0x174]
            //   50                   | push                eax
            //   8d45bc               | lea                 eax, [ebp - 0x44]
            //   50                   | push                eax
            //   e8????????           |                     
            //   6a48                 | push                0x48

        $sequence_3 = { 8bc1 56 beffffff7f 23c6 83c020 c1f91f 8bd0 }
            // n = 7, score = 100
            //   8bc1                 | mov                 eax, ecx
            //   56                   | push                esi
            //   beffffff7f           | mov                 esi, 0x7fffffff
            //   23c6                 | and                 eax, esi
            //   83c020               | add                 eax, 0x20
            //   c1f91f               | sar                 ecx, 0x1f
            //   8bd0                 | mov                 edx, eax

        $sequence_4 = { 50 89bd14fcffff 89bd18fcffff e8???????? 8d857cfbffff }
            // n = 5, score = 100
            //   50                   | push                eax
            //   89bd14fcffff         | mov                 dword ptr [ebp - 0x3ec], edi
            //   89bd18fcffff         | mov                 dword ptr [ebp - 0x3e8], edi
            //   e8????????           |                     
            //   8d857cfbffff         | lea                 eax, [ebp - 0x484]

        $sequence_5 = { 8bf1 e8???????? 8d45f0 50 ff7620 ff15???????? 8345f446 }
            // n = 7, score = 100
            //   8bf1                 | mov                 esi, ecx
            //   e8????????           |                     
            //   8d45f0               | lea                 eax, [ebp - 0x10]
            //   50                   | push                eax
            //   ff7620               | push                dword ptr [esi + 0x20]
            //   ff15????????         |                     
            //   8345f446             | add                 dword ptr [ebp - 0xc], 0x46

        $sequence_6 = { ffd6 33ff 57 57 ff75b0 897dec ff75f4 }
            // n = 7, score = 100
            //   ffd6                 | call                esi
            //   33ff                 | xor                 edi, edi
            //   57                   | push                edi
            //   57                   | push                edi
            //   ff75b0               | push                dword ptr [ebp - 0x50]
            //   897dec               | mov                 dword ptr [ebp - 0x14], edi
            //   ff75f4               | push                dword ptr [ebp - 0xc]

        $sequence_7 = { c744240442e49b46 f5 03f7 88442404 9c }
            // n = 5, score = 100
            //   c744240442e49b46     | mov                 dword ptr [esp + 4], 0x469be442
            //   f5                   | cmc                 
            //   03f7                 | add                 esi, edi
            //   88442404             | mov                 byte ptr [esp + 4], al
            //   9c                   | pushfd              

        $sequence_8 = { eb69 8325????????00 803d????????00 be???????? 7417 56 e8???????? }
            // n = 7, score = 100
            //   eb69                 | jmp                 0x6b
            //   8325????????00       |                     
            //   803d????????00       |                     
            //   be????????           |                     
            //   7417                 | je                  0x19
            //   56                   | push                esi
            //   e8????????           |                     

        $sequence_9 = { 663d245d f8 c7858cfcffffcccccccc 9c e8???????? e9???????? 89542448 }
            // n = 7, score = 100
            //   663d245d             | cmp                 ax, 0x5d24
            //   f8                   | clc                 
            //   c7858cfcffffcccccccc     | mov    dword ptr [ebp - 0x374], 0xcccccccc
            //   9c                   | pushfd              
            //   e8????????           |                     
            //   e9????????           |                     
            //   89542448             | mov                 dword ptr [esp + 0x48], edx

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