SYMBOLCOMMON_NAMEaka. SYNONYMS
win.sneepy (Back to overview)

SNEEPY

aka: ByeByeShell

There is no description at this point.

References
2016-09-28Palo Alto Networks Unit 42Tom Lancaster, Micah Yates
@online{lancaster:20160928:confucius:24e8de3, author = {Tom Lancaster and Micah Yates}, title = {{Confucius Says…Malware Families Get Further By Abusing Legitimate Websites}}, date = {2016-09-28}, organization = {Palo Alto Networks Unit 42}, url = {https://researchcenter.paloaltonetworks.com/2016/09/unit42-confucius-says-malware-families-get-further-by-abusing-legitimate-websites/}, language = {English}, urldate = {2019-12-20} } Confucius Says…Malware Families Get Further By Abusing Legitimate Websites
Confucius SNEEPY
Yara Rules
[TLP:WHITE] win_sneepy_auto (20220516 | Detects win.sneepy.)
rule win_sneepy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-05-16"
        version = "1"
        description = "Detects win.sneepy."
        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.sneepy"
        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 = { 8b048560314100 83e61f c1e606 8d443004 8020fd 8b45f8 8b55fc }
            // n = 7, score = 100
            //   8b048560314100       | mov                 eax, dword ptr [eax*4 + 0x413160]
            //   83e61f               | and                 esi, 0x1f
            //   c1e606               | shl                 esi, 6
            //   8d443004             | lea                 eax, [eax + esi + 4]
            //   8020fd               | and                 byte ptr [eax], 0xfd
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]

        $sequence_1 = { c3 8bff 56 57 33ff ffb788164100 ff15???????? }
            // n = 7, score = 100
            //   c3                   | ret                 
            //   8bff                 | mov                 edi, edi
            //   56                   | push                esi
            //   57                   | push                edi
            //   33ff                 | xor                 edi, edi
            //   ffb788164100         | push                dword ptr [edi + 0x411688]
            //   ff15????????         |                     

        $sequence_2 = { 68???????? e8???????? 6804010000 8d85ecfbffff 6a00 }
            // n = 5, score = 100
            //   68????????           |                     
            //   e8????????           |                     
            //   6804010000           | push                0x104
            //   8d85ecfbffff         | lea                 eax, [ebp - 0x414]
            //   6a00                 | push                0

        $sequence_3 = { ffd6 85c0 7414 53 ffd6 85c0 740d }
            // n = 7, score = 100
            //   ffd6                 | call                esi
            //   85c0                 | test                eax, eax
            //   7414                 | je                  0x16
            //   53                   | push                ebx
            //   ffd6                 | call                esi
            //   85c0                 | test                eax, eax
            //   740d                 | je                  0xf

        $sequence_4 = { 6a00 68ff000000 8d95acfcffff 52 50 }
            // n = 5, score = 100
            //   6a00                 | push                0
            //   68ff000000           | push                0xff
            //   8d95acfcffff         | lea                 edx, [ebp - 0x354]
            //   52                   | push                edx
            //   50                   | push                eax

        $sequence_5 = { 8b3d???????? 8d8dc0feffff 51 6a32 8d55c8 52 }
            // n = 6, score = 100
            //   8b3d????????         |                     
            //   8d8dc0feffff         | lea                 ecx, [ebp - 0x140]
            //   51                   | push                ecx
            //   6a32                 | push                0x32
            //   8d55c8               | lea                 edx, [ebp - 0x38]
            //   52                   | push                edx

        $sequence_6 = { 7524 818dc4feffff80f10000 6a04 8d8dc4feffff 51 }
            // n = 5, score = 100
            //   7524                 | jne                 0x26
            //   818dc4feffff80f10000     | or    dword ptr [ebp - 0x13c], 0xf180
            //   6a04                 | push                4
            //   8d8dc4feffff         | lea                 ecx, [ebp - 0x13c]
            //   51                   | push                ecx

        $sequence_7 = { 33c0 8b4d08 3b0cc520de4000 740a 40 83f816 72ee }
            // n = 7, score = 100
            //   33c0                 | xor                 eax, eax
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   3b0cc520de4000       | cmp                 ecx, dword ptr [eax*8 + 0x40de20]
            //   740a                 | je                  0xc
            //   40                   | inc                 eax
            //   83f816               | cmp                 eax, 0x16
            //   72ee                 | jb                  0xfffffff0

        $sequence_8 = { a1???????? 6a00 6a07 68???????? }
            // n = 4, score = 100
            //   a1????????           |                     
            //   6a00                 | push                0
            //   6a07                 | push                7
            //   68????????           |                     

        $sequence_9 = { 7518 56 e8???????? 8b55fc 52 e8???????? }
            // n = 6, score = 100
            //   7518                 | jne                 0x1a
            //   56                   | push                esi
            //   e8????????           |                     
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   52                   | push                edx
            //   e8????????           |                     

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