SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bootwreck (Back to overview)

BOOTWRECK

aka: MBRkiller

Actor(s): Lazarus Group


BOOTWRECK is a master boot record wiper malware.

References
2018-06-07Trend MicroFernando Mercês
@online{mercs:20180607:new:760f179, author = {Fernando Mercês}, title = {{New KillDisk Variant Hits Latin American Financial Organizations Again}}, date = {2018-06-07}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/new-killdisk-variant-hits-latin-american-financial-organizations-again/}, language = {English}, urldate = {2020-01-09} } New KillDisk Variant Hits Latin American Financial Organizations Again
BOOTWRECK
2018FireEyeFireEye
@online{fireeye:2018:apt38:20161b7, author = {FireEye}, title = {{APT38}}, date = {2018}, organization = {FireEye}, url = {https://content.fireeye.com/apt/rpt-apt38}, language = {English}, urldate = {2020-01-13} } APT38
Bitsran BLINDTOAD BOOTWRECK Contopee DarkComet DYEPACK HOTWAX NESTEGG PowerRatankba REDSHAWL WORMHOLE Lazarus Group
Yara Rules
[TLP:WHITE] win_bootwreck_auto (20220808 | Detects win.bootwreck.)
rule win_bootwreck_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-08-05"
        version = "1"
        description = "Detects win.bootwreck."
        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.bootwreck"
        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 = { 015a2a ef ef 6d fc 396855 4c }
            // n = 7, score = 100
            //   015a2a               | add                 dword ptr [edx + 0x2a], ebx
            //   ef                   | out                 dx, eax
            //   ef                   | out                 dx, eax
            //   6d                   | insd                dword ptr es:[edi], dx
            //   fc                   | cld                 
            //   396855               | cmp                 dword ptr [eax + 0x55], ebp
            //   4c                   | dec                 esp

        $sequence_1 = { 8d3c9d16ead0c4 9c 660fb6db 668b1c24 bb???????? 9c }
            // n = 6, score = 100
            //   8d3c9d16ead0c4       | lea                 edi, [ebx*4 - 0x3b2f15ea]
            //   9c                   | pushfd              
            //   660fb6db             | movzx               bx, bl
            //   668b1c24             | mov                 bx, word ptr [esp]
            //   bb????????           |                     
            //   9c                   | pushfd              

        $sequence_2 = { 8b6c2424 c6042445 c60424b7 ff742428 c23000 660fb6f2 52 }
            // n = 7, score = 100
            //   8b6c2424             | mov                 ebp, dword ptr [esp + 0x24]
            //   c6042445             | mov                 byte ptr [esp], 0x45
            //   c60424b7             | mov                 byte ptr [esp], 0xb7
            //   ff742428             | push                dword ptr [esp + 0x28]
            //   c23000               | ret                 0x30
            //   660fb6f2             | movzx               si, dl
            //   52                   | push                edx

        $sequence_3 = { 660fcf 8b7c2448 9c 6689742404 ff742450 c25400 f7d5 }
            // n = 7, score = 100
            //   660fcf               | bswap               di
            //   8b7c2448             | mov                 edi, dword ptr [esp + 0x48]
            //   9c                   | pushfd              
            //   6689742404           | mov                 word ptr [esp + 4], si
            //   ff742450             | push                dword ptr [esp + 0x50]
            //   c25400               | ret                 0x54
            //   f7d5                 | not                 ebp

        $sequence_4 = { 01c8 9c e8???????? 47 731a b1c0 }
            // n = 6, score = 100
            //   01c8                 | add                 eax, ecx
            //   9c                   | pushfd              
            //   e8????????           |                     
            //   47                   | inc                 edi
            //   731a                 | jae                 0x1c
            //   b1c0                 | mov                 cl, 0xc0

        $sequence_5 = { 89450c 38ce 84eb 8b7508 00cc 660fa4f806 660fbaf806 }
            // n = 7, score = 100
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   38ce                 | cmp                 dh, cl
            //   84eb                 | test                bl, ch
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   00cc                 | add                 ah, cl
            //   660fa4f806           | shld                ax, di, 6
            //   660fbaf806           | btc                 ax, 6

        $sequence_6 = { be02000480 740c 56 6a25 53 53 53 }
            // n = 7, score = 100
            //   be02000480           | mov                 esi, 0x80040002
            //   740c                 | je                  0xe
            //   56                   | push                esi
            //   6a25                 | push                0x25
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   53                   | push                ebx

        $sequence_7 = { 60 8d64242c e9???????? f9 8a46ff 6639ec 0f8b8ce3ffff }
            // n = 7, score = 100
            //   60                   | pushal              
            //   8d64242c             | lea                 esp, [esp + 0x2c]
            //   e9????????           |                     
            //   f9                   | stc                 
            //   8a46ff               | mov                 al, byte ptr [esi - 1]
            //   6639ec               | cmp                 sp, bp
            //   0f8b8ce3ffff         | jnp                 0xffffe392

        $sequence_8 = { 0f8f14ffffff 53 53 50 ff35???????? 51 e8???????? }
            // n = 7, score = 100
            //   0f8f14ffffff         | jg                  0xffffff1a
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   50                   | push                eax
            //   ff35????????         |                     
            //   51                   | push                ecx
            //   e8????????           |                     

        $sequence_9 = { 4a 0defd04e8d 3d92572e55 ac 40 7fcc 0b58e6 }
            // n = 7, score = 100
            //   4a                   | dec                 edx
            //   0defd04e8d           | or                  eax, 0x8d4ed0ef
            //   3d92572e55           | cmp                 eax, 0x552e5792
            //   ac                   | lodsb               al, byte ptr [esi]
            //   40                   | inc                 eax
            //   7fcc                 | jg                  0xffffffce
            //   0b58e6               | or                  ebx, dword ptr [eax - 0x1a]

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