SYMBOLCOMMON_NAMEaka. SYNONYMS
win.miragefox (Back to overview)

MirageFox

Actor(s): Mirage


There is no description at this point.

References
2019-10-16Jay Rosenberg
@online{rosenberg:20191016:apt15:d226ae8, author = {Jay Rosenberg}, title = {{APT15}}, date = {2019-10-16}, url = {https://www.intezer.com/miragefox-apt15-resurfaces-with-new-tools-based-on-old-ones/}, language = {English}, urldate = {2019-10-16} } APT15
Mirage MirageFox APT15
Yara Rules
[TLP:WHITE] win_miragefox_auto (20230125 | Detects win.miragefox.)
rule win_miragefox_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.miragefox."
        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.miragefox"
        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 = { 5f 5e 5b c9 c3 81410c08880000 ff492c }
            // n = 7, score = 100
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   c9                   | leave               
            //   c3                   | ret                 
            //   81410c08880000       | add                 dword ptr [ecx + 0xc], 0x8808
            //   ff492c               | dec                 dword ptr [ecx + 0x2c]

        $sequence_1 = { 83c008 6808880000 884508 8d85f0effeff 56 50 e8???????? }
            // n = 7, score = 100
            //   83c008               | add                 eax, 8
            //   6808880000           | push                0x8808
            //   884508               | mov                 byte ptr [ebp + 8], al
            //   8d85f0effeff         | lea                 eax, [ebp - 0x11010]
            //   56                   | push                esi
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_2 = { 57 bb48010000 8975fc 8b7e08 8b460c }
            // n = 5, score = 100
            //   57                   | push                edi
            //   bb48010000           | mov                 ebx, 0x148
            //   8975fc               | mov                 dword ptr [ebp - 4], esi
            //   8b7e08               | mov                 edi, dword ptr [esi + 8]
            //   8b460c               | mov                 eax, dword ptr [esi + 0xc]

        $sequence_3 = { 33c0 69c048010000 50 e8???????? 8945ec }
            // n = 5, score = 100
            //   33c0                 | xor                 eax, eax
            //   69c048010000         | imul                eax, eax, 0x148
            //   50                   | push                eax
            //   e8????????           |                     
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax

        $sequence_4 = { 68???????? 68???????? e8???????? 83c418 8935???????? ebaf }
            // n = 6, score = 100
            //   68????????           |                     
            //   68????????           |                     
            //   e8????????           |                     
            //   83c418               | add                 esp, 0x18
            //   8935????????         |                     
            //   ebaf                 | jmp                 0xffffffb1

        $sequence_5 = { 8bc6 808841f72a0008 40 3dff000000 72f1 53 e8???????? }
            // n = 7, score = 100
            //   8bc6                 | mov                 eax, esi
            //   808841f72a0008       | or                  byte ptr [eax + 0x2af741], 8
            //   40                   | inc                 eax
            //   3dff000000           | cmp                 eax, 0xff
            //   72f1                 | jb                  0xfffffff3
            //   53                   | push                ebx
            //   e8????????           |                     

        $sequence_6 = { eb6a bf14410000 3bcf 0f853dffffff 57 }
            // n = 5, score = 100
            //   eb6a                 | jmp                 0x6c
            //   bf14410000           | mov                 edi, 0x4114
            //   3bcf                 | cmp                 ecx, edi
            //   0f853dffffff         | jne                 0xffffff43
            //   57                   | push                edi

        $sequence_7 = { 50 e8???????? 83e804 8975ec 8d8e08880000 8d7b04 8930 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   e8????????           |                     
            //   83e804               | sub                 eax, 4
            //   8975ec               | mov                 dword ptr [ebp - 0x14], esi
            //   8d8e08880000         | lea                 ecx, [esi + 0x8808]
            //   8d7b04               | lea                 edi, [ebx + 4]
            //   8930                 | mov                 dword ptr [eax], esi

        $sequence_8 = { 50 8b45d8 66895dce 66895dd0 ff30 e8???????? }
            // n = 6, score = 100
            //   50                   | push                eax
            //   8b45d8               | mov                 eax, dword ptr [ebp - 0x28]
            //   66895dce             | mov                 word ptr [ebp - 0x32], bx
            //   66895dd0             | mov                 word ptr [ebp - 0x30], bx
            //   ff30                 | push                dword ptr [eax]
            //   e8????????           |                     

        $sequence_9 = { 33c0 807dea01 0f95c0 83c005 }
            // n = 4, score = 100
            //   33c0                 | xor                 eax, eax
            //   807dea01             | cmp                 byte ptr [ebp - 0x16], 1
            //   0f95c0               | setne               al
            //   83c005               | add                 eax, 5

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