SYMBOLCOMMON_NAMEaka. SYNONYMS
win.glassrat (Back to overview)

GlassRAT


There is no description at this point.

References
2015-11-25RSARSA
@online{rsa:20151125:detecting:84c8eed, author = {RSA}, title = {{Detecting GlassRAT using Security Analytics and ECAT}}, date = {2015-11-25}, organization = {RSA}, url = {https://community.rsa.com/community/products/netwitness/blog/2015/11/25/detecting-glassrat-using-security-analytics-and-ecat}, language = {English}, urldate = {2020-01-06} } Detecting GlassRAT using Security Analytics and ECAT
GlassRAT
Yara Rules
[TLP:WHITE] win_glassrat_auto (20230715 | Detects win.glassrat.)
rule win_glassrat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.glassrat."
        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.glassrat"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 8d45ec 6a00 8d4d08 50 8b4318 }
            // n = 5, score = 200
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   6a00                 | push                0
            //   8d4d08               | lea                 ecx, [ebp + 8]
            //   50                   | push                eax
            //   8b4318               | mov                 eax, dword ptr [ebx + 0x18]

        $sequence_1 = { 7408 6a00 ff15???????? 8b842424010000 8b8c2420010000 8b942418010000 }
            // n = 6, score = 200
            //   7408                 | je                  0xa
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   8b842424010000       | mov                 eax, dword ptr [esp + 0x124]
            //   8b8c2420010000       | mov                 ecx, dword ptr [esp + 0x120]
            //   8b942418010000       | mov                 edx, dword ptr [esp + 0x118]

        $sequence_2 = { 8b5508 56 83ec10 c604320a 8b4508 }
            // n = 5, score = 200
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   56                   | push                esi
            //   83ec10               | sub                 esp, 0x10
            //   c604320a             | mov                 byte ptr [edx + esi], 0xa
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]

        $sequence_3 = { 85db 7493 8d95c4deffff b802000000 52 }
            // n = 5, score = 200
            //   85db                 | test                ebx, ebx
            //   7493                 | je                  0xffffff95
            //   8d95c4deffff         | lea                 edx, [ebp - 0x213c]
            //   b802000000           | mov                 eax, 2
            //   52                   | push                edx

        $sequence_4 = { b910000000 8945c8 8d7d80 8945cc 8d55c4 f3ab }
            // n = 6, score = 200
            //   b910000000           | mov                 ecx, 0x10
            //   8945c8               | mov                 dword ptr [ebp - 0x38], eax
            //   8d7d80               | lea                 edi, [ebp - 0x80]
            //   8945cc               | mov                 dword ptr [ebp - 0x34], eax
            //   8d55c4               | lea                 edx, [ebp - 0x3c]
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax

        $sequence_5 = { 8d4c241c e8???????? 56 8d4c2424 c78424f802000001000000 e8???????? }
            // n = 6, score = 200
            //   8d4c241c             | lea                 ecx, [esp + 0x1c]
            //   e8????????           |                     
            //   56                   | push                esi
            //   8d4c2424             | lea                 ecx, [esp + 0x24]
            //   c78424f802000001000000     | mov    dword ptr [esp + 0x2f8], 1
            //   e8????????           |                     

        $sequence_6 = { 51 8d95d8dfffff 6800200000 52 50 }
            // n = 5, score = 200
            //   51                   | push                ecx
            //   8d95d8dfffff         | lea                 edx, [ebp - 0x2028]
            //   6800200000           | push                0x2000
            //   52                   | push                edx
            //   50                   | push                eax

        $sequence_7 = { 83c204 66ab aa 52 8d442408 }
            // n = 5, score = 200
            //   83c204               | add                 edx, 4
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   52                   | push                edx
            //   8d442408             | lea                 eax, [esp + 8]

        $sequence_8 = { f3a5 8bc8 33c0 83e103 c745fc00000000 f3a4 }
            // n = 6, score = 200
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bc8                 | mov                 ecx, eax
            //   33c0                 | xor                 eax, eax
            //   83e103               | and                 ecx, 3
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]

        $sequence_9 = { 40 ebeb 3bc1 751c 83f940 7317 }
            // n = 6, score = 200
            //   40                   | inc                 eax
            //   ebeb                 | jmp                 0xffffffed
            //   3bc1                 | cmp                 eax, ecx
            //   751c                 | jne                 0x1e
            //   83f940               | cmp                 ecx, 0x40
            //   7317                 | jae                 0x19

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