SYMBOLCOMMON_NAMEaka. SYNONYMS
win.heyoka (Back to overview)

heyoka


There is no description at this point.

References
2022-06-09Sentinel LABSJoey Chen
@online{chen:20220609:aoqin:134698f, author = {Joey Chen}, title = {{Aoqin Dragon | Newly-Discovered Chinese-linked APT Has Been Quietly Spying On Organizations For 10 Years}}, date = {2022-06-09}, organization = {Sentinel LABS}, url = {https://www.sentinelone.com/labs/aoqin-dragon-newly-discovered-chinese-linked-apt-has-been-quietly-spying-on-organizations-for-10-years/}, language = {English}, urldate = {2022-06-09} } Aoqin Dragon | Newly-Discovered Chinese-linked APT Has Been Quietly Spying On Organizations For 10 Years
heyoka mongall Aoqin Dragon
Yara Rules
[TLP:WHITE] win_heyoka_auto (20230125 | Detects win.heyoka.)
rule win_heyoka_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.heyoka."
        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.heyoka"
        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 = { 8945f8 660fb601 0fb6d0 41 ff45f8 f68261d7011004 894d08 }
            // n = 7, score = 100
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   660fb601             | movzx               ax, byte ptr [ecx]
            //   0fb6d0               | movzx               edx, al
            //   41                   | inc                 ecx
            //   ff45f8               | inc                 dword ptr [ebp - 8]
            //   f68261d7011004       | test                byte ptr [edx + 0x1001d761], 4
            //   894d08               | mov                 dword ptr [ebp + 8], ecx

        $sequence_1 = { 83c001 50 e8???????? 83c404 8945f8 8b45e8 6bc003 }
            // n = 7, score = 100
            //   83c001               | add                 eax, 1
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]
            //   6bc003               | imul                eax, eax, 3

        $sequence_2 = { 8b4dfc 668901 8b55fc 8a4202 0c01 8b4dfc 884102 }
            // n = 7, score = 100
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   668901               | mov                 word ptr [ecx], ax
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   8a4202               | mov                 al, byte ptr [edx + 2]
            //   0c01                 | or                  al, 1
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   884102               | mov                 byte ptr [ecx + 2], al

        $sequence_3 = { 8b55f8 81e2ffff0000 52 8b45f4 50 68???????? }
            // n = 6, score = 100
            //   8b55f8               | mov                 edx, dword ptr [ebp - 8]
            //   81e2ffff0000         | and                 edx, 0xffff
            //   52                   | push                edx
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]
            //   50                   | push                eax
            //   68????????           |                     

        $sequence_4 = { 33c9 8a08 83f93d 7505 e9???????? 8b55f4 }
            // n = 6, score = 100
            //   33c9                 | xor                 ecx, ecx
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   83f93d               | cmp                 ecx, 0x3d
            //   7505                 | jne                 7
            //   e9????????           |                     
            //   8b55f4               | mov                 edx, dword ptr [ebp - 0xc]

        $sequence_5 = { e9???????? 8b4508 0345f8 33c9 8a08 c1f903 8b55fc }
            // n = 7, score = 100
            //   e9????????           |                     
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   0345f8               | add                 eax, dword ptr [ebp - 8]
            //   33c9                 | xor                 ecx, ecx
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   c1f903               | sar                 ecx, 3
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]

        $sequence_6 = { 33c0 8a4202 c1f806 0bc8 8b5510 }
            // n = 5, score = 100
            //   33c0                 | xor                 eax, eax
            //   8a4202               | mov                 al, byte ptr [edx + 2]
            //   c1f806               | sar                 eax, 6
            //   0bc8                 | or                  ecx, eax
            //   8b5510               | mov                 edx, dword ptr [ebp + 0x10]

        $sequence_7 = { 3b4dec 733f 8b550c 8b420c }
            // n = 4, score = 100
            //   3b4dec               | cmp                 ecx, dword ptr [ebp - 0x14]
            //   733f                 | jae                 0x41
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   8b420c               | mov                 eax, dword ptr [edx + 0xc]

        $sequence_8 = { 8b4de8 81bc815c10000000100000 7412 8b55fc 8b45e8 }
            // n = 5, score = 100
            //   8b4de8               | mov                 ecx, dword ptr [ebp - 0x18]
            //   81bc815c10000000100000     | cmp    dword ptr [ecx + eax*4 + 0x105c], 0x1000
            //   7412                 | je                  0x14
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]

        $sequence_9 = { 66898dd8fdffff 680cc00000 e8???????? 668945e8 668b55e4 668955ea 668b45e6 }
            // n = 7, score = 100
            //   66898dd8fdffff       | mov                 word ptr [ebp - 0x228], cx
            //   680cc00000           | push                0xc00c
            //   e8????????           |                     
            //   668945e8             | mov                 word ptr [ebp - 0x18], ax
            //   668b55e4             | mov                 dx, word ptr [ebp - 0x1c]
            //   668955ea             | mov                 word ptr [ebp - 0x16], dx
            //   668b45e6             | mov                 ax, word ptr [ebp - 0x1a]

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