SYMBOLCOMMON_NAMEaka. SYNONYMS
win.unidentified_096 (Back to overview)

Unidentified 096 (Keylogger)

Actor(s): TA410


Keylogger.

References
2022-09-29SymantecThreat Hunter Team
@online{team:20220929:witchetty:628f1c4, author = {Threat Hunter Team}, title = {{Witchetty: Group Uses Updated Toolset in Attacks on Governments in Middle East}}, date = {2022-09-29}, organization = {Symantec}, url = {https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/witchetty-steganography-espionage}, language = {English}, urldate = {2022-09-30} } Witchetty: Group Uses Updated Toolset in Attacks on Governments in Middle East
CHINACHOPPER Lookback MimiKatz PlugX Unidentified 096 (Keylogger) x4
Yara Rules
[TLP:WHITE] win_unidentified_096_auto (20230407 | Detects win.unidentified_096.)
rule win_unidentified_096_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.unidentified_096."
        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.unidentified_096"
        malpedia_rule_date = "20230328"
        malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d"
        malpedia_version = "20230407"
        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 = { 8944240c ff15???????? 8bf0 a1???????? 3bf0 747b 8d4c2410 }
            // n = 7, score = 100
            //   8944240c             | mov                 dword ptr [esp + 0xc], eax
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   a1????????           |                     
            //   3bf0                 | cmp                 esi, eax
            //   747b                 | je                  0x7d
            //   8d4c2410             | lea                 ecx, [esp + 0x10]

        $sequence_1 = { c3 84c0 7418 8b0d???????? }
            // n = 4, score = 100
            //   c3                   | ret                 
            //   84c0                 | test                al, al
            //   7418                 | je                  0x1a
            //   8b0d????????         |                     

        $sequence_2 = { 48 0f8516040000 51 68???????? e8???????? 8b15???????? 83c408 }
            // n = 7, score = 100
            //   48                   | dec                 eax
            //   0f8516040000         | jne                 0x41c
            //   51                   | push                ecx
            //   68????????           |                     
            //   e8????????           |                     
            //   8b15????????         |                     
            //   83c408               | add                 esp, 8

        $sequence_3 = { 6880000000 68???????? 56 8935???????? ff15???????? 8b54241c 8b44241a }
            // n = 7, score = 100
            //   6880000000           | push                0x80
            //   68????????           |                     
            //   56                   | push                esi
            //   8935????????         |                     
            //   ff15????????         |                     
            //   8b54241c             | mov                 edx, dword ptr [esp + 0x1c]
            //   8b44241a             | mov                 eax, dword ptr [esp + 0x1a]

        $sequence_4 = { c21000 8d54240c 6a10 52 56 6803000010 }
            // n = 6, score = 100
            //   c21000               | ret                 0x10
            //   8d54240c             | lea                 edx, [esp + 0xc]
            //   6a10                 | push                0x10
            //   52                   | push                edx
            //   56                   | push                esi
            //   6803000010           | push                0x10000003

        $sequence_5 = { b02e eb02 b02f a2???????? }
            // n = 4, score = 100
            //   b02e                 | mov                 al, 0x2e
            //   eb02                 | jmp                 4
            //   b02f                 | mov                 al, 0x2f
            //   a2????????           |                     

        $sequence_6 = { 8d4c2408 6a01 51 66c74424100100 66c74424120600 c744241400010000 89742418 }
            // n = 7, score = 100
            //   8d4c2408             | lea                 ecx, [esp + 8]
            //   6a01                 | push                1
            //   51                   | push                ecx
            //   66c74424100100       | mov                 word ptr [esp + 0x10], 1
            //   66c74424120600       | mov                 word ptr [esp + 0x12], 6
            //   c744241400010000     | mov                 dword ptr [esp + 0x14], 0x100
            //   89742418             | mov                 dword ptr [esp + 0x18], esi

        $sequence_7 = { 8ac1 7c02 0420 a2???????? 6683f960 7216 6683f969 }
            // n = 7, score = 100
            //   8ac1                 | mov                 al, cl
            //   7c02                 | jl                  4
            //   0420                 | add                 al, 0x20
            //   a2????????           |                     
            //   6683f960             | cmp                 cx, 0x60
            //   7216                 | jb                  0x18
            //   6683f969             | cmp                 cx, 0x69

        $sequence_8 = { 83c296 83fa05 7725 ff2495cc164000 b02a eb15 b02b }
            // n = 7, score = 100
            //   83c296               | add                 edx, -0x6a
            //   83fa05               | cmp                 edx, 5
            //   7725                 | ja                  0x27
            //   ff2495cc164000       | jmp                 dword ptr [edx*4 + 0x4016cc]
            //   b02a                 | mov                 al, 0x2a
            //   eb15                 | jmp                 0x17
            //   b02b                 | mov                 al, 0x2b

        $sequence_9 = { 50 ffd3 55 55 8d4c2418 55 }
            // n = 6, score = 100
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   55                   | push                ebp
            //   55                   | push                ebp
            //   8d4c2418             | lea                 ecx, [esp + 0x18]
            //   55                   | push                ebp

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