SYMBOLCOMMON_NAMEaka. SYNONYMS
win.rovnix (Back to overview)

Rovnix

aka: Mayachok, Cidox, BkLoader

Rovnix is a bootkit and consists of a driver loader (in the VBR) and the drivers (32bit, 64bit) themselves. It is part of the Carberp source code leak (https://github.com/nyx0/Rovnix). Rovnix has been used to protect Gozi ISFB, ReactorBot and Rerdom (at least).

References
2021-01-080xC0DECAFEThomas Barabosch
@online{barabosch:20210108:malware:27c7ee2, author = {Thomas Barabosch}, title = {{The malware analyst’s guide to aPLib decompression}}, date = {2021-01-08}, organization = {0xC0DECAFE}, url = {https://0xc0decafe.com/malware-analysts-guide-to-aplib-decompression/}, language = {English}, urldate = {2021-01-11} } The malware analyst’s guide to aPLib decompression
ISFB Rovnix
2020-06-23Kaspersky LabsAlexander Eremin
@online{eremin:20200623:oh:4e55504, author = {Alexander Eremin}, title = {{Oh, what a boot-iful mornin’ Rovnix bootkit back in business}}, date = {2020-06-23}, organization = {Kaspersky Labs}, url = {https://securelist.com/oh-what-a-boot-iful-mornin/97365}, language = {English}, urldate = {2020-06-23} } Oh, what a boot-iful mornin’ Rovnix bootkit back in business
Rovnix
2015-05-15Malware DiggerHanan Natan
@online{natan:20150515:rovnix:870b5a4, author = {Hanan Natan}, title = {{Rovnix Dropper Analysis (TrojanDropper:Win32/Rovnix.P)}}, date = {2015-05-15}, organization = {Malware Digger}, url = {http://www.malwaredigger.com/2015/05/rovnix-dropper-analysis.html}, language = {English}, urldate = {2019-11-05} } Rovnix Dropper Analysis (TrojanDropper:Win32/Rovnix.P)
ReactorBot Rovnix
2014-09Virus BulletinEugene Rodionov, Alexander Matrosov, David Harley
@techreport{rodionov:201409:bootkits:d55d6a7, author = {Eugene Rodionov and Alexander Matrosov and David Harley}, title = {{BOOTKITS: PAST, PRESENT & FUTURE}}, date = {2014-09}, institution = {Virus Bulletin}, url = {https://www.virusbulletin.com/uploads/pdf/conference/vb2014/VB2014-RodionovMatrosov.pdf}, language = {English}, urldate = {2020-01-08} } BOOTKITS: PAST, PRESENT & FUTURE
Rovnix
2014-05-06MalwareTechMalwareTech
@online{malwaretech:20140506:rovnix:737e795, author = {MalwareTech}, title = {{Rovnix new “evolution”}}, date = {2014-05-06}, organization = {MalwareTech}, url = {http://www.malwaretech.com/2014/05/rovnix-new-evolution.html}, language = {English}, urldate = {2020-01-08} } Rovnix new “evolution”
Rovnix
2012-07-13ESET ResearchAleksandr Matrosov
@online{matrosov:20120713:rovnix:7988101, author = {Aleksandr Matrosov}, title = {{Rovnix bootkit framework updated}}, date = {2012-07-13}, organization = {ESET Research}, url = {https://www.welivesecurity.com/2012/07/13/rovnix-bootkit-framework-updated/}, language = {English}, urldate = {2019-11-14} } Rovnix bootkit framework updated
Rovnix
2011-07-08Dr.WebDr. Web
@online{web:20110708:trojanmayachok2:5c42099, author = {Dr. Web}, title = {{Trojan.Mayachok.2: анализ первого известного VBR-буткита}}, date = {2011-07-08}, organization = {Dr.Web}, url = {https://news.drweb.ru/?i=1772&c=23&lng=ru&p=0}, language = {Russian}, urldate = {2020-01-06} } Trojan.Mayachok.2: анализ первого известного VBR-буткита
Rovnix
2011-07-06Kaspersky LabsVyacheslav Zakorzhevsky
@online{zakorzhevsky:20110706:cybercriminals:78ad047, author = {Vyacheslav Zakorzhevsky}, title = {{Cybercriminals switch from MBR to NTFS}}, date = {2011-07-06}, organization = {Kaspersky Labs}, url = {https://securelist.com/cybercriminals-switch-from-mbr-to-ntfs-2/29117/}, language = {English}, urldate = {2019-12-20} } Cybercriminals switch from MBR to NTFS
Rovnix
2011-07-04Kernelmode.info Forumsrkhunter
@online{rkhunter:20110704:winntrovnix:8a594f6, author = {rkhunter}, title = {{WinNT/Rovnix (alias Mayachok, Cidox, BkLoader)}}, date = {2011-07-04}, organization = {Kernelmode.info Forums}, url = {http://www.kernelmode.info/forum/viewtopic.php?f=16&t=981}, language = {English}, urldate = {2019-07-11} } WinNT/Rovnix (alias Mayachok, Cidox, BkLoader)
Rovnix
Yara Rules
[TLP:WHITE] win_rovnix_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_rovnix_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.rovnix"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { be???????? 8b15???????? 83e7f0 89542418 83c710 }
            // n = 5, score = 900
            //   be????????           |                     
            //   8b15????????         |                     
            //   83e7f0               | and                 edi, 0xfffffff0
            //   89542418             | mov                 dword ptr [esp + 0x18], edx
            //   83c710               | add                 edi, 0x10

        $sequence_1 = { 83c335 c1e902 ad 2bc3 ab }
            // n = 5, score = 900
            //   83c335               | add                 ebx, 0x35
            //   c1e902               | shr                 ecx, 2
            //   ad                   | lodsd               eax, dword ptr [esi]
            //   2bc3                 | sub                 eax, ebx
            //   ab                   | stosd               dword ptr es:[edi], eax

        $sequence_2 = { 6a00 ffd2 89442408 8bcf }
            // n = 4, score = 900
            //   6a00                 | push                0
            //   ffd2                 | call                edx
            //   89442408             | mov                 dword ptr [esp + 8], eax
            //   8bcf                 | mov                 ecx, edi

        $sequence_3 = { 2bc3 ab e2fa 61 }
            // n = 4, score = 900
            //   2bc3                 | sub                 eax, ebx
            //   ab                   | stosd               dword ptr es:[edi], eax
            //   e2fa                 | loop                0xfffffffc
            //   61                   | popal               

        $sequence_4 = { 7405 57 6a00 ffd2 }
            // n = 4, score = 900
            //   7405                 | je                  7
            //   57                   | push                edi
            //   6a00                 | push                0
            //   ffd2                 | call                edx

        $sequence_5 = { 60 bf40090000 be???????? 8b15???????? }
            // n = 4, score = 500
            //   60                   | pushal              
            //   bf40090000           | mov                 edi, 0x940
            //   be????????           |                     
            //   8b15????????         |                     

        $sequence_6 = { 56 6a00 6a30 6a00 ff15???????? 8bf0 85f6 }
            // n = 7, score = 400
            //   56                   | push                esi
            //   6a00                 | push                0
            //   6a30                 | push                0x30
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi

        $sequence_7 = { 8901 894804 8b4718 85c0 }
            // n = 4, score = 400
            //   8901                 | mov                 dword ptr [ecx], eax
            //   894804               | mov                 dword ptr [eax + 4], ecx
            //   8b4718               | mov                 eax, dword ptr [edi + 0x18]
            //   85c0                 | test                eax, eax

        $sequence_8 = { 83f919 7703 83c220 85c0 7404 }
            // n = 5, score = 400
            //   83f919               | cmp                 ecx, 0x19
            //   7703                 | ja                  5
            //   83c220               | add                 edx, 0x20
            //   85c0                 | test                eax, eax
            //   7404                 | je                  6

        $sequence_9 = { 85c0 7405 8d4e1c 8908 8b4508 c7461801000000 8b4804 }
            // n = 7, score = 400
            //   85c0                 | test                eax, eax
            //   7405                 | je                  7
            //   8d4e1c               | lea                 ecx, [esi + 0x1c]
            //   8908                 | mov                 dword ptr [eax], ecx
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   c7461801000000       | mov                 dword ptr [esi + 0x18], 1
            //   8b4804               | mov                 ecx, dword ptr [eax + 4]

        $sequence_10 = { c745cc18000000 8975d0 c745d800020000 8975d4 8975dc 8975e0 ff15???????? }
            // n = 7, score = 400
            //   c745cc18000000       | mov                 dword ptr [ebp - 0x34], 0x18
            //   8975d0               | mov                 dword ptr [ebp - 0x30], esi
            //   c745d800020000       | mov                 dword ptr [ebp - 0x28], 0x200
            //   8975d4               | mov                 dword ptr [ebp - 0x2c], esi
            //   8975dc               | mov                 dword ptr [ebp - 0x24], esi
            //   8975e0               | mov                 dword ptr [ebp - 0x20], esi
            //   ff15????????         |                     

        $sequence_11 = { 85c0 e8???????? 8be5 5d }
            // n = 4, score = 400
            //   85c0                 | test                eax, eax
            //   e8????????           |                     
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp

        $sequence_12 = { 6824080000 6a00 bf9a0000c0 ff15???????? }
            // n = 4, score = 400
            //   6824080000           | push                0x824
            //   6a00                 | push                0
            //   bf9a0000c0           | mov                 edi, 0xc000009a
            //   ff15????????         |                     

        $sequence_13 = { 8975e8 8975f0 8975f4 ff15???????? 85c0 }
            // n = 5, score = 400
            //   8975e8               | mov                 dword ptr [ebp - 0x18], esi
            //   8975f0               | mov                 dword ptr [ebp - 0x10], esi
            //   8975f4               | mov                 dword ptr [ebp - 0xc], esi
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax

        $sequence_14 = { c745e018000000 8975e4 c745ec40020000 8975e8 }
            // n = 4, score = 400
            //   c745e018000000       | mov                 dword ptr [ebp - 0x20], 0x18
            //   8975e4               | mov                 dword ptr [ebp - 0x1c], esi
            //   c745ec40020000       | mov                 dword ptr [ebp - 0x14], 0x240
            //   8975e8               | mov                 dword ptr [ebp - 0x18], esi

        $sequence_15 = { 85c0 7405 83c61c 8930 c745fc01000000 }
            // n = 5, score = 400
            //   85c0                 | test                eax, eax
            //   7405                 | je                  7
            //   83c61c               | add                 esi, 0x1c
            //   8930                 | mov                 dword ptr [eax], esi
            //   c745fc01000000       | mov                 dword ptr [ebp - 4], 1

        $sequence_16 = { 5d c3 85c0 e8???????? }
            // n = 4, score = 200
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   85c0                 | test                eax, eax
            //   e8????????           |                     

        $sequence_17 = { 5d c3 85c9 e8???????? }
            // n = 4, score = 200
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   85c9                 | test                ecx, ecx
            //   e8????????           |                     

        $sequence_18 = { 23c9 16 85c9 23d2 }
            // n = 4, score = 200
            //   23c9                 | and                 ecx, ecx
            //   16                   | push                ss
            //   85c9                 | test                ecx, ecx
            //   23d2                 | and                 edx, edx

        $sequence_19 = { 55 8bec 85db 85c9 }
            // n = 4, score = 200
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   85db                 | test                ebx, ebx
            //   85c9                 | test                ecx, ecx

        $sequence_20 = { 23db 81e1ff000000 23c9 83440c0404 }
            // n = 4, score = 200
            //   23db                 | and                 ebx, ebx
            //   81e1ff000000         | and                 ecx, 0xff
            //   23c9                 | and                 ecx, ecx
            //   83440c0404           | add                 dword ptr [esp + ecx + 4], 4

        $sequence_21 = { eb7a e8???????? 488bd8 4885c0 747d 488b4c2478 }
            // n = 6, score = 100
            //   eb7a                 | js                  0x1a
            //   e8????????           |                     
            //   488bd8               | inc                 ecx
            //   4885c0               | lea                 ecx, [esi + 1]
            //   747d                 | inc                 ebp
            //   488b4c2478           | xor                 eax, eax

        $sequence_22 = { bb01000000 488d7934 015930 eb05 488b7c2430 8a5608 488bce }
            // n = 7, score = 100
            //   bb01000000           | mov                 ebx, 1
            //   488d7934             | dec                 eax
            //   015930               | lea                 edi, [ecx + 0x34]
            //   eb05                 | add                 dword ptr [ecx + 0x30], ebx
            //   488b7c2430           | jmp                 7
            //   8a5608               | dec                 eax
            //   488bce               | mov                 edi, dword ptr [esp + 0x30]

        $sequence_23 = { 8e17 48 ee 16 1848ee 8d26 8dbf271c48ee }
            // n = 7, score = 100
            //   8e17                 | mov                 ss, word ptr [edi]
            //   48                   | dec                 eax
            //   ee                   | out                 dx, al
            //   16                   | push                ss
            //   1848ee               | sbb                 byte ptr [eax - 0x12], cl
            //   8d26                 | lea                 esp, [esi]
            //   8dbf271c48ee         | lea                 edi, [edi - 0x11b7e3d9]

        $sequence_24 = { 05???????? 05ccb00000 2d5994e5cd 837c242c00 7405 }
            // n = 5, score = 100
            //   05????????           |                     
            //   05ccb00000           | add                 eax, 0xb0cc
            //   2d5994e5cd           | sub                 eax, 0xcde59459
            //   837c242c00           | cmp                 dword ptr [esp + 0x2c], 0
            //   7405                 | je                  7

        $sequence_25 = { 83440c0404 23c9 8be5 5d c20400 }
            // n = 5, score = 100
            //   83440c0404           | add                 dword ptr [esp + ecx + 4], 4
            //   23c9                 | and                 ecx, ecx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4

        $sequence_26 = { 418d4e01 4533c0 8bf5 ff15???????? 4c8be8 }
            // n = 5, score = 100
            //   418d4e01             | dec                 eax
            //   4533c0               | mov                 edx, eax
            //   8bf5                 | mov                 ebx, eax
            //   ff15????????         |                     
            //   4c8be8               | test                eax, eax

        $sequence_27 = { d24b46 92 c55151 a2???????? d24b46 }
            // n = 5, score = 100
            //   d24b46               | ror                 byte ptr [ebx + 0x46], cl
            //   92                   | xchg                eax, edx
            //   c55151               | lds                 edx, ptr [ecx + 0x51]
            //   a2????????           |                     
            //   d24b46               | ror                 byte ptr [ebx + 0x46], cl

        $sequence_28 = { 85c9 e8???????? 85d2 8be5 }
            // n = 4, score = 100
            //   85c9                 | test                ecx, ecx
            //   e8????????           |                     
            //   85d2                 | test                edx, edx
            //   8be5                 | mov                 esp, ebp

        $sequence_29 = { b366 b40b e34f 26a5 }
            // n = 4, score = 100
            //   b366                 | mov                 bl, 0x66
            //   b40b                 | mov                 ah, 0xb
            //   e34f                 | jecxz               0x51
            //   26a5                 | movsd               dword ptr es:[edi], dword ptr es:[esi]

        $sequence_30 = { 488bcb 413bc7 8bf8 7c29 4c8bc6 e8???????? 488b8c2488000000 }
            // n = 7, score = 100
            //   488bcb               | jmp                 0x7c
            //   413bc7               | dec                 eax
            //   8bf8                 | mov                 ebx, eax
            //   7c29                 | dec                 eax
            //   4c8bc6               | test                eax, eax
            //   e8????????           |                     
            //   488b8c2488000000     | je                  0x85

        $sequence_31 = { 55 4d 46 734c 81babc5f81ca5c1bea9b a7 4f }
            // n = 7, score = 100
            //   55                   | push                ebp
            //   4d                   | dec                 ebp
            //   46                   | inc                 esi
            //   734c                 | jae                 0x4e
            //   81babc5f81ca5c1bea9b     | cmp    dword ptr [edx - 0x357ea044], 0x9bea1b5c
            //   a7                   | cmpsd               dword ptr [esi], dword ptr es:[edi]
            //   4f                   | dec                 edi

        $sequence_32 = { 89fa 94 61 89f2 }
            // n = 4, score = 100
            //   89fa                 | mov                 edx, edi
            //   94                   | xchg                eax, esp
            //   61                   | popal               
            //   89f2                 | mov                 edx, esi

        $sequence_33 = { 488b05???????? 4c8b4008 48b82003000080f7ffff 488b00 498d90e8000000 48833a00 }
            // n = 6, score = 100
            //   488b05????????       |                     
            //   4c8b4008             | dec                 eax
            //   48b82003000080f7ffff     | mov    ecx, dword ptr [esp + 0x78]
            //   488b00               | inc                 ecx
            //   498d90e8000000       | mov                 eax, ecx
            //   48833a00             | dec                 esp

        $sequence_34 = { 448bc3 488bd0 e8???????? 8bd8 85c0 7811 }
            // n = 6, score = 100
            //   448bc3               | mov                 dl, byte ptr [esi + 8]
            //   488bd0               | dec                 eax
            //   e8????????           |                     
            //   8bd8                 | mov                 ecx, esi
            //   85c0                 | inc                 esp
            //   7811                 | mov                 eax, ebx

        $sequence_35 = { 48833d????????00 418bc1 4c8bf2 448be1 }
            // n = 4, score = 100
            //   48833d????????00     |                     
            //   418bc1               | mov                 esi, ebp
            //   4c8bf2               | dec                 esp
            //   448be1               | mov                 ebp, eax

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