SYMBOLCOMMON_NAMEaka. SYNONYMS
win.hesperbot (Back to overview)

HesperBot

VTCollection    

There is no description at this point.

References
2013-09-09 ⋅ ESET Research ⋅ Anton Cherepanov, Robert Lipovsky
HESPERBOT A New, Advanced Banking Trojan in the Wild
HesperBot
Yara Rules
[TLP:WHITE] win_hesperbot_auto (20260917 | Detects win.hesperbot.)
rule win_hesperbot_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.hesperbot."
        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.hesperbot"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 8d048504000000 8d5e02 8b7508 50 d1ff e8???????? 59 }
            // n = 7, score = 500
            //   8d048504000000       | lea                 eax, [eax*4 + 4]
            //   8d5e02               | lea                 ebx, [esi + 2]
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   50                   | push                eax
            //   d1ff                 | sar                 edi, 1
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_1 = { 7409 8bcb e8???????? 8bf8 8d4701 3bd0 7624 }
            // n = 7, score = 500
            //   7409                 | je                  0xb
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   8d4701               | lea                 eax, [edi + 1]
            //   3bd0                 | cmp                 edx, eax
            //   7624                 | jbe                 0x26

        $sequence_2 = { 837e4878 72f0 8b4e40 8b4644 8bd0 895c242c 668bd9 }
            // n = 7, score = 500
            //   837e4878             | cmp                 dword ptr [esi + 0x48], 0x78
            //   72f0                 | jb                  0xfffffff2
            //   8b4e40               | mov                 ecx, dword ptr [esi + 0x40]
            //   8b4644               | mov                 eax, dword ptr [esi + 0x44]
            //   8bd0                 | mov                 edx, eax
            //   895c242c             | mov                 dword ptr [esp + 0x2c], ebx
            //   668bd9               | mov                 bx, cx

        $sequence_3 = { 40 3bd6 7420 57 837a0802 8b3a 750c }
            // n = 7, score = 500
            //   40                   | inc                 eax
            //   3bd6                 | cmp                 edx, esi
            //   7420                 | je                  0x22
            //   57                   | push                edi
            //   837a0802             | cmp                 dword ptr [edx + 8], 2
            //   8b3a                 | mov                 edi, dword ptr [edx]
            //   750c                 | jne                 0xe

        $sequence_4 = { 51 894004 8900 e8???????? 33c0 }
            // n = 5, score = 500
            //   51                   | push                ecx
            //   894004               | mov                 dword ptr [eax + 4], eax
            //   8900                 | mov                 dword ptr [eax], eax
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax

        $sequence_5 = { 0bee 8b742418 33c5 8b6c241c 0faceb0e 33ff 0bfb }
            // n = 7, score = 500
            //   0bee                 | or                  ebp, esi
            //   8b742418             | mov                 esi, dword ptr [esp + 0x18]
            //   33c5                 | xor                 eax, ebp
            //   8b6c241c             | mov                 ebp, dword ptr [esp + 0x1c]
            //   0faceb0e             | shrd                ebx, ebp, 0xe
            //   33ff                 | xor                 edi, edi
            //   0bfb                 | or                  edi, ebx

        $sequence_6 = { 85c0 7417 837dfc01 750a 33c9 803801 0f94c1 }
            // n = 7, score = 500
            //   85c0                 | test                eax, eax
            //   7417                 | je                  0x19
            //   837dfc01             | cmp                 dword ptr [ebp - 4], 1
            //   750a                 | jne                 0xc
            //   33c9                 | xor                 ecx, ecx
            //   803801               | cmp                 byte ptr [eax], 1
            //   0f94c1               | sete                cl

        $sequence_7 = { 83f8ff 7505 e8???????? 8d55fc 52 6a00 }
            // n = 6, score = 500
            //   83f8ff               | cmp                 eax, -1
            //   7505                 | jne                 7
            //   e8????????           |                     
            //   8d55fc               | lea                 edx, [ebp - 4]
            //   52                   | push                edx
            //   6a00                 | push                0

        $sequence_8 = { 50 50 8945fc 8945f4 8945f8 8d45fc }
            // n = 6, score = 500
            //   50                   | push                eax
            //   50                   | push                eax
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8d45fc               | lea                 eax, [ebp - 4]

        $sequence_9 = { 894a04 e8???????? 33db 59 43 57 ff15???????? }
            // n = 7, score = 500
            //   894a04               | mov                 dword ptr [edx + 4], ecx
            //   e8????????           |                     
            //   33db                 | xor                 ebx, ebx
            //   59                   | pop                 ecx
            //   43                   | inc                 ebx
            //   57                   | push                edi
            //   ff15????????         |                     

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