elf.mirai (Back to overview)

Mirai

URLhaus        

There is no description at this point.

References
http://osint.bambenekconsulting.com/feeds/
http://www.simonroses.com/2016/10/mirai-ddos-botnet-source-code-binary-analysis/
https://blog.reversinglabs.com/blog/mirai-botnet-continues-to-plague-iot-space
https://blog.trendmicro.com/trendlabs-security-intelligence/with-mirai-comes-miori-iot-botnet-delivered-via-thinkphp-remote-code-execution-exploit/
https://github.com/jgamblin/Mirai-Source-Code
https://honeynet.org/sites/default/files/Bots_Keep_Talking_To_Us.pdf
https://isc.sans.edu/diary/22786
https://krebsonsecurity.com/2016/10/source-code-for-iot-botnet-mirai-released/
https://krebsonsecurity.com/2017/12/mirai-iot-botnet-co-authors-plead-guilty/
https://researchcenter.paloaltonetworks.com/2018/07/unit42-finds-new-mirai-gafgyt-iotlinux-botnet-campaigns/
https://unit42.paloaltonetworks.com/mirai-compiled-for-new-processor-surfaces/
https://www.bleepingcomputer.com/news/security/mirai-activity-picks-up-once-more-after-publication-of-poc-exploit-code/
https://www.politie.nl/nieuws/2019/oktober/2/11-servers-botnet-offline.html
https://www.stratosphereips.org/blog/2019/4/12/analysis-of-a-irc-based-botnet
Yara Rules
[TLP:WHITE] elf_mirai_auto (20190620 | autogenerated rule brought to you by yara-signator)
rule elf_mirai_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-07-05"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.2a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/elf.mirai"
        malpedia_version = "20190620"
        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 / approach 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 = { e8???????? c7433400000000 894330 c6433801 c6433903 c6433a03 }
            // n = 6, score = 300
            //   e8????????           |                     
            //   c7433400000000       | mov                 dword ptr [ebx + 0x34], 0
            //   894330               | mov                 dword ptr [ebx + 0x30], eax
            //   c6433801             | mov                 byte ptr [ebx + 0x38], 1
            //   c6433903             | mov                 byte ptr [ebx + 0x39], 3
            //   c6433a03             | mov                 byte ptr [ebx + 0x3a], 3

        $sequence_1 = { 0f8????????? 66837c2430ff 0f8????????? 66837c2434ff }
            // n = 4, score = 300
            //   0f8?????????         |                     
            //   66837c2430ff         | cmp                 word ptr [esp + 0x30], -1
            //   0f8?????????         |                     
            //   66837c2434ff         | cmp                 word ptr [esp + 0x34], -1

        $sequence_2 = { 89d0 c1e005 01d0 89ca 29c2 }
            // n = 5, score = 300
            //   89d0                 | mov                 eax, edx
            //   c1e005               | shl                 eax, 5
            //   01d0                 | add                 eax, edx
            //   89ca                 | mov                 edx, ecx
            //   29c2                 | sub                 edx, eax

        $sequence_3 = { 837c241cff 0f8????????? 66837c2428ff 0f8????????? 66837c242cff 0f8????????? }
            // n = 6, score = 300
            //   837c241cff           | cmp                 dword ptr [esp + 0x1c], -1
            //   0f8?????????         |                     
            //   66837c2428ff         | cmp                 word ptr [esp + 0x28], -1
            //   0f8?????????         |                     
            //   66837c242cff         | cmp                 word ptr [esp + 0x2c], -1
            //   0f8?????????         |                     

        $sequence_4 = { 83e012 3c12 0f8????????? 83e205 }
            // n = 4, score = 300
            //   83e012               | and                 eax, 0x12
            //   3c12                 | cmp                 al, 0x12
            //   0f8?????????         |                     
            //   83e205               | and                 edx, 5

        $sequence_5 = { 83e012 3c12 0f8????????? 83e205 0f8????????? }
            // n = 5, score = 300
            //   83e012               | and                 eax, 0x12
            //   3c12                 | cmp                 al, 0x12
            //   0f8?????????         |                     
            //   83e205               | and                 edx, 5
            //   0f8?????????         |                     

        $sequence_6 = { c7433400000000 894330 c6433801 c6433903 c6433a03 }
            // n = 5, score = 300
            //   c7433400000000       | mov                 dword ptr [ebx + 0x34], 0
            //   894330               | mov                 dword ptr [ebx + 0x30], eax
            //   c6433801             | mov                 byte ptr [ebx + 0x38], 1
            //   c6433903             | mov                 byte ptr [ebx + 0x39], 3
            //   c6433a03             | mov                 byte ptr [ebx + 0x3a], 3

        $sequence_7 = { 837c241cff 0f8????????? 66837c2428ff 0f8????????? }
            // n = 4, score = 300
            //   837c241cff           | cmp                 dword ptr [esp + 0x1c], -1
            //   0f8?????????         |                     
            //   66837c2428ff         | cmp                 word ptr [esp + 0x28], -1
            //   0f8?????????         |                     

        $sequence_8 = { c1ea03 89d0 c1e005 01d0 89ca 29c2 }
            // n = 6, score = 300
            //   c1ea03               | shr                 edx, 3
            //   89d0                 | mov                 eax, edx
            //   c1e005               | shl                 eax, 5
            //   01d0                 | add                 eax, edx
            //   89ca                 | mov                 edx, ecx
            //   29c2                 | sub                 edx, eax

        $sequence_9 = { 0f8????????? 66837c2434ff 0f8????????? 66837c2436ff 0f8????????? }
            // n = 5, score = 300
            //   0f8?????????         |                     
            //   66837c2434ff         | cmp                 word ptr [esp + 0x34], -1
            //   0f8?????????         |                     
            //   66837c2436ff         | cmp                 word ptr [esp + 0x36], -1
            //   0f8?????????         |                     

    condition:
        7 of them
}
Download all Yara Rules