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
2022-05-17Positive TechnologiesPositive Technologies
@online{technologies:20220517:space:abd655a, author = {Positive Technologies}, title = {{Space Pirates: analyzing the tools and connections of a new hacker group}}, date = {2022-05-17}, organization = {Positive Technologies}, url = {https://www.ptsecurity.com/ww-en/analytics/pt-esc-threat-intelligence/space-pirates-tools-and-connections/}, language = {English}, urldate = {2022-05-25} } Space Pirates: analyzing the tools and connections of a new hacker group
FormerFirstRAT PlugX Poison Ivy Rovnix ShadowPad Zupdax
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 (20221125 | Detects win.rovnix.)
rule win_rovnix_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        version = "1"
        description = "Detects win.rovnix."
        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.rovnix"
        malpedia_rule_date = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { 837c242c00 7405 57 6a00 ffd2 89442408 8bcf }
            // n = 7, score = 800
            //   837c242c00           | cmp                 dword ptr [esp + 0x2c], 0
            //   7405                 | je                  7
            //   57                   | push                edi
            //   6a00                 | push                0
            //   ffd2                 | call                edx
            //   89442408             | mov                 dword ptr [esp + 8], eax
            //   8bcf                 | mov                 ecx, edi

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

        $sequence_2 = { be???????? 8b15???????? 83e7f0 89542418 83c710 }
            // n = 5, score = 800
            //   be????????           |                     
            //   8b15????????         |                     
            //   83e7f0               | and                 edi, 0xfffffff0
            //   89542418             | mov                 dword ptr [esp + 0x18], edx
            //   83c710               | add                 edi, 0x10

        $sequence_3 = { 83c335 c1e902 ad 2bc3 ab }
            // n = 5, score = 800
            //   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_4 = { 60 bf40090000 be???????? 8b15???????? }
            // n = 4, score = 500
            //   60                   | pushal              
            //   bf40090000           | mov                 edi, 0x940
            //   be????????           |                     
            //   8b15????????         |                     

        $sequence_5 = { 85c0 7405 8d4e1c 8908 8b4508 }
            // n = 5, 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]

        $sequence_6 = { 0f8424010000 8d040a 8a08 33db 84c9 7417 }
            // n = 6, score = 400
            //   0f8424010000         | je                  0x12a
            //   8d040a               | lea                 eax, [edx + ecx]
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   33db                 | xor                 ebx, ebx
            //   84c9                 | test                cl, cl
            //   7417                 | je                  0x19

        $sequence_7 = { 8936 8d7e08 897f04 893f 894e14 }
            // n = 5, score = 400
            //   8936                 | mov                 dword ptr [esi], esi
            //   8d7e08               | lea                 edi, [esi + 8]
            //   897f04               | mov                 dword ptr [edi + 4], edi
            //   893f                 | mov                 dword ptr [edi], edi
            //   894e14               | mov                 dword ptr [esi + 0x14], ecx

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

        $sequence_9 = { 57 6a00 6824080000 6a00 bf9a0000c0 }
            // n = 5, score = 400
            //   57                   | push                edi
            //   6a00                 | push                0
            //   6824080000           | push                0x824
            //   6a00                 | push                0
            //   bf9a0000c0           | mov                 edi, 0xc000009a

        $sequence_10 = { 8b45fc 8b500c 85d2 0f85effeffff eb07 c745f86f0300c0 }
            // n = 6, score = 400
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b500c               | mov                 edx, dword ptr [eax + 0xc]
            //   85d2                 | test                edx, edx
            //   0f85effeffff         | jne                 0xfffffef5
            //   eb07                 | jmp                 9
            //   c745f86f0300c0       | mov                 dword ptr [ebp - 8], 0xc000036f

        $sequence_11 = { 8945f8 0f8cb9000000 8b45fc 8b10 8b4010 895df0 }
            // n = 6, score = 400
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   0f8cb9000000         | jl                  0xbf
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b10                 | mov                 edx, dword ptr [eax]
            //   8b4010               | mov                 eax, dword ptr [eax + 0x10]
            //   895df0               | mov                 dword ptr [ebp - 0x10], ebx

        $sequence_12 = { 50 894dfc ff15???????? 0fb6c0 }
            // n = 4, score = 400
            //   50                   | push                eax
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   ff15????????         |                     
            //   0fb6c0               | movzx               eax, al

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

        $sequence_14 = { c1e802 25ff000000 8d4cc724 8b01 }
            // n = 4, score = 400
            //   c1e802               | shr                 eax, 2
            //   25ff000000           | and                 eax, 0xff
            //   8d4cc724             | lea                 ecx, [edi + eax*8 + 0x24]
            //   8b01                 | mov                 eax, dword ptr [ecx]

        $sequence_15 = { 57 8b7d08 8b8f300a0000 33db 894d08 3bcb }
            // n = 6, score = 400
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8b8f300a0000         | mov                 ecx, dword ptr [edi + 0xa30]
            //   33db                 | xor                 ebx, ebx
            //   894d08               | mov                 dword ptr [ebp + 8], ecx
            //   3bcb                 | cmp                 ecx, ebx

        $sequence_16 = { 03c1 8d1c0a 8945f4 eb6d }
            // n = 4, score = 400
            //   03c1                 | add                 eax, ecx
            //   8d1c0a               | lea                 ebx, [edx + ecx]
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   eb6d                 | jmp                 0x6f

        $sequence_17 = { 8b550c 884304 8bc2 c1e802 25ff000000 }
            // n = 5, score = 400
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   884304               | mov                 byte ptr [ebx + 4], al
            //   8bc2                 | mov                 eax, edx
            //   c1e802               | shr                 eax, 2
            //   25ff000000           | and                 eax, 0xff

        $sequence_18 = { 56 6a00 6a30 6a00 ff15???????? }
            // n = 5, score = 400
            //   56                   | push                esi
            //   6a00                 | push                0
            //   6a30                 | push                0x30
            //   6a00                 | push                0
            //   ff15????????         |                     

        $sequence_19 = { 8b500c 8945fc 3bd3 0f8424010000 8d040a 8a08 }
            // n = 6, score = 400
            //   8b500c               | mov                 edx, dword ptr [eax + 0xc]
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   3bd3                 | cmp                 edx, ebx
            //   0f8424010000         | je                  0x12a
            //   8d040a               | lea                 eax, [edx + ecx]
            //   8a08                 | mov                 cl, byte ptr [eax]

        $sequence_20 = { 8345f404 8b13 85d2 758d eb0a }
            // n = 5, score = 400
            //   8345f404             | add                 dword ptr [ebp - 0xc], 4
            //   8b13                 | mov                 edx, dword ptr [ebx]
            //   85d2                 | test                edx, edx
            //   758d                 | jne                 0xffffff8f
            //   eb0a                 | jmp                 0xc

        $sequence_21 = { 3bc3 0f8489000000 8b4d08 03c1 8d1c0a }
            // n = 5, score = 400
            //   3bc3                 | cmp                 eax, ebx
            //   0f8489000000         | je                  0x8f
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   03c1                 | add                 eax, ecx
            //   8d1c0a               | lea                 ebx, [edx + ecx]

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

        $sequence_23 = { 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_24 = { 16 85c9 23d2 59 }
            // n = 4, score = 200
            //   16                   | push                ss
            //   85c9                 | test                ecx, ecx
            //   23d2                 | and                 edx, edx
            //   59                   | pop                 ecx

        $sequence_25 = { 23c0 8be5 5d c20800 }
            // n = 4, score = 200
            //   23c0                 | and                 eax, eax
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c20800               | ret                 8

        $sequence_26 = { 8be5 5d c3 85c9 e8???????? }
            // n = 5, score = 200
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   85c9                 | test                ecx, ecx
            //   e8????????           |                     

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

        $sequence_28 = { 23c0 81e1ff000000 85db 83440c0404 85db }
            // n = 5, score = 100
            //   23c0                 | and                 eax, eax
            //   81e1ff000000         | and                 ecx, 0xff
            //   85db                 | test                ebx, ebx
            //   83440c0404           | add                 dword ptr [esp + ecx + 4], 4
            //   85db                 | test                ebx, ebx

        $sequence_29 = { c3 bc2fbe3043 63e4 b058 23bb704ced0b }
            // n = 5, score = 100
            //   c3                   | ret                 
            //   bc2fbe3043           | mov                 esp, 0x4330be2f
            //   63e4                 | arpl                sp, sp
            //   b058                 | mov                 al, 0x58
            //   23bb704ced0b         | and                 edi, dword ptr [ebx + 0xbed4c70]

        $sequence_30 = { b344 59 55 238a850de1e1 47 bd81535655 99 }
            // n = 7, score = 100
            //   b344                 | mov                 bl, 0x44
            //   59                   | pop                 ecx
            //   55                   | push                ebp
            //   238a850de1e1         | and                 ecx, dword ptr [edx - 0x1e1ef27b]
            //   47                   | inc                 edi
            //   bd81535655           | mov                 ebp, 0x55565381
            //   99                   | cdq                 

        $sequence_31 = { 5b 714e 8a5084 51 56 }
            // n = 5, score = 100
            //   5b                   | pop                 ebx
            //   714e                 | jno                 0x50
            //   8a5084               | mov                 dl, byte ptr [eax - 0x7c]
            //   51                   | push                ecx
            //   56                   | push                esi

        $sequence_32 = { d3f9 f8 92 54 79af 53 }
            // n = 6, score = 100
            //   d3f9                 | sar                 ecx, cl
            //   f8                   | clc                 
            //   92                   | xchg                eax, edx
            //   54                   | push                esp
            //   79af                 | jns                 0xffffffb1
            //   53                   | push                ebx

        $sequence_33 = { 7217 48 77e1 1b0e }
            // n = 4, score = 100
            //   7217                 | jb                  0x19
            //   48                   | dec                 eax
            //   77e1                 | ja                  0xffffffe3
            //   1b0e                 | sbb                 ecx, dword ptr [esi]

        $sequence_34 = { 89542418 83c710 8bea b8f23a2617 05???????? 0526930000 2df23a2517 }
            // n = 7, score = 100
            //   89542418             | mov                 dword ptr [esp + 0x18], edx
            //   83c710               | add                 edi, 0x10
            //   8bea                 | mov                 ebp, edx
            //   b8f23a2617           | mov                 eax, 0x17263af2
            //   05????????           |                     
            //   0526930000           | add                 eax, 0x9326
            //   2df23a2517           | sub                 eax, 0x17253af2

        $sequence_35 = { 8d26 8dbf271c48ee 6d c048ee6d 97 57 }
            // n = 6, score = 100
            //   8d26                 | lea                 esp, [esi]
            //   8dbf271c48ee         | lea                 edi, [edi - 0x11b7e3d9]
            //   6d                   | insd                dword ptr es:[edi], dx
            //   c048ee6d             | ror                 byte ptr [eax - 0x12], 0x6d
            //   97                   | xchg                eax, edi
            //   57                   | push                edi

        $sequence_36 = { ad c196019d61b708 5c e2da 43 2ce5 e5b9 }
            // n = 7, score = 100
            //   ad                   | lodsd               eax, dword ptr [esi]
            //   c196019d61b708       | rcl                 dword ptr [esi - 0x489e62ff], 8
            //   5c                   | pop                 esp
            //   e2da                 | loop                0xffffffdc
            //   43                   | inc                 ebx
            //   2ce5                 | sub                 al, 0xe5
            //   e5b9                 | in                  eax, 0xb9

        $sequence_37 = { 92 8646b6 c16232ce c8b656e2 3425 33ce }
            // n = 6, score = 100
            //   92                   | xchg                eax, edx
            //   8646b6               | xchg                byte ptr [esi - 0x4a], al
            //   c16232ce             | shl                 dword ptr [edx + 0x32], 0xce
            //   c8b656e2             | enter               0x56b6, -0x1e
            //   3425                 | xor                 al, 0x25
            //   33ce                 | xor                 ecx, esi

        $sequence_38 = { 81e1ffff0000 23d2 85db 51 }
            // n = 4, score = 100
            //   81e1ffff0000         | and                 ecx, 0xffff
            //   23d2                 | and                 edx, edx
            //   85db                 | test                ebx, ebx
            //   51                   | push                ecx

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