SYMBOLCOMMON_NAMEaka. SYNONYMS
win.hamweq (Back to overview)

Hamweq


There is no description at this point.

References
2020-07-13Youtube (OALabs)Sergei Frankoff, OALabs
@online{frankoff:20200713:how:fd519be, author = {Sergei Frankoff and OALabs}, title = {{How To Sinkhole A Botnet}}, date = {2020-07-13}, organization = {Youtube (OALabs)}, url = {https://www.youtube.com/watch?v=FAFuSO9oAl0}, language = {English}, urldate = {2020-07-16} } How To Sinkhole A Botnet
Hamweq
2020-05-31Nullteilerfrei BlogLars Wallenborn
@online{wallenborn:20200531:string:53b78a9, author = {Lars Wallenborn}, title = {{String Obfuscation in the Hamweq IRC-bot}}, date = {2020-05-31}, organization = {Nullteilerfrei Blog}, url = {https://blag.nullteilerfrei.de/2020/05/31/string-obfuscation-in-the-hamweq-irc-bot/}, language = {English}, urldate = {2020-06-05} } String Obfuscation in the Hamweq IRC-bot
Hamweq
2020-05-30Youtube (OALabs)Sergei Frankoff
@online{frankoff:20200530:irc:a711f6e, author = {Sergei Frankoff}, title = {{IRC Botnet Reverse Engineering Part 1 - Preparing Binary for Analysis in IDA PRO}}, date = {2020-05-30}, organization = {Youtube (OALabs)}, url = {https://www.youtube.com/watch?v=JPvcLLYR0tE}, language = {English}, urldate = {2020-06-05} } IRC Botnet Reverse Engineering Part 1 - Preparing Binary for Analysis in IDA PRO
Hamweq
2011-06-03CERT Polska / NASKCERT.PL
@techreport{certpl:20110603:botnet:fd65588, author = {CERT.PL}, title = {{Botnet Hamweq - analiza}}, date = {2011-06-03}, institution = {CERT Polska / NASK}, url = {https://www.cert.pl/wp-content/uploads/2011/06/201106_hamweq.pdf}, language = {Polish}, urldate = {2019-11-28} } Botnet Hamweq - analiza
Hamweq
Yara Rules
[TLP:WHITE] win_hamweq_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_hamweq_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.hamweq"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { ff501c 8b06 ff7508 ff5020 8b4e08 8b06 ffb180010000 }
            // n = 7, score = 200
            //   ff501c               | call                dword ptr [eax + 0x1c]
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   ff5020               | call                dword ptr [eax + 0x20]
            //   8b4e08               | mov                 ecx, dword ptr [esi + 8]
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   ffb180010000         | push                dword ptr [ecx + 0x180]

        $sequence_1 = { 8945f4 0f8460070000 833d????????00 7475 c745fc10504000 }
            // n = 5, score = 200
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   0f8460070000         | je                  0x766
            //   833d????????00       |                     
            //   7475                 | je                  0x77
            //   c745fc10504000       | mov                 dword ptr [ebp - 4], 0x405010

        $sequence_2 = { ff5044 3bd8 7cb4 8b4608 c644070401 }
            // n = 5, score = 200
            //   ff5044               | call                dword ptr [eax + 0x44]
            //   3bd8                 | cmp                 ebx, eax
            //   7cb4                 | jl                  0xffffffb6
            //   8b4608               | mov                 eax, dword ptr [esi + 8]
            //   c644070401           | mov                 byte ptr [edi + eax + 4], 1

        $sequence_3 = { 8bf8 85ff 897df8 0f84a7070000 ff35???????? }
            // n = 5, score = 200
            //   8bf8                 | mov                 edi, eax
            //   85ff                 | test                edi, edi
            //   897df8               | mov                 dword ptr [ebp - 8], edi
            //   0f84a7070000         | je                  0x7ad
            //   ff35????????         |                     

        $sequence_4 = { 0f8579040000 8b45f0 6a40 89850cffffff b8ad304000 2d00104000 }
            // n = 6, score = 200
            //   0f8579040000         | jne                 0x47f
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   6a40                 | push                0x40
            //   89850cffffff         | mov                 dword ptr [ebp - 0xf4], eax
            //   b8ad304000           | mov                 eax, 0x4030ad
            //   2d00104000           | sub                 eax, 0x401000

        $sequence_5 = { 53 53 8d8dfcfeffff 53 51 6802000080 }
            // n = 6, score = 200
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   8d8dfcfeffff         | lea                 ecx, [ebp - 0x104]
            //   53                   | push                ebx
            //   51                   | push                ecx
            //   6802000080           | push                0x80000002

        $sequence_6 = { 56 57 8b7c2414 33f6 8b4110 }
            // n = 5, score = 200
            //   56                   | push                esi
            //   57                   | push                edi
            //   8b7c2414             | mov                 edi, dword ptr [esp + 0x14]
            //   33f6                 | xor                 esi, esi
            //   8b4110               | mov                 eax, dword ptr [ecx + 0x10]

        $sequence_7 = { 0fb74dd8 0fb745d6 03c8 0fb745d4 03c8 }
            // n = 5, score = 200
            //   0fb74dd8             | movzx               ecx, word ptr [ebp - 0x28]
            //   0fb745d6             | movzx               eax, word ptr [ebp - 0x2a]
            //   03c8                 | add                 ecx, eax
            //   0fb745d4             | movzx               eax, word ptr [ebp - 0x2c]
            //   03c8                 | add                 ecx, eax

        $sequence_8 = { bf00100000 8b45fc 8b00 85c0 7448 6a40 57 }
            // n = 7, score = 200
            //   bf00100000           | mov                 edi, 0x1000
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   85c0                 | test                eax, eax
            //   7448                 | je                  0x4a
            //   6a40                 | push                0x40
            //   57                   | push                edi

        $sequence_9 = { c3 8b442408 8a08 84c9 7408 }
            // n = 5, score = 200
            //   c3                   | ret                 
            //   8b442408             | mov                 eax, dword ptr [esp + 8]
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   84c9                 | test                cl, cl
            //   7408                 | je                  0xa

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