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 (20211008 | Detects win.hacksfase.)
rule win_hacksfase_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        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 = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        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 = { 8965e8 33db 895de0 895de4 895dd8 895ddc 895dfc }
            // n = 7, score = 100
            //   8965e8               | mov                 dword ptr [ebp - 0x18], esp
            //   33db                 | xor                 ebx, ebx
            //   895de0               | mov                 dword ptr [ebp - 0x20], ebx
            //   895de4               | mov                 dword ptr [ebp - 0x1c], ebx
            //   895dd8               | mov                 dword ptr [ebp - 0x28], ebx
            //   895ddc               | mov                 dword ptr [ebp - 0x24], ebx
            //   895dfc               | mov                 dword ptr [ebp - 4], ebx

        $sequence_1 = { 777b ff2485c42b0010 8b15???????? 57 52 ff15???????? a1???????? }
            // n = 7, score = 100
            //   777b                 | ja                  0x7d
            //   ff2485c42b0010       | jmp                 dword ptr [eax*4 + 0x10002bc4]
            //   8b15????????         |                     
            //   57                   | push                edi
            //   52                   | push                edx
            //   ff15????????         |                     
            //   a1????????           |                     

        $sequence_2 = { e8???????? 8b15???????? 83c40c 50 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   8b15????????         |                     
            //   83c40c               | add                 esp, 0xc
            //   50                   | push                eax

        $sequence_3 = { 8d4508 83ec10 8bcc 896518 }
            // n = 4, score = 100
            //   8d4508               | lea                 eax, dword ptr [ebp + 8]
            //   83ec10               | sub                 esp, 0x10
            //   8bcc                 | mov                 ecx, esp
            //   896518               | mov                 dword ptr [ebp + 0x18], esp

        $sequence_4 = { ff15???????? 83c408 85c0 7422 6a01 50 b9???????? }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   83c408               | add                 esp, 8
            //   85c0                 | test                eax, eax
            //   7422                 | je                  0x24
            //   6a01                 | push                1
            //   50                   | push                eax
            //   b9????????           |                     

        $sequence_5 = { 8b5508 8d85acdfffff 52 68???????? 50 ff15???????? 83c40c }
            // n = 7, score = 100
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8d85acdfffff         | lea                 eax, dword ptr [ebp - 0x2054]
            //   52                   | push                edx
            //   68????????           |                     
            //   50                   | push                eax
            //   ff15????????         |                     
            //   83c40c               | add                 esp, 0xc

        $sequence_6 = { 6a18 e8???????? 59 894508 3bc6 c645fc03 7422 }
            // n = 7, score = 100
            //   6a18                 | push                0x18
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   894508               | mov                 dword ptr [ebp + 8], eax
            //   3bc6                 | cmp                 eax, esi
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   7422                 | je                  0x24

        $sequence_7 = { 894dbc 895db4 8d4dec 6a02 894dcc 5f }
            // n = 6, score = 100
            //   894dbc               | mov                 dword ptr [ebp - 0x44], ecx
            //   895db4               | mov                 dword ptr [ebp - 0x4c], ebx
            //   8d4dec               | lea                 ecx, dword ptr [ebp - 0x14]
            //   6a02                 | push                2
            //   894dcc               | mov                 dword ptr [ebp - 0x34], ecx
            //   5f                   | pop                 edi

        $sequence_8 = { 8d45ef 83ec10 8bcc 8965d8 50 68???????? ff15???????? }
            // n = 7, score = 100
            //   8d45ef               | lea                 eax, dword ptr [ebp - 0x11]
            //   83ec10               | sub                 esp, 0x10
            //   8bcc                 | mov                 ecx, esp
            //   8965d8               | mov                 dword ptr [ebp - 0x28], esp
            //   50                   | push                eax
            //   68????????           |                     
            //   ff15????????         |                     

        $sequence_9 = { 50 52 ffd7 85c0 0f84e4000000 eb02 }
            // n = 6, score = 100
            //   50                   | push                eax
            //   52                   | push                edx
            //   ffd7                 | call                edi
            //   85c0                 | test                eax, eax
            //   0f84e4000000         | je                  0xea
            //   eb02                 | jmp                 4

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