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 (20230125 | Detects win.uacme.)
rule win_uacme_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "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 = { 894118 ff35???????? ff15???????? 8b4dfc 8b492c }
            // n = 5, score = 100
            //   894118               | mov                 dword ptr [ecx + 0x18], eax
            //   ff35????????         |                     
            //   ff15????????         |                     
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   8b492c               | mov                 ecx, dword ptr [ecx + 0x2c]

        $sequence_1 = { 741a 837dfc00 7414 6aff ff75fc ff961c060000 ff75fc }
            // n = 7, score = 100
            //   741a                 | je                  0x1c
            //   837dfc00             | cmp                 dword ptr [ebp - 4], 0
            //   7414                 | je                  0x16
            //   6aff                 | push                -1
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   ff961c060000         | call                dword ptr [esi + 0x61c]
            //   ff75fc               | push                dword ptr [ebp - 4]

        $sequence_2 = { 7505 83c102 8bde 0fb701 }
            // n = 4, score = 100
            //   7505                 | jne                 7
            //   83c102               | add                 ecx, 2
            //   8bde                 | mov                 ebx, esi
            //   0fb701               | movzx               eax, word ptr [ecx]

        $sequence_3 = { ff15???????? 85c0 780c 8b4d08 85c9 7405 8b45fc }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   780c                 | js                  0xe
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   85c9                 | test                ecx, ecx
            //   7405                 | je                  7
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]

        $sequence_4 = { 59 8d4594 8818 40 83e901 }
            // n = 5, score = 100
            //   59                   | pop                 ecx
            //   8d4594               | lea                 eax, [ebp - 0x6c]
            //   8818                 | mov                 byte ptr [eax], bl
            //   40                   | inc                 eax
            //   83e901               | sub                 ecx, 1

        $sequence_5 = { 8bd3 8d8dd8f7ffff e8???????? 59 85c0 7458 8d85e8fbffff }
            // n = 7, score = 100
            //   8bd3                 | mov                 edx, ebx
            //   8d8dd8f7ffff         | lea                 ecx, [ebp - 0x828]
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   7458                 | je                  0x5a
            //   8d85e8fbffff         | lea                 eax, [ebp - 0x418]

        $sequence_6 = { 53 56 be10040000 894df4 57 33c0 8955f8 }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   56                   | push                esi
            //   be10040000           | mov                 esi, 0x410
            //   894df4               | mov                 dword ptr [ebp - 0xc], ecx
            //   57                   | push                edi
            //   33c0                 | xor                 eax, eax
            //   8955f8               | mov                 dword ptr [ebp - 8], edx

        $sequence_7 = { 50 ff15???????? 85c0 0f89ac010000 50 ff15???????? 50 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   0f89ac010000         | jns                 0x1b2
            //   50                   | push                eax
            //   ff15????????         |                     
            //   50                   | push                eax

        $sequence_8 = { 395c241c 0f8462040000 668b8424e0000000 8d9424e0000000 c744241009000000 8bcb }
            // n = 6, score = 100
            //   395c241c             | cmp                 dword ptr [esp + 0x1c], ebx
            //   0f8462040000         | je                  0x468
            //   668b8424e0000000     | mov                 ax, word ptr [esp + 0xe0]
            //   8d9424e0000000       | lea                 edx, [esp + 0xe0]
            //   c744241009000000     | mov                 dword ptr [esp + 0x10], 9
            //   8bcb                 | mov                 ecx, ebx

        $sequence_9 = { 53 ff15???????? 6808700000 53 }
            // n = 4, score = 100
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   6808700000           | push                0x7008
            //   53                   | push                ebx

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