SYMBOLCOMMON_NAMEaka. SYNONYMS
win.hacksfase (Back to overview)

Hacksfase

Actor(s): Comment Crew


There is no description at this point.

References
2018MandiantMandiant
@techreport{mandiant:2018:apt1:b76cc4d, author = {Mandiant}, title = {{APT1}}, date = {2018}, institution = {Mandiant}, url = {https://github.com/securitykitten/malware_references/blob/master/Appendix%20C%20(Digital)%20-%20The%20Malware%20Arsenal.pdf}, language = {English}, urldate = {2020-01-13} } APT1
Auriga Biscuit Bouncer Combos CookieBag Dairy GetMail GlooxMail Goggles Hacksfase Helauto Kurton ManItsMe MAPIget MiniASP NewsReels SeaSalt StarsyPound Sword TabMsgSQL Tarsip WebC2-AdSpace WebC2-Ausov WebC2-Bolid WebC2-Cson WebC2-DIV WebC2-GreenCat WebC2-Head WebC2-Kt3 WebC2-Qbp WebC2-Rave WebC2-Table WebC2-UGX WebC2-Yahoo
Yara Rules
[TLP:WHITE] win_hacksfase_auto (20230715 | Detects win.hacksfase.)
rule win_hacksfase_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.hacksfase."
        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.hacksfase"
        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 = { 7435 50 ffd6 5f 5e }
            // n = 5, score = 100
            //   7435                 | je                  0x37
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi

        $sequence_1 = { 895e24 895e28 740d 50 ff15???????? 895e30 895e2c }
            // n = 7, score = 100
            //   895e24               | mov                 dword ptr [esi + 0x24], ebx
            //   895e28               | mov                 dword ptr [esi + 0x28], ebx
            //   740d                 | je                  0xf
            //   50                   | push                eax
            //   ff15????????         |                     
            //   895e30               | mov                 dword ptr [esi + 0x30], ebx
            //   895e2c               | mov                 dword ptr [esi + 0x2c], ebx

        $sequence_2 = { 53 51 ff7628 895dbc 895dc4 895dc0 895dc8 }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   51                   | push                ecx
            //   ff7628               | push                dword ptr [esi + 0x28]
            //   895dbc               | mov                 dword ptr [ebp - 0x44], ebx
            //   895dc4               | mov                 dword ptr [ebp - 0x3c], ebx
            //   895dc0               | mov                 dword ptr [ebp - 0x40], ebx
            //   895dc8               | mov                 dword ptr [ebp - 0x38], ebx

        $sequence_3 = { 832600 83c60c 4b 75ef 5e }
            // n = 5, score = 100
            //   832600               | and                 dword ptr [esi], 0
            //   83c60c               | add                 esi, 0xc
            //   4b                   | dec                 ebx
            //   75ef                 | jne                 0xfffffff1
            //   5e                   | pop                 esi

        $sequence_4 = { 51 8b0d???????? 89842418040000 e8???????? b9???????? e8???????? }
            // n = 6, score = 100
            //   51                   | push                ecx
            //   8b0d????????         |                     
            //   89842418040000       | mov                 dword ptr [esp + 0x418], eax
            //   e8????????           |                     
            //   b9????????           |                     
            //   e8????????           |                     

        $sequence_5 = { a806 746c b9???????? c78424bc02000003000000 c78424c002000002000000 c78424c4020000ffffffff c78424b802000010000000 }
            // n = 7, score = 100
            //   a806                 | test                al, 6
            //   746c                 | je                  0x6e
            //   b9????????           |                     
            //   c78424bc02000003000000     | mov    dword ptr [esp + 0x2bc], 3
            //   c78424c002000002000000     | mov    dword ptr [esp + 0x2c0], 2
            //   c78424c4020000ffffffff     | mov    dword ptr [esp + 0x2c4], 0xffffffff
            //   c78424b802000010000000     | mov    dword ptr [esp + 0x2b8], 0x10

        $sequence_6 = { 8b35???????? 85f6 7412 6a00 8bce e8???????? }
            // n = 6, score = 100
            //   8b35????????         |                     
            //   85f6                 | test                esi, esi
            //   7412                 | je                  0x14
            //   6a00                 | push                0
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     

        $sequence_7 = { a1???????? 85c0 7428 50 ff15???????? 83c404 85c0 }
            // n = 7, score = 100
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   7428                 | je                  0x2a
            //   50                   | push                eax
            //   ff15????????         |                     
            //   83c404               | add                 esp, 4
            //   85c0                 | test                eax, eax

        $sequence_8 = { 0f8400030000 ebbb c744241400000000 8b442414 83c9ff }
            // n = 5, score = 100
            //   0f8400030000         | je                  0x306
            //   ebbb                 | jmp                 0xffffffbd
            //   c744241400000000     | mov                 dword ptr [esp + 0x14], 0
            //   8b442414             | mov                 eax, dword ptr [esp + 0x14]
            //   83c9ff               | or                  ecx, 0xffffffff

        $sequence_9 = { 5f c3 55 8bec 51 8a4108 8365fc00 }
            // n = 7, score = 100
            //   5f                   | pop                 edi
            //   c3                   | ret                 
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   51                   | push                ecx
            //   8a4108               | mov                 al, byte ptr [ecx + 8]
            //   8365fc00             | and                 dword ptr [ebp - 4], 0

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