SYMBOLCOMMON_NAMEaka. SYNONYMS
win.rarog (Back to overview)

Rarog


There is no description at this point.

References
2018-04-04Palo Alto Networks Unit 42Unit42
@online{unit42:20180404:smoking:c91fb7a, author = {Unit42}, title = {{Smoking Out the Rarog Cryptocurrency Mining Trojan}}, date = {2018-04-04}, organization = {Palo Alto Networks Unit 42}, url = {https://unit42.paloaltonetworks.com/unit42-smoking-rarog-mining-trojan/}, language = {English}, urldate = {2019-11-28} } Smoking Out the Rarog Cryptocurrency Mining Trojan
Rarog
2018fumik0 malware trackerfumik0
@online{fumik0:2018:entry:62d5ae4, author = {fumik0}, title = {{Entry on Rarog}}, date = {2018}, organization = {fumik0 malware tracker}, url = {https://tracker.fumik0.com/malware/Rarog}, language = {English}, urldate = {2020-01-08} } Entry on Rarog
Rarog
Yara Rules
[TLP:WHITE] win_rarog_auto (20220808 | Detects win.rarog.)
rule win_rarog_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-08-05"
        version = "1"
        description = "Detects win.rarog."
        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.rarog"
        malpedia_rule_date = "20220805"
        malpedia_hash = "6ec06c64bcfdbeda64eff021c766b4ce34542b71"
        malpedia_version = "20220808"
        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 = { 83c902 81e13bffffff 33f6 3bc1 740c 8b04b5ecae4200 46 }
            // n = 7, score = 100
            //   83c902               | or                  ecx, 2
            //   81e13bffffff         | and                 ecx, 0xffffff3b
            //   33f6                 | xor                 esi, esi
            //   3bc1                 | cmp                 eax, ecx
            //   740c                 | je                  0xe
            //   8b04b5ecae4200       | mov                 eax, dword ptr [esi*4 + 0x42aeec]
            //   46                   | inc                 esi

        $sequence_1 = { c645fc01 e8???????? 8d4754 50 8d4654 c645fc02 e8???????? }
            // n = 7, score = 100
            //   c645fc01             | mov                 byte ptr [ebp - 4], 1
            //   e8????????           |                     
            //   8d4754               | lea                 eax, [edi + 0x54]
            //   50                   | push                eax
            //   8d4654               | lea                 eax, [esi + 0x54]
            //   c645fc02             | mov                 byte ptr [ebp - 4], 2
            //   e8????????           |                     

        $sequence_2 = { 50 57 e8???????? 46 ebc9 57 6a01 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   57                   | push                edi
            //   e8????????           |                     
            //   46                   | inc                 esi
            //   ebc9                 | jmp                 0xffffffcb
            //   57                   | push                edi
            //   6a01                 | push                1

        $sequence_3 = { 83671000 c747140f000000 897dcc c60700 33db 8d8520ffffff }
            // n = 6, score = 100
            //   83671000             | and                 dword ptr [edi + 0x10], 0
            //   c747140f000000       | mov                 dword ptr [edi + 0x14], 0xf
            //   897dcc               | mov                 dword ptr [ebp - 0x34], edi
            //   c60700               | mov                 byte ptr [edi], 0
            //   33db                 | xor                 ebx, ebx
            //   8d8520ffffff         | lea                 eax, [ebp - 0xe0]

        $sequence_4 = { b8???????? e8???????? 8365f000 85db 746a 833b00 7565 }
            // n = 7, score = 100
            //   b8????????           |                     
            //   e8????????           |                     
            //   8365f000             | and                 dword ptr [ebp - 0x10], 0
            //   85db                 | test                ebx, ebx
            //   746a                 | je                  0x6c
            //   833b00               | cmp                 dword ptr [ebx], 0
            //   7565                 | jne                 0x67

        $sequence_5 = { e8???????? ff45cc eb98 6a00 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   ff45cc               | inc                 dword ptr [ebp - 0x34]
            //   eb98                 | jmp                 0xffffff9a
            //   6a00                 | push                0

        $sequence_6 = { 0fbe45a0 50 57 e8???????? 83c40c 894598 3bc6 }
            // n = 7, score = 100
            //   0fbe45a0             | movsx               eax, byte ptr [ebp - 0x60]
            //   50                   | push                eax
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   894598               | mov                 dword ptr [ebp - 0x68], eax
            //   3bc6                 | cmp                 eax, esi

        $sequence_7 = { c6459c01 ff4db4 ff45b0 397db4 77dc ff75ac }
            // n = 6, score = 100
            //   c6459c01             | mov                 byte ptr [ebp - 0x64], 1
            //   ff4db4               | dec                 dword ptr [ebp - 0x4c]
            //   ff45b0               | inc                 dword ptr [ebp - 0x50]
            //   397db4               | cmp                 dword ptr [ebp - 0x4c], edi
            //   77dc                 | ja                  0xffffffde
            //   ff75ac               | push                dword ptr [ebp - 0x54]

        $sequence_8 = { 8d45c0 897db8 895db4 885da4 8d7001 8a08 40 }
            // n = 7, score = 100
            //   8d45c0               | lea                 eax, [ebp - 0x40]
            //   897db8               | mov                 dword ptr [ebp - 0x48], edi
            //   895db4               | mov                 dword ptr [ebp - 0x4c], ebx
            //   885da4               | mov                 byte ptr [ebp - 0x5c], bl
            //   8d7001               | lea                 esi, [eax + 1]
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   40                   | inc                 eax

        $sequence_9 = { 3bd8 7606 89442418 eb04 895c2418 8b442418 }
            // n = 6, score = 100
            //   3bd8                 | cmp                 ebx, eax
            //   7606                 | jbe                 8
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   eb04                 | jmp                 6
            //   895c2418             | mov                 dword ptr [esp + 0x18], ebx
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]

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