SYMBOLCOMMON_NAMEaka. SYNONYMS
win.mediapi (Back to overview)

MediaPI

aka: Eyeglass

Actor(s): Charming Kitten

VTCollection    

There is no description at this point.

References
2024-01-17 ⋅ Microsoft ⋅ Microsoft Threat Intelligence
New TTPs observed in Mint Sandstorm campaign targeting high-profile individuals at universities and research orgs
MediaPI APT35
Yara Rules
[TLP:WHITE] win_mediapi_auto (20260917 | Detects win.mediapi.)
rule win_mediapi_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.mediapi."
        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.mediapi"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 83c002 89c2 488b4510 4801d0 0fb600 8845ee 8b45f8 }
            // n = 7, score = 100
            //   83c002               | dec                 eax
            //   89c2                 | cwde                
            //   488b4510             | mov                 eax, dword ptr [ebp + 0xddac]
            //   4801d0               | dec                 eax
            //   0fb600               | cwde                
            //   8845ee               | dec                 eax
            //   8b45f8               | mov                 edx, dword ptr [ebp + 0xdd60]

        $sequence_1 = { 488b4510 0fb6400b 488b5510 88420f }
            // n = 4, score = 100
            //   488b4510             | mov                 dword ptr [ebp - 0x50], eax
            //   0fb6400b             | dec                 eax
            //   488b5510             | mov                 dword ptr [ebp - 0x48], 0
            //   88420f               | dec                 eax

        $sequence_2 = { 7925 488d05b7750000 8b00 4898 }
            // n = 4, score = 100
            //   7925                 | lea                 edx, [0x4218]
            //   488d05b7750000       | dec                 eax
            //   8b00                 | mov                 ecx, eax
            //   4898                 | dec                 eax

        $sequence_3 = { 3245fe 8845fc 0fb645fc 89c1 e8???????? 8845fc 0fb645ff }
            // n = 7, score = 100
            //   3245fe               | mov                 eax, dword ptr [ebp - 0x18]
            //   8845fc               | dec                 eax
            //   0fb645fc             | mov                 eax, dword ptr [ebp - 0x10]
            //   89c1                 | dec                 eax
            //   e8????????           |                     
            //   8845fc               | mov                 ecx, eax
            //   0fb645ff             | dec                 eax

        $sequence_4 = { 7f25 488d05917a0000 8b00 4898 }
            // n = 4, score = 100
            //   7f25                 | dec                 eax
            //   488d05917a0000       | mov                 edx, eax
            //   8b00                 | dec                 eax
            //   4898                 | mov                 ecx, dword ptr [ebp + 0xdd48]

        $sequence_5 = { 4883ec10 48894d10 48895518 c645ff00 eb33 0fb645ff 488b5510 }
            // n = 7, score = 100
            //   4883ec10             | lea                 eax, [ebp + 0xb40]
            //   48894d10             | dec                 ecx
            //   48895518             | mov                 eax, ecx
            //   c645ff00             | dec                 eax
            //   eb33                 | mov                 ecx, eax
            //   0fb645ff             | dec                 eax
            //   488b5510             | lea                 eax, [ebp + 0xb40]

        $sequence_6 = { 488b4510 0fb6400e 488b5510 884206 488b5510 }
            // n = 5, score = 100
            //   488b4510             | dec                 eax
            //   0fb6400e             | lea                 edx, [0x5a99]
            //   488b5510             | movzx               eax, byte ptr [eax + edx]
            //   884206               | movzx               eax, byte ptr [ebp - 0x11]
            //   488b5510             | mov                 byte ptr [ebp - 0x12], al

        $sequence_7 = { 4883ec50 48894d10 48895518 4c894520 c745fc00000000 c745f800000000 }
            // n = 6, score = 100
            //   4883ec50             | nop                 
            //   48894d10             | dec                 eax
            //   48895518             | add                 esp, 0x20
            //   4c894520             | pop                 ebp
            //   c745fc00000000       | add                 dword ptr [ebp + 0xf8c], 1
            //   c745f800000000       | mov                 eax, dword ptr [ebp + 0xf8c]

        $sequence_8 = { 488b45e8 488d5004 488b45f0 4889c1 e8???????? }
            // n = 5, score = 100
            //   488b45e8             | movzx               ecx, byte ptr [edx + eax*4]
            //   488d5004             | movzx               eax, byte ptr [ebp - 4]
            //   488b45f0             | movzx               eax, byte ptr [ebp - 1]
            //   4889c1               | dec                 eax
            //   e8????????           |                     

        $sequence_9 = { 488b8560dd0000 4889c1 e8???????? 89855cdd0000 8b855cdd0000 8985a8dd0000 8b855cdd0000 }
            // n = 7, score = 100
            //   488b8560dd0000       | mov                 eax, 0
            //   4889c1               | jmp                 0x566
            //   e8????????           |                     
            //   89855cdd0000         | dec                 eax
            //   8b855cdd0000         | mov                 eax, dword ptr [ebp - 8]
            //   8985a8dd0000         | jmp                 0x566
            //   8b855cdd0000         | dec                 eax

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