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-17MicrosoftMicrosoft 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 (20260504 | Detects win.mediapi.)
rule win_mediapi_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 8b05???????? c1e010 4898 48394518 77e0 8b05???????? c1e010 }
            // n = 7, score = 100
            //   8b05????????         |                     
            //   c1e010               | dec                 eax
            //   4898                 | mov                 eax, dword ptr [ebp - 0x18]
            //   48394518             | dec                 eax
            //   77e0                 | lea                 edx, [eax + 1]
            //   8b05????????         |                     
            //   c1e010               | dec                 eax

        $sequence_1 = { 83f804 755c 0fb645ec 0fb6c0 4898 488d155b5a0000 0fb60410 }
            // n = 7, score = 100
            //   83f804               | mov                 edx, dword ptr [ebp - 4]
            //   755c                 | shl                 edx, 2
            //   0fb645ec             | mov                 ecx, edx
            //   0fb6c0               | dec                 eax
            //   4898                 | mov                 edx, dword ptr [ebp + 0x10]
            //   488d155b5a0000       | dec                 eax
            //   0fb60410             | add                 edx, ecx

        $sequence_2 = { 4801d0 0fb600 89c1 488b9548dd0000 }
            // n = 4, score = 100
            //   4801d0               | inc                 ecx
            //   0fb600               | pop                 ebp
            //   89c1                 | ret                 
            //   488b9548dd0000       | dec                 eax

        $sequence_3 = { e8???????? 488945f8 c705????????01000000 488b45f8 4883c430 }
            // n = 5, score = 100
            //   e8????????           |                     
            //   488945f8             | dec                 eax
            //   c705????????01000000     |     
            //   488b45f8             | mov                 eax, dword ptr [ebp - 0x18]
            //   4883c430             | dec                 eax

        $sequence_4 = { e8???????? 8b85a8dd0000 4863c8 488b9548dd0000 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   8b85a8dd0000         | dec                 eax
            //   4863c8               | mov                 eax, dword ptr [ebp + 0x18]
            //   488b9548dd0000       | je                  0xd9

        $sequence_5 = { 8945f8 eb0e 8b45f8 4898 c64405d900 8345f801 }
            // n = 6, score = 100
            //   8945f8               | dec                 esp
            //   eb0e                 | mov                 ecx, dword ptr [ebp + 0x10]
            //   8b45f8               | dec                 eax
            //   4898                 | arpl                cx, cx
            //   c64405d900           | movzx               ecx, byte ptr [ebp - 1]
            //   8345f801             | dec                 eax

        $sequence_6 = { 89c1 e8???????? 31c6 0fb645fa }
            // n = 4, score = 100
            //   89c1                 | lea                 eax, [ebp + 0x220]
            //   e8????????           |                     
            //   31c6                 | inc                 ecx
            //   0fb645fa             | mov                 eax, 0x40

        $sequence_7 = { 89c1 e8???????? 8045ff01 ebc3 90 488b4518 }
            // n = 6, score = 100
            //   89c1                 | shl                 eax, 2
            //   e8????????           |                     
            //   8045ff01             | and                 eax, 0x3c
            //   ebc3                 | mov                 edx, eax
            //   90                   | movzx               eax, byte ptr [ebp - 0x1d]
            //   488b4518             | shr                 al, 6

        $sequence_8 = { 7507 b800000000 eb0a 488b45f8 eb04 }
            // n = 5, score = 100
            //   7507                 | dec                 eax
            //   b800000000           | sub                 edx, 1
            //   eb0a                 | dec                 eax
            //   488b45f8             | mov                 dword ptr [ebp + 0xf50], edx
            //   eb04                 | dec                 eax

        $sequence_9 = { 488b05???????? ffd0 898544010000 0fb7852e0f0000 89c1 }
            // n = 5, score = 100
            //   488b05????????       |                     
            //   ffd0                 | mov                 byte ptr [ebp - 5], al
            //   898544010000         | dec                 eax
            //   0fb7852e0f0000       | mov                 edx, dword ptr [ebp + 0x20]
            //   89c1                 | mov                 eax, dword ptr [ebp - 4]

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