SYMBOLCOMMON_NAMEaka. SYNONYMS
win.hemigate (Back to overview)

HemiGate

Actor(s): Earth Estries

VTCollection    

There is no description at this point.

References
2025-01-21 ⋅ Trend Micro ⋅ Leon Chang, Theo Chen
Game of Emperor: Unveiling Long Term Earth Estries Cyber Intrusions
Cobalt Strike HemiGate ShadowPad SNAPPYBEE SparrowDoor UNC4841
2024-01-25 ⋅ JSAC 2024 ⋅ Hara Hiroaki, Kawakami Ryonosuke, Shota Nakajima
The Secret Life of RATs: connecting the dots by dissecting multiple backdoors
DracuLoader GroundPeony HemiGate PlugX
2023-08-30 ⋅ Trend Micro ⋅ Gilbert Sison, Hara Hiroaki, Lenart Bermejo, Leon M Chang, Ted Lee
Earth Estries Targets Government, Tech for Cyberespionage
Cobalt Strike HemiGate Earth Estries
Yara Rules
[TLP:WHITE] win_hemigate_auto (20260917 | Detects win.hemigate.)
rule win_hemigate_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.hemigate."
        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.hemigate"
        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 = { e8???????? 83c404 33f6 eb55 8b07 803801 7534 }
            // n = 7, score = 200
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   33f6                 | xor                 esi, esi
            //   eb55                 | jmp                 0x57
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   803801               | cmp                 byte ptr [eax], 1
            //   7534                 | jne                 0x36

        $sequence_1 = { 50 e8???????? 83c408 8bcf 85c0 0f44f9 8bdf }
            // n = 7, score = 200
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   8bcf                 | mov                 ecx, edi
            //   85c0                 | test                eax, eax
            //   0f44f9               | cmove               edi, ecx
            //   8bdf                 | mov                 ebx, edi

        $sequence_2 = { 85c0 7454 8b5dd4 8d7e01 4b 3bdf 7c3a }
            // n = 7, score = 200
            //   85c0                 | test                eax, eax
            //   7454                 | je                  0x56
            //   8b5dd4               | mov                 ebx, dword ptr [ebp - 0x2c]
            //   8d7e01               | lea                 edi, [esi + 1]
            //   4b                   | dec                 ebx
            //   3bdf                 | cmp                 ebx, edi
            //   7c3a                 | jl                  0x3c

        $sequence_3 = { 8b550c 8d45d4 50 8d8fa8000000 e8???????? 8b55cc 8d8fb8110100 }
            // n = 7, score = 200
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   50                   | push                eax
            //   8d8fa8000000         | lea                 ecx, [edi + 0xa8]
            //   e8????????           |                     
            //   8b55cc               | mov                 edx, dword ptr [ebp - 0x34]
            //   8d8fb8110100         | lea                 ecx, [edi + 0x111b8]

        $sequence_4 = { c685c4efffff00 8d95c4efffff 6a01 eb1a 8b85a4efffff 50 ffd3 }
            // n = 7, score = 200
            //   c685c4efffff00       | mov                 byte ptr [ebp - 0x103c], 0
            //   8d95c4efffff         | lea                 edx, [ebp - 0x103c]
            //   6a01                 | push                1
            //   eb1a                 | jmp                 0x1c
            //   8b85a4efffff         | mov                 eax, dword ptr [ebp - 0x105c]
            //   50                   | push                eax
            //   ffd3                 | call                ebx

        $sequence_5 = { c1e910 885014 c1ea18 884816 885017 8b5588 8bca }
            // n = 7, score = 200
            //   c1e910               | shr                 ecx, 0x10
            //   885014               | mov                 byte ptr [eax + 0x14], dl
            //   c1ea18               | shr                 edx, 0x18
            //   884816               | mov                 byte ptr [eax + 0x16], cl
            //   885017               | mov                 byte ptr [eax + 0x17], dl
            //   8b5588               | mov                 edx, dword ptr [ebp - 0x78]
            //   8bca                 | mov                 ecx, edx

        $sequence_6 = { 833d????????00 0f841f010000 6a00 8d4618 c70600000000 50 8d4e14 }
            // n = 7, score = 200
            //   833d????????00       |                     
            //   0f841f010000         | je                  0x125
            //   6a00                 | push                0
            //   8d4618               | lea                 eax, [esi + 0x18]
            //   c70600000000         | mov                 dword ptr [esi], 0
            //   50                   | push                eax
            //   8d4e14               | lea                 ecx, [esi + 0x14]

        $sequence_7 = { 99 81e2ff000000 03c2 c1f808 88440b01 8b8d94efffff }
            // n = 6, score = 200
            //   99                   | cdq                 
            //   81e2ff000000         | and                 edx, 0xff
            //   03c2                 | add                 eax, edx
            //   c1f808               | sar                 eax, 8
            //   88440b01             | mov                 byte ptr [ebx + ecx + 1], al
            //   8b8d94efffff         | mov                 ecx, dword ptr [ebp - 0x106c]

        $sequence_8 = { 66c745d00000 8d55d0 c645d200 8bcf 6a03 e8???????? 83c404 }
            // n = 7, score = 200
            //   66c745d00000         | mov                 word ptr [ebp - 0x30], 0
            //   8d55d0               | lea                 edx, [ebp - 0x30]
            //   c645d200             | mov                 byte ptr [ebp - 0x2e], 0
            //   8bcf                 | mov                 ecx, edi
            //   6a03                 | push                3
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_9 = { c3 ff75f8 ff15???????? 83c404 5f 5e b80d000000 }
            // n = 7, score = 200
            //   c3                   | ret                 
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ff15????????         |                     
            //   83c404               | add                 esp, 4
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   b80d000000           | mov                 eax, 0xd

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