SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ahtapot (Back to overview)

Ahtapot


There is no description at this point.

References
2021-09-08SentinelOneJuan Andrés Guerrero-Saade, Igor Tsemakhovich
@techreport{guerrerosaade:20210908:egomaniac:9397249, author = {Juan Andrés Guerrero-Saade and Igor Tsemakhovich}, title = {{Egomaniac: An Unscrupulous Turkish-Nexus Threat Actor}}, date = {2021-09-08}, institution = {SentinelOne}, url = {https://www.sentinelone.com/wp-content/uploads/2021/09/SentinelOne_-SentinelLabs_EGoManiac_WP_V4.pdf}, language = {English}, urldate = {2021-10-24} } Egomaniac: An Unscrupulous Turkish-Nexus Threat Actor
Ahtapot Rad Turkojan
Yara Rules
[TLP:WHITE] win_ahtapot_auto (20230715 | Detects win.ahtapot.)
rule win_ahtapot_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.ahtapot."
        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.ahtapot"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 6683bc7588fdffff00 8d847588fdffff 75e5 33c9 8d8580fbffff 50 66898c7d88fdffff }
            // n = 7, score = 100
            //   6683bc7588fdffff00     | cmp    word ptr [ebp + esi*2 - 0x278], 0
            //   8d847588fdffff       | lea                 eax, [ebp + esi*2 - 0x278]
            //   75e5                 | jne                 0xffffffe7
            //   33c9                 | xor                 ecx, ecx
            //   8d8580fbffff         | lea                 eax, [ebp - 0x480]
            //   50                   | push                eax
            //   66898c7d88fdffff     | mov                 word ptr [ebp + edi*2 - 0x278], cx

        $sequence_1 = { e8???????? 53 8d8dd4cbffff 8985dccbffff }
            // n = 4, score = 100
            //   e8????????           |                     
            //   53                   | push                ebx
            //   8d8dd4cbffff         | lea                 ecx, [ebp - 0x342c]
            //   8985dccbffff         | mov                 dword ptr [ebp - 0x3424], eax

        $sequence_2 = { 7407 47 3bf8 7cf5 eb08 897df8 83ffff }
            // n = 7, score = 100
            //   7407                 | je                  9
            //   47                   | inc                 edi
            //   3bf8                 | cmp                 edi, eax
            //   7cf5                 | jl                  0xfffffff7
            //   eb08                 | jmp                 0xa
            //   897df8               | mov                 dword ptr [ebp - 8], edi
            //   83ffff               | cmp                 edi, -1

        $sequence_3 = { 8bfe 46 6683bc7588fdffff00 8d847588fdffff 75e5 33c9 }
            // n = 6, score = 100
            //   8bfe                 | mov                 edi, esi
            //   46                   | inc                 esi
            //   6683bc7588fdffff00     | cmp    word ptr [ebp + esi*2 - 0x278], 0
            //   8d847588fdffff       | lea                 eax, [ebp + esi*2 - 0x278]
            //   75e5                 | jne                 0xffffffe7
            //   33c9                 | xor                 ecx, ecx

        $sequence_4 = { 68???????? e8???????? 59 c3 c705????????bc624200 b9???????? e9???????? }
            // n = 7, score = 100
            //   68????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   c3                   | ret                 
            //   c705????????bc624200     |     
            //   b9????????           |                     
            //   e9????????           |                     

        $sequence_5 = { 6a00 51 e8???????? 83c40c 8d95bcfbffff }
            // n = 5, score = 100
            //   6a00                 | push                0
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d95bcfbffff         | lea                 edx, [ebp - 0x444]

        $sequence_6 = { 83c40c 83bd18ecffff00 7607 68???????? eb4d 8b851cecffff 3d00001000 }
            // n = 7, score = 100
            //   83c40c               | add                 esp, 0xc
            //   83bd18ecffff00       | cmp                 dword ptr [ebp - 0x13e8], 0
            //   7607                 | jbe                 9
            //   68????????           |                     
            //   eb4d                 | jmp                 0x4f
            //   8b851cecffff         | mov                 eax, dword ptr [ebp - 0x13e4]
            //   3d00001000           | cmp                 eax, 0x100000

        $sequence_7 = { 8b3d???????? 50 56 8d8e6c020000 51 8d95e0eeffff 68???????? }
            // n = 7, score = 100
            //   8b3d????????         |                     
            //   50                   | push                eax
            //   56                   | push                esi
            //   8d8e6c020000         | lea                 ecx, [esi + 0x26c]
            //   51                   | push                ecx
            //   8d95e0eeffff         | lea                 edx, [ebp - 0x1120]
            //   68????????           |                     

        $sequence_8 = { 50 b878140000 e8???????? a1???????? 33c5 8945ec }
            // n = 6, score = 100
            //   50                   | push                eax
            //   b878140000           | mov                 eax, 0x1478
            //   e8????????           |                     
            //   a1????????           |                     
            //   33c5                 | xor                 eax, ebp
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax

        $sequence_9 = { eb12 8b45e0 8a80ecda4200 08443b1d 0fb64601 }
            // n = 5, score = 100
            //   eb12                 | jmp                 0x14
            //   8b45e0               | mov                 eax, dword ptr [ebp - 0x20]
            //   8a80ecda4200         | mov                 al, byte ptr [eax + 0x42daec]
            //   08443b1d             | or                  byte ptr [ebx + edi + 0x1d], al
            //   0fb64601             | movzx               eax, byte ptr [esi + 1]

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