SYMBOLCOMMON_NAMEaka. SYNONYMS
win.uacme (Back to overview)

UACMe

aka: Akagi

A toolkit maintained by hfiref0x which incorporates numerous UAC bypass techniques for Windows 7 - Windows 10. Typically, components of this tool are stripped out and reused by malicious actors.

References
2019-05-13Kaspersky LabsGReAT
@online{great:20190513:scarcruft:eb8bb1c, author = {GReAT}, title = {{ScarCruft continues to evolve, introduces Bluetooth harvester}}, date = {2019-05-13}, organization = {Kaspersky Labs}, url = {https://securelist.com/scarcruft-continues-to-evolve-introduces-bluetooth-harvester/90729/}, language = {English}, urldate = {2019-12-20} } ScarCruft continues to evolve, introduces Bluetooth harvester
Konni RokRAT UACMe APT37
2015-03-28Github (hfiref0x)hfiref0x
@online{hfiref0x:20150328:uacme:f1b9f62, author = {hfiref0x}, title = {{UACME}}, date = {2015-03-28}, organization = {Github (hfiref0x)}, url = {https://github.com/hfiref0x/UACME}, language = {English}, urldate = {2020-01-06} } UACME
UACMe
Yara Rules
[TLP:WHITE] win_uacme_auto (20221125 | Detects win.uacme.)
rule win_uacme_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        version = "1"
        description = "Detects win.uacme."
        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.uacme"
        malpedia_rule_date = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { 85db 7428 68???????? 6801600000 56 ff15???????? ff75fc }
            // n = 7, score = 100
            //   85db                 | test                ebx, ebx
            //   7428                 | je                  0x2a
            //   68????????           |                     
            //   6801600000           | push                0x6001
            //   56                   | push                esi
            //   ff15????????         |                     
            //   ff75fc               | push                dword ptr [ebp - 4]

        $sequence_1 = { 6a00 56 ff15???????? 33f6 8975dc 8975cc 85f6 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   56                   | push                esi
            //   ff15????????         |                     
            //   33f6                 | xor                 esi, esi
            //   8975dc               | mov                 dword ptr [ebp - 0x24], esi
            //   8975cc               | mov                 dword ptr [ebp - 0x34], esi
            //   85f6                 | test                esi, esi

        $sequence_2 = { 1bff 47 837dfc00 7409 ff75fc ff15???????? 8bc7 }
            // n = 7, score = 100
            //   1bff                 | sbb                 edi, edi
            //   47                   | inc                 edi
            //   837dfc00             | cmp                 dword ptr [ebp - 4], 0
            //   7409                 | je                  0xb
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   ff15????????         |                     
            //   8bc7                 | mov                 eax, edi

        $sequence_3 = { 53 ff15???????? 6a10 8d45d0 50 6804900000 53 }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   6a10                 | push                0x10
            //   8d45d0               | lea                 eax, [ebp - 0x30]
            //   50                   | push                eax
            //   6804900000           | push                0x9004
            //   53                   | push                ebx

        $sequence_4 = { 6685c0 75de 33f6 46 890d???????? 85c9 0f840e040000 }
            // n = 7, score = 100
            //   6685c0               | test                ax, ax
            //   75de                 | jne                 0xffffffe0
            //   33f6                 | xor                 esi, esi
            //   46                   | inc                 esi
            //   890d????????         |                     
            //   85c9                 | test                ecx, ecx
            //   0f840e040000         | je                  0x414

        $sequence_5 = { 832600 837d0800 7507 33c0 e9???????? 8b4d08 }
            // n = 6, score = 100
            //   832600               | and                 dword ptr [esi], 0
            //   837d0800             | cmp                 dword ptr [ebp + 8], 0
            //   7507                 | jne                 9
            //   33c0                 | xor                 eax, eax
            //   e9????????           |                     
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_6 = { ba???????? 8d8ddcf7ffff e8???????? ba???????? 8d8decfbffff }
            // n = 5, score = 100
            //   ba????????           |                     
            //   8d8ddcf7ffff         | lea                 ecx, [ebp - 0x824]
            //   e8????????           |                     
            //   ba????????           |                     
            //   8d8decfbffff         | lea                 ecx, [ebp - 0x414]

        $sequence_7 = { 8bd6 8bc8 e8???????? 83c40c 395c241c 0f8462040000 668b8424e0000000 }
            // n = 7, score = 100
            //   8bd6                 | mov                 edx, esi
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   395c241c             | cmp                 dword ptr [esp + 0x1c], ebx
            //   0f8462040000         | je                  0x468
            //   668b8424e0000000     | mov                 ax, word ptr [esp + 0xe0]

        $sequence_8 = { e8???????? 8b4dfc ba???????? 8d8950080000 e8???????? 8b45fc }
            // n = 6, score = 100
            //   e8????????           |                     
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   ba????????           |                     
            //   8d8950080000         | lea                 ecx, [ecx + 0x850]
            //   e8????????           |                     
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]

        $sequence_9 = { 8d8dfcfeffff 8bf2 2bf1 8b4d08 85c9 7438 }
            // n = 6, score = 100
            //   8d8dfcfeffff         | lea                 ecx, [ebp - 0x104]
            //   8bf2                 | mov                 esi, edx
            //   2bf1                 | sub                 esi, ecx
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   85c9                 | test                ecx, ecx
            //   7438                 | je                  0x3a

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