SYMBOLCOMMON_NAMEaka. SYNONYMS
win.snojan (Back to overview)

Snojan


There is no description at this point.

References
2018-01-12MediumJacob Pimental
@online{pimental:20180112:sonja:114dec9, author = {Jacob Pimental}, title = {{Sonja Analysis}}, date = {2018-01-12}, organization = {Medium}, url = {https://medium.com/@jacob16682/snojan-analysis-bb3982fb1bb9}, language = {English}, urldate = {2020-01-05} } Sonja Analysis
Snojan
Yara Rules
[TLP:WHITE] win_snojan_auto (20220516 | Detects win.snojan.)
rule win_snojan_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-05-16"
        version = "1"
        description = "Detects win.snojan."
        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.snojan"
        malpedia_rule_date = "20220513"
        malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26"
        malpedia_version = "20220516"
        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 b8???????? e8???????? 85c0 74e9 a1???????? 8b988000986d }
            // n = 7, score = 200
            //   c3                   | ret                 
            //   b8????????           |                     
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   74e9                 | je                  0xffffffeb
            //   a1????????           |                     
            //   8b988000986d         | mov                 ebx, dword ptr [eax + 0x6d980080]

        $sequence_1 = { 83ec04 6689442422 8d442420 c744240810000000 893c24 }
            // n = 5, score = 200
            //   83ec04               | sub                 esp, 4
            //   6689442422           | mov                 word ptr [esp + 0x22], ax
            //   8d442420             | lea                 eax, [esp + 0x20]
            //   c744240810000000     | mov                 dword ptr [esp + 8], 0x10
            //   893c24               | mov                 dword ptr [esp], edi

        $sequence_2 = { 0f44d0 8854241f 8974240c 896c2408 c744240401000000 891c24 }
            // n = 6, score = 200
            //   0f44d0               | cmove               edx, eax
            //   8854241f             | mov                 byte ptr [esp + 0x1f], dl
            //   8974240c             | mov                 dword ptr [esp + 0xc], esi
            //   896c2408             | mov                 dword ptr [esp + 8], ebp
            //   c744240401000000     | mov                 dword ptr [esp + 4], 1
            //   891c24               | mov                 dword ptr [esp], ebx

        $sequence_3 = { c7042400000000 ff15???????? 83ec18 e8???????? }
            // n = 4, score = 200
            //   c7042400000000       | mov                 dword ptr [esp], 0
            //   ff15????????         |                     
            //   83ec18               | sub                 esp, 0x18
            //   e8????????           |                     

        $sequence_4 = { a1???????? 8d900000986d 0fb7801400986d 0fb76a06 8d5c0218 85ed }
            // n = 6, score = 200
            //   a1????????           |                     
            //   8d900000986d         | lea                 edx, [eax + 0x6d980000]
            //   0fb7801400986d       | movzx               eax, word ptr [eax + 0x6d980014]
            //   0fb76a06             | movzx               ebp, word ptr [edx + 6]
            //   8d5c0218             | lea                 ebx, [edx + eax + 0x18]
            //   85ed                 | test                ebp, ebp

        $sequence_5 = { 8b4b04 85c9 0f84c3feffff e9???????? 0fb7810000986d 894dc0 }
            // n = 6, score = 200
            //   8b4b04               | mov                 ecx, dword ptr [ebx + 4]
            //   85c9                 | test                ecx, ecx
            //   0f84c3feffff         | je                  0xfffffec9
            //   e9????????           |                     
            //   0fb7810000986d       | movzx               eax, word ptr [ecx + 0x6d980000]
            //   894dc0               | mov                 dword ptr [ebp - 0x40], ecx

        $sequence_6 = { 0f85b7000000 893c24 ff15???????? 83ec04 }
            // n = 4, score = 200
            //   0f85b7000000         | jne                 0xbd
            //   893c24               | mov                 dword ptr [esp], edi
            //   ff15????????         |                     
            //   83ec04               | sub                 esp, 4

        $sequence_7 = { 8b13 83c308 03960000986d 8d860000986d }
            // n = 4, score = 200
            //   8b13                 | mov                 edx, dword ptr [ebx]
            //   83c308               | add                 ebx, 8
            //   03960000986d         | add                 edx, dword ptr [esi + 0x6d980000]
            //   8d860000986d         | lea                 eax, [esi + 0x6d980000]

        $sequence_8 = { 85c0 b801000000 0f44d0 8854241f 8974240c }
            // n = 5, score = 200
            //   85c0                 | test                eax, eax
            //   b801000000           | mov                 eax, 1
            //   0f44d0               | cmove               edx, eax
            //   8854241f             | mov                 byte ptr [esp + 0x1f], dl
            //   8974240c             | mov                 dword ptr [esp + 0xc], esi

        $sequence_9 = { 0f8452010000 c7442404???????? c70424???????? e8???????? 85c0 89c6 }
            // n = 6, score = 200
            //   0f8452010000         | je                  0x158
            //   c7442404????????     |                     
            //   c70424????????       |                     
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   89c6                 | mov                 esi, eax

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