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 (20201014 | autogenerated rule brought to you by yara-signator)
rule win_hamweq_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hamweq"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { 837de000 0f847a030000 85c0 0f8472030000 ff35???????? ff75f8 ffd6 }
            // n = 7, score = 200
            //   837de000             | cmp                 dword ptr [ebp - 0x20], 0
            //   0f847a030000         | je                  0x380
            //   85c0                 | test                eax, eax
            //   0f8472030000         | je                  0x378
            //   ff35????????         |                     
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ffd6                 | call                esi

        $sequence_1 = { ff75f8 ffd6 ff35???????? 89851cffffff ff75f8 ffd6 ff35???????? }
            // n = 7, score = 200
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ffd6                 | call                esi
            //   ff35????????         |                     
            //   89851cffffff         | mov                 dword ptr [ebp - 0xe4], eax
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ffd6                 | call                esi
            //   ff35????????         |                     

        $sequence_2 = { eb8f 6afb 58 eb02 }
            // n = 4, score = 200
            //   eb8f                 | jmp                 0xffffff91
            //   6afb                 | push                -5
            //   58                   | pop                 eax
            //   eb02                 | jmp                 4

        $sequence_3 = { 83783800 7455 ffb098000000 8b0e }
            // n = 4, score = 200
            //   83783800             | cmp                 dword ptr [eax + 0x38], 0
            //   7455                 | je                  0x57
            //   ffb098000000         | push                dword ptr [eax + 0x98]
            //   8b0e                 | mov                 ecx, dword ptr [esi]

        $sequence_4 = { 23c1 85c0 7501 c3 8b4c2404 40 }
            // n = 6, score = 200
            //   23c1                 | and                 eax, ecx
            //   85c0                 | test                eax, eax
            //   7501                 | jne                 3
            //   c3                   | ret                 
            //   8b4c2404             | mov                 ecx, dword ptr [esp + 4]
            //   40                   | inc                 eax

        $sequence_5 = { 57 8b3d???????? 8bf0 ff30 }
            // n = 4, score = 200
            //   57                   | push                edi
            //   8b3d????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   ff30                 | push                dword ptr [eax]

        $sequence_6 = { f7fb 8b442418 80c261 88143e }
            // n = 4, score = 200
            //   f7fb                 | idiv                ebx
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]
            //   80c261               | add                 dl, 0x61
            //   88143e               | mov                 byte ptr [esi + edi], dl

        $sequence_7 = { 8b06 ff75e4 e9???????? 3b4508 }
            // n = 4, score = 200
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   ff75e4               | push                dword ptr [ebp - 0x1c]
            //   e9????????           |                     
            //   3b4508               | cmp                 eax, dword ptr [ebp + 8]

        $sequence_8 = { 8b06 ff5054 8b5604 8d4508 50 8b0e 33c0 }
            // n = 7, score = 200
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   ff5054               | call                dword ptr [eax + 0x54]
            //   8b5604               | mov                 edx, dword ptr [esi + 4]
            //   8d4508               | lea                 eax, [ebp + 8]
            //   50                   | push                eax
            //   8b0e                 | mov                 ecx, dword ptr [esi]
            //   33c0                 | xor                 eax, eax

        $sequence_9 = { ff75f8 ffd6 ff35???????? 898534ffffff ff75f8 ffd6 ff35???????? }
            // n = 7, score = 200
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ffd6                 | call                esi
            //   ff35????????         |                     
            //   898534ffffff         | mov                 dword ptr [ebp - 0xcc], eax
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ffd6                 | call                esi
            //   ff35????????         |                     

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