SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ddkeylogger (Back to overview)

DDKeylogger


There is no description at this point.

References
2014-02-14SecureworksCounter Threat Unit ResearchTeam
@online{researchteam:20140214:analysis:0417082, author = {Counter Threat Unit ResearchTeam}, title = {{Analysis of DHS NCCIC Indicators}}, date = {2014-02-14}, organization = {Secureworks}, url = {https://www.secureworks.com/research/analysis-of-dhs-nccic-indicators}, language = {English}, urldate = {2020-05-26} } Analysis of DHS NCCIC Indicators
jspRAT BeepService DDKeylogger LinseningSvr ONHAT SimpleFileMover ZiyangRAT
Yara Rules
[TLP:WHITE] win_ddkeylogger_auto (20230407 | Detects win.ddkeylogger.)
rule win_ddkeylogger_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.ddkeylogger."
        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.ddkeylogger"
        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 = { 5e 5f 5b 8be5 5d c3 83c3fe }
            // n = 7, score = 200
            //   5e                   | pop                 esi
            //   5f                   | pop                 edi
            //   5b                   | pop                 ebx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   83c3fe               | add                 ebx, -2

        $sequence_1 = { 40 84c9 75ee 8d85f0fdffff 8bf0 8d9b00000000 8a08 }
            // n = 7, score = 200
            //   40                   | inc                 eax
            //   84c9                 | test                cl, cl
            //   75ee                 | jne                 0xfffffff0
            //   8d85f0fdffff         | lea                 eax, [ebp - 0x210]
            //   8bf0                 | mov                 esi, eax
            //   8d9b00000000         | lea                 ebx, [ebx]
            //   8a08                 | mov                 cl, byte ptr [eax]

        $sequence_2 = { 0fb7f1 57 bfffff0000 c745f400000000 }
            // n = 4, score = 200
            //   0fb7f1               | movzx               esi, cx
            //   57                   | push                edi
            //   bfffff0000           | mov                 edi, 0xffff
            //   c745f400000000       | mov                 dword ptr [ebp - 0xc], 0

        $sequence_3 = { 754b 6a77 50 8d5585 52 884584 }
            // n = 6, score = 200
            //   754b                 | jne                 0x4d
            //   6a77                 | push                0x77
            //   50                   | push                eax
            //   8d5585               | lea                 edx, [ebp - 0x7b]
            //   52                   | push                edx
            //   884584               | mov                 byte ptr [ebp - 0x7c], al

        $sequence_4 = { ff15???????? 6a08 ff15???????? 33db 6a10 }
            // n = 5, score = 200
            //   ff15????????         |                     
            //   6a08                 | push                8
            //   ff15????????         |                     
            //   33db                 | xor                 ebx, ebx
            //   6a10                 | push                0x10

        $sequence_5 = { c3 f7c200200000 0f95c0 040d c3 f7c2000c0000 }
            // n = 6, score = 200
            //   c3                   | ret                 
            //   f7c200200000         | test                edx, 0x2000
            //   0f95c0               | setne               al
            //   040d                 | add                 al, 0xd
            //   c3                   | ret                 
            //   f7c2000c0000         | test                edx, 0xc00

        $sequence_6 = { 56 50 8b412c ffd0 85c0 8b85e0faffff 8b08 }
            // n = 7, score = 200
            //   56                   | push                esi
            //   50                   | push                eax
            //   8b412c               | mov                 eax, dword ptr [ecx + 0x2c]
            //   ffd0                 | call                eax
            //   85c0                 | test                eax, eax
            //   8b85e0faffff         | mov                 eax, dword ptr [ebp - 0x520]
            //   8b08                 | mov                 ecx, dword ptr [eax]

        $sequence_7 = { 50 c785e8eeffff44000000 ffd7 33c9 6809020000 51 8d954cf7ffff }
            // n = 7, score = 200
            //   50                   | push                eax
            //   c785e8eeffff44000000     | mov    dword ptr [ebp - 0x1118], 0x44
            //   ffd7                 | call                edi
            //   33c9                 | xor                 ecx, ecx
            //   6809020000           | push                0x209
            //   51                   | push                ecx
            //   8d954cf7ffff         | lea                 edx, [ebp - 0x8b4]

        $sequence_8 = { f7c200020000 0f95c0 0409 c3 }
            // n = 4, score = 200
            //   f7c200020000         | test                edx, 0x200
            //   0f95c0               | setne               al
            //   0409                 | add                 al, 9
            //   c3                   | ret                 

        $sequence_9 = { 7714 6a15 53 57 e8???????? 83c40c 83ee15 }
            // n = 7, score = 200
            //   7714                 | ja                  0x16
            //   6a15                 | push                0x15
            //   53                   | push                ebx
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   83ee15               | sub                 esi, 0x15

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