elf.bashlite (Back to overview)

Bashlite

aka: gayfgt, Gafgyt, qbot, torlus, lizkebab
URLhaus        

There is no description at this point.

References
http://blog.trendmicro.com/trendlabs-security-intelligence/bashlite-affects-devices-running-on-busybox/
https://krebsonsecurity.com/2016/09/krebsonsecurity-hit-with-record-ddos/
https://honeynet.org/sites/default/files/Bots_Keep_Talking_To_Us.pdf
Yara Rules
[TLP:WHITE] elf_bashlite_auto (20190620 | autogenerated rule brought to you by yara-signator)
rule elf_bashlite_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.bashlite"
        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???????? 89c2 89d0 c1e81f 01d0 }
            // n = 5, score = 300
            //   e8????????           |                     
            //   89c2                 | mov                 edx, eax
            //   89d0                 | mov                 eax, edx
            //   c1e81f               | shr                 eax, 0x1f
            //   01d0                 | add                 eax, edx

        $sequence_1 = { c785ecefffff00000000 8b85ecefffff c9 c3 }
            // n = 4, score = 300
            //   c785ecefffff00000000     | mov    dword ptr [ebp - 0x1014], 0
            //   8b85ecefffff         | mov                 eax, dword ptr [ebp - 0x1014]
            //   c9                   | leave               
            //   c3                   | ret                 

        $sequence_2 = { e8???????? 8945ec 837dec00 75?? 8b45ec }
            // n = 5, score = 300
            //   e8????????           |                     
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax
            //   837dec00             | cmp                 dword ptr [ebp - 0x14], 0
            //   75??                 |                     
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]

        $sequence_3 = { ff45fc 817dfcff0f0000 7e?? c9 }
            // n = 4, score = 300
            //   ff45fc               | inc                 dword ptr [ebp - 4]
            //   817dfcff0f0000       | cmp                 dword ptr [ebp - 4], 0xfff
            //   7e??                 |                     
            //   c9                   | leave               

        $sequence_4 = { 8945e0 837de0ff 74?? 837de000 }
            // n = 4, score = 300
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax
            //   837de0ff             | cmp                 dword ptr [ebp - 0x20], -1
            //   74??                 |                     
            //   837de000             | cmp                 dword ptr [ebp - 0x20], 0

        $sequence_5 = { 83f8ff 75?? e8???????? 8b00 83f80b }
            // n = 5, score = 300
            //   83f8ff               | cmp                 eax, -1
            //   75??                 |                     
            //   e8????????           |                     
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   83f80b               | cmp                 eax, 0xb

        $sequence_6 = { 3c0a 75?? 837df800 74?? }
            // n = 4, score = 300
            //   3c0a                 | cmp                 al, 0xa
            //   75??                 |                     
            //   837df800             | cmp                 dword ptr [ebp - 8], 0
            //   74??                 |                     

        $sequence_7 = { 31c0 eb?? e8???????? c70016000000 e8???????? }
            // n = 5, score = 300
            //   31c0                 | xor                 eax, eax
            //   eb??                 |                     
            //   e8????????           |                     
            //   c70016000000         | mov                 dword ptr [eax], 0x16
            //   e8????????           |                     

        $sequence_8 = { 837df000 0f8????????? e8???????? 8b00 83f873 }
            // n = 5, score = 300
            //   837df000             | cmp                 dword ptr [ebp - 0x10], 0
            //   0f8?????????         |                     
            //   e8????????           |                     
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   83f873               | cmp                 eax, 0x73

        $sequence_9 = { 83f8ff 75?? e8???????? 8b00 83f873 74?? }
            // n = 6, score = 300
            //   83f8ff               | cmp                 eax, -1
            //   75??                 |                     
            //   e8????????           |                     
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   83f873               | cmp                 eax, 0x73
            //   74??                 |                     

    condition:
        7 of them
}
Download all Yara Rules