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 (20230715 | Detects win.rovnix.)
rule win_rovnix_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        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 = "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 = { 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_1 = { 7405 57 6a00 ffd2 89442408 8bcf }
            // n = 6, score = 900
            //   7405                 | je                  7
            //   57                   | push                edi
            //   6a00                 | push                0
            //   ffd2                 | call                edx
            //   89442408             | mov                 dword ptr [esp + 8], eax
            //   8bcf                 | mov                 ecx, edi

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

        $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 = { 60 bf40090000 be???????? 8b15???????? 83e7f0 }
            // n = 5, score = 500
            //   60                   | pushal              
            //   bf40090000           | mov                 edi, 0x940
            //   be????????           |                     
            //   8b15????????         |                     
            //   83e7f0               | and                 edi, 0xfffffff0

        $sequence_5 = { 8b7e10 eb06 8b5d0c 8b7d08 8bcf }
            // n = 5, score = 400
            //   8b7e10               | mov                 edi, dword ptr [esi + 0x10]
            //   eb06                 | jmp                 8
            //   8b5d0c               | mov                 ebx, dword ptr [ebp + 0xc]
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8bcf                 | mov                 ecx, edi

        $sequence_6 = { 8901 894804 8b4608 8b4e0c 8901 894804 8b4718 }
            // n = 7, score = 400
            //   8901                 | mov                 dword ptr [ecx], eax
            //   894804               | mov                 dword ptr [eax + 4], ecx
            //   8b4608               | mov                 eax, dword ptr [esi + 8]
            //   8b4e0c               | mov                 ecx, dword ptr [esi + 0xc]
            //   8901                 | mov                 dword ptr [ecx], eax
            //   894804               | mov                 dword ptr [eax + 4], ecx
            //   8b4718               | mov                 eax, dword ptr [edi + 0x18]

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

        $sequence_8 = { ff15???????? 8b550c 884304 8bc2 c1e802 25ff000000 8d4cc324 }
            // n = 7, score = 400
            //   ff15????????         |                     
            //   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
            //   8d4cc324             | lea                 ecx, [ebx + eax*8 + 0x24]

        $sequence_9 = { 7703 83c220 85c0 7404 }
            // n = 4, score = 400
            //   7703                 | ja                  5
            //   83c220               | add                 edx, 0x20
            //   85c0                 | test                eax, eax
            //   7404                 | je                  6

        $sequence_10 = { 8bc3 c1e802 25ff000000 8d4cc724 8b01 3bc1 7423 }
            // n = 7, score = 400
            //   8bc3                 | mov                 eax, ebx
            //   c1e802               | shr                 eax, 2
            //   25ff000000           | and                 eax, 0xff
            //   8d4cc724             | lea                 ecx, [edi + eax*8 + 0x24]
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   3bc1                 | cmp                 eax, ecx
            //   7423                 | je                  0x25

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

        $sequence_12 = { 8b4510 85c0 7405 8d4e1c 8908 8b4508 }
            // n = 6, score = 400
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   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_13 = { 85c0 7405 83c61c 8930 }
            // n = 4, score = 400
            //   85c0                 | test                eax, eax
            //   7405                 | je                  7
            //   83c61c               | add                 esi, 0x1c
            //   8930                 | mov                 dword ptr [eax], esi

        $sequence_14 = { 7306 8b00 3bc1 75f3 395e14 7511 ff4e18 }
            // n = 7, score = 400
            //   7306                 | jae                 8
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   3bc1                 | cmp                 eax, ecx
            //   75f3                 | jne                 0xfffffff5
            //   395e14               | cmp                 dword ptr [esi + 0x14], ebx
            //   7511                 | jne                 0x13
            //   ff4e18               | dec                 dword ptr [esi + 0x18]

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

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

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

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

        $sequence_19 = { 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_20 = { 7310 3c3e a0???????? 58 }
            // n = 4, score = 100
            //   7310                 | jae                 0x12
            //   3c3e                 | cmp                 al, 0x3e
            //   a0????????           |                     
            //   58                   | pop                 eax

        $sequence_21 = { fa 3e9b 78b2 fb }
            // n = 4, score = 100
            //   fa                   | cli                 
            //   3e9b                 | wait                
            //   78b2                 | js                  0xffffffb4
            //   fb                   | sti                 

        $sequence_22 = { 85db 85c9 81e1ff000000 85d2 85c9 83440c0404 23c9 }
            // n = 7, score = 100
            //   85db                 | test                ebx, ebx
            //   85c9                 | test                ecx, ecx
            //   81e1ff000000         | and                 ecx, 0xff
            //   85d2                 | test                edx, edx
            //   85c9                 | test                ecx, ecx
            //   83440c0404           | add                 dword ptr [esp + ecx + 4], 4
            //   23c9                 | and                 ecx, ecx

        $sequence_23 = { 02f2 c1ee05 e603 a0???????? 1c75 a4 7aa5 }
            // n = 7, score = 100
            //   02f2                 | add                 dh, dl
            //   c1ee05               | shr                 esi, 5
            //   e603                 | out                 3, al
            //   a0????????           |                     
            //   1c75                 | sbb                 al, 0x75
            //   a4                   | movsb               byte ptr es:[edi], byte ptr [esi]
            //   7aa5                 | jp                  0xffffffa7

        $sequence_24 = { 8b4d08 85c0 81e1ff000000 85c9 83440c0404 }
            // n = 5, score = 100
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   85c0                 | test                eax, eax
            //   81e1ff000000         | and                 ecx, 0xff
            //   85c9                 | test                ecx, ecx
            //   83440c0404           | add                 dword ptr [esp + ecx + 4], 4

        $sequence_25 = { 03c8 4863e9 0f84ae000000 837c247800 488d7b10 }
            // n = 5, score = 100
            //   03c8                 | add                 ecx, eax
            //   4863e9               | dec                 eax
            //   0f84ae000000         | arpl                cx, bp
            //   837c247800           | je                  0xb4
            //   488d7b10             | cmp                 dword ptr [esp + 0x78], 0

        $sequence_26 = { 2e08450d d9b85c252f08 b1de 61 0b69e5 2cb7 }
            // n = 6, score = 100
            //   2e08450d             | or                  byte ptr cs:[ebp + 0xd], al
            //   d9b85c252f08         | fnstcw              word ptr [eax + 0x82f255c]
            //   b1de                 | mov                 cl, 0xde
            //   61                   | popal               
            //   0b69e5               | or                  ebp, dword ptr [ecx - 0x1b]
            //   2cb7                 | sub                 al, 0xb7

        $sequence_27 = { 79b9 1f d337 a6 ff08 }
            // n = 5, score = 100
            //   79b9                 | jns                 0xffffffbb
            //   1f                   | pop                 ds
            //   d337                 | sal                 dword ptr [edi], cl
            //   a6                   | cmpsb               byte ptr [esi], byte ptr es:[edi]
            //   ff08                 | dec                 dword ptr [eax]

        $sequence_28 = { 4c8d442460 498bd5 488bcb e8???????? }
            // n = 4, score = 100
            //   4c8d442460           | xor                 eax, eax
            //   498bd5               | xor                 edx, edx
            //   488bcb               | dec                 eax
            //   e8????????           |                     

        $sequence_29 = { d562 49 2c36 9f 47 }
            // n = 5, score = 100
            //   d562                 | aad                 0x62
            //   49                   | dec                 ecx
            //   2c36                 | sub                 al, 0x36
            //   9f                   | lahf                
            //   47                   | inc                 edi

        $sequence_30 = { 383e cc 3238 3eb382 cd94 }
            // n = 5, score = 100
            //   383e                 | cmp                 byte ptr [esi], bh
            //   cc                   | int3                
            //   3238                 | xor                 bh, byte ptr [eax]
            //   3eb382               | mov                 bl, 0x82
            //   cd94                 | int                 0x94

        $sequence_31 = { 6644895c2422 66453bdf 746f 488b4508 }
            // n = 4, score = 100
            //   6644895c2422         | lea                 edi, [eax + 0x6a]
            //   66453bdf             | cmp                 eax, edi
            //   746f                 | je                  0x51
            //   488b4508             | dec                 eax

        $sequence_32 = { 4533c0 33d2 4883c158 4533c9 418bff 4c897898 }
            // n = 6, score = 100
            //   4533c0               | lea                 edx, [0x69f2]
            //   33d2                 | inc                 sp
            //   4883c158             | mov                 dword ptr [esp + 0x22], ebx
            //   4533c9               | inc                 bp
            //   418bff               | cmp                 ebx, edi
            //   4c897898             | je                  0x75

        $sequence_33 = { d33492 3c48 ee 6d }
            // n = 4, score = 100
            //   d33492               | sal                 dword ptr [edx + edx*4], cl
            //   3c48                 | cmp                 al, 0x48
            //   ee                   | out                 dx, al
            //   6d                   | insd                dword ptr es:[edi], dx

        $sequence_34 = { 85db 59 23c9 81e1ffff0000 85c0 51 }
            // n = 6, score = 100
            //   85db                 | test                ebx, ebx
            //   59                   | pop                 ecx
            //   23c9                 | and                 ecx, ecx
            //   81e1ffff0000         | and                 ecx, 0xffff
            //   85c0                 | test                eax, eax
            //   51                   | push                ecx

        $sequence_35 = { 79e1 23b2eed717b2 ee be6747458e ae }
            // n = 5, score = 100
            //   79e1                 | jns                 0xffffffe3
            //   23b2eed717b2         | and                 esi, dword ptr [edx - 0x4de82812]
            //   ee                   | out                 dx, al
            //   be6747458e           | mov                 esi, 0x8e454767
            //   ae                   | scasb               al, byte ptr es:[edi]

        $sequence_36 = { 45 c3 084c0105 807bf9f3 }
            // n = 4, score = 100
            //   45                   | inc                 ebp
            //   c3                   | ret                 
            //   084c0105             | or                  byte ptr [ecx + eax + 5], cl
            //   807bf9f3             | cmp                 byte ptr [ebx - 7], 0xf3

        $sequence_37 = { e8???????? 65488b0c2588010000 458b4c2404 4183e104 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   65488b0c2588010000     | dec    eax
            //   458b4c2404           | mov                 eax, dword ptr [ebp + 8]
            //   4183e104             | inc                 ebp

        $sequence_38 = { 23c9 8be5 5d c20400 95 367a3e 2d02ca3b45 }
            // n = 7, score = 100
            //   23c9                 | and                 ecx, ecx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   95                   | xchg                eax, ebp
            //   367a3e               | jp                  0x41
            //   2d02ca3b45           | sub                 eax, 0x453bca02

        $sequence_39 = { e8???????? 3bc7 744f 488d15f2690000 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   3bc7                 | xor                 eax, eax
            //   744f                 | xor                 ecx, ecx
            //   488d15f2690000       | inc                 ecx

        $sequence_40 = { 89542418 83c710 8bea b8aa8d0f99 0500e00000 0522840000 }
            // n = 6, score = 100
            //   89542418             | mov                 dword ptr [esp + 0x18], edx
            //   83c710               | add                 edi, 0x10
            //   8bea                 | mov                 ebp, edx
            //   b8aa8d0f99           | mov                 eax, 0x990f8daa
            //   0500e00000           | add                 eax, 0xe000
            //   0522840000           | add                 eax, 0x8422

        $sequence_41 = { 7d58 95 08c1 a3???????? 5c }
            // n = 5, score = 100
            //   7d58                 | jge                 0x5a
            //   95                   | xchg                eax, ebp
            //   08c1                 | or                  cl, al
            //   a3????????           |                     
            //   5c                   | pop                 esp

        $sequence_42 = { 23d2 59 23c9 81e1ffff0000 85d2 51 85c0 }
            // n = 7, score = 100
            //   23d2                 | and                 edx, edx
            //   59                   | pop                 ecx
            //   23c9                 | and                 ecx, ecx
            //   81e1ffff0000         | and                 ecx, 0xffff
            //   85d2                 | test                edx, edx
            //   51                   | push                ecx
            //   85c0                 | test                eax, eax

        $sequence_43 = { 8b2d???????? 4533c0 33c9 418d786a }
            // n = 4, score = 100
            //   8b2d????????         |                     
            //   4533c0               | dec                 eax
            //   33c9                 | lea                 edi, [ebx + 0x10]
            //   418d786a             | inc                 ebp

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