SYMBOLCOMMON_NAMEaka. SYNONYMS
win.slave (Back to overview)

Slave


There is no description at this point.

References
2015-03-07CERT.PLŁukasz Siewierski
@online{siewierski:20150307:slave:fa94a3f, author = {Łukasz Siewierski}, title = {{Slave, Banatrix and ransomware}}, date = {2015-03-07}, organization = {CERT.PL}, url = {https://www.cert.pl/en/news/single/slave-banatrix-and-ransomware/}, language = {English}, urldate = {2019-11-23} } Slave, Banatrix and ransomware
Slave
Yara Rules
[TLP:WHITE] win_slave_auto (20230715 | Detects win.slave.)
rule win_slave_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.slave."
        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.slave"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { ff15???????? 5f 5e c3 8bf8 8b4714 894614 }
            // n = 7, score = 300
            //   ff15????????         |                     
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   8bf8                 | mov                 edi, eax
            //   8b4714               | mov                 eax, dword ptr [edi + 0x14]
            //   894614               | mov                 dword ptr [esi + 0x14], eax

        $sequence_1 = { 035590 03d1 8b7de8 0355a0 8bce c1c90b 8bc6 }
            // n = 7, score = 300
            //   035590               | add                 edx, dword ptr [ebp - 0x70]
            //   03d1                 | add                 edx, ecx
            //   8b7de8               | mov                 edi, dword ptr [ebp - 0x18]
            //   0355a0               | add                 edx, dword ptr [ebp - 0x60]
            //   8bce                 | mov                 ecx, esi
            //   c1c90b               | ror                 ecx, 0xb
            //   8bc6                 | mov                 eax, esi

        $sequence_2 = { 8ac1 80e13f 24c0 0440 32c1 888607030000 e9???????? }
            // n = 7, score = 300
            //   8ac1                 | mov                 al, cl
            //   80e13f               | and                 cl, 0x3f
            //   24c0                 | and                 al, 0xc0
            //   0440                 | add                 al, 0x40
            //   32c1                 | xor                 al, cl
            //   888607030000         | mov                 byte ptr [esi + 0x307], al
            //   e9????????           |                     

        $sequence_3 = { c1e108 0bc8 0fb64229 894dcc 0fb64a28 c1e108 0bc8 }
            // n = 7, score = 300
            //   c1e108               | shl                 ecx, 8
            //   0bc8                 | or                  ecx, eax
            //   0fb64229             | movzx               eax, byte ptr [edx + 0x29]
            //   894dcc               | mov                 dword ptr [ebp - 0x34], ecx
            //   0fb64a28             | movzx               ecx, byte ptr [edx + 0x28]
            //   c1e108               | shl                 ecx, 8
            //   0bc8                 | or                  ecx, eax

        $sequence_4 = { 8b8614030000 89470c eb18 8b9610030000 8a8ef0020000 e8???????? 99 }
            // n = 7, score = 300
            //   8b8614030000         | mov                 eax, dword ptr [esi + 0x314]
            //   89470c               | mov                 dword ptr [edi + 0xc], eax
            //   eb18                 | jmp                 0x1a
            //   8b9610030000         | mov                 edx, dword ptr [esi + 0x310]
            //   8a8ef0020000         | mov                 cl, byte ptr [esi + 0x2f0]
            //   e8????????           |                     
            //   99                   | cdq                 

        $sequence_5 = { ff15???????? 8d8530fdffff 47 50 56 ff15???????? 8b15???????? }
            // n = 7, score = 300
            //   ff15????????         |                     
            //   8d8530fdffff         | lea                 eax, [ebp - 0x2d0]
            //   47                   | inc                 edi
            //   50                   | push                eax
            //   56                   | push                esi
            //   ff15????????         |                     
            //   8b15????????         |                     

        $sequence_6 = { 8b4dfc 8bf8 8b4608 2b4604 8945e4 8939 8d4801 }
            // n = 7, score = 300
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   8bf8                 | mov                 edi, eax
            //   8b4608               | mov                 eax, dword ptr [esi + 8]
            //   2b4604               | sub                 eax, dword ptr [esi + 4]
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8939                 | mov                 dword ptr [ecx], edi
            //   8d4801               | lea                 ecx, [eax + 1]

        $sequence_7 = { 83c40c 028e08010000 888e08010000 f6c308 7431 80f9ff 730c }
            // n = 7, score = 300
            //   83c40c               | add                 esp, 0xc
            //   028e08010000         | add                 cl, byte ptr [esi + 0x108]
            //   888e08010000         | mov                 byte ptr [esi + 0x108], cl
            //   f6c308               | test                bl, 8
            //   7431                 | je                  0x33
            //   80f9ff               | cmp                 cl, 0xff
            //   730c                 | jae                 0xe

        $sequence_8 = { 3a4202 750d 83feff 741c 8a4103 3a4203 7414 }
            // n = 7, score = 300
            //   3a4202               | cmp                 al, byte ptr [edx + 2]
            //   750d                 | jne                 0xf
            //   83feff               | cmp                 esi, -1
            //   741c                 | je                  0x1e
            //   8a4103               | mov                 al, byte ptr [ecx + 3]
            //   3a4203               | cmp                 al, byte ptr [edx + 3]
            //   7414                 | je                  0x16

        $sequence_9 = { 0c40 884760 83a6500200001f 8b8ee0010000 c7865402000000000000 0fb74306 03c8 }
            // n = 7, score = 300
            //   0c40                 | or                  al, 0x40
            //   884760               | mov                 byte ptr [edi + 0x60], al
            //   83a6500200001f       | and                 dword ptr [esi + 0x250], 0x1f
            //   8b8ee0010000         | mov                 ecx, dword ptr [esi + 0x1e0]
            //   c7865402000000000000     | mov    dword ptr [esi + 0x254], 0
            //   0fb74306             | movzx               eax, word ptr [ebx + 6]
            //   03c8                 | add                 ecx, eax

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