SYMBOLCOMMON_NAMEaka. SYNONYMS
win.darkshell (Back to overview)

DarkShell


DarkShell is a DDoS bot seemingly of Chinese origin, discovered in 2011. During 2011, DarkShell was reported to target the industrial food processing industry.

References
2015-12-03360 Internet Security CenterYa Liu
@techreport{liu:20151203:automatically:7e1f412, author = {Ya Liu}, title = {{Automatically Classifying Unknown Bots by The REGISTER Messages}}, date = {2015-12-03}, institution = {360 Internet Security Center}, url = {https://www.botconf.eu/wp-content/uploads/2015/12/OK-P13-Liu-Ya-Automatically-Classify-Unknown-Bots-by-The-Register-Messages.pdf}, language = {English}, urldate = {2022-07-01} } Automatically Classifying Unknown Bots by The REGISTER Messages
Dofloo MrBlack XOR DDoS DarkShell
2012-04-05McAfeeMcAfee
@online{mcafee:20120405:darkshell:d8a6514, author = {McAfee}, title = {{Darkshell DDOS Botnet Evolves With Variants}}, date = {2012-04-05}, organization = {McAfee}, url = {https://www.mcafee.com/blogs/other-blogs/mcafee-labs/darkshell-ddos-botnet-evolves-with-variants/}, language = {English}, urldate = {2021-04-14} } Darkshell DDOS Botnet Evolves With Variants
DarkShell
Yara Rules
[TLP:WHITE] win_darkshell_auto (20230125 | Detects win.darkshell.)
rule win_darkshell_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.darkshell."
        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.darkshell"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 40 f7d8 1ac0 6800020000 240e }
            // n = 5, score = 300
            //   40                   | inc                 eax
            //   f7d8                 | neg                 eax
            //   1ac0                 | sbb                 al, al
            //   6800020000           | push                0x200
            //   240e                 | and                 al, 0xe

        $sequence_1 = { 8d3428 b801000000 33db 3bc3 7508 391e }
            // n = 6, score = 300
            //   8d3428               | lea                 esi, [eax + ebp]
            //   b801000000           | mov                 eax, 1
            //   33db                 | xor                 ebx, ebx
            //   3bc3                 | cmp                 eax, ebx
            //   7508                 | jne                 0xa
            //   391e                 | cmp                 dword ptr [esi], ebx

        $sequence_2 = { 56 89442418 ffd7 6a00 6a00 }
            // n = 5, score = 300
            //   56                   | push                esi
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   ffd7                 | call                edi
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_3 = { 8d442414 52 8b542420 50 }
            // n = 4, score = 300
            //   8d442414             | lea                 eax, [esp + 0x14]
            //   52                   | push                edx
            //   8b542420             | mov                 edx, dword ptr [esp + 0x20]
            //   50                   | push                eax

        $sequence_4 = { 8b542410 53 890f 8b8c2494000000 }
            // n = 4, score = 300
            //   8b542410             | mov                 edx, dword ptr [esp + 0x10]
            //   53                   | push                ebx
            //   890f                 | mov                 dword ptr [edi], ecx
            //   8b8c2494000000       | mov                 ecx, dword ptr [esp + 0x94]

        $sequence_5 = { 50 c705????????04000000 ffd6 a1???????? 68???????? 50 }
            // n = 6, score = 300
            //   50                   | push                eax
            //   c705????????04000000     |     
            //   ffd6                 | call                esi
            //   a1????????           |                     
            //   68????????           |                     
            //   50                   | push                eax

        $sequence_6 = { f3ab 66ab aa 8b442410 83c9ff 8b5008 33c0 }
            // n = 7, score = 300
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   8b442410             | mov                 eax, dword ptr [esp + 0x10]
            //   83c9ff               | or                  ecx, 0xffffffff
            //   8b5008               | mov                 edx, dword ptr [eax + 8]
            //   33c0                 | xor                 eax, eax

        $sequence_7 = { 56 68???????? 8bf1 68???????? ff15???????? 50 ff15???????? }
            // n = 7, score = 300
            //   56                   | push                esi
            //   68????????           |                     
            //   8bf1                 | mov                 esi, ecx
            //   68????????           |                     
            //   ff15????????         |                     
            //   50                   | push                eax
            //   ff15????????         |                     

        $sequence_8 = { 81c4f4030000 c3 33c0 5e }
            // n = 4, score = 300
            //   81c4f4030000         | add                 esp, 0x3f4
            //   c3                   | ret                 
            //   33c0                 | xor                 eax, eax
            //   5e                   | pop                 esi

        $sequence_9 = { 8b4c2414 52 8b542428 50 51 52 }
            // n = 6, score = 300
            //   8b4c2414             | mov                 ecx, dword ptr [esp + 0x14]
            //   52                   | push                edx
            //   8b542428             | mov                 edx, dword ptr [esp + 0x28]
            //   50                   | push                eax
            //   51                   | push                ecx
            //   52                   | push                edx

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