SYMBOLCOMMON_NAMEaka. SYNONYMS
win.rarog (Back to overview)

Rarog

VTCollection    

There is no description at this point.

References
2018-04-04 ⋅ Palo Alto Networks Unit 42 ⋅ Unit42
Smoking Out the Rarog Cryptocurrency Mining Trojan
Rarog
2018-01-01 ⋅ fumik0 malware tracker ⋅ fumik0
Entry on Rarog
Rarog
Yara Rules
[TLP:WHITE] win_rarog_auto (20260917 | Detects win.rarog.)
rule win_rarog_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 6a00 6a01 8d8d64ffffff e8???????? 6a00 6a01 8d4dd4 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   6a01                 | push                1
            //   8d8d64ffffff         | lea                 ecx, [ebp - 0x9c]
            //   e8????????           |                     
            //   6a00                 | push                0
            //   6a01                 | push                1
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]

        $sequence_1 = { 8d4dd4 c745e80f000000 895de4 885dd4 e8???????? c645fc07 8bbd50ffffff }
            // n = 7, score = 100
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]
            //   c745e80f000000       | mov                 dword ptr [ebp - 0x18], 0xf
            //   895de4               | mov                 dword ptr [ebp - 0x1c], ebx
            //   885dd4               | mov                 byte ptr [ebp - 0x2c], bl
            //   e8????????           |                     
            //   c645fc07             | mov                 byte ptr [ebp - 4], 7
            //   8bbd50ffffff         | mov                 edi, dword ptr [ebp - 0xb0]

        $sequence_2 = { 6802000080 ff15???????? 85c0 7521 8d85f8fbffff 50 }
            // n = 6, score = 100
            //   6802000080           | push                0x80000002
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7521                 | jne                 0x23
            //   8d85f8fbffff         | lea                 eax, [ebp - 0x408]
            //   50                   | push                eax

        $sequence_3 = { 895910 68???????? 8819 e8???????? e8???????? 53 53 }
            // n = 7, score = 100
            //   895910               | mov                 dword ptr [ecx + 0x10], ebx
            //   68????????           |                     
            //   8819                 | mov                 byte ptr [ecx], bl
            //   e8????????           |                     
            //   e8????????           |                     
            //   53                   | push                ebx
            //   53                   | push                ebx

        $sequence_4 = { 8d8d48ffffff e8???????? 8d759c e8???????? 83ec1c 8bcc 89a544ffffff }
            // n = 7, score = 100
            //   8d8d48ffffff         | lea                 ecx, [ebp - 0xb8]
            //   e8????????           |                     
            //   8d759c               | lea                 esi, [ebp - 0x64]
            //   e8????????           |                     
            //   83ec1c               | sub                 esp, 0x1c
            //   8bcc                 | mov                 ecx, esp
            //   89a544ffffff         | mov                 dword ptr [ebp - 0xbc], esp

        $sequence_5 = { 833cf5541d430001 751d 8d04f5501d4300 8938 68a00f0000 ff30 }
            // n = 6, score = 100
            //   833cf5541d430001     | cmp                 dword ptr [esi*8 + 0x431d54], 1
            //   751d                 | jne                 0x1f
            //   8d04f5501d4300       | lea                 eax, [esi*8 + 0x431d50]
            //   8938                 | mov                 dword ptr [eax], edi
            //   68a00f0000           | push                0xfa0
            //   ff30                 | push                dword ptr [eax]

        $sequence_6 = { c3 8bff 55 8bec 33c0 668b4d08 663b8848ad4200 }
            // n = 7, score = 100
            //   c3                   | ret                 
            //   8bff                 | mov                 edi, edi
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   33c0                 | xor                 eax, eax
            //   668b4d08             | mov                 cx, word ptr [ebp + 8]
            //   663b8848ad4200       | cmp                 cx, word ptr [eax + 0x42ad48]

        $sequence_7 = { c645fc1b e8???????? 59 53 6a01 8bcf 888573fbffff }
            // n = 7, score = 100
            //   c645fc1b             | mov                 byte ptr [ebp - 4], 0x1b
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   53                   | push                ebx
            //   6a01                 | push                1
            //   8bcf                 | mov                 ecx, edi
            //   888573fbffff         | mov                 byte ptr [ebp - 0x48d], al

        $sequence_8 = { ff7518 8845bc ff7514 8d45b0 ff75bc ff75d0 50 }
            // n = 7, score = 100
            //   ff7518               | push                dword ptr [ebp + 0x18]
            //   8845bc               | mov                 byte ptr [ebp - 0x44], al
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   8d45b0               | lea                 eax, [ebp - 0x50]
            //   ff75bc               | push                dword ptr [ebp - 0x44]
            //   ff75d0               | push                dword ptr [ebp - 0x30]
            //   50                   | push                eax

        $sequence_9 = { 53 56 8d8d2cfdffff e8???????? 53 56 8d8df4fcffff }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   56                   | push                esi
            //   8d8d2cfdffff         | lea                 ecx, [ebp - 0x2d4]
            //   e8????????           |                     
            //   53                   | push                ebx
            //   56                   | push                esi
            //   8d8df4fcffff         | lea                 ecx, [ebp - 0x30c]

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